Commit Graph

137 Commits

Author SHA1 Message Date
SNMetamorph
415f5baa1c engine: client: CL_LerpPoint hotfix 2021-05-30 09:40:03 +03:00
Alibek Omarov
0a818f3f3f client: add waveplaylen console command like in GoldSrc 2021-03-07 02:51:03 +03:00
Alibek Omarov
e77957bc81 client: decrease visibility of some cvars 2021-03-06 23:40:04 +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
9e99a2bc37 engine: dirty sdl1.2 port 2019-11-02 08:56:07 +03:00
Alibek Omarov
78baf568ae engine: more double promotion fixes 2019-10-18 16:46:54 +03:00
Alibek Omarov
c67f065d90 engine: client: explicitly cast literals to floats 2019-10-18 16:46:54 +03:00
Alibek Omarov
ff1b28244b engine: client: port ui_renderworld from old engine 2019-10-11 04:12:52 +03:00
Alibek Omarov
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
mittorn
7f3ee9ca71 input: merge touch support again. Fix m_ignore, fix EngineAppendMove 2019-09-27 02:19:03 +07:00
Alibek Omarov
cb417a3d51 engine: client: implement connectionprogress partially 2019-08-08 07:19:08 +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
4beba75159 engine: fix various compiler warnings 2019-07-13 23:25:03 +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
04ee7c3a55 engine: fix build 2019-07-12 22:43:58 +03:00
Alibek Omarov
a85a856215 engine: implement connection warning dialog showing up, update menu 2019-07-12 22:42:13 +03:00
Alibek Omarov
3e4bd20919 engine: client: implement sending input devices list to server, using protinfo 2019-07-09 03:48:09 +03:00
Alibek Omarov
54920f13df engine: rename library naming function, as it returns a full path and not just library name 2019-07-07 02:47:45 +03:00
Alibek Omarov
89a3fd6323 engine: make use of platform-unique library naming scheme 2019-07-01 05:50:04 +03:00
Alibek Omarov
b797e0af1a Merge 4483 update 2019-05-25 02:44:24 +03:00
Alibek Omarov
c215b89923 Apply 4483 update 2019-05-19 15:01:23 +03:00
Alibek Omarov
5af6506d86 engine: ensure that we loading same client library 2019-05-12 03:08:51 +03:00
Alibek Omarov
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
Alibek Omarov
1483b21f00 Merge branch '0.20-renderdll' 2019-03-22 18:19:13 +03:00
Alibek Omarov
6a6f341c07
Merge pull request #22 from FWGS/netsplit
Extended netsplit, network extensions
2019-03-21 17:23:49 +03:00
Alibek Omarov
121c72c9e0 Merge origin/master into ref_dll 2019-03-20 02:38:13 +03:00
mittorn
00ce909fc8 Setup renderer time 2019-03-16 18:51:30 +07:00
Alibek Omarov
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
mittorn
8b5c5826a8 legacymode: prevent dropping from server when fps too high 2019-02-24 02:48:53 +07: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
mittorn
2b1ed2b20a
Merge branch 'master' into netsplit 2019-02-08 07:59:52 +00:00
mittorn
e99ca5947b legacymode: resource list support 2019-02-05 01:10:26 +07:00
mittorn
c09190f66e legacymode: add legacy infokey for legacy servers 2019-02-04 23:53:46 +07:00
mittorn
e05c1ed912 HTTP download support 2019-02-02 05:15:59 +07:00
mittorn
7b36796f41
Merge pull request #20 from x6herbius/improve-logging
Made various log messages more informative
2019-02-01 05:59:35 +00:00
Jonathan Poncelet
69bb25bb18 Updated a couple of messages as per pull request 2019-01-31 13:31:27 +00:00
mittorn
a169f93b9f legacymode: fix netsplit settings 2019-01-30 18:56:52 +07:00
mittorn
b578d44ea2 Fix NET_EXT_SPLITSIZE console reporting 2019-01-30 16:15:57 +07:00
mittorn
40574d9be0 Network extensions 2019-01-30 16:06:32 +07:00
mittorn
7bb8124b69 legacymode: Mark old netsplit extension legacy, fix magic number 2019-01-30 15:14:43 +07:00
mittorn
097974bde2 Check cl_dlmax sizes on client 2019-01-30 13:38:32 +07:00
mittorn
a97d8c119b network: enable new netsplit, netsplit size settings 2019-01-30 03:44:48 +07:00
mittorn
480ef0a468 legacymode: add netsplit support (incoming only) 2019-01-29 19:01:21 +07:00
mittorn
52fca4ac0c legacymode: send identification 2019-01-29 17:00:40 +07:00
Jonathan Poncelet
35869586c9 Made various log messages more informative 2019-01-28 18:32:29 +00:00
Alibek Omarov
1162e5a65b legacymode: retry connecting using legacy protocol automatically 2019-01-26 20:47:19 +03:00
Alibek Omarov
5da11291a2 legacymode: support server scanning 2019-01-26 18:54:23 +03:00
mittorn
6a02a571c1 Legacy protocol compatibility (cl_legacymode) 2019-01-25 20:54: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
Alibek Omarov
48d1aa5115 engine: fix warnings 2018-10-06 03:42:09 +03:00
mittorn
b0c077ccf8 Persistent console history 2018-10-04 18:10:12 +07: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
Alibek Omarov
1e7f9d00c3 Apply 4150 update 2018-06-19 16:22:30 +03:00
Alibek Omarov
7cdead7bac Merge 4143 update 2018-06-12 12:18:14 +03:00
Alibek Omarov
a539384a76 Apply 4143 update 2018-06-12 12:14:56 +03:00
Alibek Omarov
f26ac52102 Merge 4140 update 2018-06-11 14:04:50 +03:00
Alibek Omarov
814b7eda07 Apply 4140 update 2018-06-09 01:28:35 +03:00
Alibek Omarov
0561ac2076 Add basecmd from old engine. Add basecmd_stats command 2018-06-01 21:28:25 +03:00
Alibek Omarov
ae5257c654 Add masterlist from engine. Use non-blocking network name resolution 2018-06-01 20:44:16 +03:00
Alibek Omarov
415e517107 Library loader refactoring. Not tested for platforms other than Linux 2018-05-01 21:52:00 +03:00
Alibek Omarov
c8b83385df Add waf related files to gitignore. Restore cl_trace_messages 2018-04-29 04:25:41 +03:00
Alibek Omarov
dcc19aeafb Merge 4097 2018-04-26 03:23:00 +03:00
Alibek Omarov
9bab7d222a Apply 4097 update 2018-04-26 03:09:36 +03:00
Alibek Omarov
176b31b4a2 Fix wrong max edicts clamp. Add game_dll_linux and game_dll_osx to gameinfo.txt. Fix crash in R_ChangeVideoSettings 2018-04-24 05:50:10 +03:00
Alibek Omarov
efe8ddf151 Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong. 2018-04-23 23:07:54 +03:00
Alibek Omarov
fd649905ea Fix some format warnings 2018-04-23 21:49:37 +03:00
Alibek Omarov
501985be48 Remove accidentally left debug 2018-04-22 17:19:54 +03:00
Alibek Omarov
ebe3a203ba Always fragment upload data, this fixes some cases when upload must be fragmented, but download test shown no fragmentation requirement 2018-04-22 17:17:35 +03:00
Alibek Omarov
545b781934 Restore hud_utf8 2018-04-22 14:01:22 +03:00
mittorn
8704c07e4b Merge branch 'original' 2018-04-21 13:44:06 +00:00
mittorn
ab0bcc55f8 Apply Apr20 update 2018-04-21 08:06:55 +00:00
Alibek Omarov
314a6deba9 Remove gamedir[] from engine-side gameinfo_t 2018-04-21 01:22:00 +03:00
Alibek Omarov
32aa9a9f54 Implement Mobility API support. Add missing IN_TouchShutdown and Joy_Shutdown calls. Don't save video and opengl configs if engine crashed. 2018-04-21 00:13:20 +03:00
Alibek Omarov
a015d6b915 Revert fork's hud_scale behaviour 2018-04-21 00:03:19 +03:00
mittorn
926b909f3d Merge branch 'original' 2018-04-20 12:38:53 +00:00
mittorn
db92c918b2 Apply Apr19 update 2018-04-20 08:41:02 +00:00
Alibek Omarov
5d13112e25 Dedicated build 2018-04-18 18:32:30 +03:00
Alibek Omarov
be4b885254 Merge common SDL port changes 2018-04-17 03:53:01 +03:00
Alibek Omarov
32b07cda86 Add kbutton.h, fix includes 2018-04-13 19:58:17 +03:00
Alibek Omarov
8d6e3b7f79 Pure engine source code(LF line endings, UTF8 encoded) 2018-04-13 19:23:45 +03:00