James R
412b37a8de
Convert k_director.c to k_director.cpp
2023-10-08 14:26:21 -07:00
James R
17b7a2f16d
k_director.h: remove directorinfo extern, add K_DirectorIsEnabled
2023-10-08 14:26:21 -07:00
James R.
8b79689d81
Add K_DirectorIsAvailable
...
Fixes director not working correctly if there are
duplicates in displayplayers.
2023-10-03 21:28:33 -07:00
toaster
28b3006efd
K_DirectorSwitch: Don't let forced switches cause a G_ResetView update when directorinfo.active is false
2023-03-01 13:56:45 +00:00
James R
4e025836eb
Merge branch 'fix-director-debounce' into 'master'
...
Director: fix positiondelay debounce
See merge request KartKrew/Kart!985
2023-02-28 05:10:31 +00:00
James R
9d8c2cd703
Director: skip splitscreen players when switching
...
This makes sure director only tries switching to players
who aren't splitscreen players.
2023-02-26 21:39:37 -08:00
James R
57cf6dab26
Director: fix positiondelay debounce
...
I'll be honest, this is hard to wrap my head around but it
seems to be saying if the currently viewed player is not
who we should be viewing, then switch to the new player
even if the new player's position is fluctuating.
2023-02-26 21:24:19 -08:00
James R
2d063445a6
Automatically toggle director depending on number of players
...
- Upon becoming a spectator: if there are any players who
can be spectated, e.g. haven't finished the level, then
turn on director cam.
- Removes director cvar.
2023-02-26 05:55:44 -08:00
James R
14e89d3f42
Let director focus 1P if no more players are in game
2023-02-26 05:53:43 -08:00
AJ Martinez
3ccbc5c705
avoid wasteful player_t copy
2022-01-21 02:42:16 -06:00
AJ Martinez
07498a122a
clarify potential footgunnery in K_UpdateDirector
2022-01-20 16:00:51 -06:00
AJ Martinez
9366049c89
fix low-confidence switch behavior
2022-01-20 15:56:36 -06:00
AJ Martinez
daabde0981
fix double speed attack transfers
2022-01-20 15:35:26 -06:00
AJ Martinez
3ce1f71230
how is static formed
2022-01-20 15:29:13 -06:00
AJ Martinez
ef3ae2044a
appease linker wrt internal functions
2022-01-20 15:26:32 -06:00
AJ Martinez
5efd706d3b
general post-review unfuck
2022-01-20 15:23:32 -06:00
AJ Martinez
5d3fb30a07
tabs, thank you vscode for not reading the room
2022-01-20 06:56:07 -06:00
AJ Martinez
24b05451f6
my workflow is beyond your understanding
2022-01-20 03:39:00 -06:00
AJ Martinez
1e4bc482d0
very small tiny fixes
2022-01-20 02:07:48 -06:00
AJ Martinez
e949e3afb4
Write the rest of the owl
2022-01-19 23:56:23 -06:00
AJ Martinez
be33a1b659
Director cam barebones functionality
2022-01-18 22:41:07 -06:00