Ottobre 2015
-
Generale
Sprite sorting changes:
Mostra dettagli
-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.
-
Generale
Add colmatch to Android Makefile. DONT_BUILD.
-
Generale
Tweak the amount that distance is factored in when mitigating depth fighting in Polymost.
-
Generale
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.
-
Generale
Minor cleanup to previous commit. DONT_BUILD.
-
Generale
Additional depth fighting mitigation for face sprites
-
Generale
Sort tsprites by owner as a replacement for the sort by statnum removed by Helixhorned a while back. Seems sensible enough...
-
Generale
Fix SE17 warp elevator transition jumps.
-
Generale
Fix up bloodsplat and decal positioning a bit. Nasty hacks removed. Yay.
-
Generale
New attempt at fixing the depth fighting with wall and floor-aligned sprites.
-
Generale
Add colmatch.c to VS project. DONT_BUILD.
-
Generale
Fix pathsearchmode in Mapster32 when using a .def which loads a .grp.
-
Generale
Set hit data on spawned decals
-
Generale
Fix saving and loading crosshaircolor, and fix fps counter color when using a palette that doesn't correspond to Duke3D's color indexes.
-
Generale
Add colmatch object to MSVC Makefile. DONT_BUILD.
-
fix 2d3d mode input issue when sector is -1
-
Generale
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.
-
Generale
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 *.
-
Generale
Always compile with "-Wno-missing-braces", as the warnings it hides are useless. "-Wmissing-field-initializers" (part of "-Wextra") should cover us.
-
Generale
Fix two unused function warnings in mdsprite.c when building with POLYMER=0.
-
Generale
OS X: Fix -Wdeprecated-declarations compiler warnings in the startup windows.
-
Generale
OS X: Fix POLYMER=0 build.
-
Generale
Fix warning: explicitly assigning value of variable of type 'CACHE1D_FIND_REC *' (aka '_CACHE1D_FIND_REC *') to itself [-Wself-assign]
-
Generale
-
Generale
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.
-
Generale
Add globalgameflags to Duke-Mapster32's game-side def parsing.
-
Generale
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.
-
Generale
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.
-
Generale
Fix a typo in loadpalette that broke reading of the lognumalphatabs byte.
-
Generale
Add forgotten newlines to error messages in loadpalette().
-
Generale
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.
Settembre 2015
-
Add "numalphatables" token, which serves the same purpose as the lognumalphatabs byte in PALETTE.DAT.
-
Generale
Fix error in r5346 that broke the MoreBlendTab section of PALETTE.DAT.
-
Generale
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.
-
Generale
Build tools: Clean up transpal and link it to colmatch.c instead of including a separate copy of the (old!) getclosestcol code.
-
Generale
Split the initialization of the pragma.h's libdivide tables into its own function.
-
Generale
Build tools/OS X: Fix build by satisfying compat.c's dependence on osxbits.m.
-
Generale
Build tools/Windows: Fix text outout by compiling without -mwindows.
-
Generale
Split the getclosestcol functions into a new object, colmatch.
-
Generale
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.
-
Generale
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.