mirror of
https://github.com/enduro2d/enduro2d-bootstrap.git
synced 2025-12-12 19:18:32 +07:00
fix code after engine update
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@echo off
|
||||
set SCRIPT_DIR=%~dp0%
|
||||
%SCRIPT_DIR%\build_debug.bat || goto :error
|
||||
%SCRIPT_DIR%\build_release.bat || goto :error
|
||||
call %SCRIPT_DIR%\build_debug.bat || goto :error
|
||||
call %SCRIPT_DIR%\build_release.bat || goto :error
|
||||
|
||||
goto :EOF
|
||||
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
git submodule init
|
||||
git submodule update
|
||||
git pull --recurse-submodules
|
||||
git submodule update --remote --recursive
|
||||
git submodule update --init --remote --recursive
|
||||
|
||||
@@ -26,9 +26,10 @@ namespace
|
||||
}
|
||||
|
||||
int e2d_main(int argc, char *argv[]) {
|
||||
auto params = engine::parameters("bootstrap", "enduro2d")
|
||||
.timer_params(engine::timer_parameters()
|
||||
.maximal_framerate(100));
|
||||
modules::initialize<engine>(argc, argv, params).start<game>();
|
||||
const auto params = starter::parameters(
|
||||
engine::parameters("bootstrap", "enduro2d")
|
||||
.timer_params(engine::timer_parameters()
|
||||
.maximal_framerate(100)));
|
||||
modules::initialize<starter>(argc, argv, params).start<game>();
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user