October 2015
-
General
Sprite sorting changes:
Show details
-Sort by owner now occurs only when two sprites have matching x/y coordinates. -Cstat 1024 now activates a special drawing mode that indicates a sprite should be drawn without depth after all other sprites have been drawn. The previous cstat 1024 functionality, an internal hack for shadows cast by models in Polymost, has been moved to bit 1 of a new graphical effects bitfield stored in a tsprite's .extra member.
-
General
Add colmatch to Android Makefile. DONT_BUILD.
-
General
Tweak the amount that distance is factored in when mitigating depth fighting in Polymost.
-
General
Improve the behavior of the BLOODSPLAT family of sprites. This improves the effect so that the blood doesn't stutter when it moves, and no longer occasionally appears to climb back up the wall for a fraction of a second.
-
General
Minor cleanup to previous commit. DONT_BUILD.
-
General
Additional depth fighting mitigation for face sprites
-
General
Sort tsprites by owner as a replacement for the sort by statnum removed by Helixhorned a while back. Seems sensible enough...
-
General
Fix SE17 warp elevator transition jumps.
-
General
Fix up bloodsplat and decal positioning a bit. Nasty hacks removed. Yay.
-
General
New attempt at fixing the depth fighting with wall and floor-aligned sprites.
-
General
Add colmatch.c to VS project. DONT_BUILD.
-
General
Fix pathsearchmode in Mapster32 when using a .def which loads a .grp.
-
General
Set hit data on spawned decals
-
General
Fix saving and loading crosshaircolor, and fix fps counter color when using a palette that doesn't correspond to Duke3D's color indexes.
-
General
Add colmatch object to MSVC Makefile. DONT_BUILD.
-
fix 2d3d mode input issue when sector is -1
-
General
Fix a crash in the editor when the basepalette is loaded from def instead of PALETTE.DAT, caused by trying to getclosestcol() without having initialized the colormatching code. Exposed in r5359; previously resulted only in erroneous matching to an all-#000000 palette.
-
General
Since gcc 4.2 complains about it on OS X 10.7, use initputs instead of initprintf when printing a single argument, even if it is already char const *.
-
General
Always compile with "-Wno-missing-braces", as the warnings it hides are useless. "-Wmissing-field-initializers" (part of "-Wextra") should cover us.
-
General
Fix two unused function warnings in mdsprite.c when building with POLYMER=0.
-
General
OS X: Fix -Wdeprecated-declarations compiler warnings in the startup windows.
-
General
OS X: Fix POLYMER=0 build.
-
General
Fix warning: explicitly assigning value of variable of type 'CACHE1D_FIND_REC *' (aka '_CACHE1D_FIND_REC *') to itself [-Wself-assign]
-
General
-
General
Split the colormatching portion of getclosestcol_lim into getclosestcol_nocache_lim in case speed is desired when processing an image with mostly unique colors.
-
Add globalgameflag DUKE3D_NO_HARDCODED_FOGPALS, which prevents the game from automatically defining white, red, green, and blue fogpals in the first four adjacent empty palookup slots it finds.
-
General
Add globalgameflags to Duke-Mapster32's game-side def parsing.
-
General
Move PaletteIndexFullbrights back into the engine and autodetect fullbrights instead of hardcoding them.
-
Automatically disable ASM when "arm" is found in `uname -m` on Linux.
-
General
Reverse the iteration direction of the getclosetcol fallback loop, preferring the tiebreaking color to be the first one numerically in the palette, not the last.
-
General
Fix a typo in loadpalette that broke reading of the lognumalphatabs byte.
-
General
Add forgotten newlines to error messages in loadpalette().
-
General
Before aliasing empty palookups to #0, check existing ones if they are identical to #0, and if so, also alias them. This saves memory in Polymost with tileshades enabled.
-
Add "undef" subtokens to and undef-range versions of basepalette, palookup, and blendtable.
September 2015
-
Add "numalphatables" token, which serves the same purpose as the lognumalphatabs byte in PALETTE.DAT.
-
General
Fix error in r5346 that broke the MoreBlendTab section of PALETTE.DAT.
-
General
Fix RENDERTYPE=WIN build by changing a const char* to a char*, which had been cast to (void *) before passing to free() (which is bad practice) prior to r5352.
-
General
Build tools: Clean up transpal and link it to colmatch.c instead of including a separate copy of the (old!) getclosestcol code.
-
General
Split the initialization of the pragma.h's libdivide tables into its own function.
-
General
Build tools/OS X: Fix build by satisfying compat.c's dependence on osxbits.m.
-
General
Build tools/Windows: Fix text outout by compiling without -mwindows.
-
General
Split the getclosestcol functions into a new object, colmatch.
-
General
Update Xcode project to reflect recent filename changes. DONT_BUILD.
-
Clean up the animtilerange token so that it is possible to specify backward animations in the logical tile1 > tile2 way.
-
Fix a bug with the tilefromtexture { texture } subtoken, where alphacut was interpreted in an inverse fashion, generally causing hightile textures defined this way to appear completely transparent.
-
Correct handling of size-zero gamearrays: Prevent a crash upon loading a savegame containing them, and allow resizearray to zero.
-
Fix a harmless "Internal compiler error" warning when using quick structure access on userdef.
-
Add "defstate" token which functions identically as in M32script: synonymous with CON's "state" only at top-level (when defining a state). Useful for syntax highlighting.
-
General
Remove NULL checks before calling free(): they are unnecessary as per the C standard. Other cleanup includes factoring code into DO_FREE_AND_NULL() macros.
-
Add basepalette, palookup, and blendtable tokens.