Subversion Repositories eduke32


Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4770 2492d 6h hendricks266 /polymer/eduke32/source/ GTK: Fix warnings and errors related to the banners. DONT_BUILD.  
4541 2623d 21h hendricks266 /polymer/eduke32/source/ Replace the funkily-formatted GNU.TXT with the FSF's official gpl-2.0.txt. Also, update the FSF's address in all source files that contain it.

3814 3044d 23h terminx /polymer/eduke32/source/ Fix a reference to "RDR_POLYMER" that was missed in startgtk  
3784 3053d 2h terminx /polymer/eduke32/source/ Sanitize hard coded render mode numbers... replace all references to rendmode 0, 3, 4, etc with proper REND_CLASSIC, REND_POLYMOST, REND_POLYMER labels.  
3718 3069d 11h terminx /polymer/eduke32/source/ Fix GTK build  
3708 3074d 12h terminx /polymer/eduke32/source/ Support adding custom grps to the selector in the startup window. To use this feature, create a file with a ".grpinfo" extension in your EDuke32 directory, following this template:

name "YourGameName"
scriptname "yourgame.con"
defname "yourgame.def"
size yourgrpsize
dependency DUKE15_CRC
crc yourgrpcrc

The "flags" field can also take the value "GAMEFLAG_DUKE" to define a new base game. Since this is the first commit of a new feature, certain semantics of the implementation and syntax are liable to change as necessary.
3654 3091d 11h terminx /polymer/eduke32/source/ 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.  
3168 3235d 15h helixhorned /polymer/eduke32/source/ Split r3159..r3161, part 3: MSVC, nedmalloc, *layer, startup windows.  
3165 3235d 15h helixhorned /polymer/eduke32/source/ Revert "Fix the warnings when building with C++, add MSVC C++ build support."

This reverts r3159..r3161.

(Handled so that r3163's changes are kept applied.)
3159 3236d 6h terminx /polymer/eduke32/source/ Fix the warnings when building with C++, add MSVC C++ build support. This also changes the internal type of lotags, hitags and cstat type fields to uint16_t instead of int16_t to clean up some dubious behavior wherein the code was using a value of 32768 as a flag in these fields for certain types of things, like invisible sprites (using the value as if it was uint16_t) where it was elsewhere checking if the value was < 0 (using the value as if it was int16_t). This change may break a few specific effects if any part of the relevant code was missed when looking for areas that needed to be addressed.

I think there's also a fix for the CON precache system breakage in here (lost it in my local tree when I started getting the C++ build working in MSVC, sorry!)
3121 3245d 1h Plagman /polymer/eduke32/source/ Fix build error after C++ conversion.  
3116 3246d 3h hendricks266 /polymer/eduke32/source/ Work-in-progress adjustment to the C code to compile under C++. It builds for me without errors using Win32 MinGW-GCC, but it still generates warning soup. No guarantees about MSVC or anything using SDL. Enable C++ by building with CPLUSPLUS=1. C remains the default and should compile with no change in setup.

Credit to Plagman for the idea and doing the work on the game side, which is included in this commit.

(Building as C++ will give us features with which we can make improvements and optimizations on the multiplayer code and Polymer.)
2726 3400d 13h hendricks266 /polymer/eduke32/source/ 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.
2563 3467d 10h helixhorned /polymer/eduke32/source/ Make g_grpNamePtr memory-clean, extern clearGrpNamePtr().  
2561 3467d 10h helixhorned /polymer/eduke32/source/ Clear up handling of g_*NamePtr in the game.

The primary change is that things have been made memory-clean. Some of these
pointers may point to wildly different places during the course of the program
such as statically or dynamically allocated storage, the buffer returned by
getenv() (which must not be modified according to the docs), or an element of
argv[]. Consequently, we need to strdup, or better, dup_filename them if they
are ever to be passed to a function that modifies their pointed-to data.

- added statics or consts according to usage
- 3 new functions clear{Grp,Def,Script}NamePtr, only 'Def' one extern for now
- in G_CheckCommandLine, don't strip 'const'; use Bstrncpyz where appropriate
- remove multiple declarations

Also, warn if an application parameter has been ignored (not matched).
2543 3469d 8h helixhorned /polymer/eduke32/source/ Capitalize numgrpfiles macro to NUMGRPFILES.  
1786 3889d 11h terminx /polymer/eduke32/source/ Oops, missed a segment when applying the patch from bioman by hand  
1785 3890d 1h terminx /polymer/eduke32/source/ Patch from bioman to fix an issue with static linking GTK and to correct the alignment of the fullscreen checkbox in the startup window when building with POLYMER=0  
1664 4103d 4h plagman /polymer/eduke32/source/ Make the "Start" button of the GTK start-up window the default button of the window, which means pressing Enter now works at you'd expect.  
1660 4112d 1h terminx /polymer/eduke32/source/ This is mostly just build fixes for USE_OPENGL=0, POLYMOST=0 and POLYMER=0. Also updated the precompiled libogg/libvorbis/libvorbisfile that are supplied for MinGW.  

Show All