Alam Ed Arias
97f87827f4
hardware: init undef vars in HWR_SortVisSprites
2016-12-22 19:42:00 -05:00
Monster Iestyn
0538c98251
Added missing checks in HWR_AddLine from the software version, move v** vars to the top since R_PointToAngle calls use the same values anyway
2016-12-21 22:31:09 +00:00
Monster Iestyn
41dfba65c9
Hack to make sure even (extra)subsectors without planepolys have segs adjusted
...
this fixes a crash in (old) GFZ2 at the ramp as a result of creating pv1/pv2. This probably means before pv1/pv2 there could have been some silly typecasting from vertex_t to polyvertex_t to get fixed vertex coords and such...
2016-12-21 22:10:27 +00:00
Monster Iestyn
106e1aa8d5
Merge branch 'master' into opengl-improvements
2016-12-21 19:49:02 +00:00
Monster Iestyn
a9cfd12e04
Created R_GetTextureNum to make sure top/bottom/midtexture texture ids are always valid in rendering code for both software and OpenGL (and also for the Solid Midtexture effect physics code)
2016-12-16 21:38:53 +00:00
Sryder
2e72539df2
Remove accidental leftovers
...
Accidentally left a comment and stuff in there from previous attempts
2016-12-13 21:22:40 +00:00
Sryder
4fb2a18846
Fix a one character bug with clipping
2016-12-13 21:18:05 +00:00
Sryder
39d4f22660
Flat sprites for OGL
2016-12-13 21:02:23 +00:00
toasterbabe
85fb02aaf6
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into shield-actions
...
# Conflicts:
# src/p_inter.c
# src/p_user.c
# src/st_stuff.c
2016-11-20 16:44:38 +00:00
Monster Iestyn
eab2df5627
Merge branch 'public_next'
2016-11-16 12:20:37 +00:00
Monster Iestyn
694bb73ef7
Merge branch 'master' into next
2016-11-16 12:16:51 +00:00
Monster Iestyn
42f985cda5
Remove pdupx/y and just use sdupx/y for everything, thanks Inuyasha
2016-11-16 12:10:56 +00:00
Monster Iestyn
0726dbe018
Started work on making HWR_DrawFill support V_NOSCALESTART properly ...so far I've got the console text select highlight in the right place outside of 320x200 (and 320x200 is still fine), but for whatever reason it's too large in width and height
...
Oh well, we're part of the way there, anyway
2016-11-15 20:33:07 +00:00
toasterbabe
645e7298c0
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into shield-actions
2016-11-12 13:43:02 +00:00
Monster Iestyn
5be8e4f1b0
Make new pv1/pv2 seg pointers, so AdjustSeg doesn't modify the v1/v2 pointers directly anymore
...
Yes I know they're void * in r_defs.h's seg_t definition, it's quicker than trying to figure out if including hardware/hw_glob.h is a good idea or not
2016-11-07 21:55:56 +00:00
Monster Iestyn
817f0908e4
made HWR_CreateBlendedTexture's color switch case take up not so many lines, and only one V_GetColor call is used now
2016-11-07 18:34:51 +00:00
Monster Iestyn
bbd67a6960
Merge branch 'master' into opengl-improvements
2016-11-06 18:02:34 +00:00
Monster Iestyn
cb1fbbf345
Merge branch 'public_next'
2016-11-06 18:02:12 +00:00
Monster Iestyn
f97301b8b8
Merge branch 'master' into next
2016-11-06 17:59:35 +00:00
Monster Iestyn
2dfb841c38
Correcting slight mistake I made
2016-11-06 17:50:04 +00:00
toasterbabe
b5a6bfe046
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into shield-actions
2016-11-06 16:03:12 +00:00
Monster Iestyn
05860b2fa1
Ensure file is closed whenever MD2 reading errors happen
2016-11-05 20:51:48 +00:00
Monster Iestyn
b00c680437
Add MD2_INDENT and MD2_VERSION so we can cleanly check that it's a valid MD2 from magic number/version
2016-11-05 20:40:48 +00:00
Monster Iestyn
2df7d8c4aa
Merge branch 'public_next'
2016-11-05 19:52:27 +00:00
Monster Iestyn
7b9328781f
Merge branch 'master' into next
2016-11-05 19:36:04 +00:00
Monster Iestyn
8909b7c27b
Change >= to >, I THINK having exactly 4096 vertices is safe?
2016-11-05 17:38:36 +00:00
Monster Iestyn
efe02e2a42
allow triangle/frame limits too
2016-11-03 22:53:49 +00:00
Monster Iestyn
561a0fe768
Attempt loading of an MD2 only once; if we failed then don't bother again
...
This keeps my new error messages from flooding the console and log.txt
2016-11-03 21:06:23 +00:00
Monster Iestyn
2ec972af54
check numVertices, bail out and print error message if there are too many
...
I added similar checks for the other num* but it seems some MD2s break the other limits without knowing anyway ...so I've commented these checks out for now, unless we have further discussion regarding them later on
2016-11-03 20:40:17 +00:00
toasterbabe
5a798bddbd
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into shield-actions
2016-10-29 17:14:45 +01:00
Monster Iestyn
cd3895f676
Merge branch 'public_next'
2016-10-29 17:03:38 +01:00
toasterbabe
ab6fd676b5
YUP, I just fixed OGL Precipitation with this branch too. What the fuck? Squashing ancient bugs, woo.
2016-10-29 11:54:51 -04:00
toasterbabe
c18c014bef
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into shield-actions
2016-10-23 14:47:37 +01:00
toasterbabe
3aa9d2a1b1
Sonic 3 shields implemented at a basic visual/functional level - no abilities yet.
2016-10-15 23:39:54 +01:00
Inuyasha
ff4b39bab4
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal into nix-srb1
...
# Conflicts:
# src/info.c
2016-10-05 18:47:32 -07:00
toasterbabe
5614ff5691
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into flat_sprites
...
# Conflicts:
# src/p_enemy.c
# src/p_mobj.c
2016-10-02 19:38:53 +01:00
Inuyasha
f1b8bfcfe7
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal into repeat-monitors
...
# Conflicts:
# src/info.c
# src/p_map.c
2016-09-29 18:08:50 -07:00
Inuyasha
d7aae15a6f
Merge branch 'animated-sky' into 'master'
...
Animated sky support
What it says on the tin: skies can be animated textures now. Just set them up as normal animated textures (keeping in mind the starting texture still has to comply with the SKYn/SKYnn/SKYnnn naming format) and hey presto, your sky animates.
See merge request !34
2016-09-29 08:34:12 -04:00
toasterbabe
c70661186a
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into flat_sprites
...
# Conflicts:
# src/dehacked.c
# src/p_inter.c
# src/p_pspr.h
2016-09-27 18:11:20 +01:00
Inuyasha
1a4b894589
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal into repeat-monitors
...
# Conflicts:
# src/info.c
2016-09-24 23:05:01 -07:00
toasterbabe
50a44d96b1
Changes to bubbles for new DSZ + bubble sprites (needs new patch.dta).
2016-09-24 17:15:42 +01:00
toasterbabe
28523760c3
FF_VERTICALFLIP, since I've been messing around with sprite stuff.
...
* flips the sprite ala MFE_VERTICALFLIP except you don't need to flip the direction of gravity for the object just to draw upside down
* stacks properly with reverse gravity
2016-09-24 14:23:00 +01:00
toasterbabe
8d8be8a7b2
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into s_skinprovements
2016-08-30 13:30:56 +01:00
toasterbabe
c5675c0725
Merge branch 'new_spriteframe_angle' of http://git.magicalgirl.moe/STJr/SRB2.git into public_flatsprite
...
# Conflicts:
# src/r_things.c
2016-08-22 22:56:30 +01:00
ZTsukei
3a3180ce05
Redid control names, some item code, start of drift shenanigans
2016-08-20 22:15:11 -04:00
ZTsukei
d631d0ef04
S_PLAY states, HUD stuff
2016-08-14 23:51:25 -04:00
toasterbabe
9c02c81095
Now that it's not 3am, here's some fixes to what I pushed last night.
...
* That hacky anti-NiGHTS-deaxisment code I commented out because I thought it was visual only? Reimplemented in a way that is both more and less hacky. It's identical in result to the original code, but takes a roundabout method to get there.
* Sprite references for SUPE, SUPZ and NDRL are removed because they are now unused.
* Helper's flashing conditional is restructured to do less flag swapping.
* The check for super setting FF_FULLBRIGHT is limited to MAXTRANSLATIONS now, and also correctly takes into account MAXSKINCOLORS == SKINCOLOR_SUPERSILVER1.
* NiGHTS collision bounds aren't hardcoded anymore.
* NiGHTS link will never display when leaving stage.
* Slightly tweaked rules for the supercolor setting when doing a NiGHTS transformation, but only meaningful for setting FF_FULLBRIGHT.
2016-08-12 14:42:22 +01:00
ZTsukei
4112d44529
Some Color code, Kart powers
2016-08-11 21:42:16 -04:00
Alam Ed Arias
074dde5f78
Merge branch 'public_next' into master
2016-08-11 12:59:04 -04:00
toasterbabe
3310b02b68
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into s_skinprovements
2016-08-11 17:46:08 +01:00