Commit Graph

532 Commits

Author SHA1 Message Date
Vlad Loktionov
72eda99c65 Fonts/localizations: refinements
* Use font replacements from csv
* Add 'Apply built-in fonts' button for languages with fallback fonts
* Arabic localization: Workaround for forced RTL text conversion
* Czech localization: Fixes
* Russian Partial localization: Fix Y offset in built-in fonts
2023-02-24 05:52:55 +03:00
fed
6745473ac3 Fix LUI std::optional + cleanup 2023-02-24 00:39:45 +01:00
fed
7fd6db31ca Small config fix 2023-02-24 00:20:39 +01:00
fed
6d76c8c467 Update config.cpp 2023-02-22 23:20:33 +01:00
fed
a94ebd65a7 Move config file to appdata 2023-02-22 23:12:15 +01:00
fed
3dee271fb2 More font fixes 2023-02-22 22:51:22 +01:00
fed
0ea88fa8e7 Fix font crash 2 2023-02-22 21:38:41 +01:00
fed
7de396f054 Add missing font error 2023-02-22 21:21:32 +01:00
fed
b99c375fd5 Fix font crash 2023-02-22 21:17:25 +01:00
fed
7781ca6daf Small fix 2023-02-22 05:48:38 +01:00
fed
f9c4522899 Expose h2 mod config to LUI 2023-02-22 05:33:16 +01:00
fed
24ecf5d3e6 Load font replacements from csv 2023-02-22 05:32:56 +01:00
fed
e1b2528ffb Fix build 2023-02-22 05:02:09 +01:00
fed
818f35cfeb Fixes + validate h2 mod config 2023-02-22 04:36:28 +01:00
fed
806c206fe8 Add czech support 2023-02-22 02:28:27 +01:00
fed
a309c87324 Remove redundant operators 2023-02-16 20:33:56 +01:00
fed
f98f7ad781 Rename hks_object to hks_reference 2023-02-16 20:31:23 +01:00
fed
5b67a53e9c Make lua vms safer 2023-02-16 19:09:44 +01:00
fed
16d04d41dc Small fix 2023-02-16 17:16:29 +01:00
fed
adf00ff48a Add h2 mod config 2023-02-16 17:01:53 +01:00
fed
e28dd09cba Use defaultBold instead of bank on asian langs 2023-02-15 20:50:40 +01:00
fed
0225505661 Add mod stats funcs 2023-02-15 18:24:35 +01:00
fed
c7f6864aea Add g_connectPaths 2023-02-15 18:12:50 +01:00
Vlad Loktionov
add7ba003f Updater: Use placeholders for the first run 2023-01-09 03:41:31 +03:00
fed
ba4fc58d14 Scripting fix 2022-12-18 04:15:25 +01:00
fed
9ed579176c Add some commands 2022-12-07 00:14:50 +01:00
fed
ecbb9812be Discord presence fix 2022-12-06 03:48:17 +01:00
fed
f8dee1efe9 Load path fastfile 2022-12-06 03:47:41 +01:00
fed
93a7771199 Read pakfiles from custom folders 2022-12-05 00:42:10 +01:00
fed
7d0a659b37 Small fix 2022-11-29 20:37:05 +01:00
fed
614be352cb Update symbols.hpp 2022-11-29 00:54:04 +01:00
fed
1bb5773c48 Fix ingame cinematics 2022-11-29 00:42:16 +01:00
fed
e7ec73b98f Support custom imagefiles 2022-11-24 21:24:50 +01:00
fed
f92f22dac0 Update notifies.cpp 2022-11-13 20:03:10 +01:00
fed
0e056e6835 Fix gsc crash 2022-11-13 19:16:48 +01:00
fed
44c1a1ccd7 Allow mods to load other zones through zones.csv 2022-11-12 21:32:43 +01:00
fed
69f251bfda Fix script leaks + increase memory 2022-11-11 22:04:24 +01:00
fed
02b3dd1493 Add db_printLoadedAssets 2022-11-11 21:18:58 +01:00
FutureRave
8d09d63606
general: update 2022-11-06 12:36:59 +00:00
fed
82de294e23 Small fix 2022-11-05 19:35:16 +01:00
fed
ea5e02b43b Cleanup 2022-11-05 00:04:40 +01:00
fed
fb615f8261 Fix build 2022-10-23 06:54:30 +02:00
fed
fe5fab1a89 Add pm_bouncing 2022-10-23 06:40:52 +02:00
fed
e0e638c382 Allow loading mp maps 2022-10-23 06:40:36 +02:00
fed
5c0c3bf16f Add db_printDefaultAssets 2022-10-22 00:39:11 +02:00
fed
7a2d345c1c Merge branch 'develop' of https://github.com/fedddddd/h2-mod into develop 2022-10-22 00:38:19 +02:00
fed
71594bdbc7 Fix crash on Sys_error 2022-10-22 00:38:00 +02:00
FutureRave
896a7af562
remove to_lower as everything is already lower case 2022-10-15 17:11:40 +01:00
FutureRave
91a1cd4d06
improvements from s1x 2022-10-14 23:09:17 +01:00
Edo
39ae8e4ba5
Remove memcpy 2022-10-12 18:55:39 +01:00
fed
d3fca84cd8 Discord museum status 2022-10-09 16:39:57 +02:00
fed
e14962398a Remove comment 2022-10-07 21:57:59 +02:00
fed
fa3a27cafa Force loadscreen 16:9 ratio 2022-10-07 21:47:18 +02:00
fed
fa1912bc6c Finish reallocating xmodel pool 2022-10-07 20:49:53 +02:00
fed
b4d3ea9fcf Fix loadbar on specialops 2022-10-06 19:21:44 +02:00
FutureRave
0ad6b83f59
(gsc): Improve decomp code a tiny bit 2022-10-05 18:29:36 +01:00
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