wateret / mengde

A turn-based RPG game engine inspired by 三國志曹操傳.
MIT License
27 stars 10 forks source link

Abort the game with error message #124

Closed sjsinju closed 5 years ago

sjsinju commented 5 years ago

I've met the abort with error message while running the game.

[DEBUG] <app.cc:26 FrameConfig()> FPS CAP : 60
[DEBUG] <app.cc:27 FrameConfig()> SPEED   : 2.000000x
[INFO] Renderer: metal
[DEBUG] <main_view.cc:22 operator()()> Start
[ERROR] <config_loader.cc:94 ConfigLoader()> effects is undeclared.
[FATAL] <app.cc:97 SetupScenario()> Scenario config load failure - effects is undeclared.

******** UNREACHABLE CODE "Scenario config load failure." ********
/Users/sujinkim/works/mengde/game/src/gui/app/app.cc:98 In function 'SetupScenario'

[1]    99149 abort      ./game
sjsinju commented 5 years ago

@wateret Do you know this problem??

wateret commented 5 years ago

@sjsinju The scenario format and the example scenario have been updated. Please always keep example scenario updated.

wateret commented 5 years ago

FYI, I usually keep the sce/example dir as symlink.

sjsinju commented 5 years ago

@wateret Got it :) Let me check.

sjsinju commented 5 years ago

Resolved