Browse logs with clarity: filter by type/year, search text, and inspect parsed commit details.

2100Total Files
2088SVN Logs
12Git Changelogs
1541Filtered Results

Detail

2012.02.20.Log0446.txt

📄SVN 📅2012-02-20 💾1,8 KB 2 Parsed entries CON BUILD

Revision r2374

Define Batoi/Batol to strtol(...) in compat.h and use these when necessary.

That is, everyplace a user input is to be converted.  The only remaining
instance of atoi() is now atoi(s_buildDate).

Revision r2373

engine: make neartag accept a sprite-blacklist function and use it in sector.c.

Internally, the last argument to neartag is now a pointer to a function
  int32_t (*blacklist_sprite_func)(int32_t i),
which is supposed to return 1 if sprite[i] should NOT be considered for hitting.

This is now used in the hard-coded neartag() calls in sector.c, but not in any
way in CON (there's neither a C blacklist function provided, nor is there a
possibility to define one in CON).  There, all sprites with picnums >=1 and <=10
(i.e. the effectors) will be blacklisted.  This remedies problems where such
sprites would get in the way of switches.

Note that a whitelist approach (only consider a predefined set, namely those
picnums which will be checked afterwards) has back-compatibility implications
since people may have used e.g. lotagged window sprites to cover a switch.

Also, the >=1 to <=10 range is [sic] (the static, not dynamic values are used),
since anyone redefining effector picnums is clearly out of their mind.
------------------------------------------------------------------------
Raw Content
------------------------------------------------------------------------
r2375 | helixhorned | 2012-02-20 13:18:57 -0800 (Mon, 20 Feb 2012) | 3 lines

Uncomment "CrosshairColor" parsing code in config.c.

Untested, but LeoD says it works.
------------------------------------------------------------------------
r2374 | helixhorned | 2012-02-20 13:17:39 -0800 (Mon, 20 Feb 2012) | 4 lines

Define Batoi/Batol to strtol(...) in compat.h and use these when necessary.

That is, everyplace a user input is to be converted.  The only remaining
instance of atoi() is now atoi(s_buildDate).
------------------------------------------------------------------------
r2373 | helixhorned | 2012-02-20 11:54:24 -0800 (Mon, 20 Feb 2012) | 18 lines

engine: make neartag accept a sprite-blacklist function and use it in sector.c.

Internally, the last argument to neartag is now a pointer to a function
  int32_t (*blacklist_sprite_func)(int32_t i),
which is supposed to return 1 if sprite[i] should NOT be considered for hitting.

This is now used in the hard-coded neartag() calls in sector.c, but not in any
way in CON (there's neither a C blacklist function provided, nor is there a
possibility to define one in CON).  There, all sprites with picnums >=1 and <=10
(i.e. the effectors) will be blacklisted.  This remedies problems where such
sprites would get in the way of switches.

Note that a whitelist approach (only consider a predefined set, namely those
picnums which will be checked afterwards) has back-compatibility implications
since people may have used e.g. lotagged window sprites to cover a switch.

Also, the >=1 to <=10 range is [sic] (the static, not dynamic values are used),
since anyone redefining effector picnums is clearly out of their mind.
------------------------------------------------------------------------