exstrim401
b7922368bd
engine: Haiku OS support ( #478 )
4 years ago
Alibek Omarov
29902f48d5
public: oops, fix broken crtlib
4 years ago
Alibek Omarov
d25a661701
public: moar int to size_t for string length
4 years ago
Alibek Omarov
6cc2205321
public: strlen must return size_t, not int
4 years ago
Alibek Omarov
385cc3f497
public: remote obsolete header
4 years ago
mittorn
5884cf88d3
crtlib: fix undefined behaviour when stripping extenstion from empty string
4 years ago
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:]]\+$//' {} \+
```
4 years ago
Andrey Akhmichin
abd9778ef3
engine: common: simplified strings operations.
4 years ago
Alibek Omarov
eb652d53ac
public: fix compiling
4 years ago
mittorn
341e440c07
public,sprites: fix -Wcast-align, disable -Werror for it
4 years ago
Alibek Omarov
2aaa6c6e04
public: build: add ARMv8 32-bit support, in case of someone actually uses it
4 years ago
Andrey Akhmichin
23ea7ecbcc
public: optimize MD5_Print function.
4 years ago
Alibek Omarov
d30605c09f
engine: fixes for dedicated
4 years ago
Alibek Omarov
4c6fd79f07
tgmath: remove including tgmath.h in everything that uses xash3d_mathlib, as it's included already
5 years ago
Alibek Omarov
293b42b9d4
public: add stdint.h implementation by Paul Hsich http://www.azillionmonkeys.com/qed/pstdint.h
5 years ago
Andrey Akhmichin
7a58813254
utils: add studio model decompiler.
5 years ago
Andrey Akhmichin
9a0da3cd4f
public: crtlib.c: reduce memory usage.
5 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
mittorn
e602ca1d66
public: synchronize build.h with hlsdk
5 years ago
mittorn
d8f20f3642
common: add DOS4GW platform
5 years ago
mittorn
adc718f4d5
public: add XASH_POSIX platform define
5 years ago
mittorn
c8be38e75d
mathlib: use tgmath in SinCos
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
Alibek Omarov
0fe18ae6dc
engine: fix -Wmaybe-uninitialized
5 years ago
Alibek Omarov
5a17e7f425
build: add XASH_ARMvX defines(buildsystem integration), add oneliner to generate #undef list
5 years ago
Alibek Omarov
8700f44175
public: unittest: use static everywhere to prevent collision when tests may be linked into engine
5 years ago
Alibek Omarov
4b97d8bcda
public: add simple C89-compatible testing framework (wip)
5 years ago
Alibek Omarov
15924aebaa
xash3d-fwgs: check if HAVE_TGMATH_H is set to positive value rather it's just defined
5 years ago
Alibek Omarov
dfed24c290
public: build: add new ARMv6 detect macro
5 years ago
Alibek Omarov
7e9f90a09d
public: fix detecting ARM on gcc3
5 years ago
Alibek Omarov
78baf568ae
engine: more double promotion fixes
5 years ago
Alibek Omarov
14be566401
public: include tgmath in mathlib.h, so macros will be used inside Vector macros
5 years ago
Alibek Omarov
0577ecbccf
public: initial fix of double promotion
5 years ago
Alibek Omarov
e0d993a5a8
public: fix tautological-compare
5 years ago
Alibek Omarov
cb62e65f9f
public: fix implicit fallthrough
5 years ago
Alibek Omarov
f71619d541
public: build: fix wrong hardfp abi detection
5 years ago
Alibek Omarov
2f8fec6b70
Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever.
5 years ago
Alibek Omarov
4beba75159
engine: fix various compiler warnings
5 years ago
Alibek Omarov
6f121b90c1
public: wscript: skip installation
5 years ago
Alibek Omarov
e700a7498e
engine: move matchpattern from old engine
5 years ago
Alibek Omarov
76a8fe4873
engine: use build.h for printing architecture and operating system, also implement architecture names from library naming scheme proposal ( #39 )
6 years ago
Alibek Omarov
f010e2be12
public: build: add a header that defines some build-time information, like target OS or platform
6 years ago
Alibek Omarov
70d45f23de
public: crclib now is part of public library
6 years ago
Alibek Omarov
94ec8cb997
wscript: add -fPIC for static libraries globally
6 years ago
mittorn
bd6532fae4
wscript: Add shared lib flags to public
6 years ago
Alibek Omarov
d17fdea884
waflib: remove get_subproject_name function
6 years ago
Alibek Omarov
17f719558c
wscript: move build env setup to main wscript
6 years ago
Alibek Omarov
f3a2f46fb3
wscript: remove libm linking to static public, it's useless. Correct include path order
6 years ago
Alibek Omarov
fb6fd61cd9
public: initial moving some common code into static public library, that can be linked to any engine part
6 years ago