FireSiku
d35060d57a
Ignore the hook file since it will be changed soon.
2018-06-07 00:56:00 -04:00
FireSiku
61c0caa083
OptionsView: Fixed all luacheck errors.
...
The ascii is causing weird issues with line length so it has been disabled.
The file also contains really high amount of duplicated code causing Luacheck to throw a million redefined / shadowed variables warnings, so I muted those too for the time being.
2018-06-07 00:22:06 -04:00
FireSiku
99aec819b9
Custom Textures: make UI_RENDERERS a persistant table.
2018-06-07 00:21:39 -04:00
FireSiku
d207c30720
DevConsole: Moved globals inside a persistant table
2018-06-07 00:21:39 -04:00
FireSiku
036544e04a
Mutators: Rename external externals to be consistent with style
...
In most other files in VMF, modules (from mods and from source) and functions are lowercased without an underscore.
2018-06-07 00:21:39 -04:00
FireSiku
a349098062
Network: Get rid of some magic numbers.
2018-06-07 00:21:39 -04:00
FireSiku
a1124e3519
Keybindings: move input_service:get(special_key) calls out of the loop.
...
The function is called whenever a key is pressed, therefore we only need to check for ctrl, alt and shift once. Each of them was called twice, nested inside two loops.
The same thing can be found in Custom Menus, the same block of three lines and six conditionals. Good target for refactoring.
2018-06-07 00:20:27 -04:00
FireSiku
d9f3dd6c55
Commands: Replace command_entry with command_data
2018-06-07 00:20:18 -04:00
FireSiku
17505f0864
Fix line length errors across the entire project.
...
Modules include: Commands, UIScaling, Core Functions, Keybindings, Network, Settings, Dump, Custom Menus, Custom Textures, CommandList, ChatActions, VMFOptions
Extra: UIScaling: Fix _internals and remove single-letter vars
2018-06-07 00:18:35 -04:00
FireSiku
38af31d854
Changed the naming style for all internals across the project
...
Modules included: Commands, Keybindings, Network, Mutators, Settings, Localization, Persistant Tables, Toggling, Custom Textures, CommandList, Chat Actions
2018-06-07 00:11:49 -04:00
bi
d36f0b3d44
Options: automatic concatenation of the option name and a tooltip
2018-06-06 20:11:44 +03:00
bi
7205b4eb13
Chat: small changes in comments
2018-06-06 17:33:33 +03:00
bi
f16130838c
Events: refactoring
2018-06-06 17:17:55 +03:00
bi
44724faffe
Events: removed warning about not existing on_enabled/on_disabled event
2018-06-06 14:46:18 +03:00
bi
192871e222
Toggling: toggling mod now enables/disables all hooks by default
2018-06-06 14:42:12 +03:00
bi
edf53e44a4
Events: update event is now active only for enabled mods
2018-06-06 14:35:05 +03:00
bi
a634627823
Chat: refactoring, changing the way of sending message
2018-06-06 13:55:03 +03:00
bi
732c367397
Disabled mutators test
2018-05-31 15:53:51 +03:00
bi
f30c158fb3
Logging: fixed not showing mod name and msg type in chat
2018-05-28 22:43:31 +03:00
bi
1ac6a25024
Updated the rest of VMF to use new pcall system
2018-05-28 22:12:37 +03:00
bi
a7e88ef128
Renamed/removed files
2018-05-28 21:24:05 +03:00
bi
accbf12f2d
Moved custom gui textures information to mod_data
2018-05-28 20:35:31 +03:00
bi
1fbe207930
Reworked mods initialization process.
...
Reworked 'new_mod' functionality.
Reworked pcalls (added error callstack).
Got rid of 'mod:initialize', 'mod:initialize_data', 'mod:localization'.
2018-05-28 17:44:38 +03:00
bi
c2dabc69ac
VMF Loader: refactoring
2018-05-26 16:19:43 +03:00
bi
79ef3ff00d
Small changes that are pending for quite a while
2018-05-26 15:17:49 +03:00
bi
06be8520a7
Keybindings: possible fix for inevitable crash for controller users
2018-05-26 13:45:11 +03:00
bi
5ce828b247
Disabled test mod
2018-05-26 13:19:45 +03:00
bi
93652cc0f0
Options Menu: fixed multiple Mod Options buttons
2018-05-26 13:17:20 +03:00
bi
d0e691fd12
Chat Actions: blocked raycast workaround [2]
2018-05-26 11:57:04 +03:00
bi
77b7643744
Chat Actions: blocked raycast workaround
2018-05-22 12:40:53 +03:00
bi
a54d0528d9
Mutators: moving, removig and renaming stuff
2018-05-22 11:52:57 +03:00
bi
59ca071b0f
Mutators: changed method for retrieving cookies
2018-05-22 10:24:56 +03:00
bi
5946b0dac1
Mutators: tabs to spaces
2018-05-21 20:22:02 +03:00
bi
7efb7eca74
Mutators: final refactoring
2018-05-21 18:49:37 +03:00
bi
cfd0b449e8
VMF automatically determines VT version
2018-05-21 15:00:22 +03:00
bi
b44dac106e
Mutators: refactoring
2018-05-20 16:43:31 +03:00
bi
a603ac007c
Mutators: updated test file
2018-05-19 20:53:50 +03:00
bi
aa2fabd636
Mutators: added "no mutators" text to GUI
2018-05-19 20:53:50 +03:00
bi
6eff68f0ae
Mutators: added scrollbar to GUI
2018-05-19 20:53:50 +03:00
bi
febbd6ebd7
Mutators: cleaned up GUI and added localization
2018-05-19 20:53:50 +03:00
bi
f3e6e0daa4
Mutators: fully functional GUI
2018-05-19 20:53:50 +03:00
bi
00836e1edb
Custom Textures: fixed V2 reloading crash
2018-05-19 20:53:49 +03:00
bi
79ba4f5496
Porting to VT2 1.0.8
2018-05-19 20:53:49 +03:00
bi
4da00620b5
Mutators: partially working GUI
2018-05-19 20:53:49 +03:00
bi
8e730d1615
Mutators: first working GUI version
2018-05-19 20:53:49 +03:00
UnShame
6daf7518d4
Remove endless loop detection from mutator manager
...
Circular enable sequences are already caught when adding mutators
2018-05-16 11:38:45 +03:00
Azumgi
4a95994f96
Merge pull request #3 from FireSiku/improve_logging
...
Improve logging
2018-05-07 14:18:05 +03:00
FireSiku
ed31d8e58f
Changed functions to use implicit self.
2018-05-07 07:16:27 -04:00
FireSiku
4e0019306c
Don't format message if logging is disabled.
2018-05-07 06:13:07 -04:00
FireSiku
1b21550aa5
Don't format string for logging if we aren't sending to log.
2018-05-07 06:13:06 -04:00