ddnet/src/game
bors[bot] 390e54f627
Merge #4625
4625: Use ETextAlignment enum for UI r=def- a=ChillerDragon

Replaces the magic numbers -1/0/1 for left/center/right

Based on the work done in upstream:

`@cinaera` added alignment enums
	04ee8b20a1

`@TsFreddie` renamed them
	67651e8122

## Checklist

- [x] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] 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: ChillerDragon <ChillerDragon@gmail.com>
2022-01-21 15:39:36 +00:00
..
client Merge #4625 2022-01-21 15:39:36 +00:00
editor Use ETextAlignment enum for UI 2022-01-21 16:26:19 +01:00
server Merge #4581 #4590 #4593 #4607 2022-01-17 23:36:14 +00:00
bezier.cpp Run clang-format 2020-09-26 21:50:15 +02:00
bezier.h Run clang-format 2020-09-26 21:50:15 +02:00
collision.cpp clang-format fix 2022-01-08 12:30:51 +01:00
collision.h Rename IsSwitch to GetSwitchType 2021-12-19 12:10:03 +01:00
ddracechat.h Merge pull request #5 from ddnet/master 2021-03-17 19:07:18 +02:00
ddracecommands.h Implement unmuteid, make it clearer that unmute uses ID from mutes 2021-12-18 11:28:54 +01:00
gamecore.cpp Save is now back compatible with older version (default m_LiveFreeze=0). 2022-01-09 18:39:46 +01:00
gamecore.h Livefreeze implementation with CHARACTERFLAG_NO_MOVEMENTS flag. 2022-01-07 16:53:40 +01:00
layers.cpp Improve code style of InitTilemapSkip 2022-01-19 22:27:59 +01:00
layers.h Remove unnecessary trailing semicolons 2022-01-19 22:44:20 +01:00
localization.cpp Skip the UTF-8 BOM on all read text files 2021-12-17 22:07:01 +01:00
localization.h Run clang-format 2020-09-26 21:50:15 +02:00
mapbugs.cpp Fix variable names manually 2020-11-02 22:40:40 +01:00
mapbugs.h Remove code for CRC in most places, except where needed for net compat 2020-10-14 17:08:58 +02:00
mapbugs_list.h Revert "Add mapbug "stoppers-passthrough@ddnet.tw"" 2018-08-22 08:33:21 +02:00
mapitems.cpp Livefreeze implementation with CHARACTERFLAG_NO_MOVEMENTS flag. 2022-01-07 16:53:40 +01:00
mapitems.h Livefreeze implementation with CHARACTERFLAG_NO_MOVEMENTS flag. 2022-01-07 16:53:40 +01:00
mapitems_ex.cpp Run clang-format 2020-09-26 21:50:15 +02:00
mapitems_ex.h Run clang-format 2020-09-26 21:50:15 +02:00
mapitems_ex_types.h Run clang-format 2020-09-26 21:50:15 +02:00
prng.cpp uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
prng.h uint64 -> uint64_t, int64 -> int64_t 2021-06-24 17:19:17 +02:00
teamscore.cpp Run clang-format 2020-09-26 21:50:15 +02:00
teamscore.h Fix some more undefined behavior with super (fixes #4412) 2021-11-29 17:12:50 +01:00
tuning.h Add hammer_hit_fire_delay tune 2021-05-01 16:36:12 +02:00
variables.h Add ClPredictionMargin 2022-01-09 13:08:11 +01:00
version.h Version 15.8.1 2021-12-28 20:14:41 +01:00
voting.h Run clang-format 2020-09-26 21:50:15 +02:00