Commit Graph

26 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
Velaron 09ae961221 remove platform-specific macros 2020-08-24 21:22:02 +03:00
Velaron d015e97eae engine: client: m_rawinput support on windows 2020-08-24 21:22:02 +03:00
Velaron b4aecfbf23 engine: move some input code 2020-08-24 21:22:02 +03:00
mittorn 3e3aff040e platform: add Platfrom_Init, Platform_Shutdown, Platform_MouseMove move platform-specific code from host.c 2020-02-08 23:15:40 +07:00
mittorn 3a416636f1 engine: mark GAME_EXPORT's 2020-01-19 08:15:54 +07: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 62cdf2ae5b engine: input: hide SDL_ functions under XASH_SDL macro 2019-11-07 04:44:24 +03:00
Alibek Omarov 9d826016b0 engine: finish sdl1.2 port 2019-11-02 08:56:07 +03:00
Alibek Omarov 9e99a2bc37 engine: dirty sdl1.2 port 2019-11-02 08:56:07 +03:00
mittorn 2897e5f17e input: fix evdev macro 2019-10-26 06:53:24 +07:00
mittorn 803c396fa2 platform: new fbdev bakend, move in_evdev to bakends 2019-10-22 01:42:02 +07:00
Alibek Omarov c67f065d90 engine: client: explicitly cast literals to floats 2019-10-18 16:46:54 +03:00
mittorn 7770b1a82b input: improve touch emulation 2019-09-28 19:33:57 +07:00
mittorn 7f3ee9ca71 input: merge touch support again. Fix m_ignore, fix EngineAppendMove 2019-09-27 02:19:03 +07:00
Alibek Omarov 8bb6aa2c51 engine: don't include windows headers, as they globally included by port.h already 2019-08-09 02:46:29 +03:00
Alibek Omarov 6aa4765c3e engine: input: implement input devices collecting 2019-07-09 03:48:09 +03:00
Alibek Omarov 8385563bef engine: fix possible crash during exit 2019-03-30 01:29:40 +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 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 96e0167e47 platform: add GetMousePos, SetMousePos calls, fix typo 2018-10-27 23:28:29 +03:00
Alibek Omarov 6ba7781a61 input: various fixes: fix mistyped pitch/yaw, replace SDL_GetMouseState by SDL_GetRelativeMouseState, fix disabling mouse with -nomouse argument 2018-10-21 22:13:58 +03:00
Alibek Omarov 880d3de53a input: move evdev under m_ignore 2018-10-21 22:04:24 +03:00
Alibek Omarov da094fa04e input: provide a common function for collecting input from different sources 2018-10-11 00:04:23 +03:00
Alibek Omarov 40094f2867 Move client-only parts to client 2018-04-18 18:10:32 +03:00