Commit Graph

2534 Commits

Author SHA1 Message Date
Edo
a4a622be52
[System]: Correct one function (#660) 2022-12-19 17:57:13 +00:00
Edo
d8166a4166
[Threading]: Initialize tls stuff, making va thread safe (#657) 2022-12-18 21:47:59 +00:00
Edo
24ccd9af3b
[String]: Use ARRAY_COUNT (#656) 2022-12-17 17:54:41 +00:00
Louve
54aabee08d
Fix zonebuilder FindAsset always returning -1 (not found) even when t… (#655)
Co-authored-by: Louvenarde <louve@louve.systems>
Co-authored-by: Edo <edoardo.sanguineti222@gmail.com>
2022-12-17 16:52:00 +01:00
Diavolo
fdd02e2b8d
[RCon]: Tidy up code 2022-12-16 22:48:52 +01:00
Louve
3cdd4d0636
Draw model name in its ground color if relevant (#651)
Co-authored-by: Diavolo <edoardo.sanguineti222@gmail.com>
2022-12-16 14:55:50 +00:00
Edo
b4750b14b1
[Dvar]: Remove cheat protection from useful dvar (#647) 2022-12-15 16:10:25 +00:00
Edo
3622946a10
[Refactor]: Use enum instead of int to catch mistakes (#646) 2022-12-15 15:38:50 +00:00
Edo
ab0da964ee
[Bots]: Support clantags (#645) 2022-12-15 16:13:49 +01:00
Edo
d1efb1e219
[Threading]: VA is already thread safe (#644) 2022-12-15 16:06:28 +01:00
Edo
34b92abd97
[Menus]: Remove calls to free menus (#642)
It may cause a crash and does not even take a dent in the massive memory leak.
2022-12-14 21:10:48 +00:00
Diavolo
6f0438631f
[Menus]: Disable this code too 2022-12-14 12:44:06 +01:00
Diavolo
e30bde8458
[Menus]: Cleanup 2022-12-14 12:31:03 +01:00
Louve
f91fa0d0b2
Big zonebuilder update (#427) 2022-12-14 08:40:15 +00:00
Edo
ac90714811
[General]: Use std::format more often (#635) 2022-12-11 17:54:24 +00:00
Edo
fc97944a12
[MapRotation]: Port changes from S1x (#629) 2022-12-06 21:18:29 +00:00
Edo
3f06eb8eb9
[Weapon]: Move fix here (#627) 2022-12-06 14:42:09 +00:00
FutureRave
c6b3e88938
[Main]: Improve error message 2022-12-06 13:05:03 +00:00
Edo
b8b9391332
[UI]: Fix bug (#625) 2022-12-05 19:34:24 +00:00
Edo
210873499c
[Theatre]: Cleanup (#624) 2022-12-05 18:45:14 +00:00
Edo
72460032ae
[Zone🅱️uilder]: Port over json parsing of loc strings (#621) 2022-12-04 00:15:46 +00:00
Edo
5eec7687be
[Zone🅱️uilder]: Delete 'uncompressed' file (#620) 2022-12-02 19:18:04 +00:00
FutureRave
2ef78d5042
[Download]: Use auto keyword 2022-12-01 18:33:32 +00:00
FutureRave
becfbe42fa
[Download]: Use filesystem library for paths 2022-12-01 18:24:44 +00:00
FutureRave
0156f106b9
[Zone🅱️uilder]: Remove + 1 2022-12-01 15:01:30 +00:00
Edo
ee2d12e404
[RawFile]: Remove copy & pasted code 2022-12-01 14:55:25 +00:00
FutureRave
1283abc4e7
[RawFiles]: Actually fix parse code 2022-12-01 14:46:18 +00:00
Edo
7778798f17
[Zone🅱️uilder]: Fix rawfiles (#614) 2022-12-01 14:04:30 +00:00
Edo
874a8027af
[Vote]: Add menus (#613) 2022-12-01 00:00:18 +00:00
Edo
845b9e0341
[Script]: Use .at instead of [] (#611)
* [Script]: Use .at instead of []

* [Script]: Fix typo
2022-11-29 16:01:20 +00:00
Edo
b195d96abb
[GSC]: Script aliases (#610) 2022-11-29 08:18:10 -06:00
Edo
c3d6b20644
[Command]: Fix definition of Cmd_AddCommand (#609) 2022-11-28 23:15:21 +00:00
FutureRave
0642eed7bc
[General]: Correct function definition 2022-11-28 22:04:57 +00:00
Edo
a447a2945a
[Menus]: Fix crashes while parsing (#607) 2022-11-28 18:06:42 +00:00
FutureRave
70ff8d3aa3
[Zone🅱️uilder]: Fix typos 2022-11-28 17:30:17 +00:00
Edo
49d5e84372
[Script]: Add method to clear text in HudElems (#604) 2022-11-27 19:20:07 +00:00
FutureRave
0b2cca4cb6
[Download]: Update Download.cpp 2022-11-26 19:28:49 +00:00
FutureRave
5f14a73968
[Party]: Fix bug 2022-11-26 19:18:41 +00:00
Edo
44098c51cd
[General]: Remove unnecessary global header (#600)
* [General]: Remove unnecessary global header

* [ServerList]: Fix comp
2022-11-26 17:38:34 +00:00
FutureRave
2d71174ed4
[Threading]: Removing this was not a good idea 2022-11-26 15:50:33 +00:00
FutureRave
4a677c5d08
[ScriptStorage]: Allow users to load the storage file 2022-11-25 18:33:53 +00:00
FutureRave
af6958bba1
[Script]: Add IsSprinting & more 2022-11-24 15:30:06 +00:00
Edo
dc7f6a9f6a
[PlayerMovement]: Re-write stubs (#586) 2022-11-23 15:19:47 -06:00
FutureRave
9b903f64e4
[Changelog]: Re-order urls 2022-11-23 15:31:48 +00:00
Edo
6a8088281f
Refactor IO (#575)
* [IO]: Use filesystem where possible

* [Library]: One small thing
2022-11-22 00:34:17 +00:00
FutureRave
0593d890da
[Debug]: Refactor the crit sections class wrapper 2022-11-21 23:22:52 +00:00
Edo
7a2f72f69c
[Logger]: Refactor pipe (#570)
* [Logger]: Refactor pipe

* [Logger]: Remove unused function
2022-11-17 23:06:47 +00:00
Edo
2919bc1e76
[Localization]: Remove redundant specifier 2022-11-17 12:03:06 +00:00
FutureRave
7414ceef44
[Zone🅱️uilder]: Add .str parsing 2022-11-16 17:25:21 +00:00
Edo
56baaaf0f5
[Chat] Add missing server is not running warning (#567)
* [Dedicated] Is running function

* [Dedicated]: Better func
2022-11-15 16:18:00 -06:00
Edo
2acd584723
[Threading]: Attempt to resolve a crash... (#561)
* [Threading]: Attempt to resolve a crash...

* [Main]: Add srand

* [General]: Use std::

* [Party]: Fix legacy q3 protocol
2022-11-10 16:35:57 +00:00
FutureRave
cf57918d50
[Localize] Remove patch that double loads str files 2022-11-09 15:22:35 +00:00
dependabot[bot]
0301204da5
Bump deps/mongoose from e580d4e to eed25f2 (#558)
* Bump deps/mongoose from `e580d4e` to `eed25f2`

Bumps [deps/mongoose](https://github.com/cesanta/mongoose) from `e580d4e` to `eed25f2`.
- [Release notes](https://github.com/cesanta/mongoose/releases)
- [Commits](e580d4e637...eed25f23f6)

---
updated-dependencies:
- dependency-name: deps/mongoose
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update Download.cpp

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Edo <edoardo.sanguineti222@gmail.com>
2022-11-09 09:41:36 +00:00
Edo
c72c5c62e8
[RawFiles] Load info strings from raw (#557) 2022-11-09 01:31:46 +00:00
dependabot[bot]
dc251326d6
Bump deps/mongoose from 1f85fcc to e580d4e (#555)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Edo <edoardo.sanguineti222@gmail.com>
2022-11-08 21:25:43 +00:00
Edo
207835be4e
[Ceg]: Update (#554) 2022-11-08 00:19:17 +00:00
Edo
0d22bc482a
[Slowmotion] Cleanup functions defs (#551) 2022-11-04 00:28:44 +00:00
Edo
314e4efd55
Fix crash in Dvar_EnumToString (#548) 2022-11-02 13:40:45 +00:00
Edo
ed3217794e
[Chat] Fix logic error in chat code (#547) 2022-11-01 23:23:25 +00:00
FutureRave
fe1b2f41b0
Remove unnecessary static_cast 2022-10-31 14:49:30 +00:00
Edo
41e7d1c37f
[Deps] Update Mongoose (#540) 2022-10-28 11:52:34 +01:00
Edo
c946e26467
Keep Curses Headers to the Console Module (#539) 2022-10-27 00:48:33 +01:00
Edo
83e924201c
[Party] Remove doubly added backslash (#537)
* [Party] Remove doubly added backslash

* [ServerInfo] Add version to the info endpoint
2022-10-23 14:40:26 +01:00
Edo
29e6d2afff
[Proto] Update source file (#535) 2022-10-20 16:06:29 +02:00
Edo
a44a3680af
[RCon] Re-organize code for redability (#533) 2022-10-19 15:28:53 +01:00
Edo
c7ae27a664
[Json] Sorround with try/catch (#531)
* [Json] Sorround with try/catch

* Minor format fix
2022-10-16 16:17:42 +01:00
Edo
8adec3e678
[Monitor] Yeet (#529) 2022-10-15 20:31:16 +00:00
FutureRave
b7e6662e6b
got -> itr 2022-10-14 22:56:09 +01:00
Edo
60db18f9a3
[Ceg] Another CEG function (#517) 2022-10-10 09:07:42 -04:00
Edo
a710855f9d
[SlowMotion] Change Hook (#516)
* [Slowmotion] Remove hook

* [SlowMotion] Nop the call
2022-10-09 19:46:53 +01:00
Edo
d48a6c073e
[Structs] Fix logfile definitions (#515) 2022-10-09 19:40:17 +01:00
Edo
6bca6f9df9
[GSC] Add back fileremove (sandboxed!) (#509) 2022-10-04 22:56:42 +01:00
Diavolo
a41054e36a
[Party] Fix 2022-09-24 19:04:37 +02:00
Louve
ea09208b2a
Cool console! (#477)
* Cool console!

* Debug-specific colors

* Fix release build

* Clear text "as we go"

* dpi awareness :>

* Address diamante'"s formatting review

* Addressed review, added font license

Co-authored-by: rackover <roxanne@thegamebakers.com>
Co-authored-by: Louvenarde <louve@louve.systems>
2022-09-20 19:33:21 +03:00
Edo
b886ca9a4d
[Premake5] Update Binary (#492)
* [Premake5] Update Binary

* [IMaterial] Fix obscure compilation error
2022-09-14 00:06:56 +02:00
Edo
e49194ff65
Feature/set get stat (#485)
* [Script]: GetStat & SetStat from CoD4(x)

* [Stats] Remove limitation

* [Bullet] Clean this up
2022-09-13 20:39:45 +02:00
Edo
db84f7c82d
Update Menus.cpp 2022-09-08 21:38:14 +02:00
Edo
2b774b6c41
[General] Small cleanup (#479)
* [General] Small cleanup

* [Bots] Use ZeroMemory
2022-09-08 17:11:54 +02:00
Edo
7a5e3f3df4
[Debug] Remove faulty hook (#476) 2022-09-05 18:28:07 +02:00
Diavolo
b95e2da341
[Voice] Use regular heap alloc instead of large local 2022-09-04 10:49:54 +02:00
Dss0
c2c7d1187e
Merge pull request #471 from diamante0018/feature/entitydump-csv
[ClientCommand] Add entity dump function
2022-09-03 22:40:33 +02:00
Diavolo
ab18ad501c
fix loc bug 2022-09-02 10:27:44 +02:00
Diavolo
c2f4c30a5f
[ClientCommand] Add entity dump function 2022-09-01 16:54:28 +02:00
Diavolo
4955105dc3
[Localization] Use _TRUNCATE where appropriate 2022-08-31 23:11:46 +02:00
Diavolo
a577f76a37
[Localization] Add simple error message 2022-08-31 22:36:22 +02:00
Diavolo
d90d8985ff
[Localization] Move patch here 2022-08-31 22:21:26 +02:00
Diavolo
d0932060b4 Fix bug in localized strings code 2022-08-31 17:44:19 +02:00
Edo
def50477fb
[Chat] Move chat commands here (#462)
* [Chat] Move chat commands here

* [General] Rename Cbuf_AddServerText to Cbuf_AddServerText_f
2022-08-27 23:19:09 +02:00
Edo
78e495f9f2
Wide apply env (#460)
* Wide apply env

* [MapRotation] Use std::format where possible
2022-08-26 20:12:26 +02:00
Diavolo
e0ea52a496
[Gamepad] Fix comp 2022-08-25 00:01:49 +02:00
Diavolo
f0258631b2
[Vote] Improvements and other things 2022-08-24 23:46:07 +02:00
Diavolo
8d351fb205
[Vote] Replicate g_allowVote 2022-08-24 17:59:45 +02:00
Diavolo
a8a3d7c918
[Vote] Handle client commands for kick & tempbanuser 2022-08-24 17:53:42 +02:00
Diavolo
77c25bc11f
[MapRotation] Remove tolower (not needed) 2022-08-24 16:41:02 +02:00
Diavolo
0393953ded
[Vote/UI] Add UI Script handlers 2022-08-24 16:38:14 +02:00
Edo
3246ed1bf5
[Script] Refactor loading code & add pseudo int64 (#419) 2022-08-23 09:12:20 +02:00
Edo
a3776f34c7
[ClientCommand] Make kill always avaiable (with cheats on) (#451)
* [ClientCommand] Make kill always avaiable (with cheats on)

* Update ClientCommand.cpp
2022-08-22 19:46:47 +02:00
Edo
0a6d0e1b5d
[Logger] Only filter out coloured strings were needed (#450) 2022-08-22 18:28:57 +02:00
Edo
28653a0e8d
[Download] Nullsub some quirky gsc functions (#449)
* [Download] Nullsub some quirky gsc functions

* [Script] Show deprecation warning

* [Script] Expand error message
2022-08-22 18:17:42 +02:00
Edo
92ed9afae7
[Voice] Use largelocal for speed/+cred/respect? (#448) 2022-08-22 16:06:00 +02:00