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
Logan
5cdb35f508
Pass cl.viewentity into S_StartSound for pfnPlaySoundByNameAtLocation
...
This fixes a minor bug where sounds played via pfnPlaySoundByNameAtLocation (mainly from viewmodel animations e.g. MP5) would be left where it was emitted in the world, rather than following the local player as it does in Goldsrc.
4 years ago
Velaron
09ae961221
remove platform-specific macros
4 years ago
mittorn
70cddcb9ca
client: fix assert when sprite exist, but not loadable
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
Alibek Omarov
9421457b3a
engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h
5 years ago
Alibek Omarov
db39f0cc88
engine: client: combine loading or paused icon drawing
5 years ago
Alibek Omarov
3f48bce7da
engine: client: fix #79
5 years ago
Alibek Omarov
9e99a2bc37
engine: dirty sdl1.2 port
5 years ago
mittorn
114a256675
Implement XASH_LOW_MEMORY, memory-reduced configuration
5 years ago
Wei Mingzhi
88772a1c34
engine: GetGameDir should return gamedir only. Add proper stub functions for some engine APIs.
5 years ago
Alibek Omarov
8f9800eb3c
ref: move R_DrawTree from refdll to engine, implement using ref's triapi
5 years ago
Alibek Omarov
938a9f372f
engine: add stub function for new undocumented function in clientdll api
5 years ago
Alibek Omarov
d9545e5e78
cl_game: fix missing }
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
54920f13df
engine: rename library naming function, as it returns a full path and not just library name
5 years ago
Alibek Omarov
0579ecd30f
engine: check if client.dll linked to SDL2.dll ( #37 )
5 years ago
Mr0maks
85b5b4e965
filesystem: add support for zip files
6 years ago
Alibek Omarov
c215b89923
Apply 4483 update
6 years ago
Alibek Omarov
5af6506d86
engine: ensure that we loading same client library
6 years ago
Alibek Omarov
fe14a360b4
engine: fix fs_offset_t/size_t conversion, const qualifiers
6 years ago
Alibek Omarov
5be982cc72
ref: remove shared textures enum, instead use hardcoded texture names
6 years ago
Alibek Omarov
92b89936b3
ref: make API thinner by moving simple calls into EngineGetParm(RenderGetParm with ref extensions), fix some UBs
6 years ago
mittorn
0a22040c6e
Fix SpriteTexture
6 years ago
mittorn
c55b7dcda7
ref: simplify efx api, move efrags to engine
6 years ago
mittorn
297ca08e81
ref: replace model (un)loading by Mod_ProcessRenderData
6 years ago
mittorn
8339096ad8
ref: Improve model unloading, fix texture leak
6 years ago
Alibek Omarov
e5000742f1
ref: context creating prototype, not working yet
6 years ago
Alibek Omarov
971f9b6de5
ref: fix compiling errors
6 years ago
Alibek Omarov
199ebfed48
ref: implement engine ref API
6 years ago
Alibek Omarov
97aba69ed0
ref: implement API interface for ref_gl, get rid of RenderAPI, RenderInterface and vgui_support API references
6 years ago
Alibek Omarov
234507b7f1
ref: fix all undefined references
6 years ago
Alibek Omarov
e193ac2c04
ref: more @mittorn's changes on RefAPI
6 years ago
Alibek Omarov
99bd7c81da
ref: render code moved out of engine, doesn't compile, first API prototype
6 years ago
mittorn
ddd17fe238
client: clear usermessages
6 years ago
Jonathan Poncelet
35869586c9
Made various log messages more informative
6 years ago
a1batross
137836348b
client: fix GetCenterWindow engine call
6 years ago
Alibek Omarov
28471aee97
cl_game: get rid of int* to float* conversion
6 years ago
Alibek Omarov
96e0167e47
platform: add GetMousePos, SetMousePos calls, fix typo
6 years ago
mittorn
5c738b3402
Apply 4253 update
6 years ago
Alibek Omarov
1e7f9d00c3
Apply 4150 update
6 years ago
Alibek Omarov
a539384a76
Apply 4143 update
6 years ago
Alibek Omarov
814b7eda07
Apply 4140 update
6 years ago
Alibek Omarov
9bab7d222a
Apply 4097 update
7 years ago
Alibek Omarov
efe8ddf151
Fix missing const-qualifiers in engine code. Fix qboolean/int mixing in interface implementations(int is preferred). Replace long by int in COM_RandomLong.
7 years ago
Alibek Omarov
fd649905ea
Fix some format warnings
7 years ago
Alibek Omarov
545b781934
Restore hud_utf8
7 years ago
Alibek Omarov
314a6deba9
Remove gamedir[] from engine-side gameinfo_t
7 years ago
Alibek Omarov
32aa9a9f54
Implement Mobility API support. Add missing IN_TouchShutdown and Joy_Shutdown calls. Don't save video and opengl configs if engine crashed.
7 years ago