Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
3803 2950d 13h terminx /polymer/eduke32/source/global.h Add support for shareware 0.99/1.0/1.1, for shits and giggles.  
3727 2969d 15h helixhorned /polymer/eduke32/source/global.h osd.c: Fix OSD_StripColors() with empty input string.  
3478 3051d 14h helixhorned /polymer/eduke32/source/global.h Make g_earthquakeTime into a uint16_t, remove DukePlayer_t's name[] member.

Bump BYTEVERSION.
 
3337 3095d 21h hendricks266 /polymer/eduke32/source/global.h Replace initialize_globals() with global initialization.  
3151 3143d 14h helixhorned /polymer/eduke32/source/global.h Fix demo playback with diff application enabled.

This requires ripping out the .proj member of tiledata_t back into
ProjectileData[] again because it was the only one in g_tile[] that
changed during the course of a game. The g_tile[] array is now also
correctly flagged as "constant throughout a game" (DS_NOCHK).
Savegame version bumped.
 
3116 3150d 5h hendricks266 /polymer/eduke32/source/global.h 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.)
 
3115 3150d 8h terminx /polymer/eduke32/source/global.h Add some compile time defined names for p->inven_icon values. Too bad these values aren't in the same order as the inventory items themselves... (dukeinv_t and dukeinvicon_t values do not match).  
3102 3155d 16h terminx /polymer/eduke32/source/global.h Retire the actorscrptr[], actorLoadEventScrptr[], SpriteFlags[], ActorType[], SpriteCacheList[], ProjectileData[] and DefaultProjectile[] arrays in favor of a tile_t structure exposed as g_tile[]. This consolidates most of the MAXTILES sized arrays on the game side into one place.  
2897 3230d 10h helixhorned /polymer/eduke32/source/global.h Fake multi-mode: better -q* messages, make surplus APLAYER sprites invisible.

Also, change type of g_numPlayerSprites (global and mapstate) from inconsistent
uint8_t/char to int8_t.
 
2764 3290d 12h helixhorned /polymer/eduke32/source/global.h Lunatic translator: define* et al  
2738 3303d 10h terminx /polymer/eduke32/source/global.h This probably fixes the music breakage caused by r2727.  
2530 3374d 10h helixhorned /polymer/eduke32/source/global.h Allow up to 7 skills, coded by M210 and taken over with modifications.

Skill names are defined via 'defineskillname' as before, but the index
of the last non-empty skill name (plus one) is taken as the skill count.
So, if you only define the 6th, there will be no effect.
Note that currently, there is no way to specify less than four skills
because the CON parser doesn't allow the empty string for the name (it'll
go beyond the line) and because the default skill names are initialized in
EDuke32 too, in addition to the CONs.
 
2328 3419d 9h helixhorned /polymer/eduke32/source/global.h Add some #includes to gameexec.h and sector.h so that they can be included directly  
2196 3465d 16h helixhorned /polymer/eduke32/source/global.h Remove a few unused variables from global.[ch], update build date string.  
2152 3486d 10h helixhorned /polymer/eduke32/source/global.h CON parser cleanup: make labelcode save offsets to CON code instead of
pointers and make it into an int32_t*.
 
1857 3728d 6h terminx /polymer/eduke32/source/global.h Cleaning out my tree... mostly internal changes. Adds workaround to disable texture compression with the crappy fglrx driver on Linux, fixes FIRE sprites so that they don't render at their sector's floorz all the time, changes CON compiler around a bit to use a loop instead of calling C_ParseCommand() 10 million times.  
1821 3761d 22h terminx /polymer/eduke32/source/global.h Use svn revision numbers in synthesis build strings  
1677 3975d 23h terminx /polymer/eduke32/source/global.h Global thermonuclear code rape