Subversion Repositories eduke32

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
5064 2129d 22h hendricks266 /polymer/eduke32/source/common_game.h Amend "renamefile" def token to ensure its proper use. renamefile <GRP/SSI CRC32> <file number> <new filename>  
5062 2130d 0h hendricks266 /polymer/eduke32/source/common_game.h Add the Duke DC and Duke Caribbean SSI files to the list of group files automatically detected and added to the startup window.  
5050 2144d 23h hendricks266 /polymer/eduke32/source/common_game.h Expand the grpinfo feature to allow defining GRPs requiring NAM, NAPALM, or WWII GI.  
4997 2170d 1h terminx /polymer/eduke32/source/common_game.h A whole bunch of mostly insignificant changes that didn't deserve separate commits. DONT_BUILD.  
4948 2186d 18h hendricks266 /polymer/eduke32/source/common_game.h Modularize .mid --> .ogg --> .flac code to apply to sounds as well, and various cleanup in music/sound filename-handling code.  
4887 2203d 15h hendricks266 /polymer/eduke32/source/common_game.h When using search paths detected from a Megaton installation, also use the SC-55 oggs included with it.  
4886 2203d 15h hendricks266 /polymer/eduke32/source/common_game.h Clean up autodetected game install search paths on all platforms that use them.

This should prevent Lunar Apocalypse from becoming Nuclear Winter with Megaton on Linux and Mac.
 
4811 2229d 8h helixhorned /polymer/eduke32/source/common_game.h Move g_noFloorPal[] to the engine side and adapt other stuff accordingly.

- 'nofloorpalrange' DEF token: now handled for both game and editor (for the
latter, it's effective only for "shade preview" mode, [']+[X]).
- in generatefogpals(), assign g_noFloorPal[] = 1 for every generated (default)
fog pal; get rid of its return value / g_firstFogPal
 
4790 2241d 0h hendricks266 /polymer/eduke32/source/common_game.h Windows: Detect installation paths of 3DR's Duke Nukem 3D package, the 3DR Anthology, and the NAM Steam release.  
4789 2241d 0h hendricks266 /polymer/eduke32/source/common_game.h Remove the structure fields in grpscan.c that blocked my code for allowing NAM, NAPALM, and WWII GI to fall back to GAME.CON.  
4766 2247d 2h hendricks266 /polymer/eduke32/source/common_game.h Make a bunch of things extern "C". This should fix C++ builds on OS X and with Lunatic. DONT_BUILD.  
4668 2279d 3h terminx /polymer/eduke32/source/common_game.h Mapster32 build fix  
4564 2368d 0h hendricks266 /polymer/eduke32/source/common_game.h Split parts of loadlookups() into generatefogpals() and fillemptylookups(), and move Duke-specific LOOKUP.DAT behavior to G_LoadLookups() in source/common.c, which contains the call to loadlookups() as factored out from astub.c and game.c.

DONT_BUILD.
 
4560 2368d 0h hendricks266 /polymer/eduke32/source/common_game.h Progress towards KenBuild Editor, part 2.

DONT_BUILD.
 
4559 2368d 0h hendricks266 /polymer/eduke32/source/common_game.h Move code non-specific to Duke Nukem 3D from source/common.c to a new build/src/common.c.

DONT_BUILD.
 
4557 2368d 0h hendricks266 /polymer/eduke32/source/common_game.h Elimininate some codedup between game.c and astub.c.

DONT_BUILD.
 
4555 2371d 17h hendricks266 /polymer/eduke32/source/common_game.h KenBuild.

DONT_BUILD.
 
4128 2635d 3h hendricks266 /polymer/eduke32/source/common_game.h Allow -g, -x, -h, -j, and for the game, -d, to take their file name after a space. This allows quotes to be used with them properly.
I updated the help windows to prefer these variants because they are superior to the -xSquished versions.
Also, factor out the command-line processing code for the above, plus con/def modules and clipmaps.
 
4006 2718d 15h helixhorned /polymer/eduke32/source/common_game.h Retire MultiPsky_TileToIdx() in favor of engine-side getpskyidx().

DONT_BUILD, because there have been no significant changes of the non-Lua build.
 
3976 2725d 10h helixhorned /polymer/eduke32/source/common_game.h Clean up parallaxed sky functionality, part 2.

- Rename sky_t members: yscale -> horizfrac, bits -> lognumtiles.
- Add default sky (8 tiles, horizfrac=32768 (i.e. 1/2 the scene horiz), offsets
all zero) and CLOUDYOCEAN sky (8 tiles, horizfrac=65536, offsets all zero)
to multipsky[].
- Get rid of "psky_t g_psky", merely maintaining a g_pskyidx instead. Set it up
at map load time so as to keep the behavior of the legacy per-map psky:
the last sector index with a matching psky ceiling wins.
- In mapstate_t, save g_pskyidx too, not (former) pskybits and pskyoffs[].
- Make on-map-load global psky setup consistent for the game and editor by
factoring it out into common.c: G_SetupGlobalPsky().
- Remove a couple of useless initializations, add some static assertions.

This commit is more likely to introduce subtle differences in behavior.
Specifically, getpsky() now always returns the default sky properties instead of
the global sky ones (but with all-zero offsets) when no match for a suiting
multi-psky is found. This is only likely to affect the yscale/horizfrac of
non-multi-pskies when a global non-default multi-psky has been set up.
Bump BYTEVERSION again.
 

Show All