ChillerDragon
3eb3dcd48b
Make use of IO_MAX_PATH_LENGTH
...
Inspired by
0a7d0fee7c
2021-09-13 12:14:50 +02:00
Jupeyy
26c5332dc6
Remove components pointers
2021-07-12 12:14:02 +02:00
Jupeyy
33b75bde9a
Make statboard work with up to 32 players
2021-02-26 12:46:32 +01:00
Jupeyy
fbf0aedfb2
Fix statboard rendering
2020-11-15 09:06:03 +01:00
def
165857a5a8
Fix variable names manually
2020-11-02 22:40:40 +01:00
def
b1f0fd8969
Enable modernize-loop-convert clang-tidy check
...
and run clang-format afterwards
https://clang.llvm.org/extra/clang-tidy/checks/modernize-loop-convert.html
2020-11-02 22:40:24 +01:00
def
5c1b8cd221
Fix clang-analyzer-deadcode.DeadStores
...
/media/ddnet/src/game/client/components/statboard.cpp:288:3: warning: Value stored to 'tw' is never read [clang-analyzer-deadcode.DeadStores]
2020-10-14 15:45:47 +02:00
Jupeyy
8d6148b20b
Modulize skins, particles, emoticons and game
2020-10-09 09:07:19 +02:00
def
3be8a592e5
Run clang-format
...
Purely automatic change. In case of conflict with this change, apply the
other change and rerun the formatting to restore it:
$ python scripts/fix_style.py
2020-09-26 21:50:15 +02:00
def
e2fde4d730
Fix utf8 handling in str_truncate ( fixes #2533 )
...
and rename to str_utf8_truncate since it's only used for utf8 strings
2020-08-02 18:32:42 +02:00
Fireball
ab9b96ddb2
Backported fix for Text() incorrect parameter type (int -> float)
...
The original fix was done by @oy for 0.7.4.
2020-07-15 20:49:14 +01:00
Fireball
b1c17c3248
Backported fix for TextWidth() parameter mix-up
...
Fixes #2511 (Stack-buffer-overflows in some UIs).
The original fix was done by @oy for 0.7.4.
2020-07-15 20:48:29 +01:00
ChillerDragon
9e0f6d2ce0
Move global configuration out of client interface
2020-02-19 11:24:58 +01:00
bors[bot]
33d88f647c
Merge #1974
...
1974: more typesafty in the graphics. introduced the IGraphics::CTextureHandle r=def- a=ChillerDragon
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
Co-authored-by: Magnus Auvinen <magnus.auvinen@gmail.com>
2019-11-27 17:55:45 +00:00
Magnus Auvinen
6a6a5f00c9
more typesafty in the graphics. introduced the IGraphics::CTextureHandle
...
Edited by @ChillerDragon to fit in ddnet
(cherry picked from commit cb95e8dfe8
)
2019-11-22 18:08:37 +01:00
ChillerDragon
96c9b1ab73
Rename rifle to laser
...
This makes it easier to copy code from/to 0.7
23df3c609e
2019-11-22 15:37:18 +01:00
ChillerDragon
6172a9dca0
Use the float type explicitly
2019-07-08 23:08:42 +02:00
Dennis Felsing
00c87c121a
str_num_copy -> str_truncate, as in Vanilla 0.7
2019-04-18 10:25:01 +02:00
Learath
843dc29a88
Names can include quotes :/
2019-04-16 02:39:22 +02:00
Learath
dd62629ee9
Clean statboard chat parsing a bit
2019-04-16 01:47:12 +02:00
heinrich5991
5c4e819e44
Use str_startswith
, str_endswith
instead of ad-hoc implementations
2018-07-26 14:18:23 +02:00
heinrich5991
f8277267a0
Remove mem_alloc
and mem_free
, use standard C functions instead
...
Replace `mem_free` by `free`, and `mem_alloc` by `malloc` or `calloc`
(the latter one being used to allocate a zeroed array of elements,
sometimes, this makes a call to `mem_zero` superfluous).
This results in having to remove `mem_stats` which previously recorded
the number of allocations and their size that the Teeworlds code did
directly.
Remove OOM handling in `src/game/client/components/binds.cpp`.
Remove needless copying in the CSV code in
`src/game/client/components/statboard.cpp`.
2018-04-09 11:56:39 +02:00
Jupeyy
c7114e734c
more ui text positioning fixes
2018-04-04 02:40:30 +02:00
HMH
f2ac4a02ce
use str_append for appending strings
...
this fixes corrupted stat csvs as str_format does not work with same
source and destination
2017-07-24 15:27:30 +02:00
def
f3e3d57a90
Always close files, cleaner demo recording, fix some other stuff
2017-07-08 13:39:20 +02:00
SheikhZayx
451e5dfcf4
Sticking to naming convention. Freeing allocated memory.
2017-05-08 21:55:03 +02:00
SheikhZayx
80737e9c57
Fixed formatting & Removed function call for testing purposes
2017-05-02 18:55:05 +02:00
SheikhZayx
53e5150317
Altered string/memory function calls
2017-05-02 18:40:54 +02:00
SheikhZayx
6c0f889b95
Removed std::string
2017-05-02 18:27:04 +02:00
SheikhZayx
114eb81224
Changed loop variables
2017-04-28 11:28:18 +02:00
SheikhZayx
0d7a93326b
Fixed includes
2017-04-26 19:08:31 +02:00
SheikhZayx
ea0e4948b4
CSV file instead of statboard screenshot
...
En-/Disable statboard being saved as csv
2017-04-26 05:10:31 +02:00
necropotame
b8e4e5beea
Fix style in several places
2017-03-22 19:45:14 +01:00
Redix
abcb074dcc
Fixed statboard
...
- FPM value
- reset when a player leaves
2017-02-15 16:43:45 +01:00
def
242f47e03e
Fix statboard a bit more!
2015-07-10 22:12:20 +02:00
def
4efaa85e7a
Stop showing statboard after key has been released ( fixes #219 )
2015-07-09 20:38:23 +02:00
def
1aeea28459
Fix statboard size for 4:3 and 5:4 screens ( fixes #211 )
2015-07-09 20:33:26 +02:00
Nikita Zyuzin
4d1fe71944
Fix #216
...
Fixes crash when statboard is shown immediately after joining a server
2015-06-14 19:20:40 +04:00
Nikita Zyuzin
038b11e7a8
Clean up statboard code
2015-06-14 15:41:03 +04:00
Nikita Zyuzin
c8d175a6f1
Remove redundant newline character
2015-06-12 15:32:24 +04:00
Nikita Zyuzin
8ec3e705e4
Don't show statboard at the end of demo game
2015-06-12 14:38:02 +04:00
Nikita Zyuzin
148f455293
Fix bug with 'grabs' being drawn in non-ctf game
2015-06-12 14:33:42 +04:00
Nikita Zyuzin
85f8f84fec
Adjust Suicides text position
2015-05-21 21:21:13 +04:00
Nikita Zyuzin
a2371e8d24
Limit amount of players shown in statboard to 16
2015-05-21 18:27:26 +04:00
Nikita Zyuzin
d40d7f8d03
Remove unused stats
2015-05-21 16:22:42 +04:00
Nikita Zyuzin
1846b0216b
Fix bug when suicide weapons are not displayed
2015-05-21 15:31:56 +04:00
Nikita Zyuzin
12652985c3
Hide scoreboard if statboard is present
2015-05-21 13:55:51 +04:00
Nikita Zyuzin
d8d20b0c1a
Rename detailed_stats to statboard
2015-05-21 13:41:59 +04:00