toasterbabe
7071fbe29e
I made a mistake. Fuck git reverts, they are a nightmare, let's just do this the old fashioned way.
2016-05-31 18:13:17 +01:00
toasterbabe
d4d44777f4
Okay, now vertex slopes aren't placement-order-dependent any more. Hopefully this is the best way to handle things.
2016-05-31 17:43:27 +01:00
toasterbabe
d998ddfae4
When you haven't found all the vertices, it's just not safe to carry on. Hit them with a descriptive I_Error so they don't get confused as hell like Glaber did. http://mb.srb2.org/showthread.php?t=41455 for reference.
...
Also took the opportunity to nuke or otherwise neuter a bunch of Kalaron's bizzare ramblings (most are questions which have long-been answered by Red's efforts) at the same time.
2016-05-31 17:07:28 +01:00
Monster Iestyn
d5184847d6
Merge branch 'master' into software-fixes
2016-05-31 16:29:02 +01:00
Alam Ed Arias
7dd3a4ba7b
Merge branch 'master' into next
2016-05-31 11:26:51 -04:00
Alam Ed Arias
2262e4aeb9
travis-ci: allow clang-3.8 to fail
2016-05-31 11:26:29 -04:00
toasterbabe
da2abbb39f
Failed a build because C is an obnoxious language.
2016-05-31 16:24:51 +01:00
toasterbabe
6058eec1c9
Holy shit. I spent two hours staring at how garbage this code was and didn't even realise it was #ifdef'd out behind a define not even mentioned in doomdef.h. It's not actually used anywhere (superseded entirely by the much nicer, much more relevant P_NewVertexSlope()... out with you, ancient, foul demons who should've been SPRINGCLEANed long ago.
2016-05-31 16:14:21 +01:00
Monster Iestyn
8b2b49fb04
Just some final cleanup of the code I changed
2016-05-31 16:08:29 +01:00
Alam Ed Arias
bd588ad0f4
travis-ci: note down what version of clang we are compiling with
2016-05-31 11:06:47 -04:00
Alam Ed Arias
9122c3e5ea
Merge branch 'travis-ci' into 'master'
...
Travis ci
Ok, now SRB2 on travis-ci is tested to be compiled against 17 buildsets
Now, what am I doing wrong?
See merge request !74
2016-05-31 11:02:51 -04:00
toasterbabe
ad61050bb0
Whitespace removal.
2016-05-31 16:01:05 +01:00
toasterbabe
fa002e58ad
Did a bunch of things to/for slopes.
...
*The No Physics flag now works (Red, you might want to doublecheck this to see whether I haven't missed any eosteric stuff out). Going downhill is a little bumpy, and I'm not sure whether that's good or not. Someone help me out here?
*The SRB2CB typeshims are now behind #ifdef ESLOPE_TYPESHIM instead of #if 1 for easier disabling.
*Slopes' downhill thrusts are now scaled with regards to object gravity. This is actually untested in gravities other than normal and reverse normal but it's one line which can be easily reverted in that circumstance. I also checked with MI to make sure this is how it's calculated elsewhere, so fingers crossed this doesn't cause any edge cases.
*As a consequence of the above point, there's now a function in p_mobj.c/h that returns an object's internal gravity - seperated out from the logic of P_CheckGravity, which really didn't need to be so monolithic. Multiply by global gravity to get the thrust. This should probably be available to Lua somehow, but I have absolutely no idea where to start with that. Wolfs, maybe?
Non-comprehensive test file available at /toaster/slptst3.wad on the ftp.
2016-05-31 15:01:19 +01:00
Monster Iestyn
eb90f4f50d
welp no success in fixing the sky HOMs yet, committing progress anyway
2016-05-30 22:53:22 +01:00
Alam Ed Arias
61faee12bc
travis-ci: add back clang 3.6 to 3.8, but also have toolchain test repos into the mix
2016-05-30 17:52:30 -04:00
toasterbabe
a8248fb6c9
Added new functionality, reorganised functionality from last commit, cursed a lot. Again, more info in merge request.
2016-05-30 22:44:23 +01:00
Alam Ed Arias
9a703bbeda
travis-ci: drop clang 3.6, 3.7 and 3.8
2016-05-30 17:41:23 -04:00
Alam Ed Arias
5e154ce3fd
travis: use the correct binary name for clang
2016-05-30 17:21:24 -04:00
Alam Ed Arias
9f5ecdcd9c
travis: add mssing addons: section
2016-05-30 17:19:32 -04:00
Alam Ed Arias
5c5b85f369
travis-ci: add builds for clang 3.4 to 3.8
2016-05-30 17:16:58 -04:00
Monster Iestyn
a2aeece419
Significant rework of main seg-rendering code, to eliminate the possibility of drawing off-screen and crashing the game as result
...
NOTE: HOMs sometimes appear in the sky in maps like AGZ (map40), so this isn't completely fine yet. I'll fix that later
2016-05-30 21:53:29 +01:00
toasterbabe
7a1b309653
Making Linedef type 7 less awful. More details (and test file) in merge request.
2016-05-29 20:47:08 +01:00
Monster Iestyn
2c73e2a2cd
Fix flung emeralds not disappearing in death pits
...
(assuming it wasn't an intentional behaviour thing of course)
2016-05-29 16:47:38 +01:00
Alam Ed Arias
6fb70f8d02
travis-ci: let only display, not error on autological warnings
2016-05-29 09:47:30 -04:00
Alam Ed Arias
febaabd80b
travis: label up each compiler build, and remove the allow_failures
2016-05-29 09:40:56 -04:00
Alam Ed Arias
6832962489
travis-ci: env vars need to be quoted
2016-05-28 22:45:47 -04:00
Alam Ed Arias
2dfdc99cb5
travis-ci: let add pre build files, gcc-6 get disable warning flags
2016-05-28 22:30:28 -04:00
Alam Ed Arias
e866630b22
travis: disable tautological-compare warnings
2016-05-28 22:23:20 -04:00
Alam Ed Arias
b60ab05721
travis-ci: reenable gcc-6
2016-05-28 21:31:33 -04:00
Alam Ed Arias
209d76cb9d
gcc-6: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
2016-05-28 21:24:06 -04:00
Alam Ed Arias
9e196613a0
gcc-6: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation]
2016-05-28 21:23:46 -04:00
Alam Ed Arias
4956be2bd4
gcc-6: error: left shift of negative value [-Werror=shift-negative-value]
2016-05-28 21:23:09 -04:00
Alam Ed Arias
35b254feaa
D_MD5PasswordPass, fixup
2016-05-28 19:51:10 -04:00
Alam Ed Arias
3aea4a7601
replace strcpy with memmove in D_MD5PasswordPass()
2016-05-28 19:48:52 -04:00
Alam Ed Arias
d9aa430817
use memmove in D_MD5PasswordPass() and drop noreturn
2016-05-28 19:42:38 -04:00
Alam Ed Arias
35f36e1bba
travis-ci: set v of nulK to 0
2016-05-28 19:28:37 -04:00
Alam Ed Arias
a1d246a34e
travis-cl: disable gcc-6 build
2016-05-28 19:17:21 -04:00
Alam Ed Arias
02e67a4a95
travis: add gcc 4.4, 4.6 and 4.7
2016-05-28 19:15:37 -04:00
Alam Ed Arias
ad6c2e634f
travis: disable xcode6.3
2016-05-28 19:08:50 -04:00
Alam Ed Arias
f4a84c916e
travis: Fixedup gcc 5 error and allow gcc 6 to fail
2016-05-28 18:41:08 -04:00
Alam Ed Arias
c76c5152c2
travis-ci: fixup CFLAGS env and disable xcode6.3, it is really broken
2016-05-28 17:59:19 -04:00
Alam Ed Arias
90ae2b2d1d
cmake: compile with warnings
2016-05-28 17:44:47 -04:00
Alam Ed Arias
3cf5d1ddec
travis-ci: fixup gcc-6 build and added xcode6.3
2016-05-28 17:22:50 -04:00
Alam Ed Arias
0b1fc30d0e
travis-ci: clang and gcc are the same on osx and xcode6.3 does not works
2016-05-28 17:16:29 -04:00
Alam Ed Arias
e7b15d5f95
travis-cl: fixup osx?
2016-05-28 03:22:59 -04:00
Alam Ed Arias
94485edcbb
travis:-ci: install cmake on some OSX systems
2016-05-28 02:53:42 -04:00
Alam Ed Arias
9d3f2890c3
travis-ci fixup space
2016-05-28 01:12:24 -04:00
Alam Ed Arias
ffc92489bb
travia-ci: compile all xcode
2016-05-28 00:53:14 -04:00
Alam Ed Arias
439883b8c9
travis-ci: spacing
2016-05-28 00:33:44 -04:00
Alam Ed Arias
64e03c0f93
travis-ci: clean up test
2016-05-28 00:23:27 -04:00