Commit Graph

357 Commits

Author SHA1 Message Date
dbc83446d5 Update client 2016-04-06 01:00:48 +03:00
3157d15c37 Use NEON/SSE sincos, use fast inverse square root 2016-04-03 22:48:10 +03:00
82b7877147 Spectator HUD update 2016-04-03 22:20:15 +03:00
1cde965e67 Code clean 2016-04-03 21:51:09 +03:00
8aee368184 Fix showvguimenu 2016-04-03 21:50:35 +03:00
cf00598927 Dynamic version of CHudMessage 2016-04-03 21:50:14 +03:00
2c4db7d70f Fix rubbish in localizer 2016-04-03 21:49:54 +03:00
7189fe0458 Properly shutdown localizer 2016-04-03 21:43:01 +03:00
8b85cf057d Update headers 2016-04-03 21:42:10 +03:00
6fbbff6e38 Update events 2016-04-03 21:41:55 +03:00
e6ef0ace3c Clean unneeded code. cs16-client is not for examples! 2016-04-03 21:41:29 +03:00
dfb5d24d71 Update draw util 2016-04-03 21:40:57 +03:00
f1b897ffdf Update weapon prediction 2016-04-03 21:40:01 +03:00
8d4515be42 Fix HUD_GetHullBounds 2016-04-03 21:38:51 +03:00
6f4d61c97b Fix left-handed brass 2016-03-20 21:27:07 +03:00
5c4704e17e Refactor, remove useless cvars, set defaults, spectator gui fixes 2016-03-20 20:42:55 +03:00
71b6c29f00 Fix build 2016-03-20 20:42:20 +03:00
e2e74b33db Fix thirdperson possible hack 2016-03-20 20:41:50 +03:00
3fd4fd2798 Upload another... 2016-03-20 02:40:36 +03:00
48bb684e9c Check for mobility 2016-03-20 02:40:03 +03:00
4bd88ec6d1 Valid shell position and velocity when lefthanded 2016-03-20 02:39:45 +03:00
d8c0a3eda7 Update Spectator gui 2016-03-20 02:39:11 +03:00
2f186c4172 Remove unneeded memcpy, some fixes 2016-03-18 01:46:20 +03:00
51a942babc Buttons in spectator mode 2016-03-18 01:45:34 +03:00
4fbe104ea5 Upload CSpectatorGui basic code. Some reformat, refactor. 2016-03-16 20:44:51 +03:00
c02670e736 call numberical_menu.cfg if unknown menu is shown 2016-03-16 20:43:08 +03:00
d6e067029c Nothing useless here for coder. Copyrights, warning fixes, et cetera 2016-03-15 21:42:16 +03:00
1ee7540b8d Add Spectator GUI into build. (empty cpp file) 2016-03-15 21:19:57 +03:00
79264b93bd Update CMakeLists 2016-03-13 00:24:43 +03:00
9b849ce062 Fix warnings, find by LTO 2016-03-13 00:17:49 +03:00
384aafa84f Additional checks for vgui2 localize parser 2016-03-13 00:17:16 +03:00
cc6c50e85e Fix FireBullets bugs 2016-03-13 00:16:17 +03:00
1677afff9f cs16-client now compiles with -Wall 2016-03-12 23:45:33 +03:00
b21d4d1a12 Remove unused file 2016-03-12 23:10:43 +03:00
4c113276af Fixed all warnings. If there's any problems, it will be here. 2016-03-12 23:10:18 +03:00
f3168aa727 Disable mouse on Android, don't change viewangles while dead 2016-03-12 22:34:43 +03:00
a41b3d7f58 Add additional check. I hope this may fix some crashes 2016-03-12 22:14:19 +03:00
e36d306756 Enable C++11, switch vgui_parser.cpp to unordered_map 2016-03-12 22:06:23 +03:00
f9c5950c48 Disable MOTD properly 2016-03-12 20:55:37 +03:00
b496903c36 Adjust sparks and wallpuff 2016-03-12 20:55:10 +03:00
cb4cc33574 Don't show viewmodel if FOV is too low, refactor one function 2016-03-08 00:01:20 +03:00
d23491caaf Sniper Scope: change flags of scope arc textures, add strokes at screen center 2016-03-08 00:00:14 +03:00
af2cac2836 Don't show messages from dead or spectating players if local player is alive or not spectating 2016-03-07 22:47:15 +03:00
8cbf20e501 Add GoldSrc support, SDL-based input, update CMakeLists 2016-03-06 21:42:50 +03:00
56602e0c03 CRLF to LF on all files(nothing changed) 2016-03-05 22:30:50 +03:00
2df8d31163 CP1251->UTF-8 2016-03-05 22:29:55 +03:00
1a1dcdaae7 Implement special for funny scripting. (disabled by default) 2016-03-05 21:39:46 +03:00
54dd10c841 FillRGBABlend is now fixed in engine, so remove many hacks 2016-03-03 16:09:15 +03:00
0d479a6b02 Fix build 2016-03-01 01:28:57 +03:00
62b2689f76 YaWPC. (Yet Another Weapon Prediction Commit) 2016-03-01 01:28:38 +03:00
7f99f779f3 YaSBC. (Yet Another ScoreBoard Commit) 2016-03-01 01:28:00 +03:00
be911ce686 Don't draw statusbar while spectating 2016-02-29 20:38:05 +03:00
a1f26f4d61 Clean weapon predicting code 2016-02-29 20:34:10 +03:00
db987e18f9 Show additional entities in overview mode 2016-02-28 00:08:22 +03:00
465f8349b9 Fix twice reloading bug: fill ItemInfoArray with valid data. Add m_flPumpTime to time decrement 2016-02-27 20:01:14 +03:00
378a44e0b2 Fix shadows, remove TriAPI code 2016-02-27 14:39:12 +03:00
31299ed401 Fix DrawRectangle 2016-02-26 01:11:49 +03:00
aada929d73 Hardcode team order 2016-02-26 01:11:02 +03:00
53e3cf4dc9 Try to fix armor bug 2016-02-26 01:10:20 +03:00
b498c6844c Delta balance 2016-02-26 01:09:38 +03:00
5227782037 Use CClientSprite in radar, add radar comments, make CClientSprite inlined 2016-02-24 12:14:48 +03:00
05871bad73 Move shadow code to StudioModelRenderer, add forgotten EventAPI calls 2016-02-24 12:13:00 +03:00
9539908ff5 update buildscripts 2016-02-23 22:43:31 +03:00
9aa14a3682 Fix overview non-clearing bug(ugly hack) 2016-02-23 22:38:01 +03:00
7f04e03bd4 Don't use TriAPI for shadows(maybe it will fix some shadow related bugs) 2016-02-23 20:15:28 +03:00
9878ea1f14 Penetration 2016-02-23 20:14:45 +03:00
e5cb94038f Move drawing utilites into separate class (anti-g(od)HUD) 2016-02-23 20:14:24 +03:00
0fe97ea805 #107 fix 2016-02-21 20:24:05 +03:00
2b8b768c53 Fix #109 #110 2016-02-21 20:22:14 +03:00
c628e2c46b Various changes 2016-02-21 20:11:40 +03:00
ad486a3cab Fix #111 2016-02-21 19:03:47 +03:00
efb6d8efc3 Decrease CVAR_GET_FLOAT calls 2016-02-21 18:49:40 +03:00
4b1efaca17 Use strncpy everywhere 2016-02-21 18:36:54 +03:00
7b2faf86ba Fix #114 2016-02-21 01:57:02 +03:00
4355c377f4 Various 2016-02-18 00:52:36 +03:00
c59a9a3082 -Use Xash3D checks now 2016-02-18 00:51:25 +03:00
898d909399 Fix crosshair 2016-02-18 00:50:19 +03:00
3b3d6f61e5 Happy weapon spray 2016-02-18 00:49:33 +03:00
9473200798 Fix fantom players in scoreboard, some rework of shitty scoreboard code 2016-02-17 14:07:22 +03:00
bda6a8e68d BotProgress fix 2016-02-17 13:35:40 +03:00
41d814c9ca Fix timer flickering fast on low countdown values 2016-02-17 12:13:27 +03:00
6f8e7e6e66 Disable reload animation in wpn prediction 2016-02-17 11:56:44 +03:00
4eef59ea00 Remove MOTD code from input 2016-02-17 11:50:07 +03:00
bc01fbaba8 It's better to use StudioRenderShadow instead of TriAPI, but it's not properly tested, so hide it under macro 2016-02-17 11:49:17 +03:00
c9bdee1c62 Fix scout spread 2016-02-16 10:39:09 +03:00
7376fb2dcb Fix m3 event 2016-02-14 22:26:39 +03:00
a6fe247417 Fix scoreboard attribute 2016-02-14 22:19:27 +03:00
95e8efc670 Rework smoke grenade, fix various bugs 2016-02-14 22:18:00 +03:00
fe210c20dc Enable vibration 2016-02-11 22:49:29 +06:00
baa405b724 Fix various crashes 2016-02-11 22:29:50 +06:00
70bc06d509 Add real screensize if hud_scale is used 2016-02-11 01:06:43 +06:00
1dfa7b0b14 Weapon predicting system rework/optimise, ugly fix of reload bug 2016-02-11 00:20:14 +06:00
d7e7368ff7 Undefine event origin fix 2016-02-11 00:19:33 +06:00
6232686127 Add forgotten macro 2016-02-09 23:24:42 +06:00
e957a650e4 HUD Battery fix 2016-02-09 21:38:56 +06:00
c6b38ff37d Normal chat 2016-02-07 22:16:56 +06:00
1322d92773 Enable hack from d0f8b49 2016-02-07 22:16:39 +06:00
4a9fe8e9b9 It's C++, why not? 2016-02-07 22:15:56 +06:00
d0f8b498ca Fix bullet decal from non-local players(ugly hack) 2016-02-07 22:15:32 +06:00
6cab8c8d23 Working shotgun spread 2016-02-07 18:11:30 +06:00
aa823a0584 Suppress warning about model sequences 2016-02-07 17:30:07 +06:00
9cf28cdf64 Working shadows 2016-02-05 21:38:18 +06:00
411dfb5d8c Use boolean here 2016-02-05 21:37:57 +06:00
69f715f87e Fix flashlight 2016-02-05 21:37:30 +06:00
ca2a7f84e0 Working shadows 2016-02-03 22:59:21 +06:00
19b520981f Use cs-style EV_FireBullets (WIP) 2016-02-03 22:42:14 +06:00
8c0f226218 Fix VestHelm armor icon, refactor sprites. Now here is a new class: CSprite, which intializes with sprite name and have it's index, sprite handle and rect. Because it's more pretty 2016-02-01 22:29:38 +06:00
8f6c4b2d65 Fix ItemPostFrame in client side weapon predicting, remove unneeded HL code 2016-02-01 22:29:38 +06:00
jeefo
ea51b4a2c1 Merge remote-tracking branch 'refs/remotes/SDLash3D/master' 2016-01-31 17:03:26 +03:00
jeefo
5b21d1381a Fixed crash on bot disconnect.
Fixed debug-build RTC failures on HUD messages.
Fixed compiling.
2016-01-31 16:59:47 +03:00
488509e1d1 Fix build & Fix #69 2016-01-30 22:24:46 +06:00
jeefo
b6cd4e64e7 Merge remote-tracking branch 'refs/remotes/SDLash3D/master' 2016-01-30 16:50:12 +03:00
jeefo
1a42a5169e Fixed MSVC compiler errors
Fixed CS16Nd autobuy & bombdefuse crashes.
2016-01-30 16:50:08 +03:00
51f616f8c2 Fix #75 2016-01-30 19:37:51 +06:00
437152cc21 Scoreboard fix #94 #93 2016-01-30 15:15:19 +06:00
9494b2031b Fix build 2016-01-30 00:29:50 +06:00
f97154ae2c Fix #76. #ValveWhy. Found a new problem with SayText message 2016-01-30 00:28:17 +06:00
2e127dd1ec Fix many scoreboard related bugs 2016-01-29 19:16:57 +06:00
cf13d1e5d0 Fix #85 2016-01-29 17:42:55 +06:00
f129a8672d Fix Android.mk 2016-01-29 17:38:51 +06:00
503be59118 Use #pragma once in headers to speed up building 2016-01-29 17:37:45 +06:00
f886158521 Possible fix of #84 2016-01-29 01:17:43 +06:00
6d5b060c2e Fix #83, fix typo 2016-01-29 01:08:11 +06:00
a60217e02c Fix #92 and #88 2016-01-29 00:56:05 +06:00
24980b19d3 Fix #87, #89 2016-01-29 00:29:48 +06:00
65e4792348 Reorganize client source code 2016-01-28 19:06:06 +06:00
1a1d5d68a6 Fix glock18 burst mode(again), ugly fix of death cam. Autoindent on some files 2016-01-22 23:58:47 +03:00
9617775f75 glock18 burst mode, remove HL weapon code 2016-01-17 15:04:33 +03:00
fd240654cd Wallpuff. Little changee to credits 2016-01-14 01:25:57 +03:00
ea30866953 License issue fix (#78) 2016-01-12 00:05:36 +03:00
c85c13b067 Fix USP sounds 2016-01-10 19:24:56 +03:00
8032f270ce Fix a mistype 2016-01-10 00:03:49 +03:00
ec5e1c5104 Hook HUD_MobilityInterface 2016-01-10 00:02:28 +03:00
c4d6c9ca05 Working smoke grenade 2016-01-10 00:02:04 +03:00
555ceaea3a Fix stdlib header name to C-style, so it builds on Android NDK (API level 12) 2016-01-09 18:03:45 +03:00
a4c8d19261 Yet another event_usp.cpp fix. Now it works :D 2016-01-09 17:43:46 +03:00
3a72c24890 Fix event_usp.cpp. Shield must work also when cl_lw is 0 2016-01-09 17:31:23 +03:00
06b7e69d60 Working shield with cl_lw 1 2016-01-09 17:27:49 +03:00
d598fe37fe UTF16 VGUI2 i18n parser(thanks @jeefo for help and code) 2016-01-09 00:06:19 +03:00
ef7fcc72f0 Remove useless anymore files, like clientside server browser and studio render sample 2016-01-08 22:39:48 +03:00
67c8b673df Fix build, change HUD drawing order 2016-01-08 22:30:05 +03:00
5ce19ced91 Big Commit: ShadowIdx (still not working), various fixes for Sniper Scope, Crosshair, MOTD, Scoreboard(#69, #68). Weapon prediction improvements, it's playable fully now, but need test 2016-01-08 00:23:35 +03:00
e851ab2804 showscoreboard2 command for rendering scoreboard in defined place with defined colors and alpha. Hide MOTD by default(because it's a raw HTML). DrawDarkRectnagle enhancements 2016-01-05 00:27:46 +03:00
74d1f687ac Fix sniper scope fov 2016-01-04 21:17:00 +03:00
0f16fb88b0 hud_centerid fix #42, advanced status string parser 2016-01-04 01:15:18 +03:00
7ad2ea2003 Fix #65, update readme, some code refactor 2016-01-04 00:32:30 +03:00
bf612cfe4b Blinking Bomb icon 2015-12-28 22:11:01 +03:00
342d0bb68f Update global HUD header. (global headers must die) 2015-12-28 22:09:11 +03:00
36f5e6a624 Fix minor timer issues 2015-12-28 22:08:34 +03:00
631c2c7136 Add menus for radio, hook it from ShowMenu, add cvar _extended_menus 2015-12-28 21:45:36 +03:00