Commit graph

31 commits

Author SHA1 Message Date
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
Renamed from src/game/client/components/detailed_stats.cpp (Browse further)