Commit Graph

308 Commits

Author SHA1 Message Date
mittorn ca3913cd88 fix windows build 2019-03-30 00:43:49 +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 17f719558c wscript: move build env setup to main wscript 2019-03-25 01:25:44 +03:00
Alibek Omarov 62f04137a5 engine: hide ref calls under Host_IsDedicated checks, replace ref function ptr checks by \!Host_IsDedicated 2019-03-22 18:41:57 +03:00
Alibek Omarov 5f849c4823 engine: bring back XASH_USE_SELECT. I need somehow disable this only on my work PC 2019-03-22 18:29:42 +03:00
Alibek Omarov b09242e41c engine: fix dedicated check 2019-03-22 18:26:44 +03:00
Alibek Omarov 26616314f8 engine: add initial support for MCST Elbrus 2019-03-22 18:21:47 +03:00
Alibek Omarov 1483b21f00 Merge branch '0.20-renderdll' 2019-03-22 18:19:13 +03:00
Alibek Omarov 743c5ca8d5 engine: make dedicated work again 2019-03-22 16:47:52 +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 6a6f341c07
Merge pull request #22 from FWGS/netsplit
Extended netsplit, network extensions
2019-03-21 17:23:49 +03:00
Alibek Omarov f3a2f46fb3 wscript: remove libm linking to static public, it's useless. Correct include path order 2019-03-20 02:40:47 +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 0a22040c6e Fix SpriteTexture 2019-03-17 23:41:11 +07:00
mittorn c55b7dcda7 ref: simplify efx api, move efrags to engine 2019-03-17 23:14:53 +07:00
mittorn 78f8932313 Fill client RenderAPI 2019-03-17 21:58:26 +07:00
mittorn f00181223f Remove duplicate R_ClearScene 2019-03-17 21:56:29 +07:00
mittorn bf2f829382 Disable Mod_ClearUserData in SV_UnloadProgs (it is still called on restart) 2019-03-17 21:26:38 +07:00
mittorn 297ca08e81 ref: replace model (un)loading by Mod_ProcessRenderData 2019-03-17 21:19:24 +07:00
mittorn 8339096ad8 ref: Improve model unloading, fix texture leak 2019-03-17 18:26:57 +07:00
mittorn 00ce909fc8 Setup renderer time 2019-03-16 18:51:30 +07:00
mittorn aabf5f5621 ref: remove convar_t from renderer, disable engine-related definitions in mod_local 2019-03-16 18:15:05 +07:00
mittorn 9c6352ec57 ref: move tracer color cvars to ref 2019-03-16 17:49:07 +07:00
mittorn 7382fc7c49 mobility: add stub for touch (hlsdk-xash3d compatibility 2019-03-16 17:48:12 +07:00
mittorn 5fa9632ec0 fix studiomodel textures 2019-03-16 17:24:32 +07:00
mittorn 57320c0c25 ref: get rid of vidState, add GL_SwapBuffers to engine exports 2019-03-16 11:58:44 +07:00
mittorn 31ab710485 Fix sprite loading 2019-03-16 11:27:15 +07:00
mittorn 4247af8fa8 Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone 2019-03-16 11:18:43 +07:00
Alibek Omarov e5000742f1 ref: context creating prototype, not working yet 2019-03-16 05:15:32 +03:00
Alibek Omarov 971f9b6de5 ref: fix compiling errors 2019-03-16 04:24:27 +03:00
Alibek Omarov 199ebfed48 ref: implement engine ref API 2019-03-16 04:17:56 +03: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 234507b7f1 ref: fix all undefined references 2019-03-11 17:37:58 +03:00
Alibek Omarov d0d5fd1a3f ref: fix some undefined references, compile-in mathlib and crtlib to refdll 2019-03-06 17:14:25 +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
mittorn 8b5c5826a8 legacymode: prevent dropping from server when fps too high 2019-02-24 02:48:53 +07:00
Alibek Omarov e193ac2c04 ref: more @mittorn's changes on RefAPI 2019-02-23 21:49:46 +03:00
Alibek Omarov 2c17dce25b wscript: check for dedicated or singlebinary before recurse into subdirectory, add a chance to skip some subprojects on configuration stage 2019-02-19 17:49:09 +03:00
Alibek Omarov 1b372115a5 wscript: move options to subgroups, reorder option plugins loading 2019-02-19 16:33:14 +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
mittorn 2b1ed2b20a
Merge branch 'master' into netsplit 2019-02-08 07:59:52 +00:00
mittorn f7c60ea9d1 vbo: Fix return value 2019-02-07 04:58:18 +07:00
mittorn 119b458b0f vbo: optimize buffer usage, fix some rendermodes 2019-02-07 04:35:42 +07:00
mittorn d913ef0fc4 Port r_studio_drawelements render 2019-02-07 02:36:34 +07:00
mittorn bccc0e63d5 Port VBO world renderer 2019-02-07 00:40:38 +07:00