Subversion Repositories eduke32


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

Filtering Options

Rev Age Author Path Log message Diff
5062 2247d 8h hendricks266 /polymer/eduke32/source/ Add the Duke DC and Duke Caribbean SSI files to the list of group files automatically detected and added to the startup window.  
4773 2361d 12h hendricks266 /polymer/eduke32/source/ Fix POLYMER=0 GTK C++ build. DONT_BUILD.  
4770 2361d 15h hendricks266 /polymer/eduke32/source/ GTK: Fix warnings and errors related to the banners. DONT_BUILD.  
4541 2493d 6h 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 2914d 8h terminx /polymer/eduke32/source/ Fix a reference to "RDR_POLYMER" that was missed in startgtk  
3784 2922d 11h 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 2938d 20h terminx /polymer/eduke32/source/ Fix GTK build  
3708 2943d 21h 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 2960d 20h 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 3105d 0h helixhorned /polymer/eduke32/source/ Split r3159..r3161, part 3: MSVC, nedmalloc, *layer, startup windows.  
3165 3105d 0h 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 3105d 15h 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 3114d 9h Plagman /polymer/eduke32/source/ Fix build error after C++ conversion.  
3116 3115d 12h 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 3269d 22h 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 3336d 19h helixhorned /polymer/eduke32/source/ Make g_grpNamePtr memory-clean, extern clearGrpNamePtr().  
2561 3336d 19h 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 3338d 17h helixhorned /polymer/eduke32/source/ Capitalize numgrpfiles macro to NUMGRPFILES.  
1786 3758d 20h terminx /polymer/eduke32/source/ Oops, missed a segment when applying the patch from bioman by hand  
1785 3759d 10h 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  

Show All