Lioncash
7fbdf384de
Console: Reuse iterator in unregisterCommand()
...
We can use the result of the first lookup to avoid doing another
redundant lookup to perform the erasure.
While we're at it, we can use std::string's std::string_view constructor
in order to avoid an unnecessary strlen() call.
2019-10-21 01:07:41 -04:00
Lioncash
5d2987588b
Console: Use emplace in registerCommand()
...
Allows avoiding a redundant initial element. We can also remove the
const from the std::function rvalue to allow a std::move to take effect.
We can also use the std::string_view constructor for std::string to
avoid an unnecessary strlen() call.
2019-10-21 01:03:30 -04:00
Lioncash
cbd40382bf
Console: Convert std::bind to lambda functions
...
Same behavior, but more efficient than wrapping the function.
2019-10-21 00:53:15 -04:00
6b56f2e6a4
Minor fixes
2019-09-29 08:17:01 -07:00
7fd54effc9
Various fixes and improvements to CVars
2019-09-29 05:44:01 -07:00
Lioncash
5e66bee28c
General: Include necessary includes
...
Ensures all necessary includes are included and also removes headers
that aren't necessary
2019-09-04 19:23:55 -04:00
Lioncash
7088235bc4
hecl: Correct fmt formatting specifiers
...
These should be using {}-style formatting specifiers instead of printf
style. While we're at it, std::move the std::string instances where
applicable to potentially avoid reallocations.
2019-08-24 03:21:16 -04:00
Jack Andersen
6988f86672
Massive fmtlib refactor
2019-07-19 18:22:58 -10:00
Jack Andersen
2ab5c1436b
Add True and False tests for bitwise enums
2019-04-02 18:29:04 -10:00
f776f89bee
Minor Console fixes
2018-12-09 21:12:10 -08:00
Jack Andersen
72193079ae
New code style refactor
2018-12-07 19:18:42 -10:00
Jack Andersen
0ee18025dd
Huge shader infrastructure refactor
2018-10-06 16:53:57 -10:00
801214d9a8
Add support for string literals in Console::executeString, add implicit get/set for CVars
2018-06-12 19:03:29 -07:00
0aac384e60
Fix windows build
2018-05-01 17:41:51 -07:00
eae0dbd2bb
Add ability to flag commands
2018-04-29 20:11:37 -07:00
694bc0a888
Add ability to unregister command on the fly
2018-04-26 14:10:32 -07:00
24abe43865
Restore old CVar system
2018-01-21 18:40:11 -08:00
8cef2f5192
Add ability to enable developer mode in-code
2018-01-15 05:18:03 -08:00
5c66ffc5df
Refactor CVar class
2018-01-15 04:34:02 -08:00
52c14848d9
Various minor fixes
2018-01-13 23:37:00 -08:00
f777d034f2
Implement core Console behavior and CVarManager commands
2018-01-13 18:39:32 -08:00
7f6913e046
Fix linux build, initial logvisor integration into Console
2018-01-11 08:26:33 -08:00
24ee3fa21e
Windows build fix
2018-01-11 04:38:35 -08:00
e247733d04
Initial Console
implementation
2018-01-11 01:36:00 -08:00