EDuke32 Changelog Archivio non ufficiale

Build 2877

10 agosto 2012 · 6 commit di 1 autore · SVN

Build per mese 138 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 · 20120810-2877.txt
------------------------------------------------------------------------
r2877 | helixhorned | 2012-08-10 12:12:01 -0700 (Fri, 10 Aug 2012) | 4 lines

Text-repl.: hitinfo variables -> hit, hit{sprite,sect,wall} members -> no "hit"

This makes the code rather more readable in some places.  Unlike the two
preceding commits, this one is actually purely textual replacement.
------------------------------------------------------------------------
r2876 | helixhorned | 2012-08-10 12:11:56 -0700 (Fri, 10 Aug 2012) | 7 lines

Mass text replacement g_player[p].ps --> ps, part 2 (harder)

Functions affected are G_Move* in actors.c and A_Shoot in player.c.
Here, the p variable had function scope, now it's redeclared in shorter
blocks. I'm still relatively sure that no observable behavior was changed,
though not as sure as in part 1.  Also, some dead assignments and the like
are eliminated.
------------------------------------------------------------------------
r2875 | helixhorned | 2012-08-10 12:11:53 -0700 (Fri, 10 Aug 2012) | 4 lines

Mass text replacement g_player[p].ps --> ps, part 1 (the easy one).

The p variable (sometimes named differently) has short scope in all cases,
so I'm almost sure that the replacements amount to an identity transformation.
------------------------------------------------------------------------
r2874 | helixhorned | 2012-08-10 12:11:49 -0700 (Fri, 10 Aug 2012) | 1 line

actors.c: factor out 4 instances of id. code (up to args) into nudge_player().
------------------------------------------------------------------------
r2873 | helixhorned | 2012-08-10 12:11:47 -0700 (Fri, 10 Aug 2012) | 3 lines

CON: factor out addammo/addweapon{,var} common code, harden addweaponvar...

... against invalid weapon indices and arguments accessed from arrays/structs.
------------------------------------------------------------------------
r2872 | helixhorned | 2012-08-10 12:11:43 -0700 (Fri, 10 Aug 2012) | 1 line

Lunatic: rewrite bitar to use arrays of int32, more convenience ops.
------------------------------------------------------------------------
Engine

Text-repl.: hitinfo variables -> hit, hit{sprite,sect,wall} members -> no "hit"

Philipp Kutin (Helixhorned) 10 ago 2012, 12:12 UTC−7 r2877

This makes the code rather more readable in some places. Unlike the two preceding commits, this one is actually purely textual replacement.

Mass text replacement g_player[p].ps --> ps, part 2 (harder)

Philipp Kutin (Helixhorned) 10 ago 2012, 12:11 UTC−7 r2876

Functions affected are G_Move* in actors.c and A_Shoot in player.c. Here, the p variable had function scope, now it's redeclared in shorter blocks. I'm still relatively sure that no observable behavior was changed, though not as sure as in part 1. Also, some dead assignments and the like are eliminated.

Mass text replacement g_player[p].ps --> ps, part 1 (the easy one).

Philipp Kutin (Helixhorned) 10 ago 2012, 12:11 UTC−7 r2875

The p variable (sometimes named differently) has short scope in all cases, so I'm almost sure that the replacements amount to an identity transformation.

CON CON

factor out addammo/addweapon{,var} common code, harden addweaponvar...

Philipp Kutin (Helixhorned) 10 ago 2012, 12:11 UTC−7 r2873

... against invalid weapon indices and arguments accessed from arrays/structs.