ddnet/src/game/client
bors[bot] e9d08a15fd
Merge #6560
6560: Replace EntityEx with new netobjs r=edg-l a=trml

This is a proposal for replacing EntityEx with new netobjects, like suggested in #5860.
- Adds a new DDNetPickup that includes switch number
- a new DDNetProjectile that replaces the old one (which is renamed to DDRaceProjectile)
  - includes switch number, tunezone and velocity/speed (plus a flag that can be used to send velocitiy of player projectiles with full precision)
- switch number and subtype is added to DDNetLaser (to distinguish e.g. draggers with different strength)

The pr removes EntityEx from the server, but keeps compatibility in the client.

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

<!-- 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

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test (especially base/) or added coverage to integration test
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] 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: trml <trml@users.noreply.github.com>
2023-05-14 08:43:02 +00:00
..
components Merge #6560 2023-05-14 08:43:02 +00:00
prediction Merge #6560 2023-05-14 08:43:02 +00:00
animstate.cpp Organize game-client includes 2022-05-29 21:24:43 +02:00
animstate.h Remove unnecessary trailing semicolons after method declarations 2022-03-08 20:01:26 +01:00
component.cpp Allow multiple addresses per server in the serverbrowser 2022-07-10 16:52:07 +02:00
component.h Use const reference to pass CEvent objects 2023-04-21 18:44:48 +02:00
gameclient.cpp Merge #6560 2023-05-14 08:43:02 +00:00
gameclient.h Only call onresize events if actual size changed 2023-02-25 16:02:38 +01:00
laser_data.cpp Add net netobjs for projectile and pickup, extend ddnetlaser, remove EntityEx server-side 2023-05-04 23:43:05 +02:00
laser_data.h Add net netobjs for projectile and pickup, extend ddnetlaser, remove EntityEx server-side 2023-05-04 23:43:05 +02:00
lineinput.cpp Port line input and IME support from 0.7 2023-04-23 15:00:29 +02:00
lineinput.h Always move cursor to end when selecting all text 2023-05-05 16:20:54 +02:00
pickup_data.cpp Add net netobjs for projectile and pickup, extend ddnetlaser, remove EntityEx server-side 2023-05-04 23:43:05 +02:00
pickup_data.h Add net netobjs for projectile and pickup, extend ddnetlaser, remove EntityEx server-side 2023-05-04 23:43:05 +02:00
projectile_data.cpp Add net netobjs for projectile and pickup, extend ddnetlaser, remove EntityEx server-side 2023-05-04 23:43:05 +02:00
projectile_data.h Add net netobjs for projectile and pickup, extend ddnetlaser, remove EntityEx server-side 2023-05-04 23:43:05 +02:00
race.cpp Move index check before usage, use std::size 2022-11-29 23:32:31 +01:00
race.h Organize game-client includes 2022-05-29 21:24:43 +02:00
render.cpp Replace usages of C math functions 2023-03-01 19:26:53 +01:00
render.h Running and AFK anim. states 2022-09-16 12:30:05 +02:00
render_map.cpp Don't render switch number and delay for tiles where they are unused 2023-04-26 19:04:56 +02:00
skin.h Get away from vector for skins 2022-10-12 22:32:36 +02:00
ui.cpp Fix Y Alignment by respecting cursor height independent of character height 2023-05-08 17:49:05 +02:00
ui.h Fix Y Alignment by respecting cursor height independent of character height 2023-05-08 17:49:05 +02:00
ui_listbox.cpp Remove unused CListBox::FilterMatches 2023-04-15 13:07:40 +02:00
ui_listbox.h Remove unused CListBox::FilterMatches 2023-04-15 13:07:40 +02:00
ui_rect.cpp Move CRenderTools::DrawUIRect/4 to CUIRect::Draw/4 2022-08-12 19:37:08 +02:00
ui_rect.h Move CRenderTools::DrawUIRect/4 to CUIRect::Draw/4 2022-08-12 19:37:08 +02:00
ui_scrollregion.cpp Extend CScrollRegion to support scrolling when mouse at edge 2023-03-16 13:07:04 +01:00
ui_scrollregion.h Extend CScrollRegion to support scrolling when mouse at edge 2023-03-16 13:07:04 +01:00