Alam Ed Arias
32a950893e
Merge branch 'next' into slope-fixes
2016-03-31 12:17:40 -04:00
Alam Ed Arias
d77e541f29
Merge branch 'next' into bp_random2
2016-03-31 12:15:09 -04:00
Monster Iestyn
e34da95c4c
DEVMODE's automap now supports slopes
2016-03-31 16:32:25 +01:00
Inuyasha
fc8e7728cd
I meant to extend this to 4 seconds but forgot
2016-03-31 06:57:11 -07:00
Inuyasha
690b65b47f
"Sonic can now become Super Sonic" exists again
...
Fixed an off-by-one array error in the process
2016-03-31 06:51:04 -07:00
Inuyasha
3812b6bc20
the abs() is necessary; force unsigned shift and signed result
2016-03-31 06:48:08 -07:00
Alam Ed Arias
283c64ee20
Merge branch 'next' into camera-fix
2016-03-30 20:49:44 -04:00
Alam Ed Arias
9fcd06f152
Merge branch 'next' into skybox-hotfix
2016-03-30 20:49:20 -04:00
Alam Ed Arias
f84d76c683
Merge branch 'next' into portal-fix
2016-03-30 20:43:25 -04:00
Alam Ed Arias
44afedd85f
Merge branch 'next' into patch-scaling-flip-fix
2016-03-30 20:42:59 -04:00
Alam Ed Arias
d26c486c6d
Merge branch 'next' into polyobj-teeter-fix
2016-03-30 20:42:33 -04:00
Alam Ed Arias
bdcdf8ddab
Merge branch 'next' into closestpointonline
2016-03-30 20:42:07 -04:00
Alam Ed Arias
4370459166
Merge branch 'next' into slope-fixes
2016-03-30 20:41:33 -04:00
Alam Ed Arias
a935ac21e8
Merge branch 'next' into bp_random2
2016-03-30 20:40:48 -04:00
Alam Ed Arias
9286e30366
Merge branch 'master' into next
2016-03-30 20:39:12 -04:00
Alam Ed Arias
de630d0c33
appveyor: let check warnings as well
2016-03-30 20:30:24 -04:00
Alam Ed Arias
75f65c4d44
using abs() on unsigned have no effect
2016-03-30 20:17:09 -04:00
Alam Ed Arias
51aa7692d8
Merge branch 'master' into next
2016-03-30 20:15:08 -04:00
Alam Ed Arias
f9411982ed
Merge branch 'travis-ci' into 'master'
...
Clang cleanup
"taking the absolute value of unsigned type 'unsigned int' has no effect"
using abs() on an unsigned should be nop, replace them with (angle_t)()
Need someone to verify this does not break any game logic
See merge request !63
2016-03-30 20:13:00 -04:00
Alam Ed Arias
d90536967d
removed/remline ununsed code
2016-03-30 14:05:07 -04:00
Alam Ed Arias
10cc421fae
travis: add all/extra warnings
2016-03-30 12:58:00 -04:00
Alam Ed Arias
b169529dfd
switich to do the angle math in signed, then run it thur abs()
2016-03-30 11:47:27 -04:00
Inuyasha
9cec9093bb
denom of A_CheckRandom can't be zero, that would be bad
2016-03-30 06:20:57 -07:00
Alam Ed Arias
7e07d2d77a
travis-ci: reenable -Werror
2016-03-30 00:23:28 -04:00
Alam Ed Arias
0fe6ee5339
cleanup abs warnings
2016-03-30 00:22:12 -04:00
Wolfy
a7a7de6183
Merge branch 'ceilinglighting-fix' into 'next'
...
Ceiling lighting fix
The ceiling lighting linedef special (and anything else that changes ceiling lighting directly for sectors) works in software mode now.
See merge request !62
2016-03-29 21:00:25 -04:00
Inuyasha
caf081b6f5
Merge branch 'bp_random2' of http://git.magicalgirl.moe/STJr/SRB2 into bp_random2
2016-03-29 16:35:21 -07:00
Inuyasha
480f9be51f
gotta start compensating for xorshift's needs
2016-03-29 16:27:57 -07:00
Inuyasha
3dc4cfc229
Simplicity is a virute... don't overcomplicate things.
2016-03-29 16:27:56 -07:00
Inuyasha
a3e940fe65
Compensate for insufficient RAND_MAX values.
2016-03-29 16:27:56 -07:00
Inuyasha
ac03ce39c8
*_Random is now *_RandomByte.
...
P_RandomChance is now a macro for something that should happen a
certain percentage of time.
P_SignedRandom was moved to a macro. Nobody cared.
# Conflicts:
# src/p_inter.c
2016-03-29 16:27:55 -07:00
Inuyasha
ce2c2de58a
P_Random now using a variant of xorshift
...
This actually passes most diehard tests, as opposed to the old RNG.
It's also similarly fast.
Internally the PRNG generates a fixed point number from [0,1) now,
which makes P_RandomKey and P_RandomRange much easier to
calculate. P_Random is just a simple shift, as well.
Also, the lack of floating point math in P_RandomKey and
P_RandomRange now is probably for the best.
2016-03-29 16:27:25 -07:00
Monster Iestyn
1108a52959
Check change in ceilinglightsec for markceiling code, not floorlightsec
2016-03-29 22:44:16 +01:00
Monster Iestyn
ee00da6a74
Another thing that probably needed to check for slopes
2016-03-29 22:32:09 +01:00
Monster Iestyn
ef832dd8b8
Fixed how two adjacent FOFs can prevent each others' walls from displaying if they're at least partially covered
...
Also some miscellaneous tweaks and changes to account for slopes properly
2016-03-29 18:59:56 +01:00
Monster Iestyn
6bda1a57a5
Fix FOF plane light underside checks
2016-03-29 15:40:01 +01:00
Monster Iestyn
bc8ea700ed
Merge branch 'next' of http://git.magicalgirl.moe/STJr/SRB2.git into closestpointonline
2016-03-26 18:32:51 +00:00
Alam Ed Arias
583ffd2537
Merge branch 'next' into patch-scaling-flip-fix
2016-03-25 22:40:17 -04:00
Alam Ed Arias
f50a46a0cd
Merge branch 'next' into camera-fix
2016-03-25 22:40:04 -04:00
Alam Ed Arias
b11236a591
Merge branch 'next' into skybox-hotfix
2016-03-25 22:39:51 -04:00
Alam Ed Arias
21b13acd4b
Merge branch 'next' into polyobj-teeter-fix
2016-03-25 22:39:41 -04:00
Alam Ed Arias
b29a176275
Merge branch 'next' into slope-fixes
2016-03-25 22:39:11 -04:00
Alam Ed Arias
8d3ded4020
Merge branch 'next' into portal-fix
2016-03-25 22:38:56 -04:00
Alam Ed Arias
c23d971bcb
Merge branch 'master' into next
2016-03-25 22:37:48 -04:00
Alam Ed Arias
a3c01ea6c2
Merge branch 'travis-ci'
2016-03-25 22:37:27 -04:00
Alam Ed Arias
0f853640e2
macosx: We need CoreFoudation for SDLMain
2016-03-25 22:23:47 -04:00
Alam Ed Arias
077781cc56
macosx: drop CoreFoundation linking
2016-03-25 22:11:39 -04:00
Alam Ed Arias
2c4a27c7c6
macosx: let fix linking to SDL frameworks
2016-03-25 22:07:34 -04:00
Alam Ed Arias
9bc6ce3d85
travis: steal SDL2 dmg for Mac build
2016-03-25 21:43:17 -04:00
Alam Ed Arias
7122908560
travis: matrix is not correct
2016-03-25 20:57:57 -04:00