2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-11 13:29:12 +01:00
Commit Graph

156 Commits

Author SHA1 Message Date
2e2a716710 ref_api: fix remap code 2020-01-30 07:15:23 +07:00
22dc5b7416 Merge branch 'lib' of https://github.com/FWGS/xash3d-fwgs 2020-01-18 07:15:45 +07:00
0fe18ae6dc engine: fix -Wmaybe-uninitialized 2019-12-24 02:47:51 +03:00
e11a08064d engine: fix implicit-fallthrough, uninitialized, enum-conversation compiler diagnostics 2019-12-23 06:48:17 +03:00
ac75bdf2d4 ref_gl: update gl-wes-v2 submodule 2019-12-01 01:42:27 +03:00
c07109e69c engine: fix -Wincompatible-pointer-types, add it to Werror list 2019-11-28 19:18:50 +03:00
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
177f8ed653 platform: introduce lib backends, add static linking, wscript: add optional projects support, add static linking support, scripts: add xshlib for advanced linking options 2019-11-18 03:31:55 +07:00
09203dc512 ref_gl: temporarily fix water drawing on GLES 2019-11-17 18:51:39 +03:00
3c3d5d472e ref_gl: bring back glDrawRangeElements support 2019-11-17 18:51:03 +03:00
0cb591821a Merge sdl12-port into master 2019-11-06 22:29:04 +03:00
15924aebaa xash3d-fwgs: check if HAVE_TGMATH_H is set to positive value rather it's just defined 2019-11-05 01:41:35 +03:00
79adaa11e0 lowmemory: merge 2019-11-05 01:15:31 +03:00
d2740f78c1 wscript: refactoring, add waf_unit_test, disable -Wdouble-promotion, rename fast as fastnative and leave fast without -march=native for x-compiling 2019-11-05 01:01:33 +03:00
1365020302 ref: add enum for screen rotation 2019-11-04 20:27:46 +07:00
aa6674b032 engine: support compiling with gcc3 2019-11-02 08:56:07 +03:00
5e8373fa46 engine: slightly update RefAPI 2019-11-02 08:56:07 +03:00
0dd91ceda2 xash3d-fwgs: append missing new line at the end of file 2019-11-02 08:56:07 +03:00
7f6395fa7d ref: display transformation API 2019-10-31 01:36:07 +07:00
1decb1c7fb xash3d-fwgs: append missing new line at the end of file 2019-10-27 22:29:03 +03:00
78baf568ae engine: more double promotion fixes 2019-10-18 16:46:54 +03:00
1218f4aeb6 ref_gl: explicitly cast literals to floats 2019-10-18 16:46:54 +03:00
49a133514a ref_gl: fix wrong type 2019-10-18 07:51:11 +03:00
1e7abdc144 wscript: fix ref_gl linking 2019-10-11 04:21:35 +03:00
ae624801ac wscript: proper default showing in help 2019-10-11 03:46:17 +03:00
8889bda261 wscript: use ConfigurationContext.define instead of appending to env['DEFINES'] 2019-10-11 03:42:20 +03:00
a5fa4df37c ref_gl: fix wrong texture resampling condition 2019-10-10 06:02:26 +03:00
ddf070b63d ref_gl: fix build 2019-10-06 06:55:16 +03:00
73516eea4c ref_gl: update glwesv2 submodule 2019-10-05 03:34:52 +03:00
dc207a449c engine: fix -Werror=strict-prototypes 2019-10-05 02:09:45 +03:00
94d0c78913 ref_gl: update gles2 wrapper 2019-09-28 21:17:16 +03:00
34463dcddc ref_gl: fix glConfig.max_texture_units when GL_MAX_TEXTURE_UNITS_ARB query not supported 2019-09-28 21:13:38 +07:00
6e95e19589 submodules: update 2019-09-25 04:09:48 +03:00
8323df240b engine: implement menu extensions to allow choosing renderers from GUI 2019-08-09 04:44:50 +03:00
a1ae770f70 engine: ref: add optional export to determine actual human readable renderer name 2019-08-09 03:39:24 +03:00
24adb6e3e0 ref_gl: update wrappers 2019-08-08 05:57:33 +03:00
d992f8525b ref_gl: enable VBO for GLES targets, slightly refactor extensions checking, fix UB when initializing glwes 2019-08-08 05:53:34 +03:00
5cfe9ef181 ref_gl: update gles1 and gles2 wrappers 2019-07-29 05:35:34 +03:00
fce0ef6ad2 ref_gl: change gl_round_down flag, remove executing configs, implement GetConfigName call 2019-07-28 00:26:56 +03:00
8f9800eb3c ref: move R_DrawTree from refdll to engine, implement using ref's triapi 2019-07-27 13:27:40 +03:00
2f8fec6b70 Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever. 2019-07-19 20:23:08 +03:00
4beba75159 engine: fix various compiler warnings 2019-07-13 23:25:03 +03:00
2d48e73f9d ref_gl: fix compiler warning, most useful commit 2019-07-11 03:59:39 +03:00
511d728337 ref_gl: remove unused static function 2019-07-09 04:52:40 +03:00
771c09226e ref_gl: patched to compile 2019-07-09 03:48:09 +03:00
2202e13a61 ref_gl: fix #52 2019-07-07 00:17:03 +03:00
8320f0598f Merge 4529 update 2019-07-02 23:44:42 +03:00
3ae7ecaeb3 engine: patched to compile, moved gl_clear to engine 2019-06-17 08:37:34 +03:00
f2c927906f Merge 4511 update 2019-06-17 07:36:46 +03:00
76dae35955 ref: remove COM_HashKey API call 2019-06-06 04:34:28 +03:00
b146f495fc Add gl-wes-v2 and nanogl submodules 2019-05-28 04:15:23 +03:00
b797e0af1a Merge 4483 update 2019-05-25 02:44:24 +03:00
fe464af3ff
ref_gl: fix msvc build 2019-05-23 22:10:35 +03:00
2e953bd1a9 ref_api: remove GL_OnContextCreated, remove return value of GL_RenderFrame 2019-05-12 18:02:59 +03:00
bb8ba4225c ref_gl: show r_info after loading extensions, add GL_GetProcAddress call 2019-05-12 03:04:26 +03:00
55c3040db1 ref_gl: fix unaligned access in sprites 2019-05-12 03:02:01 +03:00
fe14a360b4 engine: fix fs_offset_t/size_t conversion, const qualifiers 2019-05-02 19:12:23 +03:00
3fef353291 android: initial port 2019-05-02 18:07:03 +03:00
25235b5296 ref_gl: remove Mod_SetCurrentLoadingModel call 2019-04-17 06:42:34 +07:00
7d8b63fd88 ref: get rid of R_IncrementSpeedsCounter 2019-04-15 02:17:43 +03:00
5be982cc72 ref: remove shared textures enum, instead use hardcoded texture names 2019-04-15 01:43:43 +03:00
2d968cf328 ref: remove unused GL_BuildLightmaps export 2019-04-15 01:20:15 +03:00
4d9563ea03 ref: make api thinner by removing IsNormalPass and moving CL_FxBlend to refdll 2019-04-15 01:19:05 +03:00
20c7c36996 ref_gl: remove dead WGL extensions 2019-04-13 19:39:49 +03:00
228dab5965 ref_gl: move GLES and GL_STATIC defintions to gl_export.h. Add REF_GL_KEEP_MANGLED_FUNCTIONS, to keep use pgl instead of re-defining everything to gl. Used in conjuction with GL_STATIC 2019-04-13 19:39:22 +03:00
4b955a320b ref_gl: allow gldebug for GL_STATIC. Rewrite extension querying for GLES. Allow gldebug for GLES(using GL_KHR_debug). ref_gles1 through nanogl now works 2019-04-13 19:38:41 +03:00
46378e3738 ref_gl: fix build 2019-04-11 01:41:52 +03:00
968994bba5 ref_gl: add an option to disable ref_gl building 2019-04-11 01:26:33 +03:00
459f4a9788 scripts: waflib: introduce new waf plugin -- subproject, which makes easier use of standalone envs for each subdirectory 2019-04-11 00:15:48 +03:00
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
77b23eec9f ref_gl: add options for linking-in nanogl and glwes(thus getting GLES1 and GLES2 renderers) and static gl 2019-03-30 03:10:43 +03:00
f4bcea6182 ref_gl: don't use dxt on gles 2019-03-30 03:09:07 +03:00
ea6a86a83d ref_gl: bring back GL_STATIC option 2019-03-30 03:08:44 +03:00
47879942bb ref_gl: remove dead extensions from GLES code 2019-03-30 03:07:52 +03:00
8b5926f9b1 ref_gl: fix alpha in menu (and anywhere else where triColor4ub is used) 2019-03-28 18:17:58 +03:00
17f719558c wscript: move build env setup to main wscript 2019-03-25 01:25:44 +03:00
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
59f3b63e0a ref_gl: wscript: fix libm linking 2019-03-21 17:31:18 +03:00
402a596415 ref: add EXPORT to GetRefAPI, so MSVC will create *.lib file and not confuse waf or dynamic linker 2019-03-20 02:42:44 +03:00
f3a2f46fb3 wscript: remove libm linking to static public, it's useless. Correct include path order 2019-03-20 02:40:47 +03:00
121c72c9e0 Merge origin/master into ref_dll 2019-03-20 02:38:13 +03:00
7e08104631 ref_gl: fixes for MSVC 2019-03-20 01:20:58 +03:00
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
34da3e0ccd ref: clear draw entities when clearing edicts 2019-03-18 00:56:38 +07:00
0a22040c6e Fix SpriteTexture 2019-03-17 23:41:11 +07:00
c55b7dcda7 ref: simplify efx api, move efrags to engine 2019-03-17 23:14:53 +07:00
297ca08e81 ref: replace model (un)loading by Mod_ProcessRenderData 2019-03-17 21:19:24 +07:00
8339096ad8 ref: Improve model unloading, fix texture leak 2019-03-17 18:26:57 +07:00
3d39d78e53 ref: fix hud sprites 2019-03-16 19:21:32 +07:00
aabf5f5621 ref: remove convar_t from renderer, disable engine-related definitions in mod_local 2019-03-16 18:15:05 +07:00
9c6352ec57 ref: move tracer color cvars to ref 2019-03-16 17:49:07 +07:00
db78726656 ref: implement ASSERT macro 2019-03-16 17:23:41 +07:00
57320c0c25 ref: get rid of vidState, add GL_SwapBuffers to engine exports 2019-03-16 11:58:44 +07:00
31ab710485 Fix sprite loading 2019-03-16 11:27:15 +07:00
4247af8fa8 Reduce engine dependencies. crtlib/mathlib/matrixlib now can be built standalone 2019-03-16 11:18:43 +07:00
e5000742f1 ref: context creating prototype, not working yet 2019-03-16 05:15:32 +03:00
971f9b6de5 ref: fix compiling errors 2019-03-16 04:24:27 +03:00
199ebfed48 ref: implement engine ref API 2019-03-16 04:17:56 +03:00
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
234507b7f1 ref: fix all undefined references 2019-03-11 17:37:58 +03:00