From 91df1318507a60e9df9914ce715b4f770c897266 Mon Sep 17 00:00:00 2001
From: Able <abl3theabove@gmail.com>
Date: Sat, 15 Feb 2025 07:13:07 -0600
Subject: [PATCH] sdoom cleanup work

---
 sysdata/programs/sdoom/src/main.hb   | 10 ++--------
 sysdata/programs/sdoom/src/player.hb |  9 +++++++++
 sysdata/system_config.toml           | 20 ++++++++++----------
 3 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/sysdata/programs/sdoom/src/main.hb b/sysdata/programs/sdoom/src/main.hb
index 189900d..0378b39 100644
--- a/sysdata/programs/sdoom/src/main.hb
+++ b/sysdata/programs/sdoom/src/main.hb
@@ -5,14 +5,8 @@ stn := @use("stn");
 .{log} := stn;
 .{Vec2} := stn.math
 
-Player := struct {
-	x: i8,
-	y: i8,
-
-	$new := fn(x: i8, y: i8): Self {
-		return Self.(x, y)
-	}
-}
+player := @use("player.hb");
+.{Player} := player;
 
 GameState := struct {
 	player: Player,
diff --git a/sysdata/programs/sdoom/src/player.hb b/sysdata/programs/sdoom/src/player.hb
index e69de29..3b5156c 100644
--- a/sysdata/programs/sdoom/src/player.hb
+++ b/sysdata/programs/sdoom/src/player.hb
@@ -0,0 +1,9 @@
+
+Player := struct {
+	x: i8,
+	y: i8,
+
+	$new := fn(x: i8, y: i8): Self {
+		return Self.(x, y)
+	}
+}
\ No newline at end of file
diff --git a/sysdata/system_config.toml b/sysdata/system_config.toml
index d8319b4..3b5e7d6 100644
--- a/sysdata/system_config.toml
+++ b/sysdata/system_config.toml
@@ -23,14 +23,14 @@ resolution = "1024x768x24"
 
 [boot.limine.ableos.modules]
 
-[boot.limine.ableos.modules.render_example]
-path = "boot:///render_example.hbf"
+# [boot.limine.ableos.modules.render_example]
+# path = "boot:///render_example.hbf"
 
-# [boot.limine.ableos.modules.sunset_server]
-# path = "boot:///sunset_server.hbf"
+[boot.limine.ableos.modules.sunset_server]
+path = "boot:///sunset_server.hbf"
 
-[boot.limine.ableos.modules.ps2_mouse_driver]
-path = "boot:///ps2_mouse_driver.hbf"
+# [boot.limine.ableos.modules.ps2_mouse_driver]
+# path = "boot:///ps2_mouse_driver.hbf"
 
 # [boot.limine.ableos.modules.ps2_keyboard_driver]
 # path = "boot:///ps2_keyboard_driver.hbf"
@@ -38,11 +38,11 @@ path = "boot:///ps2_mouse_driver.hbf"
 # [boot.limine.ableos.modules.ps2_driver]
 # path = "boot:///ps2_driver.hbf"
 
-# [boot.limine.ableos.modules.sunset_client]
-# path = "boot:///sunset_client.hbf"
+[boot.limine.ableos.modules.sunset_client]
+path = "boot:///sunset_client.hbf"
 
-# [boot.limine.ableos.modules.ablefetch]
-# path = "boot:///ablefetch.hbf"
+[boot.limine.ableos.modules.sdoom]
+path = "boot:///sdoom.hbf"
 
 # [boot.limine.ableos.modules.diskio_driver]
 # path = "boot:///diskio_driver.hbf"