Commit Graph

79 Commits

Author SHA1 Message Date
Alibek Omarov
103a2fccaa sdl: vid: rework safegl option 2019-01-27 02:26:23 +03:00
Alibek Omarov
7205f2d4fa sound: sdl: use SDL_setenv for crossplatform 2019-01-13 18:19:35 +05:00
Alibek Omarov
9935e2c8d3 sound: sdl: set pulseaudio environment variables regardless of target OS, because PA is crossplatform 2019-01-07 04:09:55 +03:00
Alibek Omarov
80fc7209ed sound: move related function declarations to platform header. Remove unused. 2019-01-07 04:07:06 +03:00
mittorn
aed53c4fda Do not spam in console if vsync not availiable 2018-12-05 23:56:41 +07:00
a1batross
0964fb11e4 sdl: partially fix maximizing window on Windows 2018-11-29 21:43:51 +03:00
Alibek Omarov
1b9bfd8906 platform: sdl: fix compiling 2018-11-18 23:04:47 +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
25d8a94c1c engine: fix implicit declaration, remove dead MsgDev now, fix const modifier loss in host.c 2018-11-16 15:25:04 +03:00
Night Owl
d4e5e609af Do not break video subsystem initialization. 2018-11-05 15:39:00 +05:00
Alibek Omarov
a03aa3ddb3 Merge 4281 update 2018-10-28 00:39:29 +03:00
Alibek Omarov
de838ec5e8 rename backend files for great justice and consistency 2018-10-27 23:28: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
7390d11505 platform_sdl: adapt SDL backend code to new platform backends system 2018-10-22 00:28:24 +03:00
Alibek Omarov
216b4f4147 vid_sdl: fix incorrect video modes list length 2018-10-10 23:36:34 +03:00
Alibek Omarov
844b3a39a7 vid_sdl: fix GL_UpdateContext, fix window created outside screen if positions were negative 2018-10-10 20:01:54 +03: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
7cdead7bac Merge 4143 update 2018-06-12 12:18:14 +03:00
Alibek Omarov
f26ac52102 Merge 4140 update 2018-06-11 14:04:50 +03:00
lewa_j
43b746d2f8 Fix MinGW build 2018-05-13 23:25:51 +03:00
Alibek Omarov
0681209114 Remove useless host.type set, replace HOST_DEDICATED checks by Host_IsDedicated 2018-05-01 17:30:33 +03:00
Alibek Omarov
becd0eba03 Possibility to use dedicated version with SDL(it's used only by internal timer) 2018-05-01 17:30:33 +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
a3c90248a7 Remove unneeded argument in SDLash_KeyEvent. Remove copypasted code 2018-04-26 02:52:49 +03:00
Alibek Omarov
63513ec475 Small refactoring of EnableTextInput 2018-04-22 14:01:56 +03:00
Alibek Omarov
be4b885254 Merge common SDL port changes 2018-04-17 03:53:01 +03:00
Alibek Omarov
5744aa8d9e Add SDL sound backend 2018-04-17 03:44:53 +03:00
Alibek Omarov
fc7ed1ab75 Add SDL video backend 2018-04-17 03:44:17 +03:00