Azumgi
845ba03527
[Custom View] Fix loading screen reloading crash
2019-01-04 14:15:19 +03:00
Azumgi
1f950de22e
[VMF Options View] Fix clamping decimal numbers
...
Numeric widget no longer removes 0 at the end of decimal part.
2019-01-01 08:42:51 +03:00
Azumgi
79506289e3
[VMF Mod Data] Log workshop mod name and id
2019-01-01 07:51:18 +03:00
Azumgi
5ba8406b53
Move vanilla mod data init to another file
2019-01-01 07:07:21 +03:00
ManuelBlanc
27f594070e
Fix mutators test error introduced in refactor
2018-12-27 18:31:18 +01:00
ManuelBlanc
ed738d48a0
Add the mod as the first arg to mod resource functs
2018-12-27 18:10:35 +01:00
ManuelBlanc
b3dfd788b8
Refactor mutator tests
2018-12-27 17:52:29 +01:00
ManuelBlanc
97bcc8de3e
Allow defining mod resources as functions or tables
2018-12-27 17:52:12 +01:00
Azumgi
ddac387832
[Logging] Little style changes
2018-12-27 17:21:18 +03:00
Azumgi
39167dc3e0
[VMF Package Manager] Remove check for handle
2018-12-27 17:21:18 +03:00
Azumgi
2369dfbd96
[VMF Mod Manager] Add steam mod data to mod_data
2018-12-27 17:21:18 +03:00
Azumgi
5f5bf5bfdf
[Legacy Options] Increase widget limit to 1024
2018-12-27 17:21:18 +03:00
Azumgi
34e9bed306
[VMF Mod Manager] Forbid creating mods in runtime
2018-12-17 19:04:19 +03:00
Azumgi
4154e86310
[VMF Mod Manager] Refactor error handling
2018-12-17 19:04:19 +03:00
Azumgi
f28c7a0c65
[VMF Mod Manager] Little style changes
2018-12-17 19:04:19 +03:00
FireSiku
8fd4dbbcef
hooks: Do not log hook state for mods that do not hook anything.
2018-12-16 06:51:09 -05:00
FireSiku
d252e17229
hooks: Throw an error if obj
is nil to avoid clusterfucks.
2018-12-16 06:51:09 -05:00
FireSiku
ce468164aa
Fixed a conditional flaw in is_orig_hooked
2018-12-16 06:51:09 -05:00
FireSiku
8af6a1b91c
Updated Comments
2018-12-16 06:51:09 -05:00
Azumgi
662effb590
[Logging] Fix infinite recursion in formatting
...
Could happen for strings with format specifier in the end.
2018-12-14 20:54:17 +03:00
Azumgi
f40685af6c
[Mod Options] Update for new 'register_view'
2018-12-14 20:47:42 +03:00
Azumgi
71f3bc55af
[Custom Views] Make 'register_view' accept table
2018-12-14 20:46:14 +03:00
Azumgi
e2111213d8
[VMF Package Manager] Remove unnecessary 'unload'
2018-12-14 20:29:29 +03:00
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