Roman Chistokhodov
504e8b19d5
Handle key input in vgui ( #198 )
2021-10-27 23:20:03 +05:00
Roman Chistokhodov
ba2cab60df
Get VGUI back (optionally) ( #194 )
...
* Get VGUI back (optionally)
* Add some missing VGUI invocations
* Update CMakeLists.txt to build with vgui for Windows
* Move windows.h inclusions only to those places where it's really needed
* Try fix mingw build
* Update hud_spectator
* Merge nekonomicon's vgui branch
* Don't include vgui panel and app in cdll_int.cpp if vgui is real
* Deduplicate scoreboard global variables
* Add options to prefer non-vgui motd and scoreboard when vgui is enabled
* Add vgui-dev as a submodule. Add building vith vgui to CI
* Fix artifact uploading
* Don't use global variable when not necessary
* char* to const char* in CMenuHandler_StringCommand constructor
* Fix 'format string is not a literal string' warnings
* Fix 'always evaluate to true' warnings
* Team Fortress classes to const char*
* CreateCommandMenu accepts const char*
* Fix printf formats. Turn some unsigned longs into unsigned ints since they use only 32 bits anyway
* Explicit assignment result as condition
* Prevent memory leak on menu reading
* Localize button text
* Create FileInputStream on stack avoiding the leak
* Remove Servers Browser code
* Arrow file names to const char*
* Fix assignment to the wrong variable
2021-10-27 01:35:11 +00:00
Roman Chistokhodov
136ee78cfd
Make msvc builds in release mode with static runtime ( #185 )
2021-08-27 13:04:15 +05:00
3503619bdd
Merge https://github.com/ValveSoftware/halflife/pull/3099 .
2021-07-07 00:41:17 +05:00
6e7653eec1
Move M_PI definition to header.
2021-06-20 13:49:04 +05:00
a541a9699c
#ifdef->#if.
2021-06-20 03:53:07 +05:00
fd6f48175f
Comment unused variables ( #184 )
...
* Comment unused variables
* Comment out dead code
2021-06-18 13:00:09 +05:00
662af50306
Bump minimum CMake version (lower versions are deprecated) ( #182 )
2021-06-18 07:41:38 +05:00
d95080281f
Fix implicit conversion ( #180 )
2021-06-18 07:40:38 +05:00
da5efc7146
Get rid of project files for MSVC 98.
2021-06-14 01:39:55 +05:00
Roman Chistokhodov
3f6ab0b2fd
Fix Goldsource build ( #176 )
2021-06-08 02:05:47 +05:00
0dd90846fe
#ifdef->#if
2021-06-07 05:05:58 +05:00
Roman Chistokhodov
397286021c
Try fixing occasional bug with missing mp5 reload animation when holding primary attack after clip was depleted
2021-06-06 01:17:08 +05:00
2c7e07ef49
Fix egon beam color. Same as https://github.com/ValveSoftware/halflife/issues/3033 .
2021-06-05 20:13:07 +05:00
e4dd9192cc
client: fix scoreboard not setting IN_SCORE bit in usercmd
2021-06-01 17:38:24 +03:00
93630eae23
Fix player model angles.
...
Same as https://github.com/ValveSoftware/halflife/issues/3075 .
2021-04-04 22:30:49 +05:00
5dd184da23
Fix memory leaks when parsing files.
2021-03-26 04:08:05 +05:00
a0a30049fd
Merge pull request #152 from FreeSlave/gauss-color
...
Gauss color depends on its charge
2021-02-10 18:39:59 +00:00
Roman Chistokhodov
06f046430d
Fix occasional double playing of reload animations
2021-02-10 20:30:01 +03:00
Roman Chistokhodov
0a29ec49c8
Gauss color depends on its charge
2021-02-10 20:25:30 +03:00
Agent Agrimar
a39583f1ef
client: cmake: add winmm.lib dependency
...
This fixes a linker error when compiling for win32 with Goldsrc Support enabled.
2020-09-13 15:06:52 +03:00
Agent Agrimar
efe13c3d04
client: wscript: add winmm.lib dependency
...
This fixes a linker error when compiling for win32 with Goldsrc Support enabled.
2020-09-13 15:06:52 +03:00
8e4ded4017
wscript: update yet again.
2020-08-09 03:29:46 +05:00
2254a16b7b
client: wscript: update.
2020-08-02 20:23:29 +05:00
f20b7259f3
wscript: reorder sources list.
2020-08-01 20:26:28 +05:00
0324eb0431
Fix possible memory leak.
2020-07-25 09:28:02 +05:00
0aecf06741
Remove GPL-licensed headers.
2020-04-22 13:12:23 +05:00
6af5c3f472
Safe _snprintf usage.
2020-04-01 13:14:14 +05:00
Roman Chistokhodov
3e1e8961bf
Stop gauss pulse sound on overcharge
2020-03-31 20:46:37 +03:00
c6d793231c
wscript: do not set install_path on dos target, set build task names to "server" and "client"
2020-02-12 15:40:06 +07:00
9a08968453
fix undefined symbols and conflicts on OpenWatcom
2020-02-12 15:37:46 +07:00
2ba9071798
check if cmath useful, remove posix defines when using owcc
2020-02-12 15:34:05 +07:00
3a2d8ef5f9
client: remove useless defines
2020-02-12 15:28:50 +07:00
b8825c2039
Fix some potential troubles.
...
Comment some useless code.
2019-11-16 13:54:47 +05:00
b4d3b5d8be
wscript: enable library naming
2019-11-11 04:07:51 +03:00
8622cc945d
CMakeLists: remove legacy 64 postfix
2019-11-11 01:07:20 +03:00
tyabus
446f608cf3
Remove outdated Makefiles ( #110 )
...
* Remove outdated Makefiles
* Update README.md
2019-11-07 23:11:20 +03:00
4a02cfc012
Merge branch 'double_promotion'
2019-11-05 02:48:47 +05:00
b8f2d8c972
client: make some cvars archive.
2019-11-04 00:05:51 +05:00
88161eac14
Add "cl_autowepswitch" cvar implementation.
2019-11-03 22:59:33 +05:00
Jonathan Poncelet
71afe6e204
Build: Added user32.lib dependency to CMake
...
Also had to add ResetThink to cbase.h, as it was missing in deug.
2019-10-30 17:43:30 +03:00
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.
2019-10-30 17:43:30 +03:00
ae6299f636
wscript: use taskgen counter to solve problem with compiling shared code instead of hardcoding indexes
2019-10-16 01:36:41 +03:00
e03f5e3c3e
Remove useless prototypes.
2019-10-13 21:15:06 +05:00
11adcd5ac8
cmake: Add check for tgmath.h header.
2019-10-13 20:58:14 +05:00
a9f37f6d74
Include tgmath.h and cmath headers.
2019-10-13 20:27:05 +05:00
73397679c2
More double promotion fixes.
2019-10-13 20:10:52 +05:00
ec9bffedaf
Partially fix double promotion.
2019-10-13 16:49:25 +05:00
fbb5da7051
cl_dll: death: fix char signness
2019-10-11 09:08:05 +03:00
iZarif
a0ccf2d0a1
size of arrays are now a power of two
2019-10-03 00:24:27 +04:00