Alibek Omarov
49426721d8
engine: use zero initializers instead of memset
2025-01-14 12:11:27 +03:00
Alibek Omarov
48bdd4238e
engine: always include reason to server shutdown
2024-12-26 02:13:13 +03:00
Alibek Omarov
de961eb45e
engine: client: use new extension for creating temporary files for demoheader
2024-12-19 07:10:02 +03:00
Alibek Omarov
af332eb8ac
engine: client: validate dem_usercmd size before reading it into the buffer
2024-11-18 10:42:39 +03:00
Alibek Omarov
371639f0dc
engine: introduce fps_override to unlock the 200 FPS limit in multiplayer games to 1000
2024-10-30 18:28:55 +03:00
Alibek Omarov
8c93a0d247
engine: client: allow playing back demos recorded on GoldSrc servers
2024-10-26 05:12:11 +03:00
Alibek Omarov
da76abda75
engine: even more refactorings to avoid global cls.legacymode usage, now with GoldSrc server autodetection
2024-10-16 07:31:27 +03:00
Alibek Omarov
c1a5f173b8
engine: common: add GoldSrc netchan support
2024-10-08 03:28:02 +03:00
Alibek Omarov
03bf6cb719
engine: client: get rid of PROTOCOL_GOLDSRC_VERSION, as connprotocol_t enum does it's job
2024-10-08 03:27:32 +03:00
Alibek Omarov
22d3ba674e
engine: client: ensure demoheader will be written when we're recording demo and changed level
2024-08-14 19:10:00 +03:00
Alibek Omarov
b4db99006b
engine: client: always print timedemo result
2024-08-07 08:46:55 +03:00
Alibek Omarov
8be3bdac5d
engine: client: add command listdemo to show information about demo file (isn't really useful, just reads file header)
2024-08-03 11:01:17 +03:00
Alibek Omarov
38bef99f98
engine: client: fix opening Quake demos
2024-07-21 05:01:31 +03:00
Alibek Omarov
fcb463d400
engine: client: flush demoheader before copying it
2024-07-04 07:23:48 +03:00
Alibek Omarov
d054782693
engine: client: fix broken legacy demos playing
...
Fixes: ff4221fbe7
("engine: client: write correct cls.legacymode/net_protocol value for demos")
2024-06-22 07:30:47 +03:00
Alibek Omarov
d56e53a347
Replace hardcoded functions names by __func__ macro
...
* while we're here, fix some possible bugs
* and fix -Wformat=2
s/__FUNCTION__/__func__/g
awawawa
2024-06-19 06:53:42 +03:00
Alibek Omarov
ff4221fbe7
engine: client: write correct cls.legacymode/net_protocol value for demos
2024-06-15 13:43:18 +03:00
Alibek Omarov
0b24810927
engine: client: clean up client.h from unused function prototypes, or move them to appropriate C file
2024-01-28 11:17:06 +03:00
Alibek Omarov
2b6a550405
engine: clean up common.h header from unused function prototypes, or move them to appropriate header or C file
2024-01-28 10:00:17 +03:00
Alibek Omarov
75d476f9df
engine: fix -Wmissing-prototypes
2024-01-28 09:55:18 +03:00
Alibek Omarov
3c28b11754
engine: client: cl_demo: fix usercmd in demo playback
...
I have no explanation why this works but it kinda does?
2024-01-04 05:48:45 +03:00
Alibek Omarov
643bec4071
engine: client: set max FPS when recording with fps_max 0
2023-12-16 22:02:26 +03:00
Alibek Omarov
6f6ddbce28
engine: add argument -timedemo that makes engine run timedemo and exit
2023-10-27 03:49:00 +03:00
Alibek Omarov
8d04ae8802
engine: client: fix appending extra .dem in record command
2023-07-02 02:44:25 +03:00
Alibek Omarov
ca134a85ee
engine: client: make it more obvious that CL_InitEdicts depends on maxclients value
2023-06-30 02:51:47 +03:00
Alibek Omarov
214fc7e827
engine: common: move host cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
1ee01163b7
engine: client: move scrn cvars to static allocation
2023-05-27 21:52:58 +03:00
Alibek Omarov
8f207362a5
public: remove Q_sprintf, and patch all code that used it to use Q_snprintf instead
2023-04-26 05:20:45 +03:00
Alibek Omarov
9e54ddfd55
engine: client: treat dem_unknown as no-op, until we find real cause of empty holes in demoheader
2022-12-12 06:31:54 +03:00
Alibek Omarov
17d0b19f9e
engine: use generic S_USAGE macro everywhere
2022-11-10 13:18:20 +03:00
Valery Klachkov
3ad60a0fa1
engine: fix uninitialized variable in demo parsing code, fix incorrect size counter in memory allocator
2022-07-16 16:59:41 +03:00
Alibek Omarov
32e96bdad1
engine: support legacy net protocol in demos
2021-06-08 01:04:18 +03:00
Gleb Mazovetskiy
5e0a0765ce
Trim all trailing whitespace
...
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.
Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.
`git blame` becomes less useful on these lines but it already isn't very useful.
Commands:
```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
Andrey Akhmichin
5aef09ce5d
engine: client: simplified strings operations.
2020-12-29 01:07:00 +03:00
mittorn
3a416636f1
engine: mark GAME_EXPORT's
2020-01-19 08:15:54 +07:00
Alibek Omarov
4a56dfcd00
engine: fix extra zeros in %0
2019-12-23 06:29:20 +03:00
Andrey Akhmichin
0c34a5081c
engine: client: make the code that generates screenshots and demos names simpler.
2019-11-07 23:12:34 +03:00
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
2019-07-19 20:23:08 +03:00
Alibek Omarov
9662ab106f
engine: client: implement errormsg, secure client by checking server IP address we're connected to
2019-07-13 20:54:16 +03:00
Alibek Omarov
86d823b877
engine: client: fix demo playback on ARM
2019-05-28 03:45:02 +03:00
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
2019-02-18 21:25:26 +03:00
Alibek Omarov
860d3be42d
demo: draw recording message a bit higher
2019-01-27 02:42:28 +03:00
mittorn
298393b653
Initial amd64 port
2018-12-05 23:57:05 +07:00
Alibek Omarov
b9945d62a3
Apply 4312 update
2018-11-27 16:15:24 +03:00
Alibek Omarov
622de7a7f1
Apply 4312 update
2018-11-27 16:11:26 +03:00
Alibek Omarov
a03aa3ddb3
Merge 4281 update
2018-10-28 00:39:29 +03:00
Alibek Omarov
aae3510763
Apply 4281 update
2018-10-27 23:32:09 +03:00
mittorn
491188a0f3
Merge branch 'original'
2018-10-04 14:27:14 +07:00
mittorn
5c738b3402
Apply 4253 update
2018-10-04 13:08:48 +07:00
Alibek Omarov
2edbcb996d
Merge 4150 update. Fix some mistypings. Rename CL_IsQuakeCompatible to Host_IsQuakeCompatible, as it may be used in whole engine and even in dedicated builds. IN_RecalcCenter was not added, window center positions should be updated by backends.
2018-06-19 16:59:53 +03:00