Commit graph

197 commits

Author SHA1 Message Date
Azumgi
7ce06d5786 [Hooks] Split up string exceeding 120 chars
Travis will be finally happy yay.
2018-12-14 20:24:59 +03:00
Azumgi
2879193731 Unify indentation style
Except for hooks module.
2018-12-14 20:18:07 +03:00
f113736db7 Fix package loading timing 2018-12-11 17:05:09 +01:00
b7569e2c41 Remove final new lines 2018-12-11 16:18:31 +01:00
2c7828e6a5 Rename package manager module 2018-12-11 16:18:31 +01:00
115dd5eddc Forcefully unload packages on VMF reload 2018-12-11 16:08:12 +01:00
e9502a1add Make package loading asynchronous by default 2018-12-11 15:50:28 +01:00
072a2f183f Flush packages after loading asynchronously 2018-12-11 15:45:35 +01:00
e7141099b5 Rework package loading timing
Loading packages asynchronously would unnecessarily skip a frame before
starting to load a new package after the previous one finished.
2018-12-11 15:42:16 +01:00
430fda7912 Add function documentation 2018-12-11 15:38:13 +01:00
Azumgi
26f52622f6
Wrap package loading callback in safe call
Co-Authored-By: SirAiedail <SirAiedail@users.noreply.github.com>
2018-12-11 14:11:45 +01:00
83635ecea5 Remove useless method 2018-12-10 16:10:40 +01:00
Manuel Blanc
f6dce4984a Add parameter validation
Co-Authored-By: SirAiedail <SirAiedail@users.noreply.github.com>
2018-12-10 16:09:13 +01:00
d0d0d5ef91 Check if package exists before attempting to load 2018-12-10 16:06:02 +01:00
09ce5e281c Allow fuly qualified resource package names
Stop enforcing a naming convention for mod packages.
2018-12-10 16:04:32 +01:00
5d19c8953f Automatically determine mod handle
Remove the burden fromt he modder to keep the workshop ID in sync by
determening the mod's handle during initial load.

This also removes the requirement to wait until all mods have been
loaded before being able to load packages.
2018-12-10 15:54:57 +01:00
0b3b09bada Remove debug prints 2018-12-05 21:15:14 +01:00
4b6827f688 Port mod package manager 2018-12-05 21:12:05 +01:00
Azumgi
abe9a35f68
Merge branch 'master' into new_keybinds_and_custom_menus 2018-11-13 20:45:26 +03:00
Azumgi
87c4bdcf70 [Custom Views] Add description for some functions 2018-11-13 20:14:27 +03:00
Azumgi
2f0636f443 [Custom Views] Add handle_transition args check 2018-11-13 20:13:20 +03:00
Azumgi
2d288bb737 [Custom Views] Fix nil instead of error message 2018-11-13 16:40:32 +03:00
Azumgi
42ff0bd6b2 [Keybinds] Errors refactoring 2018-11-13 16:38:55 +03:00
Azumgi
e940f59fd3 [Mod Options] Move options view to separate file 2018-11-12 18:52:05 +03:00
Azumgi
2decd8d2e0 [Custom Views] Make register_view work with files 2018-11-12 18:49:27 +03:00
Azumgi
1b93ca23ab [Custom Views] Misc. changes for error-handling 2018-11-11 17:42:56 +03:00
Azumgi
180edd4075 [Custom Views] Wrap ingameui methods in safe calls 2018-11-10 18:46:32 +03:00
Azumgi
da2cdc669d [Safe Calls] methods migration and renaming 2018-11-10 15:53:40 +03:00
Azumgi
ad3d2a8767 [Custom Views] Add check if view is active 2018-11-07 16:42:52 +03:00
Azumgi
1de94497f9 [Custom Views] Fix not working 'active' option 2018-11-07 16:33:54 +03:00
Azumgi
0e51011f6c [Custom Views] Add a lot of checks with feedback 2018-11-07 13:49:30 +03:00
Azumgi
f3443dc32e [Custom Views] More checks for transition handling 2018-11-01 12:08:58 +03:00
Azumgi
199a174a57 [Custom Views] Complete overhaul (basic) 2018-11-01 10:45:00 +03:00
Azumgi
0b7af2d48b [Misc] Add vmf.catch_errors 2018-11-01 10:29:59 +03:00
Azumgi
e83c3d893b [Keybinds] Overhaul 2018-10-29 15:39:00 +03:00
Azumgi
b2ca577c73 [Network] Fix broken RPCs for VT2 2018-10-20 14:45:02 +03:00
Azumgi
505ed47e05 Remove VT2 1.2 compatibility 2018-10-20 14:43:47 +03:00
Azumgi
f5b65201e0 [Keybinds] Move "build_keybind_string" function 2018-10-15 14:34:05 +03:00
Azumgi
1c8e1121fe [Mods Options] Refactor keybind widget's callback 2018-10-15 14:33:24 +03:00
Azumgi
8ae2297fbf [Mod Options] Fix options for disabled mutators 2018-10-11 14:32:01 +03:00
Azumgi
e70b8b5fa5 Check for old VMF mods 2018-10-11 12:49:54 +03:00
Azumgi
fcffb8a2d3 [Table Dump] Better arguments checks 2018-10-11 12:36:00 +03:00
Azumgi
964e6f6e6f Add VT2 1.2.1 Beta compatibility 2018-10-10 12:09:41 +03:00
Azumgi
75fb26d3cf [Keybinds] Change way of getting key data 2018-09-27 15:05:48 +03:00
Azumgi
1271b26dcf [Logging] Add 'echo_localized' 2018-09-15 16:58:55 +03:00
Azumgi
fd1e3a1379 [Options] More widget checks and names changes 2018-09-15 16:38:57 +03:00
Azumgi
0c3406ada5 Rename 'setting_name' to 'setting_id' 2018-09-13 09:49:40 +03:00
Azumgi
9b93f0c232 [Persistent Tables] Fix default tables 2018-09-13 09:35:54 +03:00
Azumgi
b98902f533 [VMF Options] Move to new widget definition system 2018-09-09 21:52:14 +03:00
Azumgi
4290903964 [Options] Little style changes 2018-09-09 21:51:29 +03:00