Commit Graph

1538 Commits

Author SHA1 Message Date
Владислав Сухов c9e4912a2a client: backport con_fontnum from old engine 2021-10-12 13:43:23 +03:00
Alibek Omarov e5e1570aed public: redeclare ParseFile flags to be exactly same as in exported API headers 2021-10-08 17:31:32 +03:00
Alibek Omarov 621399c49b engine: add safe ParseFile to client MobilityAPI 2021-10-08 17:31:32 +03:00
Alibek Omarov c3684109bf mainui: update 2021-10-08 17:31:32 +03:00
Alibek Omarov f3fedbfdba engine: add safe ParseFile to menu extended API 2021-10-08 17:31:32 +03:00
Alibek Omarov 29a8bfb1dc engine: common: fix ParseFile calls 2021-10-08 17:31:32 +03:00
Alibek Omarov 004e190435 engine: common: test ParseFile length return value 2021-10-08 17:31:32 +03:00
Alibek Omarov 378c4f30f3 public: ParseFile drops const qualifier, return -1 length on overflow
As we usually put allocated data to ParseFile, we don't need const qualifier
2021-10-08 17:31:32 +03:00
Alibek Omarov a8c877c841 engine: server: fix ParseFile calls 2021-10-08 17:31:32 +03:00
Alibek Omarov 8ce448cc77 ref_gl: fix ParseFile calls 2021-10-08 17:31:32 +03:00
Alibek Omarov 4ba95277b9 engine: client: fix ParseFile calls 2021-10-08 17:31:32 +03:00
Alibek Omarov cce7c7d782 public: declare unsafe ParseFile as ParseFileLegacy 2021-10-08 17:31:32 +03:00
Alibek Omarov 9e5d5e0ea3 public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking 2021-10-08 17:31:32 +03:00
Alibek Omarov a235bec5f1 engine: introduce COM_ParseFileSafe, add tests 2021-10-08 17:31:32 +03:00
Alibek Omarov a3a8acfe6c engine: sound: add DSP coeffecients table from Half-Life Alpha, minor fixes to DSP code 2021-10-04 05:43:35 +03:00
Alibek Omarov 9e4e9cab04 engine: restore optional upscaling depending on SOUND_DMA_SPEED value :) 2021-10-04 05:43:35 +03:00
SNMetamorph e4ad8def0d engine: filesystem: fixed current directory changing for Windows 2021-10-03 12:28:59 +03:00
SNMetamorph ec95948b69 engine: server: implemented instant game library loading 2021-10-03 04:38:05 +03:00
Alibek Omarov ef6ff3cfa6 mainui: update 2021-10-03 04:26:56 +03:00
Alibek Omarov 7bcfce5a7a ref_gl: use GCC provided offsetof implementation 2021-10-03 04:26:40 +03:00
Alibek Omarov 08c04200fb engine: use GCC provided offsetof implementation 2021-10-03 04:26:22 +03:00
Alibek Omarov 8bbd0d5119 ci: let's have a copy of original uploadtool instead of unsafe curl | sh 2021-10-03 03:53:06 +03:00
Alibek Omarov ade0fd4afa ci: stop generating vc2008 project files
If somebody needs them, they can revert this comment and send a PR
Or better use official msvs.py tool
2021-10-02 04:05:52 +03:00
Alibek Omarov ed7ed818bb Add .gitattributes to enforce Git write normal human file endings and show pretty diffs for C and Python 2021-10-02 03:47:32 +03:00
Alibek Omarov 91f845c335 engine: client: fix paused icon drawn when levelshots are disabled 2021-09-30 16:43:21 +03:00
Alibek Omarov 81ef12be9e Revert "ci: adding pvs-studio checking"
This reverts commit bd4979f5b0.
2021-09-30 16:38:32 +03:00
Alibek Omarov 2aafe9df9f Revert "ci: try to create license file by ourselves"
This reverts commit dd90262db2.
2021-09-30 16:38:29 +03:00
Alibek Omarov 3b933eabf5 engine: make test assert failure more pretty 2021-09-30 15:59:14 +03:00
Alibek Omarov f5ccf093d6 scripts: waifulib: fix build with sanitizers on 2021-09-30 15:58:50 +03:00
Alibek Omarov fe0da74e75 engine: fix build with tests on 2021-09-30 15:58:32 +03:00
Alibek Omarov 2939ab8ea4 wscript: allow compiling with disabled warning-as-error 2021-09-06 00:04:27 +03:00
Alibek Omarov dd90262db2 ci: try to create license file by ourselves 2021-08-27 18:48:48 +03:00
Alibek Omarov 4f8e4b5f64 mainui: update 2021-08-27 18:23:38 +03:00
Alibek Omarov 32068d8090 client: fix wrong paused icon 2021-08-27 18:09:07 +03:00
Alibek Omarov bd4979f5b0 ci: adding pvs-studio checking 2021-08-27 17:55:33 +03:00
Alibek Omarov a5e1e9646c mainui: update 2021-08-27 17:47:37 +03:00
Alibek Omarov 013918a371 console: redefine con_color as cvar 2021-08-27 17:05:02 +03:00
Владислав Сухов 1b20694a1c ci: Fix missing extras in android builds 2021-08-06 13:06:44 +03:00
SNMetamorph 2db6ad2c8a ref_gl: fixed GL_CheckForErrors doesn't print error message 2021-08-01 22:28:24 +03:00
SNMetamorph 8c351d9255 engine: client: made pfnSPR_Load and pfnSPR_Frames functions as exported 2021-07-31 13:47:43 +03:00
SNMetamorph c4ef42009c engine: client: fixed height argument writing in Con_DrawStringLen 2021-07-31 01:23:56 +03:00
SNMetamorph 8d5426cdcd utils: mdldec: fix of masked_solid texture flag 2021-07-29 13:17:38 +03:00
Alibek Omarov 7b8ec0ad4b engine: server: fix another const qualifier lose 2021-07-20 17:09:16 +03:00
Alibek Omarov 901e52615b engine: fix Com_ParseFile call 2021-07-20 16:26:17 +03:00
Alibek Omarov 88ce5fd0b6 engine: modify NetAPI to follow const qualifiers 2021-07-20 16:10:32 +03:00
Alibek Omarov 588dede2a2 ref_soft: fix pointer-to-int casts 2021-07-20 16:03:35 +03:00
Alibek Omarov 0efc5e82ec engine: fix some const qualifier lose and pointer-to-int casts 2021-07-20 16:03:06 +03:00
Alibek Omarov c3da9d8c8f mainui: update 2021-07-20 16:02:09 +03:00
Alibek Omarov a547526e86 engine: fix some signed char cases 2021-07-20 15:18:55 +03:00
SNMetamorph 09d647182d engine: net_encode: equality comparisions replaced with Q_equal macros 2021-07-09 14:57:49 +03:00