EDuke32 Changelog Unofficial archive

Build 4125

28 October 2013 · 5 commits by 1 author · SVN

Builds by month 214 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 · 20131028-4125.txt
------------------------------------------------------------------------
r4125 | helixhorned | 2013-10-28 14:26:32 -0700 (Mon, 28 Oct 2013) | 6 lines

In G_SaveMapState, fix 1024-byte write beyond array bound on 64-bit platforms.

This was caused by mismatched for types mapstate_t's animateptr[] and the global
one (int32_t vs. int32_t *).

Bump BYTEVERSION.
------------------------------------------------------------------------
r4124 | helixhorned | 2013-10-28 14:26:30 -0700 (Mon, 28 Oct 2013) | 7 lines

m32script: when failing to load file, don't append '.m32' if already there.

So that there are no error messages like "M32 file `a.m32.m32' not found."

Also, in build.c's 'save as' code, add a bound check that would probably
always pass in practice, but looks a bit safer and may fail in very cornerly
cases.
------------------------------------------------------------------------
r4123 | helixhorned | 2013-10-28 14:26:28 -0700 (Mon, 28 Oct 2013) | 1 line

Mapster32: save r_usetileshades and r_pr_artmapping with mapster32.cfg.
------------------------------------------------------------------------
r4122 | helixhorned | 2013-10-28 14:26:27 -0700 (Mon, 28 Oct 2013) | 1 line

m32script: when printing error line, replace tabs with spaces.
------------------------------------------------------------------------
r4121 | helixhorned | 2013-10-28 14:26:25 -0700 (Mon, 28 Oct 2013) | 9 lines

Mapster32: take initial map file name from ExtPreInit()->G_CheckCommandLine().

Instead of directly in build.c:app_main(). Previously, it was possible that an
argument to an option, e.g. "WGR2" with "-game_dir WGR2", would get interpreted
as the initial map to load. This in turn would attempt to execute WGR2.cfg as
sequence of OSD commands -- where that file is an EDuke32 config file instead!

Now: maps are passed without any options, e.g. "mapster32 [opts...] debug.map".
The map file name is not added to the "additional parameters" for map testing.
------------------------------------------------------------------------
Fix

In G_SaveMapState, fix 1024-byte write beyond array bound on 64-bit platforms.

Philipp Kutin (Helixhorned) 28 Oct 2013, 14:26 UTC−7 r4125

This was caused by mismatched for types mapstate_t's animateptr[] and the global one (int32_t vs. int32_t *). Bump BYTEVERSION.

m32script EngineCON

when failing to load file, don't append '.m32' if already there.

Philipp Kutin (Helixhorned) 28 Oct 2013, 14:26 UTC−7 r4124

So that there are no error messages like "M32 file `a.m32.m32' not found." Also, in build.c's 'save as' code, add a bound check that would probably always pass in practice, but looks a bit safer and may fail in very cornerly cases.

Mapster32 Engine

take initial map file name from ExtPreInit()->G_CheckCommandLine().

Philipp Kutin (Helixhorned) 28 Oct 2013, 14:26 UTC−7 r4121

Instead of directly in build.c:app_main(). Previously, it was possible that an argument to an option, e.g. "WGR2" with "-game_dir WGR2", would get interpreted as the initial map to load. This in turn would attempt to execute WGR2.cfg as sequence of OSD commands -- where that file is an EDuke32 config file instead! Now: maps are passed without any options, e.g. "mapster32 [opts...] debug.map". The map file name is not added to the "additional parameters" for map testing.