Rigs of Rods 2023.09
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Enumerations | Variables
AppCommandLine.cpp File Reference
#include "Console.h"
#include "GameContext.h"
#include "ErrorUtils.h"
#include "PlatformUtils.h"
#include "Utils.h"
#include "SimpleOpt.h"

Go to the source code of this file.

Enumerations

enum  {
  OPT_HELP , OPT_MAP , OPT_POS , OPT_ROT ,
  OPT_TRUCK , OPT_VER , OPT_RESUME , OPT_CHECKCACHE ,
  OPT_TRUCKCONFIG , OPT_RUNSCRIPT , OPT_ENTERTRUCK , OPT_JOINMPSERVER
}
 

Variables

CSimpleOpt::SOption cmdline_options []
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OPT_HELP 
OPT_MAP 
OPT_POS 
OPT_ROT 
OPT_TRUCK 
OPT_VER 
OPT_RESUME 
OPT_CHECKCACHE 
OPT_TRUCKCONFIG 
OPT_RUNSCRIPT 
OPT_ENTERTRUCK 
OPT_JOINMPSERVER 

Definition at line 37 of file AppCommandLine.cpp.

Variable Documentation

◆ cmdline_options

CSimpleOpt::SOption cmdline_options[]
Initial value:
= {
{ OPT_MAP, ("-map"), SO_REQ_SEP },
{ OPT_MAP, ("-terrain"), SO_REQ_SEP },
{ OPT_POS, ("-pos"), SO_REQ_SEP },
{ OPT_ROT, ("-rot"), SO_REQ_SEP },
{ OPT_TRUCK, ("-truck"), SO_REQ_SEP },
{ OPT_TRUCKCONFIG, ("-truckconfig"), SO_REQ_SEP },
{ OPT_RUNSCRIPT, ("-runscript"), SO_REQ_SEP },
{ OPT_ENTERTRUCK, ("-enter"), SO_NONE },
{ OPT_HELP, ("--help"), SO_NONE },
{ OPT_HELP, ("-help"), SO_NONE },
{ OPT_RESUME, ("-resume"), SO_NONE },
{ OPT_CHECKCACHE, ("-checkcache"), SO_NONE },
{ OPT_VER, ("-version"), SO_NONE },
{ OPT_JOINMPSERVER, ("-joinserver"), SO_REQ_CMB },
SO_END_OF_OPTIONS
}
@ OPT_ENTERTRUCK
@ OPT_RUNSCRIPT
@ OPT_MAP
@ OPT_ROT
@ OPT_TRUCK
@ OPT_RESUME
@ OPT_HELP
@ OPT_POS
@ OPT_CHECKCACHE
@ OPT_VER
@ OPT_TRUCKCONFIG
@ OPT_JOINMPSERVER

Definition at line 53 of file AppCommandLine.cpp.