terminx
|
87c8e86d44
|
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.
git-svn-id: https://svn.eduke32.com/eduke32@5397 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-21 19:54:02 +00:00 |
|
terminx
|
6bf2a897c6
|
Minor cleanup to previous commit. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5396 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-21 19:53:57 +00:00 |
|
terminx
|
38080520ef
|
Additional depth fighting mitigation for face sprites
git-svn-id: https://svn.eduke32.com/eduke32@5395 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-20 07:15:28 +00:00 |
|
terminx
|
0a59779460
|
Sort tsprites by owner as a replacement for the sort by statnum removed by Helixhorned a while back. Seems sensible enough...
git-svn-id: https://svn.eduke32.com/eduke32@5394 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-20 07:15:25 +00:00 |
|
terminx
|
3975df6d2d
|
Fix SE17 warp elevator transition jumps.
git-svn-id: https://svn.eduke32.com/eduke32@5393 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-20 07:15:21 +00:00 |
|
terminx
|
72cea8b6b8
|
Fix up bloodsplat and decal positioning a bit. Nasty hacks removed. Yay.
git-svn-id: https://svn.eduke32.com/eduke32@5392 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-20 07:15:18 +00:00 |
|
terminx
|
45644d25e5
|
New attempt at fixing the depth fighting with wall and floor-aligned sprites.
git-svn-id: https://svn.eduke32.com/eduke32@5391 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-20 07:15:15 +00:00 |
|
terminx
|
483e2d17f2
|
Add colmatch.c to VS project. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5390 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-20 07:15:12 +00:00 |
|
terminx
|
a94a292820
|
Fix pathsearchmode in Mapster32 when using a .def which loads a .grp.
git-svn-id: https://svn.eduke32.com/eduke32@5389 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-20 07:15:08 +00:00 |
|
terminx
|
0f427b8ebd
|
Set hit data on spawned decals
git-svn-id: https://svn.eduke32.com/eduke32@5388 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-20 07:15:05 +00:00 |
|
terminx
|
470449a963
|
Fix saving and loading crosshaircolor, and fix fps counter color when using a palette that doesn't correspond to Duke3D's color indexes.
git-svn-id: https://svn.eduke32.com/eduke32@5387 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-20 07:15:01 +00:00 |
|
terminx
|
49bc51a56d
|
Add colmatch object to MSVC Makefile. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5386 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-20 07:14:56 +00:00 |
|
terminx
|
e30ab0068e
|
Mapster32: fix 2d3d mode input issue when sector is -1
git-svn-id: https://svn.eduke32.com/eduke32@5385 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-20 07:14:52 +00:00 |
|
hendricks266
|
f2a99dec75
|
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.
git-svn-id: https://svn.eduke32.com/eduke32@5384 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-10 06:57:57 +00:00 |
|
hendricks266
|
d58bfb59dd
|
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 *.
git-svn-id: https://svn.eduke32.com/eduke32@5383 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-10 06:57:54 +00:00 |
|
hendricks266
|
d7f82d9898
|
Always compile with "-Wno-missing-braces", as the warnings it hides are useless. "-Wmissing-field-initializers" (part of "-Wextra") should cover us.
git-svn-id: https://svn.eduke32.com/eduke32@5382 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-10 06:57:51 +00:00 |
|
hendricks266
|
6f51a571aa
|
Fix two unused function warnings in mdsprite.c when building with POLYMER=0.
git-svn-id: https://svn.eduke32.com/eduke32@5381 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-10 06:57:49 +00:00 |
|
hendricks266
|
d6f06b9123
|
OS X: Fix -Wdeprecated-declarations compiler warnings in the startup windows.
git-svn-id: https://svn.eduke32.com/eduke32@5380 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-10 06:57:46 +00:00 |
|
hendricks266
|
f149bb0fbc
|
OS X: Fix POLYMER=0 build.
git-svn-id: https://svn.eduke32.com/eduke32@5379 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-10 06:57:41 +00:00 |
|
hendricks266
|
6f0b135140
|
Fix warning: explicitly assigning value of variable of type 'CACHE1D_FIND_REC *' (aka '_CACHE1D_FIND_REC *') to itself [-Wself-assign]
git-svn-id: https://svn.eduke32.com/eduke32@5378 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-10 06:57:38 +00:00 |
|
hendricks266
|
b6ba1fc36a
|
Fix some critical mistakes in my new def code (r5351 and r5367) caused by gaps in my attention.
git-svn-id: https://svn.eduke32.com/eduke32@5377 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-10 06:57:36 +00:00 |
|
hendricks266
|
a0018555ee
|
Split the colormatching portion of getclosestcol_lim into getclosestcol_nocache_lim in case speed is desired when processing an image with mostly unique colors.
git-svn-id: https://svn.eduke32.com/eduke32@5376 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-10 06:57:32 +00:00 |
|
hendricks266
|
07a2ccd79b
|
Duke: 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.
git-svn-id: https://svn.eduke32.com/eduke32@5375 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-03 11:53:19 +00:00 |
|
hendricks266
|
9f1d12eb2c
|
Add globalgameflags to Duke-Mapster32's game-side def parsing.
git-svn-id: https://svn.eduke32.com/eduke32@5374 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-03 11:53:16 +00:00 |
|
hendricks266
|
f232b2fa51
|
Move PaletteIndexFullbrights back into the engine and autodetect fullbrights instead of hardcoding them.
git-svn-id: https://svn.eduke32.com/eduke32@5373 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-03 11:53:13 +00:00 |
|
hendricks266
|
ac6cd00f7c
|
Makefile: Automatically disable ASM when "arm" is found in uname -m on Linux.
git-svn-id: https://svn.eduke32.com/eduke32@5372 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-03 11:53:08 +00:00 |
|
hendricks266
|
38fa1454d8
|
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.
git-svn-id: https://svn.eduke32.com/eduke32@5371 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-03 11:53:05 +00:00 |
|
hendricks266
|
9991201f04
|
Fix a typo in loadpalette that broke reading of the lognumalphatabs byte.
git-svn-id: https://svn.eduke32.com/eduke32@5370 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-03 11:53:02 +00:00 |
|
hendricks266
|
5c09daf294
|
Add forgotten newlines to error messages in loadpalette().
git-svn-id: https://svn.eduke32.com/eduke32@5369 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-03 11:52:59 +00:00 |
|
hendricks266
|
8437d22bf2
|
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.
git-svn-id: https://svn.eduke32.com/eduke32@5368 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-03 11:52:56 +00:00 |
|
hendricks266
|
cac05f8305
|
Defs: Add "undef" subtokens to and undef-range versions of basepalette, palookup, and blendtable.
git-svn-id: https://svn.eduke32.com/eduke32@5367 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-10-03 11:52:51 +00:00 |
|
hendricks266
|
3a8cd4ccb0
|
Defs: Add "numalphatables" token, which serves the same purpose as the lognumalphatabs byte in PALETTE.DAT.
git-svn-id: https://svn.eduke32.com/eduke32@5366 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-27 21:18:24 +00:00 |
|
hendricks266
|
8f3ee25ae0
|
Fix error in r5346 that broke the MoreBlendTab section of PALETTE.DAT.
git-svn-id: https://svn.eduke32.com/eduke32@5365 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-27 21:18:21 +00:00 |
|
hendricks266
|
b0bde3ace5
|
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.
git-svn-id: https://svn.eduke32.com/eduke32@5364 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-27 21:18:19 +00:00 |
|
hendricks266
|
a43cd066fb
|
Build tools: Clean up transpal and link it to colmatch.c instead of including a separate copy of the (old!) getclosestcol code.
git-svn-id: https://svn.eduke32.com/eduke32@5363 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-27 21:18:16 +00:00 |
|
hendricks266
|
ff416551ce
|
Split the initialization of the pragma.h's libdivide tables into its own function.
git-svn-id: https://svn.eduke32.com/eduke32@5362 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-27 21:18:12 +00:00 |
|
hendricks266
|
ed734ccd98
|
Build tools/OS X: Fix build by satisfying compat.c's dependence on osxbits.m.
git-svn-id: https://svn.eduke32.com/eduke32@5361 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-27 21:18:09 +00:00 |
|
hendricks266
|
3ef5586af7
|
Build tools/Windows: Fix text outout by compiling without -mwindows.
git-svn-id: https://svn.eduke32.com/eduke32@5360 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-27 21:18:06 +00:00 |
|
hendricks266
|
5f2b662c77
|
Split the getclosestcol functions into a new object, colmatch.
git-svn-id: https://svn.eduke32.com/eduke32@5359 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-27 21:17:59 +00:00 |
|
hendricks266
|
b7b37f882a
|
Update Xcode project to reflect recent filename changes. DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5358 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-26 00:21:22 +00:00 |
|
hendricks266
|
c754c3a95d
|
Defs: Clean up the animtilerange token so that it is possible to specify backward animations in the logical tile1 > tile2 way.
git-svn-id: https://svn.eduke32.com/eduke32@5357 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-24 06:32:01 +00:00 |
|
hendricks266
|
59a4f0e8ba
|
Defs: 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.
git-svn-id: https://svn.eduke32.com/eduke32@5356 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-24 06:31:58 +00:00 |
|
hendricks266
|
1e40b689b2
|
C-CON: Correct handling of size-zero gamearrays: Prevent a crash upon loading a savegame containing them, and allow resizearray to zero.
git-svn-id: https://svn.eduke32.com/eduke32@5355 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-24 06:31:55 +00:00 |
|
hendricks266
|
efe58c71f9
|
C-CON: Fix a harmless "Internal compiler error" warning when using quick structure access on userdef.
git-svn-id: https://svn.eduke32.com/eduke32@5354 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-24 06:31:52 +00:00 |
|
hendricks266
|
f69f1e73df
|
CON: 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.
git-svn-id: https://svn.eduke32.com/eduke32@5353 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-24 06:31:44 +00:00 |
|
hendricks266
|
a557eedf7e
|
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.
git-svn-id: https://svn.eduke32.com/eduke32@5352 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-23 17:55:31 +00:00 |
|
hendricks266
|
1ca367960f
|
Defs: Add basepalette, palookup, and blendtable tokens.
git-svn-id: https://svn.eduke32.com/eduke32@5351 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-23 17:55:19 +00:00 |
|
hendricks266
|
18a3d07ef1
|
Defs: Prevent tilefromtexture from ever assigning index #255 (the transparent color) to the processed image.
git-svn-id: https://svn.eduke32.com/eduke32@5350 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-23 17:55:15 +00:00 |
|
hendricks266
|
064461a06f
|
Internally, work with 24-bit palettes instead of 18-bit.
git-svn-id: https://svn.eduke32.com/eduke32@5349 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-23 17:55:11 +00:00 |
|
hendricks266
|
c0e7dba4c1
|
Restructure the basepaltable subsystem to support up to 256 palettes and use dynamic allocation like palookup and blendtable.
git-svn-id: https://svn.eduke32.com/eduke32@5348 1a8010ca-5511-0410-912e-c29ae57300e0
|
2015-09-23 17:55:02 +00:00 |
|