Commit Graph

526 Commits

Author SHA1 Message Date
fed
60f4a6e98f Remove old unused stuff 2022-10-05 00:07:04 +02:00
fed
d3af34572d Allow custom gsc scripts to load game gsc 2022-10-04 22:47:16 +02:00
fed
5284571e8e Console fixes 2022-10-01 21:12:04 +02:00
fed
fab33acbf2 Important fixes 2022-10-01 20:23:22 +02:00
fed
59c3652513 Hudelem fonts stuff 2022-09-29 21:56:06 +02:00
fed
c5f02179c5 Add "bankshadow" hudelem font 2022-09-27 01:56:06 +02:00
fed
2d575519b7 Better lui print 2022-09-26 21:34:26 +02:00
fed
2fdb27e872 Small change 2022-09-20 19:26:23 +02:00
fed
86e4020b6d Merge branch 'develop' of https://github.com/fedddddd/h2-mod into develop 2022-09-19 18:34:02 +02:00
fed
ac9340fe3e Clear gsc hooks when scripts are freed + fixes 2022-09-19 18:33:51 +02:00
Edo
9f988288cc
use correct asset for fastfile lookup 2022-09-12 18:10:46 +02:00
Diavolo
f129e137fa
remove undefined behaviour from string util 2022-09-06 17:51:40 +02:00
Diavolo
d45efeee08
Allow custom scripts to load other scripts 2022-09-06 17:44:37 +02:00
Vlad
f5436c63f5
Merge branch 'fedddddd:develop' into locale 2022-09-03 05:28:14 +03:00
Federico Cecchetto
e2d44d3d06 Remove setdiscordimage 2022-09-03 02:24:46 +02:00
Federico Cecchetto
7f2d79349b Dont always load eng ff 2022-09-03 02:11:00 +02:00
Federico Cecchetto
28bac8266a Small fix 2022-09-02 19:05:42 +02:00
Federico Cecchetto
526e67524c Print builtin function name in gsc errors 2022-09-02 19:01:53 +02:00
Vlad
ec90d34634
Merge branch 'fedddddd:develop' into locale 2022-09-02 03:19:55 +03:00
Federico Cecchetto
db908d1012 Add setdiscordimage command 2022-09-02 01:31:02 +02:00
Federico Cecchetto
34e3a57b57 Use gsc-tool tokens 2022-09-01 19:37:27 +02:00
Federico Cecchetto
c72cfe510d Add getsoundlength func 2022-09-01 04:42:44 +02:00
Federico Cecchetto
49a774c29b Some fixes 2022-09-01 04:13:23 +02:00
Federico Cecchetto
4e1aab66b2 Some fixes 2022-08-30 23:30:55 +02:00
Federico Cecchetto
3bd8e8cd3c Better gsc link errors 2022-08-30 21:47:29 +02:00
Federico Cecchetto
1aa2a0ce0c Small fix 2022-08-30 19:37:46 +02:00
Federico Cecchetto
4a3d8c3252 Fix cg_gamemessage 2022-08-30 02:23:07 +02:00
Federico Cecchetto
c505c29bea Longjmp fixes
Co-Authored-By: Edo <edoardo.sanguineti222@gmail.com>
2022-08-29 03:05:32 +02:00
Federico Cecchetto
f8247a8f3b Merge branch 'develop' of https://github.com/fedddddd/h2-mod into develop 2022-08-28 16:43:05 +02:00
Federico Cecchetto
d6cf2cfee5 Small change 2022-08-28 16:42:57 +02:00
Diavolo
375f4499ec
gsc: allow scripts with both handles to load, assert gsc funcs 2022-08-28 11:07:31 +02:00
Federico Cecchetto
94ce2e4dac Read gsc rawfiles 2022-08-27 17:36:49 +02:00
Federico Cecchetto
e08791440d Use appdata folder for patched binary/update 2022-08-27 16:16:49 +02:00
Vlad
587f8f631e
Merge branch 'fedddddd:develop' into locale 2022-08-26 23:40:12 +03:00
Diavolo
da19752942
Say no to compression 2022-08-26 20:08:36 +02:00
Federico Cecchetto
995efde352 Dont always load eng patch 2022-08-26 04:08:51 +02:00
Federico Cecchetto
de250a18ad Use aslr patch 2022-08-26 04:00:20 +02:00
Federico Cecchetto
4ae0e604df Add replaceFunc to gsc + fix entity struct 2022-08-26 03:59:50 +02:00
Vlad
69308c2d19
Merge branch 'fedddddd:develop' into locale 2022-08-26 04:10:04 +03:00
Federico Cecchetto
9320f7e7b8 GSC support 2022-08-24 19:07:14 +02:00
Federico Cecchetto
bd1b3e321d Some xmodel progress 2022-08-23 19:07:24 +02:00
Federico Cecchetto
642002ec1e Dont reallocate xmodel pool for now 2022-08-23 02:49:56 +02:00
Vlad
09b0a6d028
Merge branch 'fedddddd:develop' into locale 2022-08-22 18:43:19 +03:00
Vlad Loktionov
847bdea4ff Sync with 3cd9c83 2022-08-22 18:42:46 +03:00
Federico Cecchetto
3ac670b12a Make snd_musicDisabledForCustomSoundtrack saved 2022-08-22 17:31:58 +02:00
Federico Cecchetto
3cd9c83d2e Small fix 2022-08-22 17:11:27 +02:00
Federico Cecchetto
50d3c94058 Load custom map patch zones 2022-08-22 16:50:22 +02:00
Vlad Loktionov
89b20d82cb Localization and UI patches 2022-08-22 10:15:45 +03:00
Federico Cecchetto
c0013157b2 Handle fastfiles in updater 2022-08-22 04:38:53 +02:00
Federico Cecchetto
9bb33b1a59 Database changes 2022-08-22 03:04:53 +02:00
Federico Cecchetto
8685504588 Update fastfiles.cpp 2022-08-22 02:22:20 +02:00
Federico Cecchetto
ea7f36f69a Add poolUsages & poolUsage commands 2022-08-22 02:16:57 +02:00
Federico Cecchetto
93d4128f82 Reallocate xanim pool 2022-08-22 02:04:21 +02:00
Federico Cecchetto
14f15ae47c More mod loading stuff 2022-08-22 01:42:13 +02:00
Federico Cecchetto
da7bd08bad Mapents changes 2022-08-21 04:04:07 +02:00
Federico Cecchetto
7f414bf768 Add some tokens 2022-08-21 03:46:42 +02:00
Federico Cecchetto
cc1297170a Add luinotify function 2022-08-17 03:07:14 +02:00
Federico Cecchetto
03e5a9b00f Fix vid_restart/snd_restart crashing 2022-08-17 03:06:56 +02:00
Federico Cecchetto
1fb1842647 Mod loading stuff 2022-08-17 03:05:45 +02:00
Diavolo
b847bc6330
(filesystem): Return correct working directory 2022-08-07 21:11:17 +02:00
Federico Cecchetto
98258080af Add function_ptr class for scripting 2022-08-02 04:42:26 +02:00
Federico Cecchetto
d320db4ecd Add dumpSoundAlias command 2022-08-02 00:59:16 +02:00
Federico Cecchetto
33088d070b Small fix 2022-08-01 22:20:28 +02:00
Federico Cecchetto
3a5d262691 Improve sound file loading 2022-08-01 04:30:05 +02:00
Federico Cecchetto
141466035f Custom sound support 2022-07-31 23:59:01 +02:00
Federico Cecchetto
f5970c6136 Move mapents keys 2022-07-31 23:54:39 +02:00
Federico Cecchetto
c68f4909d9 Add more mapents keys 2022-07-28 20:34:33 +02:00
Federico Cecchetto
b49ef0aba7 Add more mapent keys 2022-07-24 23:57:30 +02:00
Federico Cecchetto
c32a8fdda6 Add some mapents keys 2022-07-24 18:08:00 +02:00
Federico Cecchetto
1e71472b46 Allow bnet filesystem to read file from disk
+ soundfile stuff
2022-07-22 19:51:26 +02:00
Federico Cecchetto
1bb5117ef6 Localize string in setdiscorddetails 2022-07-21 01:02:56 +02:00
Federico Cecchetto
6fd735f9b4 Add black gradient to loadscreen 2022-07-19 22:55:09 +02:00
Federico Cecchetto
c8ded5b1d6 Change search path priority 2022-07-19 19:42:59 +02:00
Federico Cecchetto
1f2025d75e Delay imgui initialization 2022-07-19 03:26:26 +02:00
Federico Cecchetto
54c7d0f5e5 Always load english language file first 2022-07-19 00:51:20 +02:00
Federico Cecchetto
05aec0a84e Fix warning 2022-07-18 19:30:02 +02:00
Federico Cecchetto
b476859f09 Custom loadscreen dvars 2022-07-18 19:20:09 +02:00
Federico Cecchetto
899f8d27a6 Add overridedvarint & removedvarintoverride 2022-07-17 21:33:07 +02:00
Federico Cecchetto
2245d9812a Handle endon conditions on notify 2022-07-17 20:26:39 +02:00
Federico Cecchetto
246c9876f6 Cleanup data folder during update 2022-07-17 00:31:15 +02:00
Federico Cecchetto
7e73389d50 Move client data path 2022-07-16 23:36:12 +02:00
Federico Cecchetto
a487e6fcfa Custom localization file support 2022-07-16 00:29:44 +02:00
Federico Cecchetto
1c7ec6e3a7 Additional localized string hook 2022-07-15 02:43:50 +02:00
Federico Cecchetto
3e04061489 Add current language to search paths 2022-07-15 02:02:50 +02:00
Federico Cecchetto
bd56afd4c5 Some changes 2022-07-15 00:12:27 +02:00
Federico Cecchetto
0e8cecd0c3 Use com_restart in updater 2022-07-14 04:10:28 +02:00
Federico Cecchetto
f1563dc0e6 Select language menu 2022-07-14 03:23:56 +02:00
Federico Cecchetto
87426b7c25 Small fix 2022-07-14 00:42:35 +02:00
Federico Cecchetto
ec9f3faa3e Add cg_drawGameTime 2022-07-13 23:18:35 +02:00
Federico Cecchetto
785301b405 Dispatch notifies in correct context 2022-07-05 03:36:17 +02:00
Federico Cecchetto
8b7e5d46dd Speed graph fix 2022-07-04 18:31:05 +02:00
Federico Cecchetto
c1c22a9642 Update function_tables.cpp 2022-07-02 02:29:32 +02:00
Federico Cecchetto
3632e0913c Speed graph changes 2022-07-01 19:23:06 +02:00
Federico Cecchetto
4a9fc4ece9 Lua function conversion 2022-07-01 03:02:37 +02:00
Federico Cecchetto
a30132f85c Fix lui keydown & keyup events 2022-06-30 21:54:09 +02:00
Federico Cecchetto
a63ce4f254 Mapents & scripting changes + some fixes 2022-06-30 21:24:49 +02:00
Federico Cecchetto
c71c20a29a Add dumpMapEnts command + some keys 2022-06-29 02:06:10 +02:00
Federico Cecchetto
b4b52bfdba Another fix 2022-06-28 12:57:56 +02:00
Federico Cecchetto
68e599f134 Small fix 2022-06-28 12:33:49 +02:00
Federico Cecchetto
4e648df210 Small change 2022-06-28 12:24:14 +02:00
Federico Cecchetto
f076720764 Support custom addon_map_ents 2022-06-28 12:06:04 +02:00
Federico Cecchetto
439e505f0a Some changes 2022-06-26 02:27:57 +02:00
Federico Cecchetto
9e9848d915 Fix images 2022-06-25 18:11:35 +02:00
Federico Cecchetto
8cd8b3f17e Run lua scheduler with game time 2022-06-21 23:26:59 +02:00
Federico Cecchetto
dd0f60ed48 Add scr_autoRespawn 2022-06-21 03:30:41 +02:00
Federico Cecchetto
c83c736ce2 Add some stuff i need 2022-06-20 23:30:38 +02:00
Federico Cecchetto
6c15fa7b25 Scripting changes 2022-06-19 21:21:09 +02:00
Federico Cecchetto
6d3f032ae8 Add script animation type 2022-06-19 20:56:15 +02:00
Federico Cecchetto
16f181bda4 Add setdiscorddetails 2022-06-19 03:32:37 +02:00
Federico Cecchetto
25aac40a4f Small fix 2022-06-18 21:16:37 +02:00
Federico Cecchetto
025a814a6b Add fonts/bank.ttf to usable hudelem fonts 2022-06-18 20:55:03 +02:00
Federico Cecchetto
1057a5cffc Small fix 2022-06-18 20:02:09 +02:00
Federico Cecchetto
a3d7620432 Add R_WarnOncePerFrame to logger 2022-06-18 20:01:21 +02:00
Federico Cecchetto
aecf1a6693 Update fastfiles.cpp 2022-06-17 20:29:53 +02:00
Federico Cecchetto
edf7ef8a27 Better external console 2022-06-17 20:22:12 +02:00
Federico Cecchetto
bc7f1cbf8d Update dvar list + add dvar descriptions 2022-06-17 20:00:39 +02:00
Diavolo
a95262c0f3
fix(dvars): Format 2022-06-17 16:00:43 +02:00
Diavolo
4b270384c0
(gameplay): Restore some dvars 2022-06-17 15:55:08 +02:00
Federico Cecchetto
c68db4a464 Remove this 2022-05-29 23:09:17 +02:00
Federico Cecchetto
62ad023328 Small fix 2022-05-29 00:46:51 +02:00
Federico Cecchetto
33062ec55f Fix binding related crash 2022-05-12 23:15:39 +02:00
Federico Cecchetto
18f6a6fa57 Update dvars.cpp 2022-05-11 22:59:20 +02:00
yoyo1love
f1ecb5ca0e Revert "Update dvars.cpp"
This reverts commit 214a42b033.
2022-05-11 23:49:19 +03:00
yoyothebest
214a42b033
Update dvars.cpp 2022-05-11 21:01:49 +03:00
yoyo1love
03350be03f Update dvars.cpp 2022-05-11 20:26:26 +03:00
Federico Cecchetto
99360ac4d5 Debug missing assets 2022-05-05 00:48:19 +02:00
fed
eff45cecc3
Merge pull request #254 from netadr/develop
Yeet CASC (WIP)
2022-05-02 23:58:03 +00:00
Clayton Gilmer
97d565a6e1 make requested changes 2022-05-02 19:41:05 -04:00
Clayton Gilmer
afdde41a1b minor change related to how default is set 2022-05-02 19:05:32 -04:00
Clayton Gilmer
91e25f97ac fix up everything 2022-05-02 19:00:08 -04:00
Federico Cecchetto
4537aff086 Small change 2022-05-02 01:05:16 +02:00
Federico Cecchetto
06187a79ac Small fix 2022-05-01 17:49:10 +02:00
Federico Cecchetto
31e1b9b7fb Try block in notify 2022-04-30 00:26:57 +02:00
Federico Cecchetto
8f6a927792 Small fix 2022-04-30 00:17:21 +02:00
Federico Cecchetto
9d9e1d0047 Small fix 2022-04-29 22:53:01 +02:00
Federico Cecchetto
1a4904fc10 Small change 2022-04-29 22:48:13 +02:00
Federico Cecchetto
b25119effc Some changes 2022-04-29 21:51:25 +02:00
Federico Cecchetto
232d06d837 Remove stack class 2022-04-28 22:57:38 +02:00
Federico Cecchetto
35cdd3927e Big LUI scripting changes 2022-04-28 22:41:29 +02:00
Federico Cecchetto
7c93b1b041 Fix #261 2022-04-26 17:19:33 +02:00
Federico Cecchetto
29b95f3625 Cleanup 2022-04-25 22:41:02 +02:00
Federico Cecchetto
bb018bc76b Small fix 2022-04-19 02:22:59 +02:00
Federico Cecchetto
a8537ed67b Some fixes 2022-04-18 20:01:23 +02:00
Clayton Gilmer
3b2a59a944 initial draft of database component 2022-04-15 12:54:49 -04:00
Federico Cecchetto
d1ea7a76ea Small fix 2022-04-08 16:19:52 +02:00
Federico Cecchetto
f47a0ce7d9 Small fix 2022-04-03 22:01:50 +02:00
Federico Cecchetto
9b2190cd4a Small fix 2022-03-29 23:59:07 +02:00
Federico Cecchetto
2c14dc15e6 Remove protobuf 2022-03-29 19:57:49 +02:00
Federico Cecchetto
59ee7caf42 Cleanup 2022-03-27 19:29:28 +02:00
Federico Cecchetto
d88a48b666 Use builtin LUI event handler + fixes 2022-03-22 20:27:20 +01:00
Federico Cecchetto
40f277abfd Hopefully fix event_handler 2022-03-21 21:48:22 +01:00
Federico Cecchetto
b1c69e74b7 Small fix + cleanup 2022-03-21 18:39:51 +01:00
fed
0938e5450d Small fix 2022-03-21 10:41:59 +01:00
fed
ca72522988 Re-add json script 2022-03-21 10:39:24 +01:00
Federico Cecchetto
d6900f2af6 Small scripting changes 2022-03-20 19:51:29 +01:00
Federico Cecchetto
6b2cf9df0e Don't always release custom assets 2022-03-20 19:40:15 +01:00
Federico Cecchetto
2f5eaa8298 Cleanup ui scripts 2022-03-20 00:57:07 +01:00
Federico Cecchetto
769d2c74cb Some fixes 2022-03-20 00:41:25 +01:00
Federico Cecchetto
0b50ac734d New updater 2022-03-20 00:13:14 +01:00
Federico Cecchetto
ad042ec91d Fix release build crash 2022-03-19 23:38:50 +01:00
Federico Cecchetto
964ceb5be9 Custom font & material support 2022-03-19 23:06:00 +01:00
Federico Cecchetto
80015c3839 Fix event_handler 2022-03-18 22:11:08 +01:00
Federico Cecchetto
22b14523b7 Use different loader method 2022-03-18 22:02:44 +01:00
Federico Cecchetto
a70fd7bd80 Small fix 2022-03-13 19:35:38 +01:00
Federico Cecchetto
725e0605e8 More LUI error handling 2022-03-11 22:06:05 +01:00
Federico Cecchetto
82a79009a3 Small fix 2022-03-03 01:17:22 +01:00
Federico Cecchetto
2cca7eae6a Fix converted functions 2022-02-23 20:50:05 +01:00
Federico Cecchetto
5afa80b085 Small fix 2022-02-18 01:19:40 +01:00
Federico Cecchetto
6f9cb89b54 vs2022 build 2022-02-17 20:22:28 +01:00
Federico Cecchetto
841c26762a Remove runner 2022-02-17 20:01:56 +01:00
Federico Cecchetto
4ab61d8242 Small change 2022-02-17 20:01:40 +01:00
Federico Cecchetto
4c01b28bab Fix fov dvars 2022-02-17 20:01:13 +01:00
Federico Cecchetto
73e59c8de1 Remove this 2022-02-09 22:35:23 +01:00
Federico Cecchetto
25ad14bca1 Add this back 2022-02-06 22:36:34 +01:00
Federico Cecchetto
1b1b52b5de Fix keybinds 2022-02-06 22:12:36 +01:00
Federico Cecchetto
f8e19bfed2 Remove custom UI stuff 2022-02-06 21:36:49 +01:00
Federico Cecchetto
81cc5142bf Fix text 2022-02-03 20:23:46 +01:00
Federico Cecchetto
c7ad7d4528 More branding 2022-02-02 23:58:46 +01:00
Federico Cecchetto
71beb8bac4 Use sys_ismainthread 2022-02-02 23:35:34 +01:00
Federico Cecchetto
2470553e1e Fix a weird LUI/UI scripting related crash 2022-02-02 21:31:22 +01:00
fed
8ba39f8fd5 Default cg_autoupdate to true 2022-02-01 09:16:15 +01:00
Federico Cecchetto
92aee41594 Make urls unique since it still caches them somehow 2022-01-31 23:57:15 +01:00
Federico Cecchetto
1775a13378 Use cURL so http requests don't get cached 2022-01-31 23:45:03 +01:00
Federico Cecchetto
5865f427de Add custom options tab 2022-01-31 22:47:57 +01:00
Federico Cecchetto
9fbd1695df Small fix 2022-01-31 22:47:30 +01:00
Federico Cecchetto
2c08102eba Small change 2022-01-31 15:55:04 +01:00
fed
afd9df7269 Fix text 2022-01-31 09:33:07 +01:00
fed
d131749a3c Fix build 2022-01-31 09:15:11 +01:00
fed
3a683f7171 Small fix 2022-01-31 09:05:34 +01:00
fed
dd38d2e6ff Dont update if debug build 2022-01-31 09:03:59 +01:00
fed
d910ea5df5 Also update binary with updater 2022-01-31 08:48:56 +01:00
Federico Cecchetto
b2247f7ae3 Add some functions 2022-01-31 02:22:58 +01:00
Federico Cecchetto
4f8c875c35 Add logger component 2022-01-31 00:23:42 +01:00
Federico Cecchetto
43f5603aa4 Add updater 2022-01-30 22:55:21 +01:00
Federico Cecchetto
03c24765a7 Test 2022-01-30 02:04:58 +01:00
Federico Cecchetto
cef4cbc5b9 commit 3 2022-01-29 21:27:54 +01:00
fed
5fae85dd35 commit 2 2022-01-29 16:50:41 +01:00
Federico Cecchetto
28763917ea commit 2022-01-29 02:14:36 +01:00
Federico Cecchetto
f520775ef3 Small fix 2022-01-29 01:24:05 +01:00
Federico Cecchetto
10bf954c2b Move mod commands to new component + small fix 2022-01-28 00:51:44 +01:00