Alibek Omarov
0a49e69818
engine: introduce Sys_DebugBreak function to raise an exception for debugger
2022-11-10 12:10:48 +03:00
Alibek Omarov
0d7a2e7bad
engine: platform: change capture API to allow locking/unlocking buffer to prevent race condition, use single function for pause
2022-08-31 06:50:06 +03:00
Alibek Omarov
22ff45f5d0
engine: platform: add audio capture shutdown functions
2022-08-20 03:17:51 +03:00
Velaron
2b9e050f57
engine: voice support
2022-08-18 04:46:11 +03:00
SNMetamorph
cfcd58dd78
engine: client: extended VGUI API interface
2022-05-02 03:29:24 +03:00
SNMetamorph
d3e213aa1b
engine: platform: added Platform_GetKeyModifiers
2022-05-02 03:29:24 +03:00
SNMetamorph
26e09c240a
engine: platform: added Platform_SetCursorType
2022-05-02 03:29:24 +03:00
SNMetamorph
15eb6808c4
engine: platform: updated clipboard read/write functions
2022-05-02 03:29:24 +03:00
SNMetamorph
22815d2784
engine: server: sv_main: added status line for dedicated server console
2022-04-06 15:17:15 +03:00
Alibek Omarov
a93d9ac71c
engine: platform: simplify sound code
...
Remove SNDDMA_GetSoundtime, because it was mostly copypasted from one
platform code to another.
SNDDMA_GetDMAPos gets removed too, as we have dma.samplepos for that.
2021-03-10 00:16:13 +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
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
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
aa6674b032
engine: support compiling with gcc3
2019-11-02 08:56:07 +03:00
Alibek Omarov
9d826016b0
engine: finish sdl1.2 port
2019-11-02 08:56:07 +03:00
mittorn
803c396fa2
platform: new fbdev bakend, move in_evdev to bakends
2019-10-22 01:42:02 +07:00
Alibek Omarov
dc207a449c
engine: fix -Werror=strict-prototypes
2019-10-05 02:09:45 +03:00
mittorn
7f3ee9ca71
input: merge touch support again. Fix m_ignore, fix EngineAppendMove
2019-09-27 02:19:03 +07:00
Alibek Omarov
b2895770b8
platform: remove unneeded argument from SNDDMA_Init
2019-07-12 22:42:13 +03:00
Alibek Omarov
3fef353291
android: initial port
2019-05-02 18:07:03 +03:00
Alibek Omarov
1a700fd06b
platform: move MSGBOX implementation to platform backends
2019-05-01 19:44:48 +03:00
Alibek Omarov
e3e2f3afe5
platform: move Sys_ShellExecute implementation to platform backends
2019-05-01 19:21:47 +03:00
mittorn
d5b6ccb3e2
ref: REF_SOFTWARE support with SDL_Surface/SDL_Renderer
2019-04-11 22:19:08 +07:00
Alibek Omarov
92b89936b3
ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs
2019-03-22 16:36:46 +03:00
Alibek Omarov
e5000742f1
ref: context creating prototype, not working yet
2019-03-16 05:15:32 +03:00
Alibek Omarov
234507b7f1
ref: fix all undefined references
2019-03-11 17:37:58 +03:00
Alibek Omarov
80fc7209ed
sound: move related function declarations to platform header. Remove unused.
2019-01-07 04:07:06 +03:00
Alibek Omarov
7c772d6bfd
engine: rework timer stuff, move to platform. Move debugger present checks to platform
2018-11-16 16:32:16 +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
265f79fc72
platform: add GetNativeObject call
2018-10-22 00:21:05 +03:00
Alibek Omarov
25f07ddb97
platform: introduce common header for platform-dependent functions. To keep clean code and engine platform-agnostic, now including headers from platform folder, except this one, is strictly prohibited.
2018-10-21 23:52:14 +03:00