Commit Graph

66 Commits

Author SHA1 Message Date
Lioncash d3ac48715f driver/main: Use separate variables for error checking in main()
Avoids reusing the same variable for two different areas of behavior and
uses separately named variables. This can help debugging if the first
condition isn't true, but the tool run condition is true, as it provides
an error count to compare against.
2019-08-19 21:57:25 -04:00
Lioncash 7647fa3ca6 driver/main: Factor out argument handling to its own function
Factors out the ToolPassInfo construction to its own function keep the
code isolated from everything else. Also simplifies the assignment in
main().

We can also migrate the global cwdbuf into this function to narrow its
scope down.
2019-08-19 21:50:02 -04:00
Lioncash d76d776a0e driver/main: Factor out tool construction code to its own function
Isolates the tool construction code and also makes the assignment within
main more straightforward. While we're at it, we can also make use of
std::make_unique within the relocated function.
2019-08-19 21:38:23 -04:00
Lioncash fd61ba6cc7 driver/main: Factor out project finding code to its own function
Keeps the logic contained within its own function and makes the
assignment more straightforward within main().
2019-08-19 21:18:05 -04:00
Jack Andersen 6988f86672 Massive fmtlib refactor 2019-07-19 18:22:58 -10:00
Jack Andersen 387f8fa864 Blender Python API updates and better CMake dependency handling 2019-06-11 16:01:19 -10:00
Jack Andersen 23a6d66a8c Add -j argument for hecl cooking 2019-02-03 14:01:12 -10:00
Jack Andersen 72193079ae New code style refactor 2018-12-07 19:18:42 -10:00
Jack Andersen 61a50aa57e Windows sync fixes for API changes 2018-10-14 10:09:15 -10:00
Jack Andersen c11557bcff Make SIGINT a bit cleaner for packaging 2018-05-25 17:07:04 -10:00
Jack Andersen 77f814192e Windows build fixes 2018-05-24 20:34:58 -10:00
Jack Andersen aa84d7c725 Add emissive cycles shaders 2018-04-14 20:04:08 -10:00
Jack Andersen 2d0f079991 Add CVarCommons; hecl-light library 2018-01-09 20:16:18 -10:00
Jack Andersen ab5d3ac996 Add HECL_DLPACKAGE macro 2018-01-01 14:58:13 -10:00
Jack Andersen aae0dc56b7 Huge compile performance refactor 2017-12-28 21:56:31 -10:00
Phillip Stephens 0e4310903d Update boo; Add initial GUI mode support 2017-12-15 18:13:20 -08:00
Jack Andersen b41b21cb4b Windows fixes 2017-11-13 17:34:05 -10:00
Jack Andersen a3b9a32633 Remaining object tracker platforms 2017-11-05 20:56:17 -10:00
Jack Andersen 89f216d94f Add hecl::PathRelative() 2017-02-24 21:58:36 -10:00
Jack Andersen 8c3a7da616 Updates to support VISI generation 2017-02-23 22:27:07 -10:00
Jack Andersen c0f060d6ad Remove unnecessary glob regex 2016-09-24 15:57:43 -10:00
Jack Andersen 6de25c1d1d Refinements to avoid bad level linkages 2016-09-18 13:46:49 -10:00
Jack Andersen 4bffe7bc8b Blender verbose crash fix for windows 2016-09-11 11:16:16 -10:00
Jack Andersen d5e0536d63 Update submodules 2016-09-07 20:15:39 -10:00
Jack Andersen 7335a528f0 CoInitializeEx usage tweak 2016-06-17 10:44:49 -10:00
Jack Andersen d35408376c Add '-y' flag for hecl 2016-03-23 16:51:57 -10:00
Jack Andersen 31fa668e78 Humungous refactor 2016-03-04 13:02:44 -10:00
Jack Andersen a19bc6827c Athena error handling tweak 2015-11-22 17:09:46 -10:00
Jack Andersen bcee8aa897 Added fast mode for mesh cooking 2015-10-21 16:01:08 -10:00
Jack Andersen 2034a83576 Various updates and fixes 2015-10-15 14:34:47 -10:00
Jack Andersen bcd025f375 Windows fixes 2015-10-11 18:38:49 -10:00
Jack Andersen 051e16fdee mesh cook bug fixes 2015-10-03 18:35:18 -10:00
Jack Andersen 63a432090c Initial integration on cook tool 2015-09-29 20:23:07 -10:00
Jack Andersen 3941580275 Fixed extraction issues with root windows paths 2015-09-10 10:44:25 -10:00
Jack Andersen 6efe4417d7 windows signal set fix 2015-09-02 12:12:48 -10:00
Jack Andersen 4780960161 windows ANSI console support 2015-09-02 12:00:05 -10:00
Jack Andersen e4f53eaa7c Windows refactors 2015-08-30 17:36:24 -10:00
Jack Andersen fb75130d91 Addon updates 2015-08-16 13:01:35 -10:00
Jack Andersen 2f3145974c Blender interface tweaks; submodule updates 2015-08-08 13:33:55 -10:00
Jack Andersen 17522ff48f BlenderConnection updates 2015-07-27 16:25:33 -10:00
Jack Andersen 1c358b74a1 Removed exceptions 2015-07-25 16:52:02 -10:00
Jack Andersen 21b4fe88f7 Additions to BlenderConnection 2015-07-25 13:01:02 -10:00
Jack Andersen 9e27a9d07b MSVC build fixes 2015-07-22 09:14:50 -10:00
Jack Andersen 4252bd6e39 added AngelScript; work on extractor 2015-07-15 16:03:38 -10:00
Jack Andersen 2f340bb939 updated submodules 2015-07-07 18:26:29 -10:00
Jack Andersen b6216b049c proper link order for DataSpec registration 2015-07-06 18:45:29 -10:00
Jack Andersen 14a368553d LogVisor report additions; Updated RetroCommon 2015-07-05 15:35:08 -10:00
Jack Andersen cd0b2f0926 codebase cleanups 2015-07-04 20:27:24 -10:00
Jack Andersen 0b492c6e15 header renames and initial LogVisor integration 2015-07-03 20:03:59 -10:00
Jack Andersen 4b13e9da9d added extract tool 2015-06-11 23:08:49 -10:00