terminx
|
e59f8e3b71
|
Use FORCE_INLINE and CONSTEXPR where appropriate in the Q16 fixed point math library
git-svn-id: https://svn.eduke32.com/eduke32@7588 1a8010ca-5511-0410-912e-c29ae57300e0
# Conflicts:
# platform/Windows/build.vcxproj.filters
|
2019-09-19 14:30:22 +02:00 |
|
terminx
|
e5bd221746
|
auto/const/constexpr bullshit
git-svn-id: https://svn.eduke32.com/eduke32@7587 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:49 +02:00 |
|
terminx
|
f9e866d32d
|
Rename clipwalldist() to getwalldist() and move both it and sectoradjacent() to engine.cpp
git-svn-id: https://svn.eduke32.com/eduke32@7586 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:48 +02:00 |
|
terminx
|
bb517b73e3
|
clip.cpp usectortype cleanup
git-svn-id: https://svn.eduke32.com/eduke32@7585 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:45 +02:00 |
|
terminx
|
d04c4203c5
|
Fix a really stupid bug in r7574
git-svn-id: https://svn.eduke32.com/eduke32@7584 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:43 +02:00 |
|
terminx
|
5a814eb261
|
Make getceilzofslopeptr/getflorzofslopeptr/getzsofslopeptr not invoke the structure trackers
git-svn-id: https://svn.eduke32.com/eduke32@7583 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:41 +02:00 |
|
terminx
|
b46bc73322
|
Add a distance check to clipupdatesector() to prevent traversing through portals that are outside the wall distance passed to clipmove()
git-svn-id: https://svn.eduke32.com/eduke32@7582 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:40 +02:00 |
|
terminx
|
76d7fec2ff
|
Expose yax_getclosestpointonwall() for use outside of engine.cpp
git-svn-id: https://svn.eduke32.com/eduke32@7581 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:38 +02:00 |
|
terminx
|
e2be7183b4
|
Fix addclipsect() accidentally being nested under #ifdef HAVE_CLIPSHAPE_FEATURE
git-svn-id: https://svn.eduke32.com/eduke32@7580 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:36 +02:00 |
|
terminx
|
e5c979c997
|
CON_UPDATESECTOR/CON_UPDATESECTORZ: only use sprite[vm.spriteNum].sectnum if the initial value of the input/output parameter is outside the range of 0 - MAXSECTORS-1
git-svn-id: https://svn.eduke32.com/eduke32@7579 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:34 +02:00 |
|
terminx
|
a32597464f
|
Use uwalltype in inside() to avoid invoking the struct trackers
git-svn-id: https://svn.eduke32.com/eduke32@7578 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:32 +02:00 |
|
terminx
|
bcf8ae4d84
|
Revert "Clean up clip.cpp struct casting including but not limited to r7466 changes"
git-svn-id: https://svn.eduke32.com/eduke32@7577 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:30 +02:00 |
|
hendricks266
|
f96e1c8e24
|
Clean up clip.cpp struct casting including but not limited to r7466 changes
git-svn-id: https://svn.eduke32.com/eduke32@7576 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:29 +02:00 |
|
hendricks266
|
cd499b2089
|
Fix clipshape regression in r7466
git-svn-id: https://svn.eduke32.com/eduke32@7575 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:27 +02:00 |
|
terminx
|
9af816af52
|
Replace manual search of clipsectorlist[] in clipmove() and friends with a bitmap
git-svn-id: https://svn.eduke32.com/eduke32@7574 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:25 +02:00 |
|
terminx
|
74944c9ed0
|
Fix clipupdatesector()
git-svn-id: https://svn.eduke32.com/eduke32@7573 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:23 +02:00 |
|
terminx
|
ad59875fa3
|
Improve warnings spewed by clipmove() when attempting to consider too many things for clipping
git-svn-id: https://svn.eduke32.com/eduke32@7572 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:21 +02:00 |
|
terminx
|
8a68bffdb0
|
Clean up clip.h and declare a bunch of stuff in clip.cpp static
git-svn-id: https://svn.eduke32.com/eduke32@7571 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:19 +02:00 |
|
terminx
|
7d0faa5752
|
Reduce MAXCLIPSECTORS to 512
git-svn-id: https://svn.eduke32.com/eduke32@7570 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:17 +02:00 |
|
terminx
|
c754ac6e62
|
Limit lastwall() to 'numwalls' iterations instead of MAXWALLS
git-svn-id: https://svn.eduke32.com/eduke32@7569 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:15 +02:00 |
|
terminx
|
c8eb1d0368
|
Simplify conditions in bfirst_search_try()
git-svn-id: https://svn.eduke32.com/eduke32@7568 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:14 +02:00 |
|
terminx
|
b7d06c0bd8
|
clipmove/pushmove parameter const correctness
git-svn-id: https://svn.eduke32.com/eduke32@7567 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:12 +02:00 |
|
hendricks266
|
1ab7175c90
|
Duke: Fix -Wparentheses
git-svn-id: https://svn.eduke32.com/eduke32@7566 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:26:10 +02:00 |
|
hendricks266
|
30d4f29b42
|
SW, KenBuild: Populate the default resolution values from the current desktop settings
git-svn-id: https://svn.eduke32.com/eduke32@7563 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:23:37 +02:00 |
|
hendricks266
|
fdb5fabc86
|
SW: Fix -Waggressive-loop-optimizations
git-svn-id: https://svn.eduke32.com/eduke32@7562 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:23:36 +02:00 |
|
hendricks266
|
7ea2d2024b
|
SW: Fix -Wrestrict
git-svn-id: https://svn.eduke32.com/eduke32@7561 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:23:35 +02:00 |
|
hendricks266
|
5aec94bd60
|
SW: Fix more -Wformat-overflow
git-svn-id: https://svn.eduke32.com/eduke32@7560 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:23:34 +02:00 |
|
hendricks266
|
0c7a7e1bd6
|
compat.h: Factor some repeated conditional_t statements into a new take_sign_t
git-svn-id: https://svn.eduke32.com/eduke32@7559 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:23:32 +02:00 |
|
hendricks266
|
0d277a6210
|
Fix newly exposed -Wtautological-constant-out-of-range-compare in kplib
git-svn-id: https://svn.eduke32.com/eduke32@7558 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:23:31 +02:00 |
|
hendricks266
|
fb0443db69
|
Replace #if CXXSTD >= 2011 || EDUKE32_MSVC_PREREQ(1800) with #ifdef HAVE_CXX11_HEADERS
git-svn-id: https://svn.eduke32.com/eduke32@7557 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:23:29 +02:00 |
|
hendricks266
|
0b14d8cdb5
|
SW: Fix -Wabsolute-value
git-svn-id: https://svn.eduke32.com/eduke32@7556 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:23:28 +02:00 |
|
hendricks266
|
392917d61f
|
SW: Fix -Wpointer-bool-conversion
git-svn-id: https://svn.eduke32.com/eduke32@7555 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:23:27 +02:00 |
|
hendricks266
|
97e9f1ee75
|
SW: Fix -Warray-bounds
git-svn-id: https://svn.eduke32.com/eduke32@7554 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:23:26 +02:00 |
|
hendricks266
|
6c62f4e52d
|
SW: Fix -Wformat-security
git-svn-id: https://svn.eduke32.com/eduke32@7553 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:23:25 +02:00 |
|
pogokeen
|
71847ec0f1
|
polymost.cpp: fix fragment shader issue where fullbrights in a texture could affect rendering when u_useColorOnly was enabled
git-svn-id: https://svn.eduke32.com/eduke32@7552 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:23:23 +02:00 |
|
terminx
|
84c43dc99c
|
Fix warnings with TrackedType
git-svn-id: https://svn.eduke32.com/eduke32@7551 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:23:22 +02:00 |
|
terminx
|
030f0b7013
|
Fix crash when passing updatesectorz() an invalid sector number > numsectors and < MAXSECTORS
git-svn-id: https://svn.eduke32.com/eduke32@7549 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:20:53 +02:00 |
|
terminx
|
e8a401759d
|
Fix issue where "unbound" without a control name afterward would end up in settings.cfg when dealing with disabled gamefuncs
git-svn-id: https://svn.eduke32.com/eduke32@7548 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:20:51 +02:00 |
|
terminx
|
7e7b06a653
|
Fix issue with G hotkey in editor sound list (F2) where the input field value was clamped to the total number of defined sounds instead of the highest index a sound is defined at
git-svn-id: https://svn.eduke32.com/eduke32@7547 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:20:49 +02:00 |
|
terminx
|
7abfcd28be
|
Add clipupdatesector(), a special version of updatesector() that only searches and returns results that are already in clipsectorlist[]
git-svn-id: https://svn.eduke32.com/eduke32@7546 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:20:47 +02:00 |
|
terminx
|
556d2ccd83
|
Fix TROR wall blocking issue
git-svn-id: https://svn.eduke32.com/eduke32@7545 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:20:44 +02:00 |
|
terminx
|
52ccd82c17
|
Fucking tabs
git-svn-id: https://svn.eduke32.com/eduke32@7544 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:20:42 +02:00 |
|
hendricks266
|
664c1ed38e
|
Fix extern "C" error in kplib.h affecting the Build tools
git-svn-id: https://svn.eduke32.com/eduke32@7543 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:20:40 +02:00 |
|
Christoph Oelckers
|
ea631cb6ac
|
- fixed some warnings
|
2019-09-19 14:18:44 +02:00 |
|
hendricks266
|
b600d3ff56
|
SW: Take a crack at the editor's ExtPostStartupWindow
git-svn-id: https://svn.eduke32.com/eduke32@7539 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:06:22 +02:00 |
|
hendricks266
|
73e66e164a
|
SW: Copy editor function stubs from KenBuild
git-svn-id: https://svn.eduke32.com/eduke32@7538 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:06:20 +02:00 |
|
hendricks266
|
36b75561cc
|
Update some program names
git-svn-id: https://svn.eduke32.com/eduke32@7537 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:06:18 +02:00 |
|
hendricks266
|
07010b398a
|
SW: Fix -Wlogical-op
git-svn-id: https://svn.eduke32.com/eduke32@7536 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:06:16 +02:00 |
|
hendricks266
|
54b7b27eb0
|
SW: Fix -Wsizeof-pointer-memaccess
git-svn-id: https://svn.eduke32.com/eduke32@7535 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:06:16 +02:00 |
|
hendricks266
|
d97f1ed79e
|
SW: Fix -Wformat-overflow and -Wstringop-overflow
git-svn-id: https://svn.eduke32.com/eduke32@7534 1a8010ca-5511-0410-912e-c29ae57300e0
|
2019-09-19 14:06:14 +02:00 |
|