March 2014
-
General
Really minor accumulated readability tweaks.
-
General
Polymer/rotatesprite: don't redundantly apply shade glColor() with ART mapping.
-
introduce r_usenewshading 3 and make it the default.
Show details
With this mode, the near distance of the linear fog is always 0, unlike being negative with r_usenewshading 2.
-
General
Factor out approaching val. to target val by half-difference steps into logapproach().
Show details
Fix a case in G_MovePlayers(), where the player sprite's shade is approached toward the ceiling/floor's shade. Before, it could stop at one above or below!
-
General
Fix taking ARRAY_SIZE of PlayerSelfObituaries (not PlayerObituaries!)
Show details
Also add two static assertions checking that the obituary quotes don't go out of the MAXQUOTES bound. BUILD_LUNATIC.
-
General
*nix ENet build fix. DONT_BUILD.
-
General
Fix an unused variable warning with NETCODE=0. DONT_BUILD.
-
General
Upgrade ENet library
-
General
Add xxHash (https://code.google.com/p/xxhash/), a faster alternative to CRC32, and implement it in a few places. This is around 20-30% faster than CRC32 for me (it's also implemented into the "fileinfo" console command, so you can test for yourselves). I didn't have time to gather up all of the files supported by the startup window so this isn't used there yet. Additionally, this is by the same author as the LZ4 compression library we already use.
-
General
Some basic changes for Android support. DONT_BUILD.
-
General
Widespread use of ARRAY_SIZE macro.
-
General
Clean up A_InitEnemyFlags() a bit.
-
General
engine.c: check (non-)clipping over a floor curb of an upper TROR neighbor.
-
General
engine.c: factor out two functions from clipmove().
-
patch up off-by-one line numbering problem. DONT_BUILD.
-
add safety checks for qgetsysstr/STR_{,MAP,PLAYER,VOLUME}NAME.
Show details
Add test/qgetsysstr.con. BUILD_LUNATIC.
-
qgetsysstr/STR_MAP*NAME: add informative err. msg. for void vol/lev.
-
General
Fix the "fix for flying/jumping monsters getting stuck in water".
Show details
In C and Lunatic, split 'jumptoplayer' of enum amoveflags_t / action.MOVFLAGS into 'jumptoplayer_bits' and 'jumptoplayer_only' (see updated Lunatic doc).
-
General
In three missed places, use AC_MOVFLAGS instead of sp->hitag.
-
fix 'spawn' OSD command when running with -Lopts=strict.
Show details
BUILD_LUNATIC.
-
fix DBG_.testmembread after r4290.
-
for gameactor(), deprecate AF.replace_hard, make AF.replace default.
Show details
That is, always bitwise-OR the per-tile actor flags with the existing ones.
-
warn if a 'spriteflags' is issued after its actor definition...
Show details
... or another 'spriteflags' or 'sprite*' directive.
-
warn if using reserved bits in 'spriteflags'.
Show details
Reserved bits are those that have no predefined SFLAG_* label in CON.
-
General
Add new actor flag and predefined CON label SFLAG_NODAMAGEPUSH.
Show details
This flag is set from C for some enemies that should not be pushed back when damaged, such as TANK. Both the tile flag and the per-sprite flag are used (i.e. the ultimate flag value is the XOR of the two). Add currently non-functional example to test.lua that attempts to set this bit for NEWBEAST.
-
implement passing string label to 'spawn' OSD command.
Show details
Unlike in C-CON, it only tries an exact match with the given and uppercased label, not "full" case-insensitive search.
-
General
If 3rd person view gets outside map, try again w/o subtracting 3072 from player z.
Show details
Also, clean up G_DoThirdPerson().
-
extend map-VX walltype by 'blend' member. BUILD_LUNATIC.
Show details
Make Mapster32 save as map-text if there is a wall with non-zero 'blend'.
-
General
POLYMER=0 build fix. DONT_BUILD.
-
General
Make non-pal 0 enemy health doubling depend on running 1.3D or earlier
-
General
Zip support bugfix from a newer kplib
-
implement screen tilting by 180 degrees without quality loss.
Show details
BUILD_LUNATIC.
-
General
Adapt x86 GCC assembly copybufreverse() to x86_64 and enable unconditionally.
Show details
For a 1680x1050 scene standing directly in front of a mirror, this increases FPS from ~90 to ~95 for me.
-
fix 'getincangle'.
-
for wall alignment with [.]/[,], reverse meaning of Alt modifier.
-
General
Propagate 'blend' to rotatesprite_(), but don't hook it up to scripting yet.
-
when failing to paste selected sectors into loaded map, unhighlight.
Show details
DONT_BUILD.
-
General
When osdcmd_quit(), OSD_ShowDisplay(0).
Show details
DONT_BUILD.
February 2014
-
General
a.m32: add states 'uniformceiling' and 'uniformfloor'.
Show details
Given highlighted sectors, these take the arithmetic mean of their ceiling's or floor's (respectively) z, removing the slope bit from all, and setting the new z to the mean one, rounded down to 1024 Build z units (one PGUP/PGDN). BUILD_LUNATIC.
-
add and document option -ferror-negative-tag-write.
-
General
engine.c: in loadlookups(), allow pal 0.
Show details
BUILD_LUNATIC.
-
General
Fix crosshair color.
-
General
A few stylistic tweaks, like substituting missed SE_* enum constants.
Show details
BUILD_LUNATIC.
-
General
Amend r3822 ("Make deletion of an amb. sound MUSICANDSFX stop its sound again.")
Show details
We shouldn't be using its actor[].t_data[8] because that one is used by the sprite rotation-fixing system (which fixes STAT_FX sprites to the positions relative to the pivot, too). Test case source/lunatic/test/delmusicsfx.lua still passes with this modification.
-
General
Rename SPRITE_* flag enum constants to SFLAG_*, for consistency with CON.
-
General
Give sprite cstat bit 2048 (NOSHADE, Mapster32 key [N]) a macro name.
-
include .blend in sprite display/edit/search (Shift+TAB/F8/Alt+F8).
-
don't save comments to mapster32.cfg's command-line history.
-
generalize shadexfog.create_trans() further.
Show details
It now accepts a number of tables to create as 3rd arg. The function that create_trans() takes as the 2nd argument is now being passed (r,g,b, R,G,B, tablei, numtables). Rewrite create_additive_trans() in terms of it. Rename create_128_trans() -> create_alpha_trans().
-
General
A couple of very minor code beauty tweaks.