Commit Graph

97 Commits

Author SHA1 Message Date
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
4b97d8bcda public: add simple C89-compatible testing framework (wip) 2019-11-05 11:22:16 +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
dfed24c290 public: build: add new ARMv6 detect macro 2019-11-02 08:56:07 +03:00
7e9f90a09d public: fix detecting ARM on gcc3 2019-11-02 08:56:07 +03:00
78baf568ae engine: more double promotion fixes 2019-10-18 16:46:54 +03:00
14be566401 public: include tgmath in mathlib.h, so macros will be used inside Vector macros 2019-10-18 16:46:54 +03:00
0577ecbccf public: initial fix of double promotion 2019-10-18 16:46:54 +03:00
e0d993a5a8 public: fix tautological-compare 2019-10-18 07:23:34 +03:00
cb62e65f9f public: fix implicit fallthrough 2019-10-05 02:49:04 +03:00
f71619d541 public: build: fix wrong hardfp abi detection 2019-07-29 06:53:42 +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
6f121b90c1 public: wscript: skip installation 2019-07-11 03:59:56 +03:00
e700a7498e engine: move matchpattern from old engine 2019-07-09 16:36:15 +03:00
Alibek Omarov
76a8fe4873 engine: use build.h for printing architecture and operating system, also implement architecture names from library naming scheme proposal (#39) 2019-06-21 17:25:43 +03:00
Alibek Omarov
f010e2be12 public: build: add a header that defines some build-time information, like target OS or platform 2019-06-21 17:20:57 +03:00
70d45f23de public: crclib now is part of public library 2019-06-06 04:33:57 +03:00
94ec8cb997 wscript: add -fPIC for static libraries globally 2019-05-28 04:12:02 +03:00
bd6532fae4 wscript: Add shared lib flags to public 2019-04-17 06:42:34 +07:00
d17fdea884 waflib: remove get_subproject_name function 2019-04-11 00:13:59 +03:00
17f719558c wscript: move build env setup to main wscript 2019-03-25 01:25: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
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