Turo Lamminen
bbdd58d9cd
hexen: Make PlayerColorText contents const
2018-12-08 16:51:41 +02:00
Turo Lamminen
17e8d8ef22
heretic: Make sprnames contents and related function parameters const
2018-12-08 16:40:41 +02:00
Turo Lamminen
db64777784
heretic: Make KillersText contents const
2018-12-08 16:34:15 +02:00
Turo Lamminen
30ac3a4c59
heretic: Fix const correctness issue in G_InitNew
2018-12-08 16:31:17 +02:00
Turo Lamminen
8f69c65558
heretic: Make hhe_versions contents const
2018-12-08 16:24:46 +02:00
Turo Lamminen
953bf4c40d
doom: Remove unused basedefault extern declaration
2018-12-08 16:24:07 +02:00
Turo Lamminen
bb1058e35c
heretic: Make hhe_string_t string member const
2018-12-08 16:15:57 +02:00
Turo Lamminen
0e529f1408
heretic: Fix const correctness issue in GetStringByOffset and DEH_TextStart
2018-12-08 16:15:57 +02:00
Turo Lamminen
b83a87dd93
heretic: Remove unused basedefault variable
2018-12-08 16:15:57 +02:00
Turo Lamminen
9ae68ae0e1
heretic: Make gamedescription const
2018-12-08 16:15:57 +02:00
Turo Lamminen
a436e0f6f0
heretic: Make CT_FromPlrText contents const
2018-12-08 16:15:57 +02:00
Turo Lamminen
12c1d8bf58
heretic: Make LevelNames contents const
2018-12-08 16:15:54 +02:00
Turo Lamminen
1c828b08d3
heretic: Fix const correctness issue in AM_Drawer
2018-12-08 15:41:50 +02:00
Turo Lamminen
aceb68d67d
misc: Make M_WriteFile source parameter const
2018-12-08 15:41:50 +02:00
Turo Lamminen
10ba5264f8
deh: Include deh_main.h in deh_main.c
2018-12-08 15:41:47 +02:00
Turo Lamminen
247d0e0d04
Make deh_signatures consistently const in all games
2018-12-04 20:02:33 +02:00
Turo Lamminen
e268cd1327
hexen: Make TerrainTypeDefs name member const
2018-12-04 19:02:45 +02:00
Turo Lamminen
6f254179fe
hexen: Make ST_RealMessage message parameter const
2018-12-04 18:53:19 +02:00
Turo Lamminen
9b90534e4b
hexen: Make ST_Message message parameter const
2018-12-04 18:51:57 +02:00
Turo Lamminen
5ee47d86d9
hexen: Make S_StartSongName songLump parameter const
2018-12-04 18:46:01 +02:00
Turo Lamminen
96721fe80d
hexen: Make TryPickupWeapon message parameter const
2018-12-04 18:40:09 +02:00
Fabian Greffrath
2b20ce64a8
glob: fix function prototype for I_StartGlob() in the non-native case
2018-12-03 13:18:28 +01:00
Fabian Greffrath
82fa5ea8bd
Merge pull request #1114 from mfrancis95/master
...
Improve #1089 by making sure playerstartsingame gets cleared
2018-12-02 10:19:55 +01:00
Jonathan Dowland
b4f996361a
Merge pull request #1113 from jkbenaim/fix-spawncube-crash
...
Doom: don't divide by zero, but call I_Error instead.
2018-12-02 08:57:27 +00:00
Jason Benaim
07d86dc888
format fussing
2018-12-02 00:41:27 -08:00
mfrancis95
2261f31aa1
Improve #1089 by making sure playerstartsingame gets cleared
2018-12-02 02:51:11 -05:00
Jason Benaim
15201415b8
Doom: don't divide by zero, but call I_Error instead.
2018-12-01 20:53:36 -08:00
Simon Howard
fdd360aa5c
Merge pull request #1096 from AXDOOMER/master
...
Hexen: Call W_GenerateHashTable()
2018-11-28 00:35:55 -05:00
Simon Howard
c0c1771e37
Merge pull request #1108 from mfrancis95/master
...
Fix tiny memory leak when looking for IWADs
2018-11-21 13:24:00 -05:00
mfrancis95
255b76c338
Fix tiny memory leak when looking for IWADs
2018-11-21 13:06:58 -05:00
Fabian Greffrath
fbb2fa82c5
doom: exit with a proper VPO in R_CheckPlane()
...
Fixes #48 , thanks @mfrancis95 and @AXDOOMER
2018-11-21 16:25:32 +01:00
Simon Howard
847770da1e
Clean up previous -version change.
...
A few nitpick points here.
2018-11-10 01:01:01 -05:00
Simon Howard
b88a8cdb76
net: Use -newsync by default again.
...
Now that the synchronization code has been improved, re-enable it
by default, remove the -newsync parameter and add back -oldsync
instead for users who want to opt out.
This fixes #358 and #489 .
2018-11-10 00:58:19 -05:00
Simon Howard
94ed513e58
net: Improve -newsync to use a PID controller.
...
The previous -newsync code wasn't too bad but was basically a hacky
version of a PID controller. So replace this with an actual PID
controller with tuning parameters manually tuned based on an evening
of experimentation. So far this seems to be a significant improvement
over the old -newsync code.
2018-11-10 00:55:34 -05:00
Mike Swanson
b00a10ae33
Add a -version parameter like most programs have
...
Supports both -version and --version, even though the later breaks
the normal convention of Doom parameters, it is common enough with
any general program that it should be useful to include in this.
2018-11-08 12:17:33 -08:00
Fabian Greffrath
54500659f9
Merge pull request #1103 from mfrancis95/master
...
Fix memory leak related to Steam directories
2018-11-08 20:46:53 +01:00
mfrancis95
8442508444
Fix memory leak related to Steam directories
2018-11-08 13:59:48 -05:00
Fabian Greffrath
dac0cda28d
i_system: mark I_Quit() and I_Error() with GCC's 'noreturn' attribute
...
Thanks @turol for the tip.
2018-11-06 15:43:44 +01:00
Fabian Greffrath
62571c3de6
d_iwad: fix a missing pointer indicator in a variable declaration
2018-11-06 15:26:08 +01:00
Simon Howard
602ea481c5
glob: Fix build failure.
...
Correctly handle failed mallocs.
2018-11-03 13:34:17 -04:00
Simon Howard
65ae592ca6
strife: Add autoloading for .seh files.
...
I'm not sure there are any mods for Strife people would want to
autoload on startup every time, but this is at least consistent with
other executables.
2018-11-03 13:22:16 -04:00
Simon Howard
221e62bfc2
strife: Allow SEH replacement for "empty slot".
...
This string was not wrapped in a DEH_String() call so could not be
replaced in a SeHackEd file. Thanks to chungy for feedback (part
of #1040 )
2018-11-03 13:19:16 -04:00
Simon Howard
f6717da5dd
heretic: Add autoloading for .hhe patches.
...
Heretic uses HHE instead of .deh, which have a different extension,
although some HHE patches actually have the .deh extension.
2018-11-03 13:14:04 -04:00
Simon Howard
036484b643
wad: Autoload both .wad and .lmp files.
...
Useful in the case of mods that are just .lmp replacements (DMXOPL?)
2018-11-03 13:12:12 -04:00
Simon Howard
f5da1a45b1
glob: Add multi-pattern matching.
...
Sometimes we want to glob for more than one type of file at once.
2018-11-03 13:11:55 -04:00
Simon Howard
5705be4c62
doom: Bump tempstring[] size to 90 bytes.
...
tempstring[] is currently 80 bytes which means that the quickload
message gets truncated for long savegame names. I believe this was
always an issue (even in Vanilla?) but recent changes to use safe
string functions (commit 040ca1cfb5 ) surfaced the bug.
This fixes #1069 .
2018-11-03 12:37:00 -04:00
Simon Howard
c06b2c5f8e
Add WAD file autoloading.
...
Implements most of #1052 , adding a new config file variable named
`autoload_path` that is auto-configured on first run. The actual
files are autoloaded from subdirectories named by IWAD file name that
are automatically created. It's sufficient to just drop .WAD and .DEH
files into the appropriate directory to have them automatically load
on startup.
Also add a -noautoload command line parameter to disable the autoload
functionality on occasion if desired.
2018-11-02 22:24:18 -04:00
Simon Howard
0121b8c02b
glob: Fix includes.
...
Resolve warning about missing header for strcmp(), and move Unix-
specific includes to the Unix-specific #ifdef section. Remove include
of unistd.h since it does not appear to be needed anyway.
2018-11-01 18:38:19 -04:00
Simon Howard
6a87a917af
Oops.
2018-10-29 23:24:13 -04:00
Simon Howard
829c1e4c88
glob: Make sorting respect GLOB_FLAG_NOCASE.
...
The nocase flag should apply to sort ordering as well as glob
matching.
2018-10-29 20:58:04 -04:00