Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit bd7545f

Browse files
committed
update engine
1 parent 592e538 commit bd7545f

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ jobs:
5959
build-config: [debug, release]
6060
compiler:
6161
- {
62-
cc: gcc-13,
63-
cxx: g++-13,
64-
install: gcc-13 g++-13
62+
cc: gcc-14,
63+
cxx: g++-14,
64+
install: gcc-14 g++-14
6565
}
6666
- {
6767
cc: clang-18,

externals/cage

Submodule cage updated 152 files

sources/player/environment.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace mazetd
1010
const auto gameResetListener = eventGameReset().listen(
1111
[]()
1212
{
13-
Entity *e = engineEntities()->createAnonymous();
13+
Entity *e = engineEntities()->createUnique();
1414
TransformComponent &t = e->value<TransformComponent>();
1515
t.orientation = Quat(Degs(-60), randomAngle(), Degs());
1616
LightComponent &l = e->value<LightComponent>();

sources/screens/game.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,15 +192,15 @@ namespace mazetd
192192

193193
{ // monster properties
194194
auto _1 = g->alignment(Vec2(0, 0));
195-
auto _2 = g->spoiler(false).text("Spawning").skin(2); // compact skin
195+
auto _2 = g->spoiler(false).text("Spawning").skin(GuiSkinCompact);
196196
auto _3 = g->setNextName(501).empty();
197197
g->setNextName(502).empty();
198198
updateSpawningMonsterPropertiesScreen();
199199
}
200200

201201
{ // controls
202202
auto _1 = g->alignment(Vec2(0, 1));
203-
auto _2 = g->spoiler(false).text("Controls").skin(2); // compact skin
203+
auto _2 = g->spoiler(false).text("Controls").skin(GuiSkinCompact);
204204
auto _3 = g->column();
205205

206206
static constexpr const char *lines[] = {

sources/screens/paused.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ namespace mazetd
2222
auto _2 = g->column();
2323
{
2424
auto _ = g->panel().text("Pause");
25+
g->button().text("Continue").event(setScreenGame);
26+
g->button().text("Abort").event(buttonStop);
2527
}
26-
g->button().text("Continue").event(setScreenGame);
27-
g->button().text("Abort").event(buttonStop);
2828
}
2929
}

0 commit comments

Comments
 (0)