ddnet/src/game
Robert Müller 4c223a0002 Improve text line spacing and console text selection
Consider line spacing to belong to the previous line when calculating and rendering text selection. Instead of handling spacing between entries separately in the console, also include line spacing for the last line in the height calculation. Pixel align the line spacing in addition to the font size, as previously some gaps between the entries were larger than others due to missing pixel alignment. This allows rendering the text selection in the console smoothly without any gaps between the console entries/lines.

Closes #7617.
2023-12-25 19:11:42 +01:00
..
client Improve text line spacing and console text selection 2023-12-25 19:11:42 +01:00
editor Merge pull request #7707 from furo321/revert-highdetail 2023-12-25 09:51:51 +00:00
server Fix wrong value type for some map settings in gamecontext.cpp 2023-12-22 18:15:37 +01:00
alloc.h Move alloc.h to game/ and use it in client/prediction/entity.h 2023-09-15 18:04:29 +03:00
collision.cpp Fix readability-make-member-function-const 2023-12-14 23:38:03 +01:00
collision.h Fix readability-make-member-function-const 2023-12-14 23:38:03 +01:00
ddracechat.h Add /join [player]. 2023-12-16 17:33:10 +01:00
ddracecommands.h Add freeze/unfreeze testing commands 2023-11-01 17:26:29 +01:00
gamecore.cpp Fix readability-make-member-function-const 2023-12-14 23:38:03 +01:00
gamecore.h Fix readability-make-member-function-const 2023-12-14 23:38:03 +01:00
layers.cpp Ensure white color for entities layers when loading map layers 2023-12-11 13:37:23 +01:00
layers.h Remove Parallax Zoom from map file 2023-10-29 23:43:19 +01:00
localization.cpp Remove CLocConstString 2023-08-30 19:24:38 +02:00
localization.h Remove CLocConstString 2023-08-30 19:24:38 +02:00
mapbugs.cpp Remove obsolete clang-tidy NOLINT comments 2023-10-11 17:22:59 +02: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 Add editor undo/redo feature 2023-12-04 22:44:20 +01:00
mapitems.h Use GetDataSize instead of CMapItemSound::m_SoundDataSize 2023-12-18 17:58:42 +01:00
mapitems_ex.cpp Remove Parallax Zoom from map file 2023-10-29 23:43:19 +01:00
mapitems_ex.h Remove Parallax Zoom from map file 2023-10-29 23:43:19 +01:00
mapitems_ex_types.h Remove Parallax Zoom from map file 2023-10-29 23:43:19 +01:00
prng.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
prng.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
teamscore.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
teamscore.h Remove unnecessary include in protocol, move definitions to cpp file 2023-01-03 14:10:58 +01:00
tuning.h Replace 50 with SERVER_TICK_SPEED or TickSpeed() 2023-11-23 14:42:30 +01:00
version.h Version 17.4.2 2023-12-18 08:58:10 +01:00
voting.h Run clang-format 2020-09-26 21:50:15 +02:00