Kp
b3e6dd3eb5
Move DbgGlIntensity4Ok to CArg
2015-12-18 04:08:23 +00:00
Kp
cdae6cad4d
Move DbgBpp to CArg
2015-12-18 04:08:23 +00:00
Kp
26e948d5f1
Uninline namespace dsx
2015-12-13 18:00:49 +00:00
Kp
8109379fdd
Use inline namespace dsx for similar/misc/
2015-12-13 18:00:48 +00:00
Kp
b1ec69a3a2
Move CtlNoJoystick to CArg
2015-11-26 02:56:55 +00:00
Kp
7153ec69a9
Move SndNoSound to CGameArg
2015-11-24 04:05:36 +00:00
Kp
a579f75d05
Move SndDisableSdlMixer to CGameArg
2015-11-24 04:05:36 +00:00
Kp
e33f7f751b
Move SysShowCmdHelp to CGameArg
...
Both games support SysShowCmdHelp. Move it to the common structure.
2015-11-24 04:05:35 +00:00
Kp
d4511b3128
Move SysNoHogDir to CGameArg
...
Both games support SysNoHogDir. Move it to the common structure.
2015-11-24 04:05:35 +00:00
Kp
9981dc622e
Move SysMissionDir to CGameArg
...
Both games support SysMissionDir. Move it to the common structure.
2015-11-24 04:05:35 +00:00
Kp
64dee5d52a
Move SysMaxFPS to CGameArg
...
Both games support SysMaxFPS. Move it to the common structure.
2015-11-24 04:05:35 +00:00
Kp
21057db809
Move DbgSafelog, DbgVerbose to CArg
2015-10-18 21:01:21 +00:00
Kp
a0919bf345
Add support for -add-missions-dir
2015-10-11 22:21:00 +00:00
Kp
927618e650
Remove useless PHYSFS_eof tests
...
Each test triggers a system seek call. EOF will be signalled by
PHYSFSX_fgets returning nullptr.
2015-10-09 02:46:11 +00:00
Kp
29f79f0a6b
Enable -notitles for Descent 2
2015-10-09 02:46:09 +00:00
Kp
da4d1e0670
Remove bool SysNoHogDir on non-unix
2015-09-22 02:28:38 +00:00
Kp
fa9f2e626d
Move DbgShowMemInfo to CArg
...
Members of Arg are not visible to common code, so common/mem/mem.cpp
broke during the -Wodr cleanup.
Reported-by: zicodxx <https://github.com/dxx-rebirth/dxx-rebirth/issues/114 >
Fixes: 6bd93e466f
("Guard args.h for LTO -Wodr")
2015-08-11 03:05:55 +00:00
Kp
6bd93e466f
Guard args.h for LTO -Wodr
2015-07-18 21:01:56 +00:00
Kp
968cdbecf4
Add non-aborting UserError for user-caused fatal errors
2015-06-16 03:15:40 +00:00
derhass
639b569496
Merge branch 'unification/master' into unification/syncgl_v2
...
Conflicts:
similar/arch/ogl/gr.cpp
similar/misc/args.cpp
2015-03-23 20:18:17 +01:00
Kp
08f6ad4bc7
Enable nested INI files
2015-03-22 18:49:21 +00:00
Kp
098bd2a9df
Move exception std::string
2015-03-22 18:49:21 +00:00
Kp
9ddea5f570
Reduce lifetime of Args
2015-03-22 18:49:20 +00:00
derhass
2cd73b6dfe
Import the syncgl patch based on 0.58.1 into unification code base
...
I also changed the command line arguments a bit, gl_syncmethod and
gl_sycnwait are used now. Furthermore, I added the ew mode AUTO. This is
a conservative mode and the default for now: if GL_ARB_sync is available,
use the FENCE_SLEEP mode, otherwise, disable it completely.
Conflicts:
include/args.h
misc/args.c
similar/arch/ogl/gr.cpp
2015-03-22 18:17:11 +01:00
Kp
07869d9dba
Add automatic demo recording
...
Various users want automatic demo recording. Add new command line options:
-auto-record-demo start recording on level entry
-record-demo-format set demo name automatically
For -record-demo-format, specify a template containing any mix of strftime
insertions, variable insertions, and literal text. As a special case, specify
"." to use the builtin template "%Y%m%d.%H%M%S-$p-$m". Most users should use
".". Supported variables:
$p name of pilot recording the demo
$m name of msn/mn2 file played
Suggested by jeffersoncarpenter in https://github.com/dxx-rebirth/dxx-rebirth/pull/33 , but implemented by vLKp.
2015-02-28 19:36:02 +00:00
Kp
91cc111295
Provide SndDisableSdlMixer=true if !USE_SDLMIXER
...
Accept -nosdlmixer as a no-op in !USE_SDLMIXER builds.
2015-02-08 17:43:29 +00:00
Kp
d2f0bdc867
Exit cleanly on bad command line arguments
2015-01-28 03:42:53 +00:00
Kp
3ca442cb33
Use arg_port_number for -udp_hostport
2015-01-25 05:32:44 +00:00
Kp
9597147283
Centralize argument port number conversion
2015-01-24 19:16:35 +00:00
Kp
6bc48b7876
Add option -no-tracker to suppress tracker for one run
2015-01-24 19:16:35 +00:00
Kp
f7815810e8
Use RAIIPHYSFS_File to manage PHYSFS_File
...
Fixes a few leaks on error paths.
2015-01-17 18:31:42 +00:00
Kp
84e5cee376
Propagate for variables in similar/misc/args.cpp
2014-09-26 02:42:12 +00:00
Kp
5571cf75ef
Ignore -udp_myport requests for reserved port
2014-09-17 02:16:33 +00:00
Kp
e8f4b20d1d
Use special type for PHYSFSX_fgets
2014-09-07 20:07:20 +00:00
Kp
ecce4c6745
Ignore INI lines that start with ;
2014-06-22 21:56:41 +00:00
zico
c96aece6d2
Removed PARALLAX banner from source files that were not released by PARALLAX; most importantly C source code translated from Assembler and args.cpp which was rewritten from scratch
2014-06-12 10:41:03 +02:00
zico
ad7cb106bc
Changed custom D1X license to GPLv3
2014-06-01 19:55:23 +02:00
Kp
7fb4c6307f
Add debug option -no-grab to prevent window grabbing
2013-12-22 20:56:55 +00:00
Kp
322c61ef01
Remove use of heap-based splitword
2013-12-08 21:43:53 +00:00
Kp
a2cec5d71f
Switch PHYSFSX_fgets to auto-sized variant where possible
2013-12-07 18:39:19 +00:00
Kp
a899b9b945
Restrict ini arguments to 1024 char per line
2013-12-06 03:28:59 +00:00
Kp
f1f4bb9db6
Diagnose missing/invalid arguments
2013-12-01 22:42:11 +00:00
Kp
d3637e7524
Invert sense of SysUseNiceFPS
2013-12-01 22:37:21 +00:00
Kp
2e8bfb06f1
Store arguments in vector<string>
2013-12-01 22:37:21 +00:00
Kp
e30f548d60
Invert sense of DbgAltTexMerge
2013-11-24 22:57:36 +00:00
Kp
761795e4c8
Invert sense of DbgBigPig
2013-11-24 22:57:36 +00:00
Kp
3b49e65f95
Invert sense of DbgUseDoubleBuffer
2013-11-24 22:57:36 +00:00
Kp
bbb9214e0e
Invert sense of hires/lowres options
2013-11-24 22:57:36 +00:00
Kp
8899120312
Remove SndDisableSdlMixer when mixer=0
2013-11-24 22:57:36 +00:00
Kp
3c05b04629
Move similar/misc/args.c -> similar/misc/args.cpp
2013-10-05 23:16:52 +00:00