Commit Graph

73 Commits

Author SHA1 Message Date
Jesse Buhagiar
b23d5ed354 Build: Add SerenityOS to list of compatible systems
This is required by the build system to spit out a library with
the correct name/platform.
2022-06-20 00:01:37 +03:00
ab6214142f public: remove custom str(r)chr functions 2022-06-14 03:23:46 +03:00
15dc25d2cd engine: rename Q_cleanstr to something more meaningful 2022-06-13 23:36:13 +03:00
568c7fd917 engine: strip color codes when writing to log 2022-06-13 23:36:13 +03:00
9ce8edcb38 public: moved compiler attributes to xash3d_types.h 2022-05-28 17:57:43 +03:00
SNMetamorph
24ea8fba4b engine: common: fixed lightmap shifting caused by insufficent precision in Mod_CalcSurfaceExtents 2022-02-28 16:54:28 +03:00
56103a90eb engine: client: limit token size in client dll parsefile to 1024 (GoldSrc value) 2022-01-27 03:32:52 +03:00
ccf90beb7d public: crtlib: add Q_isspace function 2022-01-04 02:22:20 +03:00
4f89288ccf common: cleanup port.h 2021-12-23 19:17:11 +03:00
f60112773f public: crtlib: include string.h for strlen 2021-12-10 01:13:08 +03:00
3771a1d6c5 public: replace our Q_strlen with standard strlen with nullptr check in macro 2021-12-03 09:44:51 +03:00
207675990e public: build: fix missing define value 2021-10-28 20:11:31 +03:00
ab256e294e public: build: add RISC-V support(based on @archanox patches), add forcing endianness from build system 2021-10-27 20:33:21 +03:00
e5e1570aed public: redeclare ParseFile flags to be exactly same as in exported API headers 2021-10-08 17:31:32 +03:00
f3fedbfdba engine: add safe ParseFile to menu extended API 2021-10-08 17:31:32 +03:00
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
cce7c7d782 public: declare unsafe ParseFile as ParseFileLegacy 2021-10-08 17:31:32 +03:00
9e5d5e0ea3 public: moved COM_ParseFileSafe to libpublic, added optional argument for length and overflow checking 2021-10-08 17:31:32 +03:00
SNMetamorph
af3c0686c5 engine: mathlib: added Q_equal macros 2021-07-09 14:57:49 +03:00
4723eb2586 public: crtlib: fix error in COM_SlashPathFix 2021-07-02 19:27:04 +03:00
91ee9bd32a engine: merge tests for imagelib 2021-06-20 20:26:22 +03:00
exstrim401
b7922368bd
engine: Haiku OS support (#478) 2021-06-05 10:54:37 +03:00
29902f48d5 public: oops, fix broken crtlib 2021-03-10 13:38:36 +03:00
d25a661701 public: moar int to size_t for string length 2021-03-10 13:18:23 +03:00
6cc2205321 public: strlen must return size_t, not int 2021-03-07 03:38:54 +03:00
385cc3f497 public: remote obsolete header 2021-03-05 16:09:59 +03:00
5884cf88d3 crtlib: fix undefined behaviour when stripping extenstion from empty string 2021-02-14 21:33:41 +00:00
Gleb Mazovetskiy
5e0a0765ce Trim all trailing whitespace
The `.editorconfig` file in this repo is configured to trim all trailing
whitespace regardless of whether the line is modified.

Trims all trailing whitespace in the repository to make the codebase easier
to work with in editors that respect `.editorconfig`.

`git blame` becomes less useful on these lines but it already isn't very useful.

Commands:

```
find . -type f -name '*.h' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
find . -type f -name '*.c' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
```
2021-01-04 20:55:10 +03:00
abd9778ef3 engine: common: simplified strings operations. 2020-11-28 23:20:14 +03:00
eb652d53ac public: fix compiling 2020-11-22 19:08:51 +03:00
341e440c07 public,sprites: fix -Wcast-align, disable -Werror for it 2020-11-18 12:15:54 +03:00
2aaa6c6e04 public: build: add ARMv8 32-bit support, in case of someone actually uses it 2020-09-28 16:17:08 +03:00
23ea7ecbcc public: optimize MD5_Print function. 2020-09-14 14:28:47 +03:00
d30605c09f engine: fixes for dedicated 2020-08-23 19:02:15 +03:00
4c6fd79f07 tgmath: remove including tgmath.h in everything that uses xash3d_mathlib, as it's included already 2020-03-30 00:42:10 +03:00
293b42b9d4 public: add stdint.h implementation by Paul Hsich http://www.azillionmonkeys.com/qed/pstdint.h 2020-03-30 00:13:20 +03:00
7a58813254 utils: add studio model decompiler. 2020-03-04 09:23:12 +03:00
3c8ce640c4 Merge neko/mathlib into master 2020-03-04 05:38:30 +03:00
a967caa91f
Merge pull request #125 from nekonomicon/crtlib
public: crtlib.c: reduce memory usage.
2020-02-18 03:52:36 +07:00
9a0da3cd4f public: crtlib.c: reduce memory usage. 2020-02-12 14:40:19 +05:00
e3b547c8a9 public: rename mathlib to xash3d_mathlib. 2020-02-12 14:32:26 +05:00
e602ca1d66 public: synchronize build.h with hlsdk 2020-02-12 15:10:10 +07:00
d8f20f3642 common: add DOS4GW platform 2020-02-08 23:15:40 +07:00
adc718f4d5 public: add XASH_POSIX platform define 2020-02-08 23:15:40 +07:00
c8be38e75d mathlib: use tgmath in SinCos 2020-02-08 23:15:40 +07:00
3a416636f1 engine: mark GAME_EXPORT's 2020-01-19 08:15:54 +07:00
0fe18ae6dc engine: fix -Wmaybe-uninitialized 2019-12-24 02:47:51 +03:00
5a17e7f425 build: add XASH_ARMvX defines(buildsystem integration), add oneliner to generate #undef list 2019-11-11 00:38:40 +03:00
0cb591821a Merge sdl12-port into master 2019-11-06 22:29:04 +03:00
8700f44175 public: unittest: use static everywhere to prevent collision when tests may be linked into engine 2019-11-05 11:35:39 +03:00