Monster Iestyn
17a06dd6c4
I_GetConsoleEvents: Split KEY_EVENT code into a function of its own, like with I_GetEvent's event types
...
One benefit of this is that event_t data need only be created if KEY_EVENT is found, since the other event types never do anything anyway
2017-05-15 18:39:59 +01:00
Monster Iestyn
87085f2475
SDLSetMode: merge wasfullscreen/windowed mode code into one block
2017-05-15 16:35:32 +01:00
Monster Iestyn
a340f2c8ed
Impl_CreateWindow: re-use "flags" for SDL_RENDERER_* flags, remove unnecessary curly braces
2017-05-15 16:19:28 +01:00
Monster Iestyn
4979ab6b8e
Not really important or anything, but checking render_soft == rendermode rather than rendermode == render_soft always bugged me. And it's not consistent with the rest of the source code (or at least most of it) anyway.
2017-05-15 15:43:31 +01:00
Monster Iestyn
d1bbd1261e
VID_SetMode: SDLSetMode should use vid.width/vid.height, not windowedModes[modeNum].
...
If modenum was < 0 or >= MAXWINMODES, that would make windowedModes[modeNum] be out of bounds and possibly crash the game.
2017-05-15 15:36:51 +01:00
Monster Iestyn
093800cb06
I_FinishUpdate: OglSdlFinishUpdate should never run for render_soft, even if screens[0] somehow is NULL
2017-05-15 15:24:40 +01:00
Monster Iestyn
f8482421e5
Don't need to use WADFILENUM/LUMPNUM in this function, since W_CheckNumForNamePwad returns just the lump number, not a combined WAD + lump number frankenstein's monster
...
This is just in case someone actually tries to dump in C_START/C_END and "add" colormaps using them, not that they would ever be used currently anyway.
2017-05-15 14:38:55 +01:00
Monster Iestyn
222807c6f6
Fix R_InitExtraColormaps reporting 6 or more colormaps every time you loaded the game, even though we haven't used C_START/C_END in more than a decade now
...
Note to self: W_ functions are awfully confusing with returning with LUMPERROR or INT16_MAX. Should sort out what's going on there if necessary
2017-05-15 14:29:31 +01:00
toasterbabe
65a202e843
ACTUALLY let's do this better
2017-05-14 19:25:46 +01:00
toasterbabe
b13a9ad9d1
Support for negative scroll speeds on title screen
2017-05-14 19:20:00 +01:00
toasterbabe
b864e45487
Added reset for titlemap (and other title attribute) changes so that the title screen never ends up being some half-formed hybrid
...
Also because I could I added it for intro changes too
2017-05-14 16:45:08 +01:00
toasterbabe
bdcd9125d2
Fixed that thing where missiles like sliding up slopes for some reason.
...
This isn't a 1:1 fix for non-slopes - they still like stepping up over the borders of sloped sectors - but this fixes the most egregrious issue.
2017-05-14 14:47:09 +01:00
toasterbabe
ba4275c415
title screen hud hook
2017-05-13 22:38:06 +01:00
Monster Iestyn
d91471b053
check spr2names not sprnames, whoops
2017-05-13 21:43:04 +01:00
Monster Iestyn
c2f03c5953
Fix compiler errors
2017-05-13 21:28:44 +01:00
Monster Iestyn
5113163e07
Merge branch 'master' into lua-spritedefs
2017-05-13 21:16:42 +01:00
Monster Iestyn
9a9b2fcc2d
Merge branch 'master' into mapthing-spawn-hook
2017-05-13 21:06:49 +01:00
Monster Iestyn
8d483cdc47
Fix whitespace on that one line toaster pointed out
2017-05-13 20:51:10 +01:00
Monster Iestyn
e45e740a65
Merge branch 'master' into lua-lump-load-only
2017-05-13 20:40:38 +01:00
Monster Iestyn
ed81c9abcb
Fix paper sprites apparently "turning" around sometimes when you turn the camera, when they're supposed to be still (sawb.wad for instance)
...
I cleaned up some of Sryder's changes a little too I guess
2017-05-13 12:49:30 +01:00
yellowtd
f5fa67b7ad
no idea why this was stashed while the last commit before this one was made..
2017-05-12 20:54:06 -04:00
yellowtd
13c748531f
bootmap
...
(+indentation fix)
2017-05-12 20:48:20 -04:00
Sryder
32c4ddca5c
Remove accidental leftovers
...
Accidentally left a comment and stuff in there from previous attempts
# Conflicts:
# src/hardware/hw_main.c
2017-05-12 23:39:55 +01:00
Sryder
ec0f30f849
Fix a one character bug with clipping
2017-05-12 23:39:01 +01:00
Sryder
3f0f645c70
Flat sprites for OGL
...
# Conflicts:
# src/hardware/hw_main.c
2017-05-12 23:38:44 +01:00
Monster Iestyn
635789c1ec
Merge branch 'public_next'
...
# Conflicts:
# src/doomdef.h
2017-05-12 23:03:38 +01:00
Monster Iestyn
b8ffeeb59f
Update version number to v2.1.18
...
Don't worry, I remembered to update MODVERSION as well this time :)
2017-05-12 16:06:27 +01:00
Monster Iestyn
f0de3a407d
Merge branch 'public_next'
2017-05-11 22:58:03 +01:00
toasterbabe
6eaf936889
Make symbol conversion a #define instead of copypasted code.
2017-05-11 22:09:01 +01:00
toasterbabe
9445455fb1
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into skin_patch
2017-05-11 22:02:12 +01:00
Monster Iestyn
55fd0aba91
Merge branch 'master' into next
2017-05-11 20:47:12 +01:00
Monster Iestyn
96c63bf95b
Whoops forgot this bit too
2017-05-09 20:17:46 +01:00
Monster Iestyn
8582406dd2
prevent invalid nodes from crashing Net_CloseConnection, print a warning and return instead
2017-05-09 15:13:19 -04:00
toasterbabe
3e7377930f
FIX FOR MI'S CRASH
2017-05-09 17:38:00 +01:00
toasterbabe
3e9cc51953
Change config recognition method
2017-05-09 17:09:40 +01:00
toasterbabe
fd81a82cca
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into addfile_menu
2017-05-09 16:45:58 +01:00
toasterbabe
28752afa6a
Fix inconsistencies in spacing in m_cond.h
2017-05-09 16:28:20 +01:00
toasterbabe
61fcbe9b36
Implemented the two NiGHTS Emblem types in the TUDD via var modifications to ET_GLOBAL!
...
* GE_NIGHTSPULL (for it to chase you once paralooped) - Sun emblem
* GE_NIGHTSITEM (for hidden until paralooped) - Moon emblem
Combined means that you essentially have to loop it twice.
Also, revamped NIGHTSITEM to suck a little less (and have more compatibility with MT_EMBLEM).
2017-05-09 16:20:26 +01:00
toasterbabe
cd512d014a
<Alam_Squeeze> s_sound.c: In function `S_StartCaption':
...
<Alam_Squeeze> s_sound.c:409: warning: 'same' might be used uninitialized in this functio
2017-05-09 14:42:23 +01:00
toasterbabe
e69b08178f
<Alam_Squeeze> p_floor.c: In function `EV_CrumbleChain':
...
<Alam_Squeeze> p_floor.c:2932: warning: 'widthfactor' might be used uninitialized in this function
<Alam_Squeeze> p_floor.c:2932: warning: 'heightfactor' might be used uninitialized in this function
2017-05-09 14:42:06 +01:00
toasterbabe
cb9012c2ca
Accidentially removed newline
2017-05-09 14:22:53 +01:00
toasterbabe
a4b74e7d3f
<Alam_Squeeze> m_menu.c:1907: error: `M_DrawScreenshotMenu' undeclared here (not in a function)
...
<Alam_Squeeze> m_menu.c:1907: error: initializer element is not constant
<Alam_Squeeze> m_menu.c:1907: error: (near initialization for `OP_ScreenshotOptionsDef.drawroutine')
<Alam_Squeeze> m_menu.c:9353: warning: 'M_DrawScreenshotMenu' defined but not used
<Alam_Squeeze> Makefile:770: recipe for target '../objs/Mingw/Debug/m_menu.o' failed
<Alam_Squeeze> make: *** [../objs/Mingw/Debug/m_menu.o] Error 1
2017-05-09 14:19:54 +01:00
toasterbabe
378b913e66
<Alam_Squeeze> lua_blockmaplib.c:269:7: no newline at end of file
...
<Alam_Squeeze> Makefile:770: recipe for target '../objs/Mingw/Debug/lua_blockmaplib.o' failed
<Alam_Squeeze> make: *** [../objs/Mingw/Debug/lua_blockmaplib.o] Error 1
2017-05-09 14:18:45 +01:00
toasterbabe
0cc838bca7
<Alam_Squeeze> make: *** [../objs/Mingw/Debug/m_menu.o] Error 1
...
<Alam_Squeeze> s_sound.c: In function `S_StartCaption':
<Alam_Squeeze> s_sound.c:416: warning: comparison of unsigned expression >= 0 is always true
<Alam_Squeeze> Makefile:770: recipe for target '../objs/Mingw/Debug/s_sound.o' failed
<Alam_Squeeze> make: *** [../objs/Mingw/Debug/s_sound.o] Error 1
2017-05-09 14:17:34 +01:00
toasterbabe
ba41d46587
Thanks Alam for letting me know I was messing up!
...
* Search case is now handled via cvar instead of assumed based on system.
* filemenusearch (previously strsystemstr) uses static char[] to prevent stack suffering.
* New cvar for searching from start of string instead of anywhere in it!
* Menu tweaked for the above.
* Reverted slash from pathsep.
2017-05-09 14:09:09 +01:00
toasterbabe
2696ed52fd
Fixed the thing where Robo Hood's jump was messed up.
...
Also, ditto re Super Sonic's floaties.
2017-05-09 12:50:28 +01:00
toasterbabe
7f83e0d134
* Prevent crash if you go to a map and it doesn't exist.
...
* Handle music fix in smarter way.
* Enums!
2017-05-09 11:09:58 +01:00
toasterbabe
3a4e091ba6
* Fix titlemap music change bug reported by Larztard
...
* Clean up titlemapinaction so that it isn't true when you're playing
* Don't print "SPEEDING OFF TO [ZONE] [ACT 1]..." on screen if it's a titlemap - keep a nice and pretty black screen
2017-05-09 00:48:07 +01:00
toasterbabe
dd57e47574
Merge branch 'master' of http://git.magicalgirl.moe/STJr/SRB2Internal.git into titlemap
...
# Conflicts:
# src/r_main.c
2017-05-08 23:58:44 +01:00
toasterbabe
f87c7f428d
Compiling fixes
2017-05-08 23:51:12 +01:00