EDuke32 Changelog Archivio non ufficiale

Build 2992

2 settembre 2012 · 12 commit di 1 autore · SVN

Build per mese 136 build

  1. gen

  2. feb

  3. mar

  4. apr

  5. mag

  6. giu

  7. lug

  8. ago

  9. set

  10. ott

  11. nov

  12. dic

File di log originale · 20120902-2992.txt
------------------------------------------------------------------------
r2992 | helixhorned | 2012-09-02 07:13:06 -0700 (Sun, 02 Sep 2012) | 1 line

compat.h: tweak indentation of some preprocessing directives.
------------------------------------------------------------------------
r2991 | helixhorned | 2012-09-02 07:12:01 -0700 (Sun, 02 Sep 2012) | 4 lines

Make getangle() a __fastcall function instead of static inline.

This trims four 4k pages of code from the release EDuke32 build and
one page from Mapster32.
------------------------------------------------------------------------
r2990 | helixhorned | 2012-09-02 07:10:55 -0700 (Sun, 02 Sep 2012) | 4 lines

In dosetaspect(), bail out calculating radarang2[] instead of failing assertion.

When this happens, parallaxmodes other than 0 will be unavailable and silently
draw as parallaxmode 0.  This usually happens with extremely wide resolutions.
------------------------------------------------------------------------
r2989 | helixhorned | 2012-09-02 07:09:49 -0700 (Sun, 02 Sep 2012) | 1 line

Add lunatic/test/tables.lua, which was used to compare the calc'd sin/atan values.
------------------------------------------------------------------------
r2988 | helixhorned | 2012-09-02 07:08:43 -0700 (Sun, 02 Sep 2012) | 7 lines

Calculate sine and arctan tables, getting rid of TABLES.DAT dependency.

We're pulling stuff from math.h even in non-GL builds right now, so
adding libc's sin() and atan() doesn't seem like a big deal.  In the
unlikely event that their accuracy is so bad that the calculated tables
don't match the original ones, a warning is issued on little-endian
platforms.
------------------------------------------------------------------------
r2987 | helixhorned | 2012-09-02 07:07:36 -0700 (Sun, 02 Sep 2012) | 1 line

Move #define PI from to build.h, add bound-checking assertion in dosetaspect().
------------------------------------------------------------------------
r2986 | helixhorned | 2012-09-02 07:06:30 -0700 (Sun, 02 Sep 2012) | 1 line

Some [U]INT_MAX --> [U]INT32_MAX.
------------------------------------------------------------------------
r2985 | helixhorned | 2012-09-02 07:05:23 -0700 (Sun, 02 Sep 2012) | 1 line

Move #include <math.h> from polymer.h to polymer.c.
------------------------------------------------------------------------
r2984 | helixhorned | 2012-09-02 07:04:16 -0700 (Sun, 02 Sep 2012) | 1 line

Clean up A_FindPlayer(), constify some function args, some 0x7fffffff->INT32_MAX
------------------------------------------------------------------------
r2983 | helixhorned | 2012-09-02 07:03:10 -0700 (Sun, 02 Sep 2012) | 4 lines

player.c: factor out 7x similar code into GetAutoAimAngle().

This is one of the cases where the duplicated code has minor modifications
at each site. These are handled by function args here.
------------------------------------------------------------------------
r2982 | helixhorned | 2012-09-02 07:02:04 -0700 (Sun, 02 Sep 2012) | 1 line

Remove commented out AI Duke opponent code.
------------------------------------------------------------------------
r2981 | helixhorned | 2012-09-02 07:00:58 -0700 (Sun, 02 Sep 2012) | 10 lines

Remove some #if 0 blocks that are probably of no interest any more.

For reference, they are the following:
 - cache1d.c: suckcache()
 - build.c: compare_wall_coords()
 - make switch-invisible heuristic
 - Mapster32: old sprite search
 - Mapster32: manual z range
 - m32script: read/writearray, qgetsysstr
 - menus.c: savetemp()
------------------------------------------------------------------------
Engine

Make getangle() a __fastcall function instead of static inline.

Philipp Kutin (Helixhorned) 2 set 2012, 07:12 UTC−7 r2991

This trims four 4k pages of code from the release EDuke32 build and one page from Mapster32.

Engine

In dosetaspect(), bail out calculating radarang2[] instead of failing assertion.

Philipp Kutin (Helixhorned) 2 set 2012, 07:10 UTC−7 r2990

When this happens, parallaxmodes other than 0 will be unavailable and silently draw as parallaxmode 0. This usually happens with extremely wide resolutions.

Calculate sine and arctan tables, getting rid of TABLES.DAT dependency.

Philipp Kutin (Helixhorned) 2 set 2012, 07:08 UTC−7 r2988

We're pulling stuff from math.h even in non-GL builds right now, so adding libc's sin() and atan() doesn't seem like a big deal. In the unlikely event that their accuracy is so bad that the calculated tables don't match the original ones, a warning is issued on little-endian platforms.

player.c: factor out 7x similar code into GetAutoAimAngle().

Philipp Kutin (Helixhorned) 2 set 2012, 07:03 UTC−7 r2983

This is one of the cases where the duplicated code has minor modifications at each site. These are handled by function args here.

EngineCON

Remove some #if 0 blocks that are probably of no interest any more.

Philipp Kutin (Helixhorned) 2 set 2012, 07:00 UTC−7 r2981

For reference, they are the following: - cache1d.c: suckcache() - build.c: compare_wall_coords() - make switch-invisible heuristic - Mapster32: old sprite search - Mapster32: manual z range - m32script: read/writearray, qgetsysstr - menus.c: savetemp()