Andrey Akhmichin
88161eac14
Add "cl_autowepswitch" cvar implementation.
5 years ago
Jonathan Poncelet
71afe6e204
Build: Added user32.lib dependency to CMake
...
Also had to add ResetThink to cbase.h, as it was missing in deug.
5 years ago
Jonathan Poncelet
aa7b5dc5ca
Build: Fixed issues on Windows
...
in_camera.o wouldn't link because of unresolved
symbols relating to getting/setting the cursor
position, so user32.lib was added as a dependency.
The gitignore was also missing ignore rules for
different waf folder name variations, and the
.vscode directory for people (like me) who use
VS Code.
5 years ago
Alibek Omarov
ae6299f636
wscript: use taskgen counter to solve problem with compiling shared code instead of hardcoding indexes
5 years ago
Andrey Akhmichin
e03f5e3c3e
Remove useless prototypes.
5 years ago
Andrey Akhmichin
11adcd5ac8
cmake: Add check for tgmath.h header.
5 years ago
Andrey Akhmichin
a9f37f6d74
Include tgmath.h and cmath headers.
5 years ago
Andrey Akhmichin
73397679c2
More double promotion fixes.
5 years ago
Andrey Akhmichin
ec9bffedaf
Partially fix double promotion.
5 years ago
Alibek Omarov
fbb5da7051
cl_dll: death: fix char signness
5 years ago
iZarif
a0ccf2d0a1
size of arrays are now a power of two
5 years ago
iZarif
04a31f4a1a
fix gcc 8.3.0 format-overflow warnings
5 years ago
Andrey Akhmichin
c9fdcd91e8
A little optimizations.
5 years ago
Alibek Omarov
17e1af726d
wscript: remove DEST_OS2
5 years ago
Andrey Akhmichin
745d722a5a
client: min->Q_min, max->Q_max.
5 years ago
Andrey Akhmichin
456b52f31e
Remove duplicated strings.
5 years ago
Andrey Akhmichin
40d4e75d4b
Fix warnings.
5 years ago
Andrey Akhmichin
63b23b96a4
Add a missing con qualifier in HUD_PlaybackEvent function.
5 years ago
Andrey Akhmichin
93d1ed0294
Add a missing const qualifiers. Remove unneeded casts.
5 years ago
Alibek Omarov
31b9b72bc9
waf: update to waf 2.0.17, rename waflib to waifulib, remove some modules, as they're now inside waf binary(see waifu project)
6 years ago
Alibek Omarov
a699702c00
wscript: strip lib prefix for HLSDK
6 years ago
Alibek Omarov
470a71540b
waf: initial deploy
6 years ago
Roman Chistokhodov
f7e51e2c20
Stop uncontrollable camera rotating when raw mouse input is on
6 years ago
Roman Chistokhodov
76b7df393a
Add spaces between source files in compile.bat
6 years ago
Roman Chistokhodov
f2f83cd035
Allow hud messages or arbitrary length
6 years ago
Roman Chistokhodov
ea6fa67c87
Fix potential crash / data corruption in hud message
6 years ago
Roman Chistokhodov
984dab64d3
Use line height from screen info in motd and scoreboard
6 years ago
Roman Chistokhodov
88992a82b8
Reformat spaces to tabs in input_goldsource.cpp
6 years ago
Roman Chistokhodov
60e15c98ee
Enable camera rotation on death in Gold Source
6 years ago
Roman Chistokhodov
4dfdb6fc98
Fix for goldsource running in fullscreen with resolution lower than screen's one ( #67 )
6 years ago
Jonathan Poncelet
65cb1f54f4
Made library functions hidden by default on Mac/Linux
...
This resolves an issue where the server library was calling client
library functions in error.
6 years ago
Night Owl
3d7e2b0d93
Do not show flashlight sprite in spectator mode.
7 years ago
Roman Chistokhodov
71f55bb119
Add mingw support to CMakeLists.txt. Add crosscompiling instructions to README.md
7 years ago
Alibek Omarov
6e5062b39e
Check for bad game data(missing or invalid hud.txt)
7 years ago
Alibek Omarov
cec6d7a1bc
Add HUD_MessageBox. Rename isXashFWGS to IsXashFWGS
7 years ago
Roman Chistokhodov
f6ffc92d5d
Always update gHUD.m_iFOV on SetFOV message. Fix #53
7 years ago
Andrey Akhmichin
9d7ab6acf4
Some fixes for FoV, HUD, egon flare and new compilers. ( #52 )
...
* Fix warnings.
* Merge some fixes from https://github.com/Fograin/hl-subs-mod .
7 years ago
Alibek Omarov
3401f54148
Fix Android buil
7 years ago
Alibek Omarov
4af9030156
Append 64 postfix on 64 bit
7 years ago
Alibek Omarov
6161c6d4d8
Replace snprintf by _snprintf, for MSVC
7 years ago
Night Owl
588065ab16
Do not show long nicknames on low resolution.
7 years ago
Roman Chistokhodov
48733fd1a1
All copyright symbols to (c)
7 years ago
Roman Chistokhodov
8dc9245fe3
Copyright symbol to utf-8
7 years ago
Alibek Omarov
9a02d7116f
It's better to use MSVC here instead of WIN32, so it wouldn't break MinGW builds
7 years ago
Alibek Omarov
3dda2ec590
Fix compiling on MSVC2017
7 years ago
Night Owl
b66ceab4e5
Fix scoreboard position.
7 years ago
Alibek Omarov
c128c69ceb
Add install() for CMake.
7 years ago
Night Owl
a2f0ecf741
Fix linking with libdl on some environments.
7 years ago
Night Owl
f27d1028ac
Do not reorganize variables in classes. Add missing #pragma once directives and more #include guards.
7 years ago
Night Owl
41c9b072e5
Add missing #include guards.
7 years ago