EDuke32 Changelog Unofficial archive

Build 4336

16 February 2014 · 5 commits by 1 author · SVN

Builds by month 155 builds

  1. Jan

  2. Feb

  3. Mar

  4. Apr

  5. May

  6. Jun

  7. Jul

  8. Aug

  9. Sep

  10. Oct

  11. Nov

  12. Dec

Original log file · 20140216-4336.txt
------------------------------------------------------------------------
r4336 | helixhorned | 2014-02-16 11:16:06 -0800 (Sun, 16 Feb 2014) | 7 lines

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

BUILD_LUNATIC.
------------------------------------------------------------------------
r4335 | helixhorned | 2014-02-16 11:16:05 -0800 (Sun, 16 Feb 2014) | 8 lines

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
intended.)
------------------------------------------------------------------------
r4334 | helixhorned | 2014-02-16 11:16:03 -0800 (Sun, 16 Feb 2014) | 4 lines

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).
------------------------------------------------------------------------
r4333 | helixhorned | 2014-02-16 11:16:01 -0800 (Sun, 16 Feb 2014) | 7 lines

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.
------------------------------------------------------------------------
r4332 | helixhorned | 2014-02-16 11:15:59 -0800 (Sun, 16 Feb 2014) | 3 lines

Lunatic: in shade table 'remap16' method, allow sparse table, document it.

Add shadexfog.createremap() convenience function.
------------------------------------------------------------------------
See http://svn.eduke32.com/listing.php?repname=eduke32 for more details.
Lunatic Engine

add engine.saveLookupDat() and document, related tweaks.

Philipp Kutin (Helixhorned) 16 Feb 2014, 11:16 UTC−8 r4336

- 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 BUILD_LUNATIC.

In loadlookups(), look for gap of 4 consecutive unused pals for fog pals.

Philipp Kutin (Helixhorned) 16 Feb 2014, 11:16 UTC−8 r4335

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 intended.)

Engine

Factor out common parts of loading LOOKUP.DAT into engine.c:loadlookups().

Philipp Kutin (Helixhorned) 16 Feb 2014, 11:16 UTC−8 r4334

Also, error if didn't read enough data and account for TITLE and REALMS swap between basepal number and on-disk order (sigh).

Lunatic CON

rewrite shadexfog.create_128_trans to allow creating fewer tables.

Philipp Kutin (Helixhorned) 16 Feb 2014, 11:16 UTC−8 r4333

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.