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
Azumgi
9ce4e9cafc
[Options] Refactoring and more checks
2018-09-09 20:28:39 +03:00
Azumgi
991e5fcbe9
[Options] Full data validation and improvements
2018-09-08 23:36:10 +03:00
Azumgi
502707f21a
Merge pull request #24 from FireSiku/old_hooks_removal
...
Remove old hooks notation
2018-09-06 15:01:27 +03:00
Azumgi
463387b7e9
[Options] Add option for default collapsed widgets
2018-09-05 20:29:48 +03:00
Azumgi
8480796adb
[Options] Restore autosquashing title and tooltip
2018-09-05 18:40:03 +03:00
Azumgi
91826a5b70
[Options] Fix not working mod favoriting
2018-09-05 18:27:22 +03:00
Azumgi
fcce983c9e
[Options] Change some bad widget data names
2018-09-05 18:04:55 +03:00
Azumgi
51aa520df9
[Mod Options] Fix group widget collapsing
2018-09-05 17:00:49 +03:00
Azumgi
96050d50da
[Options] New widget definition system
2018-09-05 16:08:57 +03:00
Azumgi
adf3b56e31
[Options] Move legacy code to separate file
2018-09-03 14:41:13 +03:00
Azumgi
a0f61e9295
[VMF Loader] Clean up
2018-09-02 16:53:52 +03:00
FireSiku
6c366a9503
Hooks: Update rehook warning.
2018-09-01 22:12:32 -04:00
FireSiku
157551519c
Hooks: Remove "Obj.Method" notation when creating/handling hooks.
2018-09-01 22:03:03 -04:00
Azumgi
bab8a36027
Remove pre1.2 VT2 compatibility
2018-09-01 19:15:29 +03:00
Azumgi
0fd1bcc392
[Chat Broadcast] Add VT2 1.2 compatibility
2018-08-23 14:52:52 +03:00
Azumgi
fda3b5ac8b
Merge pull request #23 from Aussiemon/fixes/sanitize_clipboard_paste
...
Sanitize clipboard paste
2018-08-22 18:00:22 +03:00
Azumgi
c943b17385
[Mod Options] Little code style change
2018-08-22 17:58:27 +03:00
Azumgi
bfd467e0a2
[Mod Options] Add current VT2 compatibility
...
It's gonna be removed once VT2 1.2 is out.
2018-08-22 17:22:24 +03:00
Azumgi
945c699beb
[Mod Options] Fully rewrite button injection code
...
Fixed all crashes and added console menu support.
2018-08-22 17:17:47 +03:00
Aussiemon
e051642ef9
Changed initial sanitize step to remove carriage returns by key, not keycode
2018-08-21 17:45:05 -06:00
Azumgi
1dfb8d80ff
[VMF Loader] Remove debug output
2018-08-21 09:53:01 +03:00
Azumgi
e3d16127e9
[Dev Console] Forbid using in official realm (VT2)
...
Fatshark's demand.
2018-08-21 09:50:23 +03:00
Azumgi
d7f2d31897
[Hooks] Fix inability to find original functions
2018-08-21 09:30:38 +03:00
Azumgi
16d72fc593
Add reliable way to determine current game version
2018-08-21 09:00:12 +03:00
Azumgi
25ac1f8763
[Internal Mod Data] Add 'allow_rehooking' field
2018-08-20 22:42:35 +03:00
Azumgi
231468c451
Merge pull request #19 from FireSiku/new_hooks
...
Add ability to update hook handlers (aka rehook)
2018-08-20 22:23:54 +03:00
Azumgi
589ebb28c3
Fix chat-rpc-related crash for VT2 1.2
2018-08-20 22:17:19 +03:00
Azumgi
e625e16b11
[Settings] Make set_user_setting call safe
2018-08-20 20:19:16 +03:00
Azumgi
b0a86a0dd1
[Custom Textures] Fix not working debug output
2018-08-20 20:13:47 +03:00
bi
76c2e2cd21
[Commands List GUI] fix wrong commands' offset
2018-07-16 16:25:36 +03:00
Aussiemon
6a389d3a6f
#21 Sanitize clipboard paste
2018-06-27 18:00:49 -06:00
FireSiku
9f05b8a326
Rehooking will only happen when allow_rehooking is set to true
2018-06-27 16:46:19 -04:00
FireSiku
4cbdba8951
Code refactor based on UnShame's advice
...
local functions will now use `mod` instead of `self` to be more clear about intent.
_registry now holds hook_data and nothing else, as a registry should. This will make it easier to implement the hook debugging utilities planned later on.
_registry.hooks and _registry.origs have been renamed to _hooks and _origs.
mod:enable_all_hooks and mod:disable_all_hooks are now both calling the internal toggle_all_hooks_for_mod function to be consistent with the rest of the API.
2018-06-27 16:11:51 -04:00
FireSiku
28bc668747
Hooks: Allow updating hook handler without affecting order.
...
It will throw an error if you're trying to update a hook using a different hook_type api to prevent any weirdness by jumping from one chain to the other.
Also created a specialized function for hook_data initialization.
2018-06-27 16:11:51 -04:00
bi
49e4d427d4
Settings: little style changes
2018-06-23 15:51:23 +03:00
bi
603f78b0c5
Misc: little style changes
2018-06-21 10:20:27 +03:00
bi
13727c1adc
VMF Mod Data: got rid of 'is_togglable' and 'is_mutator' methods
2018-06-21 09:40:02 +03:00
bi
a172f72c0a
VMF Mod Data: updated external change protection
2018-06-20 00:26:33 +03:00
bi
b5a9699bd8
VMF Mod Data: changed several comments
2018-06-19 17:38:17 +03:00
bi
391c1ca65f
VMF Mod Data: refactoring, adding modification protection
2018-06-19 17:05:38 +03:00
bi
cb0e0b5585
Chat Actions: little style change
2018-06-19 17:02:30 +03:00
bi
15f7194629
Fixed error fest in mutators test file
2018-06-19 16:28:22 +03:00
bi
e0e519fbad
Updated hooks definitions
2018-06-18 19:50:58 +03:00
bi
5b153657e7
VMF Options: fixed duplicated option's name in tooltip
2018-06-18 18:41:29 +03:00
bi
d825003301
Logging: fixed duplicating mod output in log
2018-06-18 18:36:01 +03:00
bi
1b5111d067
Safe Calls: moved to a separate file
2018-06-11 19:52:40 +03:00