2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 11:19:59 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
51526948c0 engine: server: make PEntityOfEntIndex bug-compatible with GoldSrc
Add new undocumented GoldSrc eiface function, PEntityOfEntIndexAllEntities,
a bug-free version of PEntityOfEntIndex

Ref: https://github.com/ValveSoftware/halflife/issues/2272
2022-05-21 03:03:59 +03:00
08c04200fb engine: use GCC provided offsetof implementation 2021-10-03 04:26:22 +03:00
0efc5e82ec engine: fix some const qualifier lose and pointer-to-int casts 2021-07-20 16:03:06 +03:00
42f47f51b5 server: implement GetFileSize and GetApproxWavePlayLen from HLSDK 2.4 2021-03-07 02:46:38 +03: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
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
2f8fec6b70 Remove trailing spaces, convert mistakenly put spaces to tabs. The most useful commit ever. 2019-07-19 20:23:08 +03:00
92b89936b3 ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs 2019-03-22 16:36:46 +03:00
298393b653 Initial amd64 port 2018-12-05 23:57:05 +07:00
48d1aa5115 engine: fix warnings 2018-10-06 03:42:09 +03:00
7601a4cd29 Revert 64257ef to not break C++ header compability 2018-07-12 23:13:30 +03:00
473810fc0c MSVC & Win32 related fixes 2018-06-14 20:32:40 +03:00
e1f80fba3d Add forgotten const-qualifiers in interface headers. Remove unneeded PM headers 2018-04-23 23:06:18 +03:00
b7622e6009 Fix implicit function declaration. Fix struct declaration in parameter list 2018-04-21 00:05:08 +03:00
64257ef428 Avoid some struct declaration in parameter list 2018-04-14 04:26:12 +03:00
8d6e3b7f79 Pure engine source code(LF line endings, UTF8 encoded) 2018-04-13 19:23:45 +03:00