Age | Commit message (Collapse) | Author |
|
Use snprintf() or other functions in place of sprintf(). This is part
of fixing #371.
|
|
Vanilla Hexen makes you specify the demo name to play by giving
the plain lump name, eg. heretic -playdemo mydemo to load mydemo.lmp.
It doesn't work if you specify the extension or the full file path.
As a convenience and to match the behavior of Chocolate Doom, allow
paths and extensions.
Also rework the code for other games so that they're slightly more
consistent. This fixes #301.
|
|
Eliminate use of strcpy, strcat, strncpy, and use the new safe
alternatives.
|
|
Just as M_StringCopy behaves the same as strlcpy(), M_StringConcat
behaves the same as strlcat(). Use this in one location.
|
|
It's more readable to write "M_StringEndsWith(..." than doing a bunch of
pointer arithmetic, and this is a common pattern. Also add
M_StringStartsWith, M_StringJoin and M_StringCopy. The latter is a
safe alternative for strcpy() that works the same as OpenBSD's
strlcpy(). Use these functions in a few places where it makes sense.
|
|
commit 42faefce1fd03 added code to set the GUS patch path
automatically when the BFG Edition is installed, but this caused
problems because gusconf.c is not included as part of the build for
the setup tool. Use D_SetVariable() instead which accomplishes the
same thing without a hard dependency.
|
|
Initialize low-level sound startup (calls to I_InitSound) separately
from the high-level sound startup (S_Init). In particular, make sure
that SDL sound is initialized before the textscreen multiplayer
waiting screen is shown. This is an attempt to fix a bug with sound in
multiplayer games on Windows; calling SDL_QuitSubSystem(SDL_INIT_VIDEO)
(on closedown of the textscreen library) causes subsequent attempts to
initialize audio to fail.
Big thanks go to Alexandre-Xavier (AXDOOMER) for working out a fix for
this bug and James Haley (Quasar) for giving some technical background
about the lack of separation between SDL subsystems. This (hopefully)
fixes #270.
|
|
Add -gameversion options for v1.666, v1.7, v1.8. Set demo and savegame
headers appropriately depending on version. Also add an enum entry for
Doom v1.2 but no code support for it yet.
|
|
|
|
connect to a network game using one of the BFG Edition IWADs.
|
|
Lots of otherwise Vanilla-compatible WADs contain DEHACKED lumps.
Allow these to be loaded by adding a -dehlump command line parameter.
Thanks to Fabian Greffrath for the suggestion (fixes #349).
|
|
|
|
1) Move the check for (bfgedition) right behind loading the IWAD, i.e.
before any PWADs are loaded that could probably provide a DMENUPIC lump.
2) Instead of checking for a missing TITLEPIC lump (which is only true
for the doom2.wad shipped with the BFG Edition) check for the presence
of DMENUPIC (which is exclusive to both classic IWADs shipped with the
BFG Edition). The M_GDHIGH lumps, however, are incompatibly modified
in *both* IWADs.
3) Move the check for the missing TITLEPIC lump to the place where it
becomes actually crucial, i.e. D_DoAdvanceDemo() and make it independent
of the (bfgedition) check. So, PWADs still have a chance to provide their
own TITLEPIC lump.
|
|
Freedoom has new IWAD names. Support these as fallbacks if no other
IWAD file can be found, but prefer FreeDM as it has Vanilla-
compatible levels. Show a warning on startup if running using the
main Freedoom IWADs.
|
|
Fabian Greffrath).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2747
|
|
startup.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2699
|
|
Xavier).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2635
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2583
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2537
|
|
instances of this within the code (thanks Edward-san).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2468
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2458
|
|
statdump.exe does with Vanilla Doom.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2450
|
|
the splash screen before network startup.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2435
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2413
|
|
can be added to other games.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2395
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2394
|
|
IWADs.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2390
|
|
Subversion-branch: /branches/v2-branch
Subversion-revision: 2381
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2360
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2347
|
|
executables load response files, including the setup tool.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2276
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 2258
|
|
several days ago.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2212
|
|
player quit, to avoid possible desyncs. Further refactoring to split
game-specific code from generic code.
Subversion-branch: /branches/raven-branch
Subversion-revision: 2141
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1987
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1931
|
|
games.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1910
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1737
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1601
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1581
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1579
|
|
compiles now work on Windows.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1452
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1428
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1423
|
|
mission types are valid.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1405
|
|
code. Split out I_Endoom to separate i_endoom.c file.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1384
|
|
to locate the IWAD file.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1308
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1302
|
|
in Heretic.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1295
|
|
Subversion-branch: /branches/raven-branch
Subversion-revision: 1294
|