Marzo 2014
-
Generale
Really minor accumulated readability tweaks.
-
Generale
Polymer/rotatesprite: don't redundantly apply shade glColor() with ART mapping.
-
introduce r_usenewshading 3 and make it the default.
Mostra dettagli
With this mode, the near distance of the linear fog is always 0, unlike being negative with r_usenewshading 2.
-
Generale
Factor out approaching val. to target val by half-difference steps into logapproach().
Mostra dettagli
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!
-
Generale
Fix taking ARRAY_SIZE of PlayerSelfObituaries (not PlayerObituaries!)
Mostra dettagli
Also add two static assertions checking that the obituary quotes don't go out of the MAXQUOTES bound. BUILD_LUNATIC.
-
Generale
*nix ENet build fix. DONT_BUILD.
-
Generale
Fix an unused variable warning with NETCODE=0. DONT_BUILD.
-
Generale
Upgrade ENet library
-
Generale
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.
-
Generale
Some basic changes for Android support. DONT_BUILD.
-
Generale
Widespread use of ARRAY_SIZE macro.
-
Generale
Clean up A_InitEnemyFlags() a bit.
-
Generale
engine.c: check (non-)clipping over a floor curb of an upper TROR neighbor.
-
Generale
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.
Mostra dettagli
Add test/qgetsysstr.con. BUILD_LUNATIC.
-
qgetsysstr/STR_MAP*NAME: add informative err. msg. for void vol/lev.
-
Generale
Fix the "fix for flying/jumping monsters getting stuck in water".
Mostra dettagli
In C and Lunatic, split 'jumptoplayer' of enum amoveflags_t / action.MOVFLAGS into 'jumptoplayer_bits' and 'jumptoplayer_only' (see updated Lunatic doc).
-
Generale
In three missed places, use AC_MOVFLAGS instead of sp->hitag.
-
fix 'spawn' OSD command when running with -Lopts=strict.
Mostra dettagli
BUILD_LUNATIC.
-
fix DBG_.testmembread after r4290.
-
for gameactor(), deprecate AF.replace_hard, make AF.replace default.
Mostra dettagli
That is, always bitwise-OR the per-tile actor flags with the existing ones.
-
warn if a 'spriteflags' is issued after its actor definition...
Mostra dettagli
... or another 'spriteflags' or 'sprite*' directive.
-
warn if using reserved bits in 'spriteflags'.
Mostra dettagli
Reserved bits are those that have no predefined SFLAG_* label in CON.
-
Generale
Add new actor flag and predefined CON label SFLAG_NODAMAGEPUSH.
Mostra dettagli
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.
Mostra dettagli
Unlike in C-CON, it only tries an exact match with the given and uppercased label, not "full" case-insensitive search.
-
Generale
If 3rd person view gets outside map, try again w/o subtracting 3072 from player z.
Mostra dettagli
Also, clean up G_DoThirdPerson().
-
extend map-VX walltype by 'blend' member. BUILD_LUNATIC.
Mostra dettagli
Make Mapster32 save as map-text if there is a wall with non-zero 'blend'.
-
Generale
POLYMER=0 build fix. DONT_BUILD.
-
Generale
Make non-pal 0 enemy health doubling depend on running 1.3D or earlier
-
Generale
Zip support bugfix from a newer kplib
-
implement screen tilting by 180 degrees without quality loss.
Mostra dettagli
BUILD_LUNATIC.
-
Generale
Adapt x86 GCC assembly copybufreverse() to x86_64 and enable unconditionally.
Mostra dettagli
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.
-
Generale
Propagate 'blend' to rotatesprite_(), but don't hook it up to scripting yet.
-
when failing to paste selected sectors into loaded map, unhighlight.
Mostra dettagli
DONT_BUILD.
-
Generale
When osdcmd_quit(), OSD_ShowDisplay(0).
Mostra dettagli
DONT_BUILD.
Febbraio 2014
-
Generale
a.m32: add states 'uniformceiling' and 'uniformfloor'.
Mostra dettagli
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.
-
Generale
engine.c: in loadlookups(), allow pal 0.
Mostra dettagli
BUILD_LUNATIC.
-
Generale
Fix crosshair color.
-
Generale
A few stylistic tweaks, like substituting missed SE_* enum constants.
Mostra dettagli
BUILD_LUNATIC.
-
Generale
Amend r3822 ("Make deletion of an amb. sound MUSICANDSFX stop its sound again.")
Mostra dettagli
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.
-
Generale
Rename SPRITE_* flag enum constants to SFLAG_*, for consistency with CON.
-
Generale
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.
Mostra dettagli
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().
-
Generale
A couple of very minor code beauty tweaks.