hendricks266
8a995219de
Amend r5910 so that the problem is mitigated even when the map load takes place with a different renderer.
...
git-svn-id: https://svn.eduke32.com/eduke32@5913 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-25 05:43:46 +00:00
hendricks266
1940940f81
Revert a formatting change from r5725.
...
git-svn-id: https://svn.eduke32.com/eduke32@5912 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-25 05:43:42 +00:00
hendricks266
da6bc22d35
Polymost: Clear wsprinfo[] upon map load. This should address some remaining instances of wall-ornamented sprite z-fighting.
...
git-svn-id: https://svn.eduke32.com/eduke32@5910 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-24 21:30:34 +00:00
hendricks266
6c6fdec733
To avoid potential compiler bugs when inlining inline assembly, remove the asm variants of msqrtasm and always use the C version. Compilers generate equivalent or better assembly, and the function is used exactly once, in a routine called during startup.
...
git-svn-id: https://svn.eduke32.com/eduke32@5909 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-23 19:47:36 +00:00
hendricks266
e24941f0c7
Defs: Fix the parser so tokens with 'x' or 'X' as a second character are only treated as hex constants when the first character is '0'. Introduced in r5822.
...
git-svn-id: https://svn.eduke32.com/eduke32@5907 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-23 19:47:29 +00:00
hendricks266
94f615cc52
Defs: Fix the off-by-one error when printing line numbers.
...
git-svn-id: https://svn.eduke32.com/eduke32@5906 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-23 19:47:23 +00:00
hendricks266
843ac9c924
sdlayer: Don't set the window icon from code if we are linked with SDL >= 2.0.5 on Windows, since it will now automatically use the first icon in the exe.
...
git-svn-id: https://svn.eduke32.com/eduke32@5904 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-20 06:26:20 +00:00
hendricks266
86201254bd
sdlayer: Add EDUKE32_SDL_LINKED_PREREQ macro.
...
git-svn-id: https://svn.eduke32.com/eduke32@5903 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-20 06:26:17 +00:00
hendricks266
1d7c67fd68
sdlayer: Disable Windows thread naming because it interferes with debugging.
...
git-svn-id: https://svn.eduke32.com/eduke32@5902 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-20 06:26:14 +00:00
hendricks266
8169365820
Bump PSKYOFF_MAX from 4 to 8.
...
git-svn-id: https://svn.eduke32.com/eduke32@5898 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:56 +00:00
hendricks266
fc1deb5e3d
Defs: Add "yoffset" subtoken to "multipsky".
...
git-svn-id: https://svn.eduke32.com/eduke32@5897 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:53 +00:00
hendricks266
527181f151
Re-enable the use of psky_t's yoffset.
...
git-svn-id: https://svn.eduke32.com/eduke32@5896 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:50 +00:00
hendricks266
5381e729f8
Add a new aligned mode to alphatabs by defining numalphatabs to be a power of two minus one.
...
This provides fractionally better correspondence between 0-255 alpha values and blend table IDs.
git-svn-id: https://svn.eduke32.com/eduke32@5890 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:40:32 +00:00
hendricks266
9906b71023
Rigor-up the handling of 0% and 100% alpha with alphatabs in 8-bit.
...
git-svn-id: https://svn.eduke32.com/eduke32@5889 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-14 07:33:30 +00:00
hendricks266
8a1f1f2ede
GL .blend support.
...
Consult me if you are interested in this feature.
TODO: Polymer.
git-svn-id: https://svn.eduke32.com/eduke32@5888 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 07:55:23 +00:00
hendricks266
2025aab189
In 8-bit, change the precedence of .alpha and .blend.
...
Previously: Non-zero alpha stacked with cstat translucency in an imitation of Polymost, potentially clobbering .blend if alphatabs are used.
Now: If cstat translucency is active, .alpha is ignored.
git-svn-id: https://svn.eduke32.com/eduke32@5887 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 07:55:18 +00:00
hendricks266
4d08f4d433
Cosmetic changes to some blend/alpha related code.
...
git-svn-id: https://svn.eduke32.com/eduke32@5886 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 07:55:13 +00:00
terminx
b18db99691
Exterminate the smurfs! This fixes the problem where everything in the game was drastically hue shifted on certain hardware configurations, particularly the Raspberry Pi.
...
git-svn-id: https://svn.eduke32.com/eduke32@5884 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 00:15:14 +00:00
terminx
48a2152660
Potentially speed up drawing md3s with transparency in Polymost
...
git-svn-id: https://svn.eduke32.com/eduke32@5881 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-09 00:15:01 +00:00
hendricks266
07d759234d
Some float optimizations in the engine.
...
git-svn-id: https://svn.eduke32.com/eduke32@5877 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-03 02:43:48 +00:00
hendricks266
b768c35175
Ensure the cached float cast variables introduced in r4656 are updated any time the integer versions are.
...
This fixes the infinite loop when viewing an HUD model at a point when displayrooms is not running, such as the main menu upon initial game load.
git-svn-id: https://svn.eduke32.com/eduke32@5876 1a8010ca-5511-0410-912e-c29ae57300e0
2016-10-03 02:43:42 +00:00
terminx
543e7f67c2
Change default unfiltered texture mode to 0 (no mipmaps)
...
git-svn-id: https://svn.eduke32.com/eduke32@5874 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-18 03:54:21 +00:00
hendricks266
68d6bb8af5
Fix clang Windows build. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5873 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-17 19:58:03 +00:00
hendricks266
12f2c9c198
Fix mistake in r5862. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5872 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-17 19:57:58 +00:00
hendricks266
e99dbb858e
Fix undefined behavior: null pointer passed as argument which is declared to never be null
...
git-svn-id: https://svn.eduke32.com/eduke32@5868 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:39 +00:00
hendricks266
388c3832cd
Loop optimizations in screencapture
...
git-svn-id: https://svn.eduke32.com/eduke32@5867 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:36 +00:00
hendricks266
63030036ba
Address warning: variable might be clobbered by 'longjmp' or 'vfork' [-Wclobbered]
...
git-svn-id: https://svn.eduke32.com/eduke32@5866 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:33 +00:00
hendricks266
278eb6ded8
Fix -Wmisleading-indentation warnings in rawinput.c.
...
git-svn-id: https://svn.eduke32.com/eduke32@5865 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:30 +00:00
hendricks266
1b906d74dd
Fix USE_OPENGL=0 build.
...
git-svn-id: https://svn.eduke32.com/eduke32@5862 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-16 21:55:21 +00:00
terminx
e2fd26ca2e
Mapster32: block ctrl-x and ctrl-shift-x from working if you have unsaved changes
...
git-svn-id: https://svn.eduke32.com/eduke32@5859 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-10 05:20:55 +00:00
hendricks266
972c92dc6a
Fix ghost tsprite bug introduced in previous commit.
...
git-svn-id: https://svn.eduke32.com/eduke32@5858 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-09 12:01:30 +00:00
hendricks266
bca7e1a91e
Finish what r5484 started but got reverted in r5723. Cstat 1024 now works properly in Polymost without causing any side effects in Classic. It remains unimplemented in Polymer.
...
git-svn-id: https://svn.eduke32.com/eduke32@5857 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-09 03:12:23 +00:00
hendricks266
b73f2f3e17
Reinstitute the cosmetic cleanups that should have been a separate commit from r5484 and were reverted in r5723.
...
git-svn-id: https://svn.eduke32.com/eduke32@5856 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-09 03:12:20 +00:00
hendricks266
4a6676dd87
Fix warning: signed and unsigned type in conditional expression [-Wsign-compare]
...
git-svn-id: https://svn.eduke32.com/eduke32@5852 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-06 02:15:37 +00:00
terminx
ad4bb9c25d
Fix Polymer breakage
...
git-svn-id: https://svn.eduke32.com/eduke32@5845 1a8010ca-5511-0410-912e-c29ae57300e0
2016-09-02 01:21:10 +00:00
terminx
b13ad6bdc8
Fix builds on broken compilers that don't properly support using "z" in the length field of a printf format placeholder.
...
git-svn-id: https://svn.eduke32.com/eduke32@5844 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-29 19:11:47 +00:00
hendricks266
599e58bfef
Satisfy warning: this 'if' clause does not guard... [-Wmisleading-indentation]
...
DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5843 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-28 21:26:55 +00:00
hendricks266
78f939a2f9
Fix warning: logical 'and' of equal expressions [-Wlogical-op]
...
DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5842 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-28 21:26:51 +00:00
hendricks266
a0183c9c42
Fix warning: left shift of negative value [-Wshift-negative-value]
...
DONT_BUILD.
git-svn-id: https://svn.eduke32.com/eduke32@5841 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-28 21:26:48 +00:00
terminx
c2d8a66c3a
Fix a couple of gcc 6.x warnings.
...
git-svn-id: https://svn.eduke32.com/eduke32@5837 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:42:12 +00:00
terminx
3c34256867
Fix a software mode crash bug involving bad animation flags set on tiles
...
git-svn-id: https://svn.eduke32.com/eduke32@5836 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:42:07 +00:00
terminx
d7d6623364
More readability cleanup. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5835 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:42:01 +00:00
terminx
c6617a98b2
More cleanup. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5830 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:41:33 +00:00
terminx
4575148c02
Use size_t or ssize_t in for loops where possible
...
git-svn-id: https://svn.eduke32.com/eduke32@5829 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:41:21 +00:00
terminx
aae66ccb11
Further cleanup. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5828 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:41:04 +00:00
terminx
34453f5090
Continued cleanup. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5827 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:40:56 +00:00
terminx
52f678a743
Massive readability cleanup of game code part 1. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5825 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:40:35 +00:00
terminx
47edac436b
Support hex constants in scriptfile_getsymbolvalue()
...
git-svn-id: https://svn.eduke32.com/eduke32@5822 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:40:11 +00:00
terminx
51c47a9ef7
ldist/dist tweak
...
git-svn-id: https://svn.eduke32.com/eduke32@5819 1a8010ca-5511-0410-912e-c29ae57300e0
2016-08-27 01:39:56 +00:00
helixhorned
531814ecc4
Mapster32: on TROR point insertion, mark more points.
...
This fixes a bug reported by Micky C on 2016-01-11 where too
few points were marked to be inserted. See AMC TC SVN r2308.
git-svn-id: https://svn.eduke32.com/eduke32@5811 1a8010ca-5511-0410-912e-c29ae57300e0
2016-07-04 14:09:08 +00:00
helixhorned
eda5300b33
Mapster32: pull out some code from M32_InsertPoint() into M32_MarkPointInsertion().
...
git-svn-id: https://svn.eduke32.com/eduke32@5810 1a8010ca-5511-0410-912e-c29ae57300e0
2016-07-04 14:09:08 +00:00
helixhorned
f0cb3ea994
SDL2 layer: in Mapster32, fix menu Ctrl-F in case NumLock is on.
...
git-svn-id: https://svn.eduke32.com/eduke32@5808 1a8010ca-5511-0410-912e-c29ae57300e0
2016-07-04 14:09:06 +00:00
helixhorned
46f39b725c
engine.c: fix potential smostwall[-1] access. Found by ASan.
...
git-svn-id: https://svn.eduke32.com/eduke32@5807 1a8010ca-5511-0410-912e-c29ae57300e0
2016-07-04 14:09:05 +00:00
helixhorned
bcce4cd531
Fix non-HAVE_CLIPSHAPE_FEATURE build.
...
Used for example with DEBUGGINGAIDS=2, i.e. sanitizers enabled.
git-svn-id: https://svn.eduke32.com/eduke32@5806 1a8010ca-5511-0410-912e-c29ae57300e0
2016-07-04 14:09:03 +00:00
Plagman
1b947c7b07
nice nice good stuff
...
git-svn-id: https://svn.eduke32.com/eduke32@5805 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 05:31:54 +00:00
terminx
0d41360676
Build fix
...
git-svn-id: https://svn.eduke32.com/eduke32@5804 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 04:29:06 +00:00
terminx
95f7cf0982
"return" is not a function.
...
git-svn-id: https://svn.eduke32.com/eduke32@5803 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:34:41 +00:00
terminx
951ad678c4
Usual cleanup type stuff involving vectors and variable scopes.
...
git-svn-id: https://svn.eduke32.com/eduke32@5802 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:34:29 +00:00
terminx
0e713e698f
Separate art tile related functions out from engine.c and into tiles.c
...
git-svn-id: https://svn.eduke32.com/eduke32@5801 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:34:25 +00:00
terminx
03daded192
Vectorize a few more things.
...
git-svn-id: https://svn.eduke32.com/eduke32@5800 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:34:18 +00:00
terminx
29a9b93517
FORCE_INLINE a couple of Polymost support functions.
...
git-svn-id: https://svn.eduke32.com/eduke32@5799 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:34:10 +00:00
terminx
5800cd588c
tsectortype -> usectortype
...
twalltype -> uwalltype
tspritetype -> uspritetype
No other changes.
git-svn-id: https://svn.eduke32.com/eduke32@5796 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:33:58 +00:00
terminx
0562de125f
More changes similar to the previous commit
...
git-svn-id: https://svn.eduke32.com/eduke32@5795 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:33:45 +00:00
terminx
dd1d02a0e7
Change a bunch of engine functions that access sprites, walls, and sectors in a read-only fashion to use the untracked versions of those structs.
...
git-svn-id: https://svn.eduke32.com/eduke32@5794 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:33:39 +00:00
terminx
3b7aa279b1
Clipping function tweaks. Fixes building without HAVE_CLIPSHAPE_FEATURE.
...
git-svn-id: https://svn.eduke32.com/eduke32@5793 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:33:35 +00:00
terminx
32450bdd68
Relocate maphack related code into mhk.c.
...
This commit also relocates clipping related code into clip.c and makes a few other minor changes, because I fucked up and merged the commits together. God damn it.
git-svn-id: https://svn.eduke32.com/eduke32@5792 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:33:30 +00:00
terminx
cb2382285f
Separate screen capture code from engine.c into screenshot.c
...
git-svn-id: https://svn.eduke32.com/eduke32@5791 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:33:19 +00:00
terminx
3eb979f8da
Split 2d mode editor stuff that remained in engine.c into 2d.c.
...
git-svn-id: https://svn.eduke32.com/eduke32@5790 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:33:14 +00:00
terminx
205a757109
Move palette related functionality from engine.c to palette.c/h.
...
git-svn-id: https://svn.eduke32.com/eduke32@5789 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:33:06 +00:00
terminx
cdcc983a22
Move hash table stuff out of engine.c and into hash.c/h.
...
git-svn-id: https://svn.eduke32.com/eduke32@5788 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:32:53 +00:00
terminx
aca0807a81
Performance fix for Polymost wall sprite z-fighting avoidance
...
git-svn-id: https://svn.eduke32.com/eduke32@5787 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:32:47 +00:00
terminx
85d0543763
This is stupid as fuck, but I swear I profiled it and it was faster this way. Looked like a cache miss on the first access of the pointers.
...
git-svn-id: https://svn.eduke32.com/eduke32@5785 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:32:40 +00:00
terminx
42ece182e4
Pragma tweaks
...
git-svn-id: https://svn.eduke32.com/eduke32@5784 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-21 00:32:37 +00:00
hendricks266
e06cabb8aa
Remove x86 asm pragmas for readpixel and drawpixel and replace them with their C versions.
...
This fixes a crash in the editor's 2D mode, reported by Paul B.
git-svn-id: https://svn.eduke32.com/eduke32@5781 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-15 07:08:48 +00:00
hendricks266
8ef2032035
Makefile: Revamp setup of all things SDL.
...
Highlights:
*Building with msys2 can now take advantage of sdl-config and sdl2-config if present.
*Add a header check to error out if SDL_mixer's major version does not match SDL.
*Building with frameworks on OS X works again.
Notes:
*Those cross compiling, particularly targeting Windows, may need to invoke make with SDLCONFIG='' to avoid bringing in libs and headers from the host.
git-svn-id: https://svn.eduke32.com/eduke32@5778 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-15 07:08:35 +00:00
hendricks266
b1b7f13a41
Polymer: Correct an oversight in r3580.
...
git-svn-id: https://svn.eduke32.com/eduke32@5775 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-10 18:23:25 +00:00
hendricks266
3adda0cbd3
Polymer: Revert part of r5481. We can't rely on the sprite trackers to tell us when tsprites change.
...
git-svn-id: https://svn.eduke32.com/eduke32@5774 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-10 18:23:22 +00:00
hendricks266
afe530942c
BSD: Fix build on OpenBSD. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5772 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-06 22:13:05 +00:00
hendricks266
d33a443b2e
Revert r5658. This fixes the disappearing chaingun problem.
...
git-svn-id: https://svn.eduke32.com/eduke32@5771 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-05 04:46:43 +00:00
hendricks266
31e0cdd87b
GL: In uploadtexture, don't assume that a non-masking texture can safely be sent to the driver without the alpha channel.
...
git-svn-id: https://svn.eduke32.com/eduke32@5770 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-05 04:46:40 +00:00
hendricks266
f0f7b04652
Polymer: Fix the oversight in handling tspr->extra from r5400 by setting it to zero in polymer_scansprites.
...
git-svn-id: https://svn.eduke32.com/eduke32@5769 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-05 04:46:37 +00:00
hendricks266
0434a87e3a
Remove trailing whitespace from anything we don't need to rebase from an upstream.
...
git-svn-id: https://svn.eduke32.com/eduke32@5768 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-05 04:46:28 +00:00
hendricks266
31606866f1
Add some preprocessor checks on the output format to the asm.
...
git-svn-id: https://svn.eduke32.com/eduke32@5767 1a8010ca-5511-0410-912e-c29ae57300e0
2016-06-05 04:46:06 +00:00
hendricks266
3ccf33bc21
Remove unnecessary asm unprotection of ylookup[].
...
git-svn-id: https://svn.eduke32.com/eduke32@5761 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-29 21:11:27 +00:00
hendricks266
9a50071b1d
Clean up self-modifying assembly unprotection and add PROT_EXEC to mprotect() calls.
...
This fixes NOASM=0 under OS X.
git-svn-id: https://svn.eduke32.com/eduke32@5760 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-29 21:11:24 +00:00
hendricks266
128719189f
sdlayer: Clean up creation of SDL_Renderer and provide information about the process to the log.
...
git-svn-id: https://svn.eduke32.com/eduke32@5759 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-29 21:11:21 +00:00
hendricks266
225f37f7b0
A small patch from rhoenie to make our source compatible with the Intel C Compiler.
...
Our makefile would need more setup and I currently don't have any means of testing.
git-svn-id: https://svn.eduke32.com/eduke32@5757 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-29 21:11:12 +00:00
hendricks266
a8287f676f
KenBuild: Fix mul3 and sqr pragmas.
...
git-svn-id: https://svn.eduke32.com/eduke32@5735 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:18 +00:00
hendricks266
42d0f08d18
libdivide.h: Silence "warning: non-constant-expression cannot be narrowed from type 'uint64_t' (aka 'unsigned long long') to 'long long' in initializer list in C++11 [-Wc++11-narrowing]".
...
The problem that the block of code in question works around was fixed in LLVM r82228 and landed in clang 2.7.
git-svn-id: https://svn.eduke32.com/eduke32@5732 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:07 +00:00
hendricks266
1f761df37f
libdivide.h: Silence "warning: variable 'result' is uninitialized when used here [-Wuninitialized]".
...
git-svn-id: https://svn.eduke32.com/eduke32@5731 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-23 04:46:02 +00:00
hendricks266
4282640c6c
Amend previous commit. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5730 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-22 21:01:12 +00:00
hendricks266
764336bdea
Fix NO_ALIGNED_MALLOC to actually work and not transpose the parameters. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5729 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-21 02:39:58 +00:00
terminx
0de66c3411
Misc Polymost crap. Improves detection of sprite/wall collisions for z-fighting avoidance
...
git-svn-id: https://svn.eduke32.com/eduke32@5725 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-13 22:15:28 +00:00
terminx
e33d010e1a
Replace uses of "swap64bit" where "swapdouble" is what is really meant. There is nothing in this to handle potential platforms where sizeof(double) != sizeof(int64_t)
...
git-svn-id: https://svn.eduke32.com/eduke32@5724 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-13 22:15:25 +00:00
terminx
2d9f205c69
Revert bad attempt at fixing cstat 1024
...
git-svn-id: https://svn.eduke32.com/eduke32@5723 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-13 22:15:20 +00:00
terminx
31326f2910
Change default pointhighlightdist in the editor to 128
...
git-svn-id: https://svn.eduke32.com/eduke32@5721 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-13 22:15:12 +00:00
hendricks266
b12c8dc268
Reorder preprocessor lines in libdivide.h so that LIBDIVIDE_USE_SSE2 is defined before emmintrin.h is included. Fixes ticket #23 . DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5720 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-11 02:59:15 +00:00
hendricks266
0331870c1b
A quick hack so that Mapster can load more pre-v7 PALETTE.DAT files.
...
git-svn-id: https://svn.eduke32.com/eduke32@5718 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-05 19:50:22 +00:00
hendricks266
3cba791f5b
Some stuff for using clang to build on Android. DONT_BUILD.
...
git-svn-id: https://svn.eduke32.com/eduke32@5717 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-04 08:26:08 +00:00
hendricks266
93a86e2840
Enable LIBDIVIDE_USE_SSE2 under x86_64 builds or if the binary is built with SSE2 optimizations.
...
git-svn-id: https://svn.eduke32.com/eduke32@5716 1a8010ca-5511-0410-912e-c29ae57300e0
2016-05-04 00:25:27 +00:00