Commit graph

666 commits

Author SHA1 Message Date
Monster Iestyn
166fafd717 Fixed div-by-zero crash relating to portals, drawsegs and midtextures
Had to remove Red's scale hack in order to do so, because it utterly fails when the drawseg doesn't actually belong to the portal in the first place.
2016-02-06 18:57:26 +00:00
Monster Iestyn
9973bedd5f Free the memory of all clipping arrays for each portal properly
Not the actual fix I'm intending to make with this branch, but it's needed anyway
2016-02-05 16:38:33 +00:00
Inuyasha
5320424269 Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2 into pub_next 2016-02-03 18:09:08 -08:00
Inuyasha
c05c43cfee Merge branch 'monster-misc' into 'master'
Monster Iestyn's Miscellaneous (netplay-compatible) changes

Just cleaning up some unused or unnecessary things left in the source code, see the commits for exact changes made if you like.

May add more stuff to this branch later, there's no rush really.

See merge request !39
2016-02-03 21:06:57 -05:00
Inuyasha
84fb4d108a Merge branch 'diagonal-spring-rings-tweak' into 'next'
Diagonal spring rings tweak

If you didn't know before, those special placement ring lines for diagonal springs only use multiples of 45 for their angles in-game. In other words, they only face any of the 8 basic cardinal directions (N, S, E, W, NE, NW, etc). Considering that springs themselves don't follow the above behaviour, you can probably work out that's a bad thing.

This branch changes that of course, if you couldn't guess from context. Diagonal spring rings can now be placed with any angles like most thing types already could!

See merge request !37
2016-02-03 21:05:44 -05:00
Inuyasha
f17be6641e Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2 into pub_next 2016-02-03 18:00:28 -08:00
Monster Iestyn
0455b572dc Removed weird test for water planes in HWR_Subsector
It crashes when you try to test it anyway, lol
2016-02-03 17:58:44 -08:00
Alam Ed Arias
236170ea37 Merge branch 'master' into next 2016-01-31 20:30:53 -05:00
Alam Ed Arias
2b41a40076 appveyor: no quote? 2016-01-31 20:25:32 -05:00
Alam Ed Arias
ee75abf8ff Merge branch 'master' into next 2016-01-31 20:15:22 -05:00
Alam Ed Arias
937c8f936b appveyor: updated to GCC 5.3 2016-01-31 20:15:10 -05:00
Monster Iestyn
2e58f6c4d9 Fixed that odd bug where PolyObjects sometimes leave a vertex or two in their control sectors
Turns out the seg-searching code falsely assumed it'd find frontfacing segs first, who knew?
2016-01-31 13:05:30 -06:00
Monster Iestyn
2d94b2a85f keys.h doesn't need to be included twice here lol 2016-01-31 17:10:57 +00:00
Monster Iestyn
deb958a796 Remove unused "INVERSECOLORMAP" macro 2016-01-31 17:06:03 +00:00
Monster Iestyn
9e29b69a29 Remove unused "firstnewseg" variable 2016-01-31 16:49:04 +00:00
Monster Iestyn
8b56cd76c7 doomtype.h tweaks
some of the mess in here really bothers me

(cherry-picking this commit of mine from next since it only fixes a small oversight with compiling and adds a comment)
2016-01-31 15:08:16 +00:00
Inuyasha
e49f531ba1 Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2 into pub_next 2016-01-29 18:27:33 -08:00
Alam Ed Arias
82bfce7683 Merge remote-tracking branch 'magicgirl/master' 2016-01-29 20:29:28 -05:00
Inuyasha
e6f0a4be18 Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2 into pub_next 2016-01-29 16:01:57 -08:00
Inuyasha
f500986692 use RGB for screen texture, not RGBA
the screen texture does not need an alpha channel.
the fact that it had one made OGL copy the topmost pixel of the screen texture's alpha channel.
which, naturally results in the screen becoming partially transparent and letting you see the working texture in the background.
2016-01-29 16:01:05 -08:00
Alam Ed Arias
deca16f923 appveyor: let use short commits 2016-01-29 18:38:41 -05:00
Monster Iestyn
7d603c320b Merge branch 'next' of http://git.magicalgirl.moe/STJr/SRB2.git into diagonal-spring-rings-tweak 2016-01-29 19:40:04 +00:00
Alam Ed Arias
0f83c2aeb5 appveyor: 7z, not 7 2016-01-29 12:53:39 -05:00
Alam Ed Arias
b3ee8591f2 appveyor: ok, let set the var in after build step 2016-01-29 12:36:48 -05:00
Alam Ed Arias
01f2f4d444 appveyor: move naming of 7z to env block 2016-01-29 12:08:41 -05:00
Alam Ed Arias
3895202861 appveyor: let include the commit id 2016-01-29 12:00:05 -05:00
Alam Ed Arias
343c8a9498 appveyor: or not, let try this naming 2016-01-29 11:55:00 -05:00
Alam Ed Arias
ba1cb80ff7 appveyor: name each 7z by version" 2016-01-29 11:47:35 -05:00
Alam Ed Arias
5582d715d4 appveyor: let have the build bot have the right username 2016-01-29 11:39:16 -05:00
Alam Ed Arias
4b8167d823 appveyor: let push a 7z in the after build step 2016-01-29 11:27:33 -05:00
Alam Ed Arias
d7925104b9 appveyor: push build to FTP server 2016-01-29 11:09:46 -05:00
Alam Ed Arias
94d36fbe5b apveyor: no debug dump 2016-01-29 02:07:36 -05:00
Alam Ed Arias
62702edebe appveyor: I hope I do not need to debug this build xml again 2016-01-29 02:01:35 -05:00
Alam Ed Arias
0e483fc17b appveyor: or not? 2016-01-29 01:55:39 -05:00
Alam Ed Arias
ca34268a13 appveyor: let instal the SDL2 and SDL2_mixer to the Mingw toolchain 2016-01-29 01:52:55 -05:00
Alam Ed Arias
f30dae2162 appveyor: need a copy of sed 2016-01-29 01:33:37 -05:00
Alam Ed Arias
13866a5b7e appveyor: fixup SDL2_MIXER_MOVE 2016-01-29 01:23:26 -05:00
Alam Ed Arias
c7503b35b8 appveyor: need to see what the depend step is not working 2016-01-29 01:05:41 -05:00
Alam Ed Arias
0728bc6de2 appveyor: errormode for all 2016-01-29 00:58:40 -05:00
Alam Ed Arias
b5af756c22 appveyor: let stop build the whole mess 2016-01-29 00:53:34 -05:00
Alam Ed Arias
e8cf4cdaac SDL2: compile SDL with SDL_main for Win32 2016-01-29 00:33:11 -05:00
Alam Ed Arias
c47ff7b3c6 let make the main() entry point noreturns 2016-01-28 21:37:41 -05:00
Alam Ed Arias
050ce857c4 let not care for main() being noreturn 2016-01-28 21:31:18 -05:00
Alam Ed Arias
0d327c7c16 kill logical-not-parentheses warning in g_game.c
g_game.c: In function 'G_CheckDemoStatus':
g_game.c:5588:22: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
   if (!modeattacking == ATTACKING_RECORD)
                      ^
2016-01-28 21:15:51 -05:00
Alam Ed Arias
67b6d618a4 appveyor: build with/without the mixer and with/without OpenGL 2016-01-28 12:15:42 -05:00
Alam Ed Arias
4d0e1a8a1c appveyor: do not echo the full command 2016-01-28 12:12:04 -05:00
Alam Ed Arias
10e1aaaf85 appveyor: no need for DEPFLAGS 2016-01-28 12:08:08 -05:00
Alam Ed Arias
7fdb5cfcfb move disabled warning out of mingw 2016-01-28 12:06:00 -05:00
Alam Ed Arias
3c35ed60d3 appveyor: fixup cache list 2016-01-28 12:03:56 -05:00
Alam Ed Arias
d762c4023e appveyor: show us all the commands 2016-01-28 11:52:33 -05:00