X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmain.cpp;h=ca54210181f34e52b8a9e0c2f17060b985a8a5c9;hb=6dff93b1a6e9b727dbe26747456f4b23efca86da;hp=8c099918aa5fac8586d88db10ba58e7baef673c5;hpb=11cf419b542070def1d0edaa69d2389ab1ab427b;p=l2e.git diff --git a/src/main.cpp b/src/main.cpp index 8c09991..ca54210 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -18,6 +18,7 @@ #include "common/Spell.h" #include "common/Stats.h" #include "geometry/Vector.h" +#include "graphics/CharSelect.h" #include "graphics/ComplexAnimation.h" #include "graphics/Font.h" #include "graphics/Frame.h" @@ -111,6 +112,7 @@ int main(int argc, char **argv) { common::TargetingMode::CreateTypeDescription(); graphics::Animation::CreateTypeDescription(); + graphics::CharSelect::CreateTypeDescription(); graphics::ComplexAnimation::CreateTypeDescription(); graphics::Font::CreateTypeDescription(); graphics::Frame::CreateTypeDescription(); @@ -194,6 +196,10 @@ int main(int argc, char **argv) { gameState.party[3] = &gameState.heroes[3]; gameState.partySize = 4; + gameState.capsules[1] = *caster.GetCapsule("flash"); + gameState.capsules[1].UpgradeClass(); + gameState.capsule = &gameState.capsules[1]; + GameConfig gameConfig; gameConfig.state = &gameState; gameConfig.heroesLayout = caster.GetPartyLayout("heroesLayout");