toaster
cb133da7e2
g_game.c: Outside of dedicated, don't visit Courses that aren't menu-selectable
...
Applies to the following
- G_RandMap
- Voting
- Title Demos
- Challenge Board
- `advancemap random`
- G_GetNextMap
- `advancemap next`
- This was previously completely broken for gametypes other than Race!?
2024-01-07 21:46:59 +00:00
toaster
8f2c8b4a5d
OVERSIGHT: Challenges board should be checking locked courses for M_DrawChallengePreview, too
2024-01-07 14:47:12 +00:00
toaster
e1d0db1175
Do not interpolate GP Backup indicator with cursor ( resolves #839 )
2024-01-07 14:34:53 +00:00
toaster
7916a6e1cb
UC_UNLOCKPERCENT: Only evaluate when not in-game
...
- M_MapLocked uses netgame state, so too easy to get Test Run early (resolves #859 )
- Major iteration of unlockable structs and related, so may also confer a performance benefit
2024-01-07 14:03:06 +00:00
toaster
4994ceef2c
Gamedata: A Course only needs to be beaten to be stored as an unloaded mapheader record, not need FinishNeeded/a Time Attack record
2024-01-07 13:59:42 +00:00
toaster
21e2be41db
M_DrawCupPreview: Show static in place of courses which would not be accessible via Match Race (visitation/head of cupcache/NoVisitNeeded)
2024-01-07 13:58:24 +00:00
toaster
83366b6507
More universal Course restriction based on progression
...
All courses are restricted in Match Race/Time Attack/Online if not visited in GP UNLESS:
- It is the first Race Course of a Cup
- Course has "NoVisitNeeded = True`
- The Controls Tutorial and Test Run are the only two stages that will need this
The above replaces:
- A lot of restricted courses having to be marked with `FinishNeeded = True`
- Hidden Palace
- Sealed Stars 1-14
- Once Special Mode is unlocked, it will now be possible to practice Sealed Stars before rematching them in GP
- Almost all Tutorial-specific behaviour, since it was heinously hacky
HOWEVER, `FinishNeeded = True` was left in specifically for future releases, and I reserve the right to use it on Adventure Example again before launch.
2024-01-07 13:57:05 +00:00
toaster
601b39378d
Precache static level graphics
2024-01-06 23:17:45 +00:00
toaster
9e3ca7a59b
M_PickMenuBGMap: Change to work off map ID
...
Guarantees successful update when invalidated by level replacement
2024-01-06 16:56:44 +00:00
toaster
5c2a4ae68f
M_DrawCupPreview: Fix interpolation flicker ( resolves #832 )
2024-01-05 22:37:50 +00:00
toaster
b5c1e89645
Merge branch 'goner-assignment' into 'master'
...
Assign p1 device during goner/title + unassign all
See merge request KartKrew/Kart!1768
2024-01-05 12:35:20 +00:00
toaster
414f0ec70c
Merge branch 'fix-tutorial-hologram-items' into 'master'
...
Fix tutorial items spawning as holograms
See merge request KartKrew/Kart!1784
2024-01-05 12:34:43 +00:00
Oni
b1bcc727fe
Merge branch 'no-minimap-dot-for-others' into 'master'
...
Minimap: only show dot indicating player angle for local party players
See merge request KartKrew/Kart!1764
2024-01-05 01:11:53 +00:00
Oni
9820563fd5
Merge branch 'metal-crates-crush' into 'master'
...
Metal SA2 Crate crushes players if it falls onto them
See merge request KartKrew/Kart!1765
2024-01-05 01:11:08 +00:00
Oni
aa0fc8cbf8
Merge branch 'fix-focus-lost-width' into 'master'
...
Menus: only adjust text box size for menu options
See merge request KartKrew/Kart!1773
2024-01-05 01:10:56 +00:00
AJ Martinez
fe416626a5
Merge branch 'interp-challenges-scrolling' into 'master'
...
Interpolate scrolling on Challenge Board
See merge request KartKrew/Kart!1782
2024-01-04 22:21:45 +00:00
AJ Martinez
66d2243c10
Merge branch 'optimize-challenges-menu' into 'master'
...
Optimize Challenge Board drawing
See merge request KartKrew/Kart!1783
2024-01-04 22:21:35 +00:00
AJ Martinez
eddeb0d568
Fix tutorial items spawning as holograms
2024-01-04 14:49:32 -07:00
Sal
6a241772fc
Merge branch 'bots-disable-no-ring-shooter' into 'master'
...
No Ring Shooter in disable controls bot controller
See merge request KartKrew/Kart!1774
2024-01-04 11:02:01 +00:00
Sal
94b2711e30
Merge branch 'bots-flame-shield' into 'master'
...
Fix bot Flame Shield
See merge request KartKrew/Kart!1775
2024-01-04 11:00:47 +00:00
James R
9eb1f1403e
Menus/Challenges: optimize drawing by caching unturned tile graphics once
2024-01-04 02:11:33 -08:00
James R
b676d5137e
Menus/Challenges: interpolate scrolling
2024-01-04 01:16:41 -08:00
James R.
3f58a01774
Merge branch 'vaseline-for-challenges' into 'master'
...
Interpolate challenges menu
See merge request KartKrew/Kart!1778
2024-01-04 08:36:39 +00:00
James R.
00f19a5f19
Merge branch 'fix-top-getting-possessed-by-angry-ghosts' into 'master'
...
Fix top being dropped when players hit your items
See merge request KartKrew/Kart!1776
2024-01-04 08:32:00 +00:00
James R.
c335348c8f
Merge branch 'hold-your-horses' into 'master'
...
Reset playbackspeed to 1 in G_DoPlayDemo
Closes #834
See merge request KartKrew/Kart!1779
2024-01-04 08:31:29 +00:00
Eidolon
b139292dd8
Fix big endian byteptr.h C++ compile
2024-01-03 16:05:02 -06:00
Eidolon
bcdfc00d00
Merge branch 'menimg00-destructo-blast' into 'master'
...
Rename MENIMG00 (Battle blade) to MENUI011
Closes #838
See merge request KartKrew/Kart!1781
2024-01-03 21:21:04 +00:00
Eidolon
a68c863087
Merge branch 'evil-signal-mutex-hack' into 'master'
...
Add evil mutex bypass hack in console
Closes #795
See merge request KartKrew/Kart!1766
2024-01-03 21:20:24 +00:00
Eidolon
688a515e25
Rename MENIMG00 (Battle blade) to MENUI011
...
Fixes KartKrew/Kart#838
2024-01-03 14:14:54 -06:00
Eidolon
3666f370d0
Reset playbackspeed to 1 in G_DoPlayDemo
...
Fixes KartKrew/Kart#834 and also fixes Attract Mode preserving playback
speed too
2024-01-03 13:42:52 -06:00
Eidolon
17a14208e2
Interpolate challenges menu
2024-01-03 13:20:50 -06:00
SteelT
e2cbf06fa7
src/f_finale.c: Fix compiler error
2024-01-03 02:25:23 -05:00
AJ Martinez
4a557010db
Fix top being dropped when players hit your items
2024-01-02 23:57:47 -07:00
Sal
9ee138ac13
Merge branch 'vinny' into 'master'
...
Despawn Mystic Melody shrines online (resolves #822 )
Closes #822
See merge request KartKrew/Kart!1770
2024-01-03 06:50:13 +00:00
AJ Martinez
10fc178d7a
Netgames: never spawn shrines, instead of despawning them
2024-01-02 23:30:55 -07:00
Sally Coolatta
6736f8f26f
Fix bot Flame Shield
2024-01-03 01:22:15 -05:00
Eidolon
80cccdcda7
Merge branch 'staff-ghost-pk3' into 'master'
...
Read staff ghosts from pk3 directory
See merge request KartKrew/Kart!1771
2024-01-03 06:13:50 +00:00
Eidolon
15eecb4e88
Use staff demo wad/lump index for attraction mode
2024-01-03 00:00:46 -06:00
Sally Coolatta
05cbd90e4e
No Ring Shooter in disable controls bot controller
2024-01-03 00:08:51 -05:00
James R
73718478c9
Menus: only adjust text box size for menu options
...
- Fixes this applying to FOCUS LOST etc where it may be
not use menu font.
partially revert 700df854dc
2024-01-02 20:44:16 -08:00
Eidolon
2971149080
Merge branch 'remove-pragma-interface' into 'master'
...
Remove all gcc pragma interface
See merge request KartKrew/Kart!1767
2024-01-03 03:21:22 +00:00
Eidolon
746da46321
Read staff ghosts from pk3 directory
2024-01-02 21:05:43 -06:00
Eidolon
3d36f99609
Convert p_setup.c -> p_setup.cpp
2024-01-02 21:00:41 -06:00
Eidolon
a4f856b0c8
Make byteptr.h macros C++-compatible
2024-01-02 21:00:41 -06:00
Oni
336b430f79
Merge branch 'polish-menu-options' into 'master'
...
More Menu Polish: organizing
See merge request KartKrew/Kart!1762
2024-01-03 01:29:11 +00:00
AJ Martinez
edbc62f7d6
Despawn Mystic Melody shrines online
2024-01-02 15:29:44 -07:00
Eidolon
30cd354014
Assign p1 device during goner/title + unassign all
...
Avoids the controller reassignment message and ensures only one
controller participates in goner setup. Also unassign all devices when
returning to the title screen
2024-01-02 14:38:42 -06:00
Eidolon
dde6ca0dac
Remove all gcc pragma interface
...
GCC docs say these are not only obsolete but counter-productive for
their intended use case since GCC 2.7.2.
https://gcc.gnu.org/onlinedocs/gcc-13.2.0/gcc/C_002b_002b-Interface.html
2024-01-02 13:38:55 -06:00
Eidolon
e71f6fcc85
Add evil mutex bypass hack in console
...
Fixes KartKrew/Kart#795
2024-01-02 13:18:31 -06:00
Eidolon
4a761c2e27
Fix clang errors
2024-01-02 13:17:50 -06:00