terminx
|
d2f980694b
|
P_UpdateScreenPal() seems to belong here instead
git-svn-id: https://svn.eduke32.com/eduke32@7065 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:15:33 +00:00 |
|
terminx
|
da040c0690
|
Increase size of text buffer used for editor 3d mode info display--it was possible to overflow it
git-svn-id: https://svn.eduke32.com/eduke32@7064 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:15:28 +00:00 |
|
terminx
|
cc6e458d00
|
Prevent g_sounds[] buffer overflow when attempting to define a sound with an index higher than MAXSOUNDS-1. This reduces the number of sound definitions available by 1 as the last slot is now reserved for the error condition.
git-svn-id: https://svn.eduke32.com/eduke32@7063 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:15:22 +00:00 |
|
terminx
|
6248cc9cee
|
Remove redundant assignment and null ptr check
git-svn-id: https://svn.eduke32.com/eduke32@7062 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:15:17 +00:00 |
|
terminx
|
941aa87bce
|
Fix usage of pointer to stack allocated array outside of the scope the array was declared in
git-svn-id: https://svn.eduke32.com/eduke32@7061 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:15:12 +00:00 |
|
terminx
|
b50b1ad198
|
Fix huge bug in CON_COPY
git-svn-id: https://svn.eduke32.com/eduke32@7060 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:15:06 +00:00 |
|
terminx
|
1c5ddca44a
|
Clarify assignment in ternary condition as not a bug
git-svn-id: https://svn.eduke32.com/eduke32@7059 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:15:01 +00:00 |
|
terminx
|
3e380309ce
|
Replace error condition in rejectQueue_remove() with an assertion, because the NULL pointer it would return if something was fucked up would be unconditionally dereferenced in kdtree_add().
git-svn-id: https://svn.eduke32.com/eduke32@7058 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:14:56 +00:00 |
|
terminx
|
bcb1374391
|
Static analyzer says this condition is never true
git-svn-id: https://svn.eduke32.com/eduke32@7057 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:14:51 +00:00 |
|
terminx
|
15008d7aec
|
Revert r7017. I misread the code mismeasured the result.
git-svn-id: https://svn.eduke32.com/eduke32@7056 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:14:46 +00:00 |
|
terminx
|
1d3f77b46b
|
Clean up error handling in shitty G_GetVersionFromWebsite() function
git-svn-id: https://svn.eduke32.com/eduke32@7055 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:14:41 +00:00 |
|
terminx
|
e6c36442bd
|
Add missing ifdef guards to namesdyn.h
git-svn-id: https://svn.eduke32.com/eduke32@7054 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:14:36 +00:00 |
|
terminx
|
7763a379ef
|
Revert part of r7031 and fix the issue a different way
git-svn-id: https://svn.eduke32.com/eduke32@7053 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:14:31 +00:00 |
|
terminx
|
b3914431b0
|
Fix memory leaks in editor sound list
git-svn-id: https://svn.eduke32.com/eduke32@7052 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:14:26 +00:00 |
|
terminx
|
f354f824f4
|
Add missing ifdef guards to soundsdyn.h
git-svn-id: https://svn.eduke32.com/eduke32@7051 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 19:14:20 +00:00 |
|
pogokeen
|
f876e8ad0c
|
polymost.cpp: temporarily disable experimental r_enablepolymost2 cvar
git-svn-id: https://svn.eduke32.com/eduke32@7050 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 15:08:08 +00:00 |
|
pogokeen
|
0b41a17f6b
|
polymost.h: fix order of parameters to match polymost.cpp
git-svn-id: https://svn.eduke32.com/eduke32@7049 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 14:37:06 +00:00 |
|
pogokeen
|
d291a81ccd
|
polymost.cpp: fix lockup bug that would occur with polymost_waitForSubBuffer() when glClientWaitSync consistently returned GL_WAIT_FAILED on certain hardware/drivers.
Additionally, fix conditional check for r_persistentStreamBuffer requirements in polymost_glinit().
git-svn-id: https://svn.eduke32.com/eduke32@7048 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-10 14:37:03 +00:00 |
|
terminx
|
eee0a71496
|
Remove dead code branch from RECON (logic oversight) and get rid of a useless fallthrough__
git-svn-id: https://svn.eduke32.com/eduke32@7047 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:23:53 +00:00 |
|
terminx
|
59214a2d78
|
Fix off-by-one error in currently not very useful dedicated server text console input
git-svn-id: https://svn.eduke32.com/eduke32@7046 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:23:48 +00:00 |
|
terminx
|
3689f9c70c
|
Useless yet innocuous sdlayer fixes
git-svn-id: https://svn.eduke32.com/eduke32@7045 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:23:44 +00:00 |
|
terminx
|
78a3797295
|
Use a local variable in SDL_GL_ATTRIBUTES macro instead of relying on it being declared in the function calling the macro
git-svn-id: https://svn.eduke32.com/eduke32@7044 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:23:39 +00:00 |
|
terminx
|
aa939642d6
|
Fix MV_GetNextWAVBlock() to no longer check if the unsigned BlockLength value is less than 0.
git-svn-id: https://svn.eduke32.com/eduke32@7043 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:23:34 +00:00 |
|
terminx
|
f5928ad5c7
|
Correct some fuckery in inflineintersect()
git-svn-id: https://svn.eduke32.com/eduke32@7042 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:23:29 +00:00 |
|
terminx
|
f7c8eab261
|
Further revise a couple of null pointer checks in Polymost
git-svn-id: https://svn.eduke32.com/eduke32@7041 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:23:25 +00:00 |
|
terminx
|
217849b2a3
|
OSD strtoken maintenance
git-svn-id: https://svn.eduke32.com/eduke32@7040 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:23:20 +00:00 |
|
terminx
|
d9be193392
|
Remove nonexistent file lzwnew.h from VS project
git-svn-id: https://svn.eduke32.com/eduke32@7039 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:23:15 +00:00 |
|
terminx
|
2d25aaee95
|
Variable scope reductions
git-svn-id: https://svn.eduke32.com/eduke32@7038 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:23:10 +00:00 |
|
terminx
|
f67f935807
|
Fix some weirdness in osdcmd_setactorvar() and remove an unused counter var from osdcmd_map()
git-svn-id: https://svn.eduke32.com/eduke32@7037 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:23:05 +00:00 |
|
terminx
|
2f410776ec
|
Parentheses around ternary conditions so CppCheck will stfu
git-svn-id: https://svn.eduke32.com/eduke32@7036 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:23:00 +00:00 |
|
terminx
|
008056763a
|
Tweak gamevar struct shortcut error handling
git-svn-id: https://svn.eduke32.com/eduke32@7035 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:22:55 +00:00 |
|
terminx
|
3d9df928a5
|
Remove unused g_skipKeywordCheck
git-svn-id: https://svn.eduke32.com/eduke32@7034 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:22:51 +00:00 |
|
terminx
|
33f57d4bb6
|
Fix off-by-one error in CON_DEFINESOUND and null pointer arithmetic in CON_CASE and CON_DEFAULT (!)
git-svn-id: https://svn.eduke32.com/eduke32@7033 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:22:46 +00:00 |
|
terminx
|
e6039031fe
|
Variable scope reduction. This commit is boring as fuck.
git-svn-id: https://svn.eduke32.com/eduke32@7032 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:22:41 +00:00 |
|
terminx
|
3082d381b9
|
Fix more possible null pointer dereferences in mdsprite
git-svn-id: https://svn.eduke32.com/eduke32@7031 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:22:36 +00:00 |
|
terminx
|
a3bfaed262
|
Mostly useless const-ifying and minor variable scope reduction in cache1d
git-svn-id: https://svn.eduke32.com/eduke32@7030 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:22:32 +00:00 |
|
terminx
|
c2f26439d1
|
Fix filename string bounds check in kzipopen()
git-svn-id: https://svn.eduke32.com/eduke32@7029 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:22:27 +00:00 |
|
terminx
|
c67cdc00f8
|
Fix leaked sockets when failing to check for updates
git-svn-id: https://svn.eduke32.com/eduke32@7028 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:22:22 +00:00 |
|
terminx
|
eb08f1443e
|
Pass vec2_ts to get_screen_coords() by reference instead of by value
git-svn-id: https://svn.eduke32.com/eduke32@7027 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:22:17 +00:00 |
|
terminx
|
2206581952
|
Prevent OOB array access when EVENT_INVENTORYLEFT or EVENT_INVENTORYRIGHT returns a bad value
git-svn-id: https://svn.eduke32.com/eduke32@7026 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:22:13 +00:00 |
|
terminx
|
eeba7847eb
|
Hoist strlen() outside loop in kzopen()
git-svn-id: https://svn.eduke32.com/eduke32@7025 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:22:08 +00:00 |
|
terminx
|
a677b18b2d
|
Hoist strlen() outside loop in osdfunc_listsymbols()
git-svn-id: https://svn.eduke32.com/eduke32@7024 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:22:03 +00:00 |
|
terminx
|
4f590f59c1
|
Fix potential OOB spriteext[] access when checking SPREXT_NOTMD to determine whether or not to render a sprite's model, if available
git-svn-id: https://svn.eduke32.com/eduke32@7023 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:21:58 +00:00 |
|
terminx
|
870f1c4dab
|
Oh look, the first 3 arguments passed to parascan() are completely useless
git-svn-id: https://svn.eduke32.com/eduke32@7022 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:21:53 +00:00 |
|
terminx
|
756369dc22
|
Silence warning about truncating the result of memcmp
git-svn-id: https://svn.eduke32.com/eduke32@7021 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:21:49 +00:00 |
|
terminx
|
f4227dcbc1
|
Tweak osdfunc_setrendermode() to report whether the classic renderer is the C or ASM version
git-svn-id: https://svn.eduke32.com/eduke32@7020 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:21:43 +00:00 |
|
terminx
|
0d843526f0
|
Fix null pointer deference when attempting to load a model with improper or missing skin definitions
git-svn-id: https://svn.eduke32.com/eduke32@7019 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:21:39 +00:00 |
|
terminx
|
cab65752b5
|
Untabify kplib.cpp
git-svn-id: https://svn.eduke32.com/eduke32@7018 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:21:34 +00:00 |
|
terminx
|
12a77176e8
|
Fix overcomputation in the classic renderer due to a bug caused by a previous optimization attempt
git-svn-id: https://svn.eduke32.com/eduke32@7017 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:21:29 +00:00 |
|
terminx
|
9ae3a3ecb8
|
Slightly reorganize Bdirent struct for efficiency. Despite being "Bdirent", this struct in no way matches the system provided dirent struct.
git-svn-id: https://svn.eduke32.com/eduke32@7016 1a8010ca-5511-0410-912e-c29ae57300e0
|
2018-10-07 05:21:24 +00:00 |
|