Commit graph

1398 commits

Author SHA1 Message Date
James R
57d6baac56 Revert sound and music window focus related toggles
This partially reverts commit 96a12b6bed.
2019-10-23 15:24:34 -07:00
Steel Titanium
5dd1b52024 Disable restriction for `DEVELOP` builds only 2019-10-23 16:29:50 -04:00
james
24f0a95d59 Use less confusing player sorting key names 2019-10-22 21:41:34 -07:00
James R
96a12b6bed Miscellaneous window de-focus options
Music pausing is now optional.
Sounds may be paused--on by default.
The game itself being paused in off-line mode is now optional.

(showfocuslost now loads from config.)
2019-10-22 21:15:20 -07:00
James R
a157fe9ac0 Make "Focus lost" HUD overlay optional 2019-10-22 20:30:05 -07:00
Steel Titanium
4e2e2a0a61 Remove level select restrictions in Multiplayer 2019-10-19 21:37:03 -04:00
James R
25dc99a50b Fix item selection not returning to "Specify IPv4 Address" 2019-10-19 13:07:20 -07:00
James R
10c74c0d6a Fix "You must specify an IP address" message returning to title instead of MP menu 2019-10-19 13:01:06 -07:00
James R
3c2ccd7107 Don't fade to character select from secret level select 2019-10-19 12:42:53 -07:00
James R
85b453e5b9 Don't fade to Server Options 2019-10-19 12:25:02 -07:00
Steel Titanium
5527cb051f Revert my old attempt of making the level music fade out before game over jingle 2019-10-19 14:36:30 -04:00
toaster
869c2e0d1a * Implement fixes/tweaks as written on the gitlab.
* `SPR2_NTAG` last vestiges removal.
    * Removed need for `getskinfromdescription()` by calculating it once, at Menu load, and storing in `description_t`.
    * Fixed nametag colour issues.
    * Support widescreen with nametags.

* Fix a metric SHITTON of compiler errors.
    * Redefining `x` and `y` within scope of previous `x` and `y` (`M_DrawSetupChoosePlayerMenu`)
    * GCC straight up will not let you cast a `const char*` to a `char` (`V_DrawNameTag`)
    * Redefining `lines` within the scope of the global.
    * Redefining `string` within the function-specific `string`.
    * It would be recommended for y'alls to turn ERRORMODE on!
2019-10-19 18:15:54 +01:00
James
fc862c999d Bad parathesis 2019-10-19 01:48:56 -04:00
TehRealSalt
c963a49542 Try fixing Auto causing desyncs
- Move K_SetPowerLevelScrambles to G_DoCompleted
- Fix wrong gamespeed being displayed in strings
- Add defines for kartspeed values
- Disable Easy scrambles again
- Corrupt gamedata if pwrlv is in invalid range (gets corrected in-game, and doesn't really matter to anyone who knows what you're doing, but it'll stop at least the most basic script kiddie)

Replay menu will still display wrong speed name, but it's fine in the replay itself.
2019-10-17 23:43:06 -04:00
Steel Titanium
dcce4e3cea Kill off SPR2_NTAG 2019-10-16 18:25:20 -04:00
Steel Titanium
cb90f39a58 Show "Press ESC to exit" string on NiGHTS Attack menu too 2019-10-16 18:00:54 -04:00
Steel Titanium
2243a1eaa9 Fix ifselectvalnextmapnobrace indentation 2019-10-16 17:49:21 -04:00
Steel Titanium
cddad58a54 Seperate name tag sprite into SPR2_NTAG 2019-10-16 00:22:05 -04:00
Steel Titanium
2137d5ec21 Lots of changes
* Show emblem requirement on record attack menu
* Use bigger emblems on the menu.
* Display your best number of collected rings in yellow if reached perfect bonus.
* Adjusted XTRA frames (again)
2019-10-15 22:54:21 -04:00
toaster
69d43435f5 Improved "HELP" command!
Ported from Kart, original commit also by me (toaster).
2019-10-15 13:36:04 +01:00
toaster
61a242cc95 * Fix cv_pointlimit's weird behaviour in match mode by standardising the switching between "named" and "range" values in CV_AddValue.
* Optimise M_ChangeCvar.
2019-10-15 12:24:31 +01:00
toaster
8bab035279 Added some examples of cvars that can use named values.
* Pandora's box now has infinite lives show up as "Infinite" instead of "-1".
* `pointlimit None`
* `timelimit None`
* Ported `basenumlaps` (with "Map default" value) from Kart to replace `usemaplaps`, for if Circuit ever gets shown any love ever again.
* `respawndelay Off`
* `resynchattempts Don't`
2019-10-15 11:49:37 +01:00
Steel Titanium
676c81bfd1 More record attack stuff.
Show emblem requirements.

Committed because I need sleep...
2019-10-15 01:55:50 -04:00
toaster
442c22f456 Prevent wraparound on Level platter when there are less than 3 rows.
Addresses #251 - I wanted to keep the scrolling because it looks nice and because I don't want to fuck with these drawers too bad.
2019-10-14 17:17:00 +01:00
Jaime Passos
8ba122a3fd A bunch of stuff 2019-10-14 02:24:44 -03:00
Steel Titanium
2aa72aa2d4 Merge branch 'master' into newmenus 2019-10-13 20:12:48 -04:00
MascaraSnake
03f60e972a Merge branch 'left-right-ra-level-select' into 'master'
Left and Right Arrow keys also select level in Record Attack

See merge request STJr/SRB2Internal!363
2019-10-12 09:53:05 -04:00
toaster
a99fb74d4a Prevent Time Attack level handler always beeping. 2019-10-12 09:42:03 -04:00
MascaraSnake
86a77b4886 Only apply NiGHTS draw distance to hoops, because it turns out they're pretty much the sole cause of NiGHTS lag 2019-10-11 21:02:11 +02:00
Steel Titanium
61ada17da1 Basic outline color support.
This is a huge hack as it requires another font set, with each character's offset manually being set using SLADE.
2019-10-10 02:00:52 -04:00
Steel Titanium
43cd0e5dd0 WIP: New character select name font 2019-10-09 00:28:01 -04:00
James R
595d0c80c7 A-arrows on Record Attack level select
Menu code sucks, did you know?
2019-10-06 14:45:42 -07:00
James R
233ea2d07a Key handler to allow selecting map by arrow keys in Record Attack
Enter still goes to the platter.
2019-10-06 14:11:16 -07:00
TehRealSalt
d10e4aebac Fix a few messups due to the merged cvars 2019-10-03 11:22:58 -04:00
TehRealSalt
c6566ec31a Merge branch 'master' into versus-record 2019-10-03 01:32:59 -04:00
Jaime Passos
4a0b423342 nights attack 2019-10-02 22:02:13 -03:00
Jaime Passos
7f0032b9b1 character select 2019-10-02 21:57:04 -03:00
Jaime Passos
bc81f03db2 test 2019-10-02 21:28:02 -03:00
Jaime Passos
5a2b8abdd6 test 2019-10-02 20:00:43 -03:00
Steel Titanium
a1fab13ac1 Some changes.
Restore the menu headers for record attack and character select menu.
Attempt to optimize the NiGHTS mode menu. (Help getting the scrolling to work in an efficient way would be nice).
2019-10-01 23:40:59 -04:00
Steel Titanium
2c7e53f32f Merge branch 'master' into newmenus 2019-10-01 16:52:31 -04:00
James R
e5b6ebaa4e Disable unused functions in TESTERS build 2019-09-27 20:00:46 -07:00
James R
5ceff36ac1 Hide Multiplayer hosting options and Offline Mode 2019-09-27 19:58:55 -07:00
James R
7a201ea993 Hide Unlockables 2019-09-27 19:56:41 -07:00
James R
b64dccd498 Hide Record Attack in TESTERS build 2019-09-27 19:56:18 -07:00
Jaime Passos
e95bd8add3 Merge remote-tracking branch 'origin/master' into renderswitch 2019-09-27 22:53:57 -03:00
toaster
bc9f9d740a Merge branch 'addons-menu-cleanup' into 'master'
Addons menu cleanup

See merge request STJr/SRB2Internal!316
2019-09-27 08:55:36 -04:00
TehRealSalt
e84c618da8 Rudimentary Record Attack support 2019-09-24 07:17:05 -04:00
James R
cf14b6257c Automate the silly joystick menu items definition 2019-09-23 20:54:53 -07:00
James R
c5effff659 All for a cvar... 2019-09-23 20:23:40 -07:00