Commit Graph

49 Commits

Author SHA1 Message Date
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
5aef09ce5d engine: client: simplified strings operations. 2020-12-29 01:07:00 +03:00
80a5c53cb2 engine: client: move ref state updating into standalone function 2020-09-14 14:33:43 +03:00
Agent Agrimar
e4a71afe63 engine: client: update the ref state before R_NewMap is called
This fixes fades that occur at the beginning of a map being a tad screwy as a result of the ref state not being updated with fresh values, which only happens when a frame is being rendered (loading happens to prevent that).
2020-09-14 14:33:18 +03:00
3a416636f1 engine: mark GAME_EXPORT's 2020-01-19 08:15:54 +07:00
6953e829c4 lowmemory: prevent redefines 2019-11-04 22:34:08 +07:00
0e7013eeb0 lowmemory: tune XASH_LOW_MEMORY=1 not breaking multiplayer 2019-11-04 19:58:45 +07:00
d6f8112860 gameinfo: add MIN_EDICTS constant instead of magic number 600, low it to 64 2019-11-02 12:46:11 +07:00
271d15f989 client: prevent precache overflow 2019-11-01 13:41:30 +07:00
06cadacb59 lowmemory: cut resources array for legacy mode, only related to downloads 2019-10-29 11:32:32 +07:00
37cba10c14 lowmemory: fix sentences 2019-10-28 12:07:15 +07:00
114a256675 Implement XASH_LOW_MEMORY, memory-reduced configuration 2019-10-26 07:06:26 +07:00
d2a8cfe614 Revert "engine: client: implement connectionprogress partially"
This reverts commit cb417a3d51.

This commit breaks demo playback. Figure out why, then revert it back.
2019-10-06 07:45:32 +03:00
cb417a3d51 engine: client: implement connectionprogress partially 2019-08-08 07:19:08 +03:00
4beba75159 engine: fix various compiler warnings 2019-07-13 23:25:03 +03:00
Mr0maks
671c247381 Merge branch 'master' of https://github.com/FWGS/xash3d-fwgs 2019-05-25 22:54:42 +05:00
b797e0af1a Merge 4483 update 2019-05-25 02:44:24 +03:00
Mr0maks
85b5b4e965 filesystem: add support for zip files 2019-05-24 21:13:03 +05:00
c215b89923 Apply 4483 update 2019-05-19 15:01:23 +03:00
fe14a360b4 engine: fix fs_offset_t/size_t conversion, const qualifiers 2019-05-02 19:12:23 +03:00
f48335f2f2 ref: get rid of fov in globals, add RenderFrame wrapper, which correctly initialize shared global values 2019-03-28 18:17:58 +03:00
c55b7dcda7 ref: simplify efx api, move efrags to engine 2019-03-17 23:14:53 +07:00
297ca08e81 ref: replace model (un)loading by Mod_ProcessRenderData 2019-03-17 21:19:24 +07:00
8339096ad8 ref: Improve model unloading, fix texture leak 2019-03-17 18:26:57 +07:00
00ce909fc8 Setup renderer time 2019-03-16 18:51:30 +07:00
97aba69ed0 ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references 2019-03-15 21:23:59 +03:00
e7234bada2 ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals 2019-03-06 16:23:33 +03:00
99bd7c81da ref: render code moved out of engine, doesn't compile, first API prototype 2019-02-18 21:25:26 +03:00
e99ca5947b legacymode: resource list support 2019-02-05 01:10:26 +07:00
e05c1ed912 HTTP download support 2019-02-02 05:15:59 +07:00
480ef0a468 legacymode: add netsplit support (incoming only) 2019-01-29 19:01:21 +07:00
bbd4c1315e legacymode: implement clc_userinfo 2019-01-29 02:33:30 +07:00
6ba406be7d legacymode: some codestyle fixes 2019-01-27 03:02:16 +03:00
1a6fd72d19 legacymode: fix choke counter 2019-01-27 02:48:09 +07:00
6a02a571c1 Legacy protocol compatibility (cl_legacymode) 2019-01-25 20:54:05 +07:00
25d8a94c1c engine: fix implicit declaration, remove dead MsgDev now, fix const modifier loss in host.c 2018-11-16 15:25:04 +03:00
491188a0f3 Merge branch 'original' 2018-10-04 14:27:14 +07:00
5c738b3402 Apply 4253 update 2018-10-04 13:08:48 +07:00
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
1e7f9d00c3 Apply 4150 update 2018-06-19 16:22:30 +03:00
f26ac52102 Merge 4140 update 2018-06-11 14:04:50 +03:00
814b7eda07 Apply 4140 update 2018-06-09 01:28:35 +03:00
c8b83385df Add waf related files to gitignore. Restore cl_trace_messages 2018-04-29 04:25:41 +03:00
dcc19aeafb Merge 4097 2018-04-26 03:23:00 +03:00
9bab7d222a Apply 4097 update 2018-04-26 03:09:36 +03:00
fd649905ea Fix some format warnings 2018-04-23 21:49:37 +03:00
ab0bcc55f8 Apply Apr20 update 2018-04-21 08:06:55 +00:00
050d2a3d0f Apply Apr18 update 2018-04-19 20:11:24 +00:00
8d6e3b7f79 Pure engine source code(LF line endings, UTF8 encoded) 2018-04-13 19:23:45 +03:00