Commit Graph

20 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
Gleb Mazovetskiy 3af742f103 in_touch.c: Fix -Wpointer-to-int-cast 2021-01-02 18:01:53 +03:00
Andrey Akhmichin 5aef09ce5d engine: client: simplified strings operations. 2020-12-29 01:07:00 +03:00
Alibek Omarov 9421457b3a engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h 2019-11-24 03:52:08 +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
mittorn c0043a5467 touch: implement wheel 2019-09-28 19:35:30 +07:00
mittorn dba757f0c2 touch: fix wrong dx/dy sign 2019-09-27 02:25:38 +07:00
mittorn 7f3ee9ca71 input: merge touch support again. Fix m_ignore, fix EngineAppendMove 2019-09-27 02:19:03 +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
Alibek Omarov 25d8a94c1c engine: fix implicit declaration, remove dead MsgDev now, fix const modifier loss in host.c 2018-11-16 15:25:04 +03:00
Alibek Omarov a03aa3ddb3 Merge 4281 update 2018-10-28 00:39:29 +03:00
Alibek Omarov 90d2434bb0 platform: add Set/GetClipboardText calls. Remove unneeded SDL_SetHint call on Android, because Android does not use SDL anymore 2018-10-27 23:28:29 +03:00
Alibek Omarov 96e0167e47 platform: add GetMousePos, SetMousePos calls, fix typo 2018-10-27 23:28:29 +03:00
Alibek Omarov f26ac52102 Merge 4140 update 2018-06-11 14:04:50 +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 3f2a8f7704 Remove vid_mode. VID_GetModeString now returns only supported modes from SDL2 2018-04-29 09:21:23 +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 92c321848d Adapt input code to newer engine 2018-04-17 03:48:02 +03:00
Alibek Omarov 4189af8b50 Engine input port. Incomplete integration of touch, gamepad, evdev input 2018-04-14 02:42:41 +03:00