Andrey Akhmichin
b8f2d8c972
client: make some cvars archive.
2019-11-04 00:05:51 +05:00
Andrey Akhmichin
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
Alibek Omarov
ae6299f636
wscript: use taskgen counter to solve problem with compiling shared code instead of hardcoding indexes
2019-10-16 01:36:41 +03:00
Andrey Akhmichin
e03f5e3c3e
Remove useless prototypes.
2019-10-13 21:15:06 +05:00
Andrey Akhmichin
11adcd5ac8
cmake: Add check for tgmath.h header.
2019-10-13 20:58:14 +05:00
Andrey Akhmichin
a9f37f6d74
Include tgmath.h and cmath headers.
2019-10-13 20:27:05 +05:00
Andrey Akhmichin
73397679c2
More double promotion fixes.
2019-10-13 20:10:52 +05:00
Andrey Akhmichin
ec9bffedaf
Partially fix double promotion.
2019-10-13 16:49:25 +05:00
Alibek Omarov
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
iZarif
04a31f4a1a
fix gcc 8.3.0 format-overflow warnings
2019-10-02 23:15:53 +04:00
Andrey Akhmichin
c9fdcd91e8
A little optimizations.
2019-09-24 03:00:37 +05:00
Alibek Omarov
17e1af726d
wscript: remove DEST_OS2
2019-09-19 17:18:57 +03:00
Andrey Akhmichin
c3a5def547
Merge branch 'master' into residual_point
2019-08-12 04:08:41 +05:00
Andrey Akhmichin
745d722a5a
client: min->Q_min, max->Q_max.
2019-08-12 02:25:50 +05:00
Andrey Akhmichin
456b52f31e
Remove duplicated strings.
2019-07-18 04:35:38 +05:00
Andrey Akhmichin
1e6bef06c5
Merge branch 'master' into residual_point
2019-07-07 23:40:08 +05:00
Andrey Akhmichin
40d4e75d4b
Fix warnings.
2019-07-07 20:08:01 +05:00
Andrey Akhmichin
63b23b96a4
Add a missing con qualifier in HUD_PlaybackEvent function.
2019-07-07 19:49:19 +05:00
Andrey Akhmichin
93d1ed0294
Add a missing const qualifiers. Remove unneeded casts.
2019-07-07 19:37:24 +05:00
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)
2019-06-06 03:37:08 +03:00
Alibek Omarov
a699702c00
wscript: strip lib prefix for HLSDK
2019-05-06 04:14:48 +03:00
Alibek Omarov
470a71540b
waf: initial deploy
2019-05-03 19:19:39 +03:00
Roman Chistokhodov
f7e51e2c20
Stop uncontrollable camera rotating when raw mouse input is on
2019-05-02 13:16:43 +03:00
Roman Chistokhodov
76b7df393a
Add spaces between source files in compile.bat
2019-05-02 13:12:57 +03:00
Roman Chistokhodov
f2f83cd035
Allow hud messages or arbitrary length
2019-04-11 20:07:41 +03:00
Roman Chistokhodov
ea6fa67c87
Fix potential crash / data corruption in hud message
2019-04-11 20:07:41 +03:00
Roman Chistokhodov
984dab64d3
Use line height from screen info in motd and scoreboard
2019-04-11 16:04:52 +03:00
Roman Chistokhodov
88992a82b8
Reformat spaces to tabs in input_goldsource.cpp
2018-12-04 07:06:30 +03:00
Roman Chistokhodov
60e15c98ee
Enable camera rotation on death in Gold Source
2018-12-03 22:11:47 +03:00
Roman Chistokhodov
4dfdb6fc98
Fix for goldsource running in fullscreen with resolution lower than screen's one ( #67 )
2018-11-29 15:22:17 +03:00
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.
2018-08-07 08:24:04 +01:00
Night Owl
19bb52d7c6
Merge branch 'master' into residual_point
2018-07-16 04:30:52 +05:00
Alibek Omarov
744732a381
Merge pull request #59 from nekonomicon/flashlight
...
Do not show flashlight sprite in spectator mode.
2018-07-02 14:46:32 +03:00
Night Owl
b73306c38e
Merge branch 'master' into residual_point
2018-04-14 07:26:37 +05:00
Night Owl
3d7e2b0d93
Do not show flashlight sprite in spectator mode.
2018-04-08 03:32:13 +05:00
Roman Chistokhodov
71f55bb119
Add mingw support to CMakeLists.txt. Add crosscompiling instructions to README.md
2018-04-03 21:39:07 +03:00
Alibek Omarov
6e5062b39e
Check for bad game data(missing or invalid hud.txt)
2018-04-02 23:57:09 +03:00
Alibek Omarov
cec6d7a1bc
Add HUD_MessageBox. Rename isXashFWGS to IsXashFWGS
2018-04-02 23:57:09 +03:00
Roman Chistokhodov
f6ffc92d5d
Always update gHUD.m_iFOV on SetFOV message. Fix #53
2018-04-01 20:38:56 +03:00
Night Owl
c37728214c
Merge branch 'master' into residual_point
2018-03-31 17:33:50 +05:00
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 .
2018-03-31 15:09:13 +03:00
Alibek Omarov
3401f54148
Fix Android buil
2018-03-23 23:46:05 +03:00
Alibek Omarov
4af9030156
Append 64 postfix on 64 bit
2018-03-22 15:23:34 +03:00
Alibek Omarov
6161c6d4d8
Replace snprintf by _snprintf, for MSVC
2018-03-04 00:24:54 +03:00
Night Owl
dc876f026c
Merge branch 'master' into residual_point
2018-02-23 04:20:08 +05:00
Night Owl
588065ab16
Do not show long nicknames on low resolution.
2018-02-15 17:27:02 +05:00
Roman Chistokhodov
48733fd1a1
All copyright symbols to (c)
2018-01-19 20:00:32 +03:00
Roman Chistokhodov
8dc9245fe3
Copyright symbol to utf-8
2018-01-18 22:36:32 +03:00
Alibek Omarov
9a02d7116f
It's better to use MSVC here instead of WIN32, so it wouldn't break MinGW builds
2017-12-28 02:05:47 +03:00
Alibek Omarov
3dda2ec590
Fix compiling on MSVC2017
2017-12-28 02:02:23 +03:00
Night Owl
b66ceab4e5
Fix scoreboard position.
2017-12-23 14:02:59 +05:00
Alibek Omarov
c128c69ceb
Add install() for CMake.
2017-12-19 00:27:56 +03:00
Night Owl
ee8d709251
Merge remote-tracking branch 'origin/travis' into residual_point
2017-12-18 04:34:39 +05:00
Night Owl
a2f0ecf741
Fix linking with libdl on some environments.
2017-12-18 02:44:42 +05:00
Night Owl
9d4fb6353e
Merge remote-tracking branch 'origin/travis' into residual_point
2017-12-17 20:26:33 +05:00
Alibek Omarov
08951f5783
Merge pull request #30 from FreeSlave/joystick_win32_nosdl
...
Joystick support for non-sdl win32 (untested)
2017-12-13 16:49:01 +03:00
Alibek Omarov
a319233322
Merge pull request #37 from nekonomicon/string_t
...
A little fixes.
2017-12-11 17:53:08 +03:00
Night Owl
f27d1028ac
Do not reorganize variables in classes. Add missing #pragma once directives and more #include guards.
2017-12-11 02:44:30 +05:00
Night Owl
41c9b072e5
Add missing #include guards.
2017-12-10 22:41:27 +05:00
Night Owl
18adf0979f
Redefine string_t. Fix wrong variables type.
2017-12-10 20:56:46 +05:00
Roman Chistokhodov
5a60f08a59
Joystick support for non-sdl win32 (untested)
2017-12-09 19:57:12 +03:00
Roman Chistokhodov
e6ea89705f
Update README.md, update makefiles, add .bat scripts for msvc
2017-12-09 00:16:29 +03:00
Roman Chistokhodov
3574e73a91
sdl loading refactoring
2017-12-07 21:25:26 +03:00
Roman Chistokhodov
de8ce63282
Provide safe wrappers around sdl function pointers. Use dylib extension on macOS
2017-12-07 19:29:38 +03:00
Roman Chistokhodov
1759e8c956
Dynamic sdl2 loading from client
2017-12-07 19:29:38 +03:00
Alibek Omarov
646d2d92f6
Merge pull request #32 from FreeSlave/vgui_for_gs
...
Get vgui back for goldsource fullscreen support
2017-12-07 19:20:08 +03:00
Roman Chistokhodov
ca590f2420
Use old API to draw scoreboard and motd lines in goldsource
2017-12-07 00:31:27 +03:00
Roman Chistokhodov
33de8458d6
Some cleanup. Add false_vgui include path to makefiles
2017-12-07 00:07:05 +03:00
Roman Chistokhodov
51bf51a840
Provide vgui stub to avoid dependency of client of vgui lib
2017-12-06 20:38:14 +03:00
Roman Chistokhodov
d904505f6a
Get vgui back for goldsource fullscreen support
2017-12-06 19:19:27 +03:00
Roman Chistokhodov
84e720eadc
Add new input files and goldsource support flag to client makefiles
2017-12-04 15:42:45 +03:00
Roman Chistokhodov
1d8d1b5d2e
Use mouse input backend depending on the current engine
2017-12-03 23:52:35 +03:00
Roman Chistokhodov
31b2a68d6d
goldsource mouse input
2017-12-03 19:47:30 +03:00
Night Owl
593f29df2a
Use crowbar idle-animation.
2017-11-28 17:40:07 +05:00
mittorn
b6dfc61e55
Fix wrong -std=c99
2017-11-27 20:37:53 +05:00
Night Owl
f73fb094ab
Change hud color.
2017-11-27 20:37:52 +05:00
Alibek Omarov
92aa5456cf
Merge pull request #24 from nekonomicon/sdk-update
...
SDK update
2017-10-20 17:40:45 +03:00
Night Owl
8e799fcf6d
Add crowbar idle animations under CROWBAR_IDLE_ANIM macro.
2017-10-15 14:22:14 +05:00
Night Owl
f78471ad1d
min->Q_min, max->Q_max.
2017-10-15 01:05:50 +05:00
Night Owl
e7989d438a
Fix compatibility with MSVC 6.
2017-10-15 00:12:26 +05:00
Night Owl
46ecb7e8ee
Fix shadowing variables.
2017-10-09 19:51:51 +05:00
mittorn
96b1f4c58e
Fix wrong -std=c99
2017-07-30 12:30:47 +03:00
Night Owl
70c6e42907
Merge 68c9b7cf6b
2017-07-24 00:37:20 +05:00
Night Owl
cf9ba71686
Make UpdateOnRemove() virtual.
2017-07-21 02:29:27 +05:00
Night Owl
3dc0939b40
Prevent buffer overflow.
2017-07-21 00:15:13 +05:00
Night Owl
bacf65d55b
Merge branch 'master' of https://github.com/FWGS/hlsdk-xash3d into sdk-update
2017-07-20 23:37:20 +05:00
Night Owl
d1fbb99574
Fix some warnings yet.
2017-07-20 23:32:06 +05:00
Night Owl
ea8f2bed77
Implement cl_viewbob cvar for viewmodel bobbing. Same as in http://am.half-lifecreations.com/forums/index.php?topic=288.0
2017-07-20 12:13:04 +05:00
Night Owl
14e75025bb
Show long nicknames in scoreboard.
...
Show fulli nicknames in scoreboard.
2017-07-20 10:45:44 +05:00
Night Owl
a2e4a7ec03
Fix crosshair.
2017-07-19 04:11:08 +05:00
Night Owl
946e962f3c
Merge 1c71f33cb0
2017-07-19 04:06:19 +05:00
mittorn
8bae5a5450
Fix infinite loop on mingw
2017-07-18 12:59:46 +00:00
mittorn
1674a4b6d4
Use XASH_64BIT macro
2017-07-14 15:34:44 +00:00
mittorn
a08bd614fe
Fix client build
2017-07-14 13:15:17 +00:00
Night Owl
1c1d9ae183
Remove unneeded strcpy usage.
2017-07-11 02:24:19 +05:00
Night Owl
85edea072b
Merge 136de25b61
2017-07-06 00:10:06 +05:00
Night Owl
cf5b2f9e14
Merge https://github.com/ValveSoftware/halflife/pull/1601
2017-07-05 23:50:55 +05:00
Night Owl
6f44185a64
Merge 0398781544
2017-07-05 18:31:35 +05:00
Night Owl
033bbbcd80
Merge 3680342c61
2017-07-05 18:04:09 +05:00
Night Owl
33ba064b88
Merge 4dfa6b8710
2017-07-05 17:53:04 +05:00
Night Owl
689316912a
Merge 19396936af
2017-07-05 17:06:23 +05:00
Night Owl
4024c29caf
Merge 7002f8fb47
2017-07-05 16:45:48 +05:00
Night Owl
13a691bdd8
Fix GetHullBounds()
...
Same as in 8d4515be42
2017-07-02 19:02:52 +05:00
Night Owl
d20c4ff329
Fix build.
2017-07-02 02:36:56 +05:00
Night Owl
2faa732aa1
Apply some @AlliedModders's patches.
2017-06-29 18:56:03 +05:00
Night Owl
ecaba0de22
Upload missing file. Fix build.
2017-06-26 07:06:27 +05:00
Night Owl
8163bced2c
Do not break hud_takesshots cvar behavior.
2017-04-12 02:02:18 +05:00
Night Owl
6f8d64df89
Make cl_scoreboard_bg cvar archive.
2017-04-04 01:43:21 +05:00
Night Owl
4fbb070e7d
Implement cl_scoreboard_bg cvar.
2017-04-04 01:15:16 +05:00
mittorn
e099224bc5
Use vgui2 functions for utf-8 print
2017-03-29 19:59:50 +00:00
mittorn
80593d29bd
Apply fixes from gravgun branch
2017-02-01 14:55:40 +00:00
mittorn
5da21e38d2
Fix client visual studio build
2017-01-10 16:45:52 +07:00
a1batross
008234143e
Revert some changes from PR
2016-08-08 15:01:16 +06:00
a1batross
8d3cce7aa2
Add GoldSource support
2016-08-08 13:37:32 +06:00
a1batross
42052a5057
CMake as optional build system
2016-08-08 13:27:59 +06:00
FreeSlave
5d0b6f267e
Use ?= on compilers. Remove D_LINUX from client Makefile
2016-08-06 23:37:36 +04:00
FreeSlave
d4d78f7691
Add README.md. Some fixes for FreeBSD. Add Makefile for client
2016-08-06 22:25:29 +04:00
Night Owl
611d2b73a5
Merge branch 'master' of https://github.com/FWGS/hlsdk-xash3d
2016-08-04 22:48:49 +05:00
mittorn
6c7d89ea76
Fix win64 build
2016-08-03 22:36:50 +00:00
mittorn
5bdb97c26c
Fix cl_movespeedkey multiplied twice
2016-08-03 21:21:37 +00:00
Night Owl
f614c73318
Remove duplicate loop.
2016-08-03 02:05:15 +05:00
Night Owl
a8b188e1d5
Fix -Wshadow.
2016-08-02 23:16:24 +05:00
Night Owl
156b0ae69a
Reformat some strings yet.
2016-08-02 18:36:48 +05:00
Night Owl
7c17f6e042
Rework initialization.
2016-08-02 16:59:22 +05:00
Night Owl
213653e372
Remove duplicate macros.
2016-08-01 22:14:28 +05:00
Night Owl
2f0174474f
Oops. Fix macros.
2016-08-01 22:11:01 +05:00
Night Owl
3b8bc0a417
Reformat some files yet.
2016-08-01 16:13:13 +05:00
Night Owl
3728c6c7c2
Merge branch 'master' of https://github.com/FWGS/hlsdk-xash3d
2016-07-31 19:33:34 +05:00
a1batross
29f4c35e6e
Merge branch 'master' of https://github.com/SDLash3D/hlsdk-xash3d
2016-07-28 22:46:58 +06:00
a1batross
a52fda0b19
Don't write viewangles to engine while dead(fix of rotating corpses). Don't let any movement during intermission
2016-07-28 22:46:39 +06:00
Night Owl
7b24b6a6db
Move GameStudioModelRenderer_Sample to cl_dll/examples directory.
2016-07-03 18:59:31 +05:00
Night Owl
811d1fb20c
Move tf_defs.h to cl_dll/tfc directory.
2016-07-03 18:48:16 +05:00
Night Owl
9e7debbb34
Client format.
2016-07-03 18:39:55 +05:00
Night Owl
fad7aa53d7
Remove extra commas and semicolons.
2016-06-25 23:21:01 +05:00
Night Owl
1aac42f504
Remove extra commas and semicolons. Format.
2016-06-25 21:33:39 +05:00
Night Owl
2facf77f01
Fix buffer limit.
2016-06-13 18:50:38 +05:00
Night Owl
1866872887
Fix access to uninitialized variables.
2016-06-13 18:45:25 +05:00
Night Owl
146b1cfa84
Fix undefined reference.
2016-06-09 22:01:27 +05:00
Night Owl
4304846337
CRLF to LF all.
2016-06-04 18:24:23 +05:00
Night Owl
e0136428bb
Remov flag -fpermissive from Android Makefiles.
2016-06-04 17:20:18 +05:00
a1batross
056db40061
Merge @nekonomicon's fixes ( #1 )
2016-05-18 00:26:08 +03:00
Night Owl
0549ead5ab
Rework initialization.
2016-04-23 20:18:48 +05:00
mittorn
d287ed4463
64 bit support
2016-04-22 14:27:54 +00:00
Night Owl
0adbd65d8a
Fix build clang. Fix UB.
2016-04-18 01:30:05 +05:00
mittorn
3348f5d214
Check +speed value
2016-04-17 14:31:24 +00:00
Night Owl
b98bfe7578
Remove duplicate header.
2016-04-15 00:48:22 +05:00
mittorn
5d96c43c65
Fix crash
2016-04-05 15:40:20 +00:00
mittorn
dccb3f4aab
Fix mingw
2016-03-09 18:43:27 +06:00
mittorn
9fd279a974
Fix DLLEXPORT macro and move it's defination to separate file
2016-03-09 17:11:16 +06:00
mittorn
d9422fdb86
Text print tweak
2016-03-06 20:12:08 +00:00
mittorn
9c3ffa636a
Mobility interface, flashlight button switch
2016-03-02 08:02:02 +00:00
mittorn
f8f80b9a08
Do not draw black console characters
2016-03-02 08:00:09 +00:00
mittorn
d254f1bd0e
Improve client
2016-03-01 20:18:42 +00:00
mittorn
ac857199cf
Apply some valve's fixes
2016-02-29 20:04:01 +00:00
mittorn
0f599684c5
Upload first port
2016-02-24 21:26:16 +00:00