Alibek Omarov
a7c422fde6
engine: platform: make Platform_SetTimer static inline to not fix unused-function
11 months ago
Alibek Omarov
ae9c1d9f18
engine: remove single-binary option. Now platforms that don't need external launcher, shall set env.DISABLE_LAUNCHER
1 year ago
mittorn
b4a7c266b5
platform/linux: implement debug timers and cl_maxframetime to catch very long frames on debugger
1 year ago
Alibek Omarov
71b06801ef
engine: platform: android: remove dead code
1 year ago
Alibek Omarov
597429cf41
engine, filesystem: unify GetNativeObject between all the APIs. Allow getting filesystem APIs through GetNativeObject
1 year ago
Alibek Omarov
ce39255ef0
engine: host: set rootdir on Android SDL port
1 year ago
Alibek Omarov
680ecfefab
engine: platform: pass desired window mode through R_ChangeDisplaySettings
1 year ago
Alibek Omarov
16c87ae2c9
engine: platform: reorganize UpdateStatusLine, make it shared but implemented only if platform has SetStatus. Implement SetStatus for systemd/Linux
2 years ago
Alibek Omarov
c16a10e6f3
engine: platform: refactor Platform_Init/Shutdown/GetNativeObject functions. They are now defined in the header, and call platform-specific functios that defined in platform code
2 years ago
Alibek Omarov
d2237fa144
engine: platform: android: merge new SDL2 based Android port from @Velaron's tree
2 years ago
Alibek Omarov
ef663a8790
engine: partially remove legacy Android port, in preparation of new port merge
2 years ago
Alibek Omarov
6e27926a10
engine: simplify XASH_USE_EVDEV macro usage by giving it's defined positive value
2 years ago
SNMetamorph
e3103249f4
engine: platform: psvita: added developer mode button to launcher
2 years ago
fgsfds
fe3f15ad33
engine: input: psvita: reimplement OSK manually
2 years ago
fgsfds
7424b29e56
engine: initial psvita build support
2 years ago
fgsfds
25a1cb8ce7
Nintendo Switch support (again)
2 years ago
Alibek Omarov
0a49e69818
engine: introduce Sys_DebugBreak function to raise an exception for debugger
2 years ago
Alibek Omarov
0d7a2e7bad
engine: platform: change capture API to allow locking/unlocking buffer to prevent race condition, use single function for pause
2 years ago
Alibek Omarov
22ff45f5d0
engine: platform: add audio capture shutdown functions
2 years ago
Velaron
2b9e050f57
engine: voice support
2 years ago
SNMetamorph
cfcd58dd78
engine: client: extended VGUI API interface
3 years ago
SNMetamorph
d3e213aa1b
engine: platform: added Platform_GetKeyModifiers
3 years ago
SNMetamorph
26e09c240a
engine: platform: added Platform_SetCursorType
3 years ago
SNMetamorph
15eb6808c4
engine: platform: updated clipboard read/write functions
3 years ago
SNMetamorph
22815d2784
engine: server: sv_main: added status line for dedicated server console
3 years ago
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.
4 years ago
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:]]\+$//' {} \+
```
4 years ago
mittorn
3e3aff040e
platform: add Platfrom_Init, Platform_Shutdown, Platform_MouseMove move platform-specific code from host.c
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
Alibek Omarov
aa6674b032
engine: support compiling with gcc3
5 years ago
Alibek Omarov
9d826016b0
engine: finish sdl1.2 port
5 years ago
mittorn
803c396fa2
platform: new fbdev bakend, move in_evdev to bakends
5 years ago
Alibek Omarov
dc207a449c
engine: fix -Werror=strict-prototypes
5 years ago
mittorn
7f3ee9ca71
input: merge touch support again. Fix m_ignore, fix EngineAppendMove
5 years ago
Alibek Omarov
b2895770b8
platform: remove unneeded argument from SNDDMA_Init
6 years ago
Alibek Omarov
3fef353291
android: initial port
6 years ago
Alibek Omarov
1a700fd06b
platform: move MSGBOX implementation to platform backends
6 years ago
Alibek Omarov
e3e2f3afe5
platform: move Sys_ShellExecute implementation to platform backends
6 years ago
mittorn
d5b6ccb3e2
ref: REF_SOFTWARE support with SDL_Surface/SDL_Renderer
6 years ago
Alibek Omarov
92b89936b3
ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs
6 years ago
Alibek Omarov
e5000742f1
ref: context creating prototype, not working yet
6 years ago
Alibek Omarov
234507b7f1
ref: fix all undefined references
6 years ago
Alibek Omarov
80fc7209ed
sound: move related function declarations to platform header. Remove unused.
6 years ago
Alibek Omarov
7c772d6bfd
engine: rework timer stuff, move to platform. Move debugger present checks to platform
6 years ago
Alibek Omarov
90d2434bb0
platform: add Set/GetClipboardText calls. Remove unneeded SDL_SetHint call on Android, because Android does not use SDL anymore
6 years ago
Alibek Omarov
96e0167e47
platform: add GetMousePos, SetMousePos calls, fix typo
6 years ago
Alibek Omarov
265f79fc72
platform: add GetNativeObject call
6 years ago
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.
6 years ago