Alam Arias
fe3916a60d
Merge pull request #147 from LJSonik/hook-optimisation
...
Hook optimisation
2016-12-22 18:26:49 -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
d782638da8
Merge branch 'zlib_pkgconfig' into 'master'
...
Zlib pkgconfig
Linux build to include libgme by default
See merge request !116
2016-12-18 21:44:19 -05:00
Monster Iestyn
752eca5253
Changed how return values work for the iteration function supplied to searchBlockmap
2016-12-18 16:53:11 +00:00
Monster Iestyn
7bcb595eaf
don't make NF_SUBSECTOR available to Lua either unless HAVE_LUA_SEGS is defined
2016-12-18 15:36:19 +00:00
Monster Iestyn
8e56582728
Created R_CheckTextureCache to make sure midtexture/FOF walls cache their textures before choosing colfunc_2s, for software mode
2016-12-17 19:59:54 +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
Louis-Antoine
db20bfb3c3
Generic mobj hooks are now run before mobjtype-specific mobj hooks, and player/linedef executor hooks now have their own lists
2016-12-15 21:05:54 +01:00
Monster Iestyn
6ae2c24484
Merge branch 'public_next'
...
# Conflicts:
# src/p_user.c
2016-12-14 18:53:00 +00:00
Monster Iestyn
f8961d396f
Initial commit of what I've done so far, DOES NOT COMPILE
2016-12-13 22:42:47 +00:00
toasterbabe
d8d5f31898
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into shield-actions
2016-12-13 22:03:59 +00:00
toasterbabe
fe6b4c4875
Reduced momentum killing of groundpound into slime per Mystic's request.
2016-12-13 21:48:16 +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
Monster Iestyn
6f8969aec0
Merge branch 'spindash-dust' into 'master'
...
Spindash dust
Charging a spindash kicks up dust, we all know this feature was dying to get in at some point. Bubble and flame forms of spin dust are included from FSonic, for underwater and elemental respectively.
Oh, and as a bonus I reorganised the spindash/spinning/other ability2 stuff code to look a bit neater and more organised.
New resources:
* MT_SPINDUST - the object
* S_SPINDUST1 to 4 - the normal form's states
* S_SPINDUST_BUBBLE1 to 4 - the bubble form's states
* S_SPINDUST_FIRE1 to 4 - the bubble form's states
* SPR_DUST - the normal form's sprite set (uses frames A to D, just pinch FSonic's sprites really)
* SPR_FPRT - the flame form's sprite set (frame A only)
SF_NOSPINDASHDUST disables spindash dust for a character
See merge request !52
2016-12-13 15:15:33 -05:00
Monster Iestyn
aa82042cf8
Merge branch 'credit_switch' into 'next'
...
No switching skins mid-credits/custom cutscene in SP
Does what it says on the tin.
See merge request !129
2016-12-13 09:33:53 -05:00
Monster Iestyn
68c8b8a68a
Merge branch 'multipatchtex-translucent-cyanpixel-fix' into 'master'
...
Multi-patch texture support for transparency AND translucency
Fixes the transparent bits of the multi-patch glass texture in THZ1 turning cyan when linedef types 900-908 are applied for translucency
See merge request !56
2016-12-12 14:29:44 -05:00
Monster Iestyn
3f3a26b7d4
Merge branch 'zoom_fix' into 'master'
...
Zoom tube camera fix
Fixed a mistake where I accidentially allowed people to change the player angle whilst in a zoom tube when previously improving them.
See merge request !57
2016-12-12 14:29:03 -05:00
Monster Iestyn
1ec97c242a
Merge branch 'smooth_ropes' into 'next'
...
Smoother ropes and zoom tubes
Makes rope hangs and zoom tubes suck less. Specifically, they handle corners (and vertical height changes, ala sloped rope hangs) a LOT nicer. Ported from internal.
See merge request !139
2016-12-12 14:18:36 -05:00
Sryder
93901847d3
Fix the Fixed Rounding functions
2016-12-12 00:06:48 +00:00
Monster Iestyn
ab423f99c6
Optimising retrieval of sector_floorpic/ceilingpic
...
As LJSonic has pointed out, there's no need for a for loop in either case; just use sector->floorpic/ceilingpic as a levelflats index directly
(Besides, if that was to stop any out-of-bounds indexes being used, that's hardly the way to do it anyway)
2016-12-09 21:18:06 +00:00
Monster Iestyn
d294c9d15c
P_NetUnArchiveWorld now uses P_AddLevelFlatRuntime instead of P_AddLevelFlat.
...
Also created P_CheckLevelFlat to just return the flat # from a name, since that's all P_NetArchiveWorld really needed from P_AddLevelFlat anyway
2016-12-08 21:45:25 +00:00
Alam Ed Arias
5e74318fb2
Merge branch 'master' into next
2016-12-06 17:29:43 -05:00
toasterbabe
77399b8fb9
* Disabled #define SECTORSPECIALSAFTERTHINK. This did not need to be done in next, since it could have subtle consequences which we'd rather not deal with in the hyperextended patch cycle as-is.
...
* Removed the adding of SF_TRIGGERSPECIAL_TOUCH for sectors with slopes in them. Too many undesired consequences, I'll handle them another way.
2016-12-06 21:49:59 +00:00
toasterbabe
3c8f5b4629
Merge branch 'next' of http://git.magicalgirl.moe/STJr/SRB2.git into touching_fixes
2016-12-06 21:28:33 +00:00
Monster Iestyn
7c07f39019
Make sure flipped things placed directly on ceiling get MFE_ONGROUND
...
This fixes ceiling springs apparently flying down with you in various scenarios
2016-12-05 22:07:16 +00:00
Monster Iestyn
84f3102ad0
Added FLIPX support for single patch textures with holes
...
This completes FLIPX/FLIPY support for all textures
2016-12-01 22:37:33 +00:00
Monster Iestyn
52a84cf309
Fix negative y offsets for both normal and y-flipped patches
2016-12-01 21:43:27 +00:00
toasterbabe
c833497d39
Correcting slip-up I made when originally improving zoom tubes.
2016-12-01 14:40:58 +00:00
toasterbabe
02d78b355b
Smoother ropes and zoom tubes ported from internal.
2016-12-01 14:33:44 +00:00
toasterbabe
a901f88d24
Merge branch 'next' of http://git.magicalgirl.moe/STJr/SRB2.git into touching_fixes
2016-12-01 14:14:20 +00:00
Monster Iestyn
ae3e11369e
Revert "(Messiness warning) attempt to start using SDL_SetRelativeMouseMode instead of the old hacks of making the mouse do movement without leaving the window and be hidden"
...
This reverts commit 347b531881 .
(Too experimental, may end up adding new bugs; let's just keep it to clean up for now)
2016-11-30 17:21:28 +00:00
Monster Iestyn
410b55ebcd
Work on FLIPX/FLIPX support:
...
*Added FLIPX/FLIPY support for multi-patch textures and single-patch textures without holes
*Added FLIPY support for single-patch textures with holes; I'll sort FLIPX support out later
2016-11-28 22:21:54 +00:00
Monster Iestyn
cc2612c2d8
Merge branch 'master' into TEXTURES-additions
2016-11-27 19:49:56 +00:00
Monster Iestyn
347b531881
(Messiness warning) attempt to start using SDL_SetRelativeMouseMode instead of the old hacks of making the mouse do movement without leaving the window and be hidden
...
Seems to work so far though
2016-11-25 21:13:39 +00:00
Monster Iestyn
38f7af9281
Added ability to use custom-defined lines with P_PointOnLineSide such as with P_ClosestPointOnLine
2016-11-24 22:01:51 +00:00
Monster Iestyn
aa146dee41
Disabled all seg_t/node_t-related Lua code for now
...
To re-enable support for the above, uncomment the define HAVE_LUA_SEGS line in lua_script.h. Plain bbox userdata stuff is not disabled (though currently it's not used anyway)
2016-11-24 21:11:44 +00:00
Monster Iestyn
73b8790946
Merge branch 'master' into lua-additions
2016-11-24 19:35:06 +00:00
toasterbabe
a9c68a78e9
Slope correction.
2016-11-24 15:23:13 +00:00
toasterbabe
095a438e9e
* Super float now back on spin button, again takes precedence over shield actives.
...
* Fixed BIG mistake where ShieldSpecial hook bailed out of the entire function instead of just the shield section.
2016-11-24 14:29:29 +00:00
toasterbabe
1424c3f6cd
Regardless of what I'm doing next, this removal of limits in this place still should've been done a while ago.
2016-11-23 22:20:47 +00:00
Monster Iestyn
8bbbeff2a9
Make Impl_SDL_Scancode_To_Keycode look a bit neater
...
This way it's easier by eye to see from the list which SDL scancode maps to which SRB2 key code
2016-11-23 17:08:37 +00:00
Monster Iestyn
5cf4767aed
Clearing away lots of disabled code (some of it would no longer work on SDL2 anyway)
2016-11-23 16:51:37 +00:00
Monster Iestyn
153ba39f19
Remove remnants of SDLK_ stuff, we use scancodes now not keycodes
...
(Apparently SDLK_LMETA/SDLK_RMETA don't exist anymore in SDL2 anyway?)
2016-11-22 22:41:02 +00:00
toasterbabe
05f58df709
Some changes and corrections.
...
* Cleaner A_ParticleSpawn code.
* Removed several hacks with Mario blocks, and corrected a mistaken assumption with when the FOF's thinker is being applied.
* Made the flashing of T_LaserFlash even less obnoxious.
2016-11-22 16:21:30 +00:00
Monster Iestyn
1606a45b18
Some cleanup/reorganisation in SDLSetMode and Impl_CreateWindow
2016-11-21 22:07:05 +00:00
Monster Iestyn
208546165b
Comment out SDL2STUB from Impl_SetWindowIcon
2016-11-21 20:59:44 +00:00