Skip to content

Commit 5419788

Browse files
committed
Revert menu and massage updates
1 parent d613403 commit 5419788

9 files changed

Lines changed: 8 additions & 370 deletions

File tree

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,3 @@ cython_debug/
158158
# and can be added to the global gitignore or merged into this file. For a more nuclear
159159
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160160
#.idea/
161-
162-
# Custom
163-
config.ini

g.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import tcod.context
66
import tcod.ecs
77

8-
import game.config
98
import game.state
109

1110
context: tcod.context.Context
@@ -16,6 +15,3 @@
1615

1716
states: list[game.state.State] = []
1817
"""A stack of states with the last item being the active state."""
19-
20-
config: game.config.Config
21-
"""Configuration settings."""

game/config.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

game/message.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

game/message_tools.py

Lines changed: 0 additions & 21 deletions
This file was deleted.

game/rendering.py

Lines changed: 0 additions & 62 deletions
This file was deleted.

game/state_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def main_draw() -> None:
1212
"""Render and present the active state."""
1313
if not g.states:
1414
return
15-
console = tcod.console.Console(*g.config.console.size)
15+
console = g.context.new_console(min_columns=80, min_rows=50)
1616
g.states[-1].on_draw(console)
1717
g.context.present(console)
1818

0 commit comments

Comments
 (0)