Commit Graph

327 Commits

Author SHA1 Message Date
mittorn 114a256675 Implement XASH_LOW_MEMORY, memory-reduced configuration 2019-10-26 07:06:26 +07:00
Alibek Omarov 78baf568ae engine: more double promotion fixes 2019-10-18 16:46:54 +03:00
Alibek Omarov 531c6cc375 engine: server: explicitly cast literals to floats 2019-10-18 16:46:54 +03:00
Wei Mingzhi 88772a1c34 engine: GetGameDir should return gamedir only. Add proper stub functions for some engine APIs. 2019-10-07 16:08:10 +03:00
Alibek Omarov d382f6886d engine: fix build 2019-10-05 04:02:25 +03:00
Jonathan Poncelet 214f53b8a7 SV_DropClient: Prevented transmission to fake clients 2019-07-30 15:46:10 +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 a0cbac4fc7 engine: server: use generic SV_RejectConnection instead of directly sending errormsg 2019-07-13 20:59:43 +03:00
Alibek Omarov 3e4bd20919 engine: client: implement sending input devices list to server, using protinfo 2019-07-09 03:48:09 +03:00
Andrey Akhmichin 83953c7fb3 Port ip filter and partially useragent from old engine. 2019-07-09 03:48:09 +03:00
Alibek Omarov 54920f13df engine: rename library naming function, as it returns a full path and not just library name 2019-07-07 02:47:45 +03:00
Alibek Omarov 89a3fd6323 engine: make use of platform-unique library naming scheme 2019-07-01 05:50:04 +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
Jonathan Poncelet d14ce5ac39 SV_LoadProgs: Fixed potential memory leak if function failed (#46)
SV_LoadProgs: Fixed potential memory leak if function failed
2019-06-06 15:02:22 +03:00
Alibek Omarov 70d45f23de public: crclib now is part of public library 2019-06-06 04:33:57 +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 fe14a360b4 engine: fix fs_offset_t/size_t conversion, const qualifiers 2019-05-02 19:12:23 +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 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
mittorn bf2f829382 Disable Mod_ClearUserData in SV_UnloadProgs (it is still called on restart) 2019-03-17 21:26:38 +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 574f03c139 ref: initial engine to ref API draft, not compiling, work in progress [ci skip] 2019-02-24 18:45:44 +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 7b36796f41
Merge pull request #20 from x6herbius/improve-logging
Made various log messages more informative
2019-02-01 05:59:35 +00:00
Alibek Omarov 398d6007be Merge branch 'master' into resource 2019-01-30 22:14:13 +03:00
Alibek Omarov 4d63eb4413 sv_game: fix pfnSetModel theoretically may ignore precached models 2019-01-30 21:55:53 +03:00
Alibek Omarov cd30812607 sv_frame: fakeclients must be kicked on changelevel(GoldSrc compatibity) (port from Old Engine #b5b493) 2019-01-30 20:09:43 +03:00
mittorn 8b30a7631d
Merge branch 'master' into resource 2019-01-30 13:38:36 +00:00
mittorn 40574d9be0 Network extensions 2019-01-30 16:06:32 +07:00
mittorn 23af5dcaf1 In-game fragment size setting 2019-01-30 13:56:08 +07:00
mittorn a97d8c119b network: enable new netsplit, netsplit size settings 2019-01-30 03:44:48 +07:00
Jonathan Poncelet 35869586c9 Made various log messages more informative 2019-01-28 18:32:29 +00:00
mittorn 298393b653 Initial amd64 port 2018-12-05 23:57:05 +07:00
Alibek Omarov b9945d62a3 Apply 4312 update 2018-11-27 16:15:24 +03:00
Alibek Omarov 622de7a7f1 Apply 4312 update 2018-11-27 16:11:26 +03:00
Alibek Omarov f0d0861160 PhysicAPI: fix callback list initialization 2018-11-16 15:34:33 +03:00
Alibek Omarov a03aa3ddb3 Merge 4281 update 2018-10-28 00:39:29 +03:00
Alibek Omarov aae3510763 Apply 4281 update 2018-10-27 23:32:09 +03:00
mittorn 491188a0f3 Merge branch 'original' 2018-10-04 14:27:14 +07:00
mittorn 5c738b3402 Apply 4253 update 2018-10-04 13:08:48 +07: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 1e7f9d00c3 Apply 4150 update 2018-06-19 16:22:30 +03:00
Alibek Omarov 7cdead7bac Merge 4143 update 2018-06-12 12:18:14 +03:00
Alibek Omarov a539384a76 Apply 4143 update 2018-06-12 12:14:56 +03:00
Alibek Omarov f26ac52102 Merge 4140 update 2018-06-11 14:04:50 +03:00
Alibek Omarov 814b7eda07 Apply 4140 update 2018-06-09 01:28:35 +03:00
mittorn 817206815d reslist.txt support 2018-05-05 02:24:55 +07:00
mittorn 37aa201ed7 Fix memory leak 2018-05-05 01:20:46 +07:00
mittorn d3a0146b5a Fix sound downloading 2018-05-05 00:12:30 +07:00
mittorn 30771fefa6 Forbid download not precached files 2018-05-05 00:01:32 +07:00
Alibek Omarov ec6bfa2421 Let server physics simulate even when there is no players(GoldSrc behaviour) 2018-05-03 17:53:49 +03:00
Alibek Omarov 46a3e729db Fix collision being calculated on unlagged value for both players and bots. 2018-05-03 17:43:26 +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 dcc19aeafb Merge 4097 2018-04-26 03:23:00 +03:00
Alibek Omarov 9bab7d222a Apply 4097 update 2018-04-26 03:09:36 +03:00
Alibek Omarov efe8ddf151 Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong. 2018-04-23 23:07:54 +03:00
Alibek Omarov fd649905ea Fix some format warnings 2018-04-23 21:49:37 +03:00
Alibek Omarov bd4988e588 More _format() attribute 2018-04-23 21:37:35 +03:00
Alibek Omarov 4ef527a92d Print version by _sv_build_info server command 2018-04-23 21:36:59 +03:00
Alibek Omarov e8d13cd0d5 Rebrand from Xash3D to Xash3D FWGS. Add _format() attrubute to print-like functions 2018-04-23 21:36:33 +03:00
mittorn 8704c07e4b Merge branch 'original' 2018-04-21 13:44:06 +00:00
mittorn ab0bcc55f8 Apply Apr20 update 2018-04-21 08:06:55 +00:00
Alibek Omarov 314a6deba9 Remove gamedir[] from engine-side gameinfo_t 2018-04-21 01:22:00 +03:00
Alibek Omarov b7622e6009 Fix implicit function declaration. Fix struct declaration in parameter list 2018-04-21 00:05:08 +03:00
mittorn 926b909f3d Merge branch 'original' 2018-04-20 12:38:53 +00:00
mittorn db92c918b2 Apply Apr19 update 2018-04-20 08:41:02 +00:00
mittorn af7123f7dd Merge branch 'original' (except gldebug, msaa) 2018-04-19 20:47:41 +00:00
mittorn 050d2a3d0f Apply Apr18 update 2018-04-19 20:11:24 +00:00
Alibek Omarov 5d13112e25 Dedicated build 2018-04-18 18:32:30 +03:00
Alibek Omarov 7c9b724531 Implement dynamic library loading and symbol resolving 2018-04-17 03:43:27 +03:00
Alibek Omarov 136123eeb3 SV_BroadcastPrintf already defined in common.h. Remove definition from server.h. 2018-04-13 19:58:47 +03:00
Alibek Omarov 8d6e3b7f79 Pure engine source code(LF line endings, UTF8 encoded) 2018-04-13 19:23:45 +03:00