Luke Street
5efaf5b7db
Merge submodule contents for hecl/master
2021-04-06 13:04:59 -04:00
Luke Street
ca94f6974c
Updates for fmtlib 7
...
Update submodules & tracking branches
2021-04-06 12:55:40 -04:00
Luke Street
e66bc80c49
Fix -Wstringop-truncation issues
2021-04-05 13:29:41 -04:00
Luke Street
0e0c7139d7
Add fullscreen CVar
2021-03-30 16:43:54 -04:00
Phillip Stephens
466325f916
Invert blender version check
2021-03-10 11:59:10 -08:00
Phillip Stephens
6163a9a917
Loosen up blender version requirements, add implicit true to command line boolean CVar
2021-03-06 18:43:47 -08:00
Phillip Stephens
cc6d977edc
Relax minimum blender requirement, add constants to easily update blender version
2021-02-28 12:32:29 -08:00
Luke Street
f302c41ed7
PyOutStream: properly cast char_type to int_type
2021-02-27 22:33:28 -05:00
Phillip Stephens
c11103350c
Make CVarCommons a pseudo singleton
2021-02-27 18:36:43 -08:00
Phillip Stephens
8fc39c4ce6
Add ability to search for blender version dynamically
2021-02-21 18:51:36 -08:00
Luke Street
fe9e74561e
Fixes for Apple Silicon
2021-01-06 20:54:11 -05:00
Phillip Stephens
185c79703e
Allow CVars to be set from the command line regardless of flags
2020-10-02 23:27:27 -07:00
Luke Street
a5f5308dc3
MeshOptimizer: Fix clang -Wrange-loop-analysis errors
2020-09-18 16:21:52 -04:00
Luke Street
11b1c57f61
Require Blender 2.90
2020-09-04 03:33:04 -04:00
Luke Street
e40e98faa6
Use Blender 2.83 on Windows
2020-06-13 20:08:55 -04:00
Luke Street
62f5617539
Use empty .blend on create; remove MallocNanoZone workaround
2020-04-15 02:13:11 -04:00
Luke Street
a22a5e9473
Add MallocNanoZone=1 on macOS for Blender
2020-04-15 00:44:09 -04:00
Luke Street
ff12c94eca
Default to Blender 2.82 path on Windows
2020-04-14 22:10:49 -04:00
Luke Street
89a1cedba1
Move Editor cvars to CVarCommons
2020-04-14 15:20:00 -04:00
Luke Street
aba42eba52
Add variableDt cvar
2020-04-14 14:40:03 -04:00
Luke Street
776e9394ac
Don't limit CpuCountOverride to nproc
2020-04-13 01:10:03 -04:00
Jack Andersen
6a8714c1f3
Update fmtlib
2020-04-11 12:48:11 -10:00
Jack Andersen
7ce829d134
Fix PyOutStream streambuf for MS STL
2020-04-10 18:58:06 -10:00
Jack Andersen
8fd6664984
Additional addon features for MP3
2020-04-09 17:19:33 -10:00
Lioncash
1a031f54c4
ProjectPath: Remove unused file-scope std::regex instance
...
Same behavior, minus an unnecessary heap allocation on program start.
2020-04-05 09:22:28 -04:00
Lioncash
393e824838
Project: Make checkForLine() a const member function
...
This only ever queries the existence of a line, so it can be made const.
2020-04-05 09:16:33 -04:00
Lioncash
ede801b344
Project: Use emplace_back where applicable in lockAndRead()
...
Same behavior, but allows for in-place construction.
2020-04-05 09:12:27 -04:00
Lioncash
45556184b4
HMDL_RT: Make use of std::make_unique
...
More straightforward than using raw new within a reset() call.
2020-04-05 09:05:37 -04:00
Lioncash
ebb0a161c3
HMDL_RT: Remove unnecessary pointer cast
...
The MemoryReader class already accepts const qualified data, so there's
no need to cast away const.
2020-04-05 09:03:38 -04:00
Phillip Stephens
3d0451a496
Compile fix
2020-03-03 16:52:57 -08:00
Emmanuel Gil Peyrot
32578f7520
Respect the XDG base directory specification
...
This helps unclutter the home directory from useless dotfiles, moving
them where they belong.
See https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
2020-02-25 12:29:15 +01:00
Luke Street
3294047a06
Require Blender 2.81+
2019-12-22 18:39:24 -05:00
Phillip Stephens
02d4292179
Add missing brace (where the heck did it go?)
2019-10-24 22:49:41 -07:00
Phillip Stephens
a9dee6e268
Minor string fix
2019-10-24 22:43:45 -07:00
Phillip Stephens
bc15ab2157
Merge pull request #32 from lioncash/console
...
Console: Minor changes
2019-10-24 22:41:08 -07:00
Lioncash
a0e6ec0de7
Console: Make State enum an enum class
...
Makes the enum strongly typed and impervious to implicit conversions.
2019-10-21 01:53:05 -04:00
Lioncash
78aa42032a
Console: Make truncation explicit within proc()
...
Makes floating-point truncation explicit.
2019-10-21 01:40:34 -04:00
Lioncash
358acfe944
Console: Use std::move within vreport()
...
Avoids redundant copies when emplacing into the log container.
2019-10-21 01:37:07 -04:00
Lioncash
c8eab43489
Console: Make commandExists() a const qualified member function
...
This doesn't modify internal console state, so it can be turned into a
const qualified member function.
2019-10-21 01:30:19 -04:00
Lioncash
deb09550d3
Console: Eliminate redundant strlen call in commandExists()
...
By using the std::string_view constructor for std::string, we can avoid
the char* constructor, which would require a strlen call in order to
determine the string size. This also allows it to work with
non-null-terminated strings.
2019-10-21 01:28:22 -04:00
Lioncash
96721d96ae
Console: Avoid unnecessary copies and lookups within executeCommand()
...
We can make use of the result of a find() call to avoid performing two
redundant lookups into the command map and also use std::move to avoid
performing potentially reallocating copies.
2019-10-21 01:26:21 -04:00
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
Lioncash
23f323b0f7
CVar: Use std::string::empty where applicable
...
We can use empty() instead of comparing against a default constructed
new instance.
2019-10-19 19:24:06 -04:00
Jack Andersen
72fabc9329
Minor blender exception detection bug fix
2019-10-12 18:54:07 -10:00
Jack Andersen
88e68e8aa3
Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/hecl
2019-09-30 21:30:17 -10:00
Jack Andersen
8a73a8ee48
Code style improvements
2019-09-30 21:23:35 -10:00
Phillip Stephens
6b56f2e6a4
Minor fixes
2019-09-29 08:17:01 -07:00
Phillip Stephens
7fd54effc9
Various fixes and improvements to CVars
2019-09-29 05:44:01 -07:00