Commit graph

253 commits

Author SHA1 Message Date
Azumgi
46751896d3 [Custom Views] Pass view as self when calling 'destroy' 2019-01-25 02:47:05 +03:00
Azumgi
8854a77417 [Custom View] Ensure cursor stack safety on reload 2019-01-24 23:18:14 +03:00
Azumgi
cd56a2c49d [Custom Views] Little style changes [2] 2019-01-24 22:50:59 +03:00
Azumgi
205dd6fb8c [Custom Views] Little style changes 2019-01-24 22:47:23 +03:00
Azumgi
4a0d5474cd [Custom Views] Forbid closing view with chat opened 2019-01-24 22:11:18 +03:00
Azumgi
89a8146717 Change way of defining transitions for view toggling 2019-01-24 21:59:22 +03:00
Azumgi
199236f3cc [Options] Remove 'released' from allowed triggers 2019-01-24 18:44:20 +03:00
Azumgi
d6a50940d0 [Keybinds] Change 'vmf.add_mod_keybind's args 2019-01-24 18:00:12 +03:00
Azumgi
be266d62cd [VMF Mod Options] Center view for non 16:9 ratios 2019-01-24 14:29:40 +03:00
Azumgi
1f25cf8f92 [Custom Views] Change 'handle_transition's args 2019-01-21 15:43:21 +03:00
Azumgi
2e7ca9c6c0
Log readable names of hooked objects (#41) 2019-01-21 13:07:57 +03:00
FireSiku
b172d19f24 [Hooks] Make Travis happy about long error messages 2019-01-21 04:49:59 -05:00
FireSiku
04f49e995b [Hooks] Show readable strings in hook creation info logs. 2019-01-20 22:56:36 -05:00
FireSiku
89e88b41af [Hooks] Do not show unique ID address in info log 2019-01-20 22:53:10 -05:00
Azumgi
0ccae4dbc5 [Legacy Options] Remove 2 mods from legacy list 2019-01-18 16:21:41 +03:00
Azumgi
b229ab6aa1 Strip UI Scaling 2019-01-18 16:21:41 +03:00
Azumgi
92b12fb5b7
Subclass hook fix (#40) 2019-01-17 13:12:26 +03:00
Azumgi
2f2bb43dd2 [Legacy Options] Add deprecated widgets warning 2019-01-17 12:25:43 +03:00
FireSiku
91a83e8cbc [Hooks] Set unique_id correclty if a second mod hooks the same function 2019-01-17 03:29:48 -05:00
Azumgi
db159a3385 [VMF Package Manager] Little style changes 2019-01-17 09:44:49 +03:00
FireSiku
fd5a3d3afc [Hooks] Removed unused variable. 2019-01-16 19:24:07 -05:00
FireSiku
630893203f [Hook] If someone tries to hook an internal hook function, redirect it to the corresponding original function 2019-01-16 19:02:56 -05:00
FireSiku
b409b9b01b [Hooks] Use a better unique identifier for registry tables.
Initially used the function reference of the original function, but this caused issues with inherited functions. This commit changes it so that we're using our own internal hook function reference as the identifier.
2019-01-16 01:25:45 -05:00
Azumgi
adab780a53
VMF package manager overhaul (#36) 2019-01-14 13:25:46 +03:00
Azumgi
6226eb9312 [VMF Package Manager] Add public status list 2019-01-13 16:47:26 +03:00
Azumgi
d9a6696174 [VMF Package Manager] Add loading cancellation 2019-01-13 16:44:26 +03:00
FireSiku
bf67d37ad8 [Hooks] Clean up code by making sure obj is never nil.
Set obj to _G for global functions.

This should reduces the headache of "if obj then [obj][method] else [method] end" and make code look cleaner and less confusing in the process.
2019-01-12 02:06:14 -05:00
Azumgi
9b00e6e66e [Chat Actions] Add numpad enter support (commands) 2019-01-04 14:36:06 +03:00
Azumgi
0dbbdce62e [Custom Views] Little style changes 2019-01-04 14:16:13 +03:00
Azumgi
845ba03527 [Custom View] Fix loading screen reloading crash 2019-01-04 14:15:19 +03:00
Azumgi
242ae7c710 [VMF Package Manager] Fix typo 2019-01-04 11:29:29 +03:00
Azumgi
646805d15e [VMF Package Manager] Small changes in comments 2019-01-04 09:48:40 +03:00
Azumgi
514d417626 [VMF Package Manager] Better queue handling 2019-01-04 09:38:53 +03:00
Azumgi
f12bc8a9f0 [VMF Package Manager] Big overhaul 2019-01-03 15:28: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