Subversion Repositories eduke32


Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4343 2772d 20h hendricks266 /polymer/ Build system: Detect the SVN revision and generate rev.h directly from the Makefile, if applicable.  
4342 2772d 20h hendricks266 /polymer/ Synthesis: Merge "sdk" package back into the game.  
4341 2772d 20h hendricks266 /polymer/ Further optimize our SDL_Renderer for 8-bit by making the SDL_Texture SDL_TEXTUREACCESS_STATIC, saving some RAM without any loss of functionality.  
4340 2773d 3h terminx /polymer/ Fix texcache  
4339 2773d 3h terminx /polymer/ Indicate MSVC in build string  
4338 2775d 8h helixhorned /polymer/ engine.c: always setup blending table whenever drawing translucent objects.

4337 2775d 8h helixhorned /polymer/ Lunatic: engine.setupDebugBasePal(), auto-detect 2nd+ shadexfog.translate().

engine.setupDebugBasePal() set up the water base palette such each of the first
15 "ramps" of 16 consecutive colors has a single, "representative" color. For
example, color indices 0-15 and black, 16-31 are dark gray.
In shadexfog.lua, list remappings from LOOKUP.DAT that are expressible as
remappings of 16-tuples.
4336 2778d 9h helixhorned /polymer/ Lunatic: add engine.saveLookupDat() and document, related tweaks.

- Mapster32: before loading LOOKUP.DAT, set palookup[0][239]=239 to
make an identity map of the base shade table's shade 0
- Rewrite color index remapping case of makepalookup() for clarity

4335 2778d 9h helixhorned /polymer/ In loadlookups(), look for gap of 4 consecutive unused pals for fog pals.

As opposed to the previous way, where the first fog pals was <numlookups>+1,
where <numlookups> is the first byte value of LOOKUP.DAT. This allows to
pack e.g. lookups [1 .. 25] and [30 .. <lastpal>] into LOOKUP.DAT and have fog
pals be generated at pals [26 .. 29] (i.e. the additional lookups don't
shift the fog pals, making user maps depending on these numbers not look as
4334 2778d 9h helixhorned /polymer/ Factor out common parts of loading LOOKUP.DAT into engine.c:loadlookups().

Also, error if didn't read enough data and account for TITLE and REALMS
swap between basepal number and on-disk order (sigh).
4333 2778d 9h helixhorned /polymer/ Lunatic: rewrite shadexfog.create_128_trans to allow creating fewer tables.

It must be a power of two in [2 .. 128]. Rewrite test/sprite_access.con's
liztroop example to account for that.
Also, add function shadexfog.create_trans() which aceepts a function
(r,g,b,R,G,B) -> blended (r,g,b) and rewrite shadexfog.create_additive_trans()
in terms of it.
4332 2778d 9h helixhorned /polymer/ Lunatic: in shade table 'remap16' method, allow sparse table, document it.

Add shadexfog.createremap() convenience function.
4331 2781d 12h helixhorned /polymer/ Lunatic: in engine.savePaletteDat(), open file in binary mode. BUILD_LUNATIC.  
4330 2782d 7h helixhorned /polymer/ add Mapster32 to Lunatic preview package. BUILD_LUNATIC.

There's no separate SDK package, unlike for the regular builds.
4329 2782d 7h helixhorned /polymer/ Lunatic: disallow saving map-text files in Mapster32 for now.  
4328 2782d 7h helixhorned /polymer/ Amend r4318: Lunatic doesn't need the safety check.  
4327 2783d 10h terminx /polymer/ Support "r_windowpositioning" in SDL builds.  
4326 2783d 20h hendricks266 /polymer/ MSVC: Set up support for SDL2. DONT_BUILD.  
4325 2783d 21h terminx /polymer/ Fix 64-bit MSVC builds. DONT_BUILD.  
4324 2783d 22h hendricks266 /polymer/ Fix 32-bit MSVC builds. DONT_BUILD.  

Show All