Commit Graph

81 Commits

Author SHA1 Message Date
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 c613118199 defaults: refactoring, remove XASH_FBDEV macro, remove dead macros(DEFAULT_CON_MAXFRAC and DEFAULT_SV_FORCESIMULATING) 2019-11-24 03:01:50 +03:00
Alibek Omarov 755db4d56b backends: reformat 2019-11-24 03:00:35 +03:00
Alibek Omarov 0cb591821a Merge sdl12-port into master 2019-11-06 22:29:04 +03:00
Alibek Omarov 79adaa11e0 lowmemory: merge 2019-11-05 01:15:31 +03:00
mittorn 6953e829c4 lowmemory: prevent redefines 2019-11-04 22:34:08 +07:00
mittorn 0e7013eeb0 lowmemory: tune XASH_LOW_MEMORY=1 not breaking multiplayer 2019-11-04 19:58:45 +07:00
Alibek Omarov 90038d2924 common: fix broken build 2019-11-02 08:56:07 +03:00
Alibek Omarov aa6674b032 engine: support compiling with gcc3 2019-11-02 08:56:07 +03:00
Alibek Omarov 7f1dd248c2 backends: add XASH_MESSAGEBOX to specify messagebox platform implementation 2019-11-02 08:56:07 +03:00
Alibek Omarov 9e99a2bc37 engine: dirty sdl1.2 port 2019-11-02 08:56:07 +03:00
Alibek Omarov 0dd91ceda2 xash3d-fwgs: append missing new line at the end of file 2019-11-02 08:56:07 +03:00
mittorn cb8e0a50bc lowmemory: reduce MAX_QPATH 2019-10-29 11:30:57 +07:00
Alibek Omarov 1decb1c7fb xash3d-fwgs: append missing new line at the end of file 2019-10-27 22:29:03 +03:00
mittorn 114a256675 Implement XASH_LOW_MEMORY, memory-reduced configuration 2019-10-26 07:06:26 +07:00
mittorn 23956a0b82 platform: alsa support 2019-10-25 09:04:52 +07:00
mittorn 803c396fa2 platform: new fbdev bakend, move in_evdev to bakends 2019-10-22 01:42:02 +07:00
Alibek Omarov 148846c02d common: explicitly cast literals to floats 2019-10-18 16:46:54 +03: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 37f9c25212 port: include winsock2 explicitly, so winsock1 would not be included with windows.h 2019-08-09 02:28:28 +03:00
Alibek Omarov 4b163e6d30 engine: hide FCVAR_RENDERINFO from renderdll, remove OpenGLConfigHack from engine functions, add GetConfigName to renderdll functions 2019-07-28 00:13:40 +03:00
Alibek Omarov 147c702f2f defaults: specify two default renderers, one is accelerated, second is software 2019-07-28 00:10:55 +03:00
Alibek Omarov 2f8fec6b70 Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever. 2019-07-19 20:23:08 +03:00
Alibek Omarov 4beba75159 engine: fix various compiler warnings 2019-07-13 23:25:03 +03:00
Alibek Omarov 4e4a9827b1 defaults: remove dead macro 2019-07-13 19:49:27 +03:00
Alibek Omarov b8c0d7f59e port: clean-up old port header 2019-07-01 05:50:54 +03:00
Alibek Omarov 0579ecd30f engine: check if client.dll linked to SDL2.dll (#37) 2019-06-29 23:56:50 +03:00
Alibek Omarov e9f26fe29d port: don't define XASH_64BIT, as it defined by waf 2019-06-17 08:37:51 +03:00
Alibek Omarov f2c927906f Merge 4511 update 2019-06-17 07:36:46 +03:00
Alibek Omarov b16529cc65 Apply 4511 update 2019-06-17 07:05:36 +03:00
Alibek Omarov 4000654deb
engine: port: disable ARCH_SUFFIX set to "64" for 64-bit platforms, it would replaced with new library naming scheme in near future 2019-05-29 19:53:48 +03:00
Alibek Omarov b797e0af1a Merge 4483 update 2019-05-25 02:44:24 +03:00
Alibek Omarov c215b89923 Apply 4483 update 2019-05-19 15:01:23 +03:00
Alibek Omarov 90e4fbed31 port.h: temporarily disable hardfp postfix 2019-05-12 03:00:50 +03:00
Alibek Omarov ab7a67464b engine: fix long<->int conversion UBs 2019-05-02 19:05:09 +03:00
Alibek Omarov 3fef353291 android: initial port 2019-05-02 18:07:03 +03:00
Alibek Omarov e3e2f3afe5 platform: move Sys_ShellExecute implementation to platform backends 2019-05-01 19:21:47 +03:00
Alibek Omarov d62a12dd9a ref: allow to use shortened name when specifying -ref in command line 2019-04-14 22:04:32 +03:00
Alibek Omarov 441795943b ref_gl: move gl specific defines out from defaults.h, remove VIDEO_DONTCARE hack, automatically set XASH_GLES if wrapper is set 2019-04-04 23:13:17 +03:00
Alibek Omarov 6c006e087d common: don't use SDL headers and types in refdll, if for some reason dll wants it 2019-03-30 03:06:23 +03: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 4880ca3ca2 engine: move EXPORT definition to xash3d_types 2019-03-20 02:38:37 +03:00
Alibek Omarov 121c72c9e0 Merge origin/master into ref_dll 2019-03-20 02:38:13 +03:00
Alibek Omarov 7aa7f4dbbd engine: fix broken win32 types after moving more definitions to xash3d_types.h 2019-03-20 01:18:26 +03:00
Alibek Omarov fb6fd61cd9 public: initial moving some common code into static public library, that can be linked to any engine part 2019-03-20 01:17:46 +03:00
mittorn 4247af8fa8 Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone 2019-03-16 11:18:43 +07:00
Alibek Omarov 97aba69ed0 ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references 2019-03-15 21:23:59 +03:00
Alibek Omarov e7234bada2 ref: now it compiles, not linking yet. ref_api header moved to engine/ to clarify, that it's sort of engine internals 2019-03-06 16:23:33 +03:00
mittorn 437ba6d7a2 ref:Fix some clgame, world and renderapi usages, import renderapi funcs from engine 2019-02-27 06:23:03 +07:00
Alibek Omarov 574f03c139 ref: initial engine to ref API draft, not compiling, work in progress [ci skip] 2019-02-24 18:45:44 +03:00