Subversion Repositories eduke32


Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
3803 2886d 1h terminx /polymer/eduke32/source/common_game.h Add support for shareware 0.99/1.0/1.1, for shits and giggles.  
3654 2931d 1h terminx /polymer/eduke32/source/common_game.h Add support for the versions of Duke it out in D.C., Duke Caribbean: Life's a Beach, and Duke: Nuclear Winter packaged with Duke Nukem 3D: Megaton Edition on Steam. This allows them to be launched directly from the startup window and also adds an "-addon" command line parameter that should allow the duke3d.exe included with Megaton Edition to be replaced with a copy of EDuke32.  
3637 2934d 12h terminx /polymer/eduke32/source/common_game.h Prevent loading anything except the GRP from the Steam or GOG Duke3D install directories. Loading DUKE.RTS from those paths will be resolved later.  
3582 2949d 10h hendricks266 /polymer/eduke32/source/common_game.h Wii: Fix Mapster32. It runs now.  
3581 2949d 10h hendricks266 /polymer/eduke32/source/common_game.h Windows: Add the default installation paths for the release of Duke Nukem 3D: Atomic Edition and the Steam release of Duke Nukem 3D: Megaton Edition (if they exist) to EDuke32's search path.  
3220 3065d 15h hendricks266 /polymer/eduke32/source/common_game.h Factor G_MultiPskyInit into common.c.  
2796 3211d 21h helixhorned /polymer/eduke32/source/common_game.h Constify various char* vars, parameters, etc. for more -Wwrite-strings cleanness

-Wwrite-strings is useful to detect code where string literals and e.g. alloc'd
strings are used side-by-side, potentially creating dangerous situations, or to
find uses of old, non-constified APIs. However, enabling it would still flood
the log with too many warnings. Also, GCC wrongly warns for initializations of
char arrays.
2726 3240d 4h hendricks266 /polymer/eduke32/source/common_game.h The handling for grp, con, and def filenames has been massively cleaned up and factored into common.c. A new header, common_game.h, was created because common.h was placed in build/include (see r2542) and we need a common header for things that strictly should not be in the engine. RTS file names were also improved but some of the patterned changes were already made in r2420, and they were not factored because they are strictly part of the game, not the editor.

NAM and Napalm can now share their con, def, and rts files if the one for their respective game is not present because the con and rts files are identical.

Also, decapitalize two string literals missed in r2540.