ddnet/src/game/client/components
bors[bot] 6dcb2d1828
Merge #6663
6663: New spectate mode (multiview) r=def- a=Vy0x2

<!-- What is the motivation for the changes of this pull request? -->

Adding a new spectator mode, that can spectate a team by moving the camera in the middle and zooming in/out
Works with team 0 or any team, but you have to work with it a bit to get used to it. I tried to make it as intuitive as possible.
Pr is as ready as it can get, please test it.

![screenshot_2023-06-30_19-17-42](https://github.com/ddnet/ddnet/assets/24738662/0446d568-d34b-4d14-8682-dd077f121e91)

Youtube video:<a href="http://www.youtube.com/watch?feature=player_embedded&v=7GM6DA3EYAI" target="_blank">
 <img src="http://img.youtube.com/vi/7GM6DA3EYAI/maxresdefault.jpg" alt="Watch the video" width="192" height="108"/>
</a>


<!-- Note that builds and other checks will be run for your change. Don't feel intimidated by failures in some of the checks. If you can't resolve them yourself, experienced devs can also resolve them before merging your pull request. -->

## Checklist

- [x] Tested the change ingame
- [x] Provided screenshots if it is a visual change
- [x] Tested in combination with possibly related configuration options
- [ ] Written a unit test (especially base/) or added coverage to integration test
- [x] Considered possible null pointers and out of bounds array indexing
- [x] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: devdenn <denispaul43@gmail.com>
Co-authored-by: Vy0x2 <denispaul43@gmail.com>
2023-07-07 18:24:44 +00:00
..
background.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
background.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
binds.cpp Allow 'bind x' to be used like 'binds x' 2023-06-27 09:46:32 +02:00
binds.h Use const reference to pass CEvent objects 2023-04-21 18:44:48 +02:00
broadcast.cpp Simplify by calculating broadcast render offset in OnRender 2023-05-06 15:57:44 +02:00
broadcast.h Fade out broadcast in last second, use text container 2023-05-06 15:55:42 +02:00
camera.cpp Add multi view 2023-06-30 18:03:24 +02:00
camera.h Add multi view 2023-06-30 18:03:24 +02:00
chat.cpp Add templated str_append function for arrays with fixed size 2023-06-14 00:04:01 +02:00
chat.h Make text container index type-safe 2023-05-05 15:58:17 +02:00
console.cpp Add templated str_append function for arrays with fixed size 2023-06-14 00:04:01 +02:00
console.h Port line input and IME support from 0.7 2023-04-23 15:00:29 +02:00
controls.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
controls.h Huge variable naming format 2022-07-08 18:01:29 +02:00
countryflags.cpp Improve usage of CCountryFlags::Render function 2023-06-07 19:04:53 +02:00
countryflags.h Improve usage of CCountryFlags::Render function 2023-06-07 19:04:53 +02:00
damageind.cpp fix nameplate related indicators opacity 2023-05-11 22:23:48 +02:00
damageind.h fix nameplate related indicators opacity 2023-05-11 22:23:48 +02:00
debughud.cpp Remove unused argument of Text/TextWidth/TextLineCount 2023-02-20 20:06:17 +01:00
debughud.h Player position, speed and angle can now be displayed in the HUD. 2022-04-14 13:42:19 +02:00
effects.cpp fix nameplate related indicators opacity 2023-05-11 22:23:48 +02:00
effects.h fix nameplate related indicators opacity 2023-05-11 22:23:48 +02:00
emoticon.cpp Minor refactoring of CAnimState and tee rendering functions 2023-06-10 13:10:26 +02:00
emoticon.h Move CRenderTools::DrawCircle to IGraphics::DrawCircle 2022-08-12 17:42:03 +02:00
flow.cpp Fix all Multiplication type alerts by CodeQL 2020-10-05 19:03:54 +02:00
flow.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
freezebars.cpp do an int check for m_FreezeEnd instad of float, becuase it is int 2022-08-13 15:43:38 +02:00
freezebars.h add vertical ninja bar 2022-04-14 13:40:44 +02:00
ghost.cpp Merge #6035 2022-12-05 20:00:07 +00:00
ghost.h Add OnNewSnapshot to component hooks 2023-04-15 12:47:33 +02:00
hud.cpp Merge branch 'master' into pr-poc-mv-clean 2023-06-30 18:07:12 +02:00
hud.h Make text container index type-safe 2023-05-05 15:58:17 +02:00
items.cpp Fix heap-use-after-free when quitting/restarting 2023-05-14 18:12:47 +02:00
items.h Add DDNetLaser to have more info about a laser shot 2022-09-15 01:01:32 +02:00
killmessages.cpp Minor refactoring of CAnimState and tee rendering functions 2023-06-10 13:10:26 +02:00
killmessages.h Make text container index type-safe 2023-05-05 15:58:17 +02:00
mapimages.cpp Add default argument to CDataFileReader/IMap::GetItem 2023-05-14 16:39:46 +02:00
mapimages.h Merge most entity textures again 2023-01-13 15:25:38 +01:00
maplayers.cpp Add default argument to CDataFileReader/IMap::GetItem 2023-05-14 16:39:46 +02:00
maplayers.h Reworked color system 2022-07-06 11:39:51 +02:00
mapsounds.cpp Add default argument to CDataFileReader/IMap::GetItem 2023-05-14 16:39:46 +02:00
mapsounds.h Use std::vector<CSourceQueueEntry> instead of array 2022-05-27 16:31:18 +02:00
menu_background.cpp Fix division by zero when using random theme with no themes 2023-05-08 14:04:22 +02:00
menu_background.h fix formatting and include array 2023-03-18 08:07:25 +01:00
menus.cpp Fix text alignment in large confirmation popups with long text 2023-07-04 21:40:47 +02:00
menus.h Increase buffer size for generic popup message 2023-07-04 21:41:53 +02:00
menus_browser.cpp Fix online clan friends not being removable via UI 2023-07-04 18:16:18 +02:00
menus_demo.cpp Support selecting storage location in demo browser 2023-07-03 20:06:40 +02:00
menus_ingame.cpp Use DoLabel instead of Text/TextEx in menus 2023-06-11 21:54:46 +02:00
menus_settings.cpp Refactor CMenus::RenderSettings 2023-06-11 21:55:36 +02:00
menus_settings_assets.cpp Port line input and IME support from 0.7 2023-04-23 15:00:29 +02:00
menus_start.cpp Use FileExists/fs_is_file instead of opening file 2023-05-10 21:04:02 +02:00
motd.cpp Make text container index type-safe 2023-05-05 15:58:17 +02:00
motd.h Make text container index type-safe 2023-05-05 15:58:17 +02:00
nameplates.cpp fix nameplate related indicators opacity 2023-05-11 22:23:48 +02:00
nameplates.h Make text container index type-safe 2023-05-05 15:58:17 +02:00
particles.cpp Fix heap-use-after-free when quitting/restarting 2023-05-14 18:12:47 +02:00
particles.h Add freezing snow flakes effect and fix 50HZ timer + add 10Hz Timer to particle system 2022-06-15 22:05:40 +02:00
players.cpp Minor refactoring of CAnimState and tee rendering functions 2023-06-10 13:10:26 +02:00
players.h Minor refactoring of CAnimState and tee rendering functions 2023-06-10 13:10:26 +02:00
race_demo.cpp Port some code to str_copy() template 2022-07-09 19:40:58 +03:00
race_demo.h Add OnNewSnapshot to component hooks 2023-04-15 12:47:33 +02:00
scoreboard.cpp Add templated str_append function for arrays with fixed size 2023-06-14 00:04:01 +02:00
scoreboard.h no goals hud when empty 2022-06-16 16:28:50 +02:00
skins.cpp Implement random skin button 2023-03-25 13:11:47 +01:00
skins.h Implement random skin button 2023-03-25 13:11:47 +01:00
sounds.cpp Suppress more events while skipping in demos: 2022-08-28 15:20:50 +02:00
sounds.h Add IsPlaying to sounds client component 2022-06-26 22:43:32 +02:00
spectator.cpp Merge branch 'master' into pr-poc-mv-clean 2023-06-30 18:07:12 +02:00
spectator.h Add multi view 2023-06-30 18:03:24 +02:00
statboard.cpp Add templated str_append function for arrays with fixed size 2023-06-14 00:04:01 +02:00
statboard.h Organize game-client includes 2022-05-29 21:24:43 +02:00
tooltips.cpp Fix tooltips being active behind popups and outside clipping rects 2023-05-29 12:29:02 +02:00
tooltips.h Fix tooltips being active behind popups and outside clipping rects 2023-05-29 12:29:02 +02:00
voting.cpp Add templated str_append function for arrays with fixed size 2023-06-14 00:04:01 +02:00
voting.h Organize game-client and editor includes 2022-06-17 20:32:56 +02:00