diff --git a/README.org b/README.org index b042912..c1ba429 100644 --- a/README.org +++ b/README.org @@ -2,30 +2,6 @@ Imugi is a framework for building games (primarily tactics games) with Chicken Scheme and raylib. The end goal of this framework is to create a game, also called Imugi, and release to show the capability here. -* Installation & Usage -Raylib must first be installed before you can get started with Imugi. - -Note: this guide assumes static linking for the Raylib library. - -Install raylib statically using the following commands: -#+begin_src shell - git clone --depth 1 https://github.com/raysan5/raylib.git raylib - cd raylib/src/ - make PLATFORM=PLATFORM_DESKTOP - make install -#+end_src - -The following dependencies are required on Debian: -#+begin_src shell - apt install -y libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev -#+end_src - -Once raylib is installed, run ~chicken-install -s~ in this directory to install all dependencies and the Imugi egg itself. - -You can then import the Imugi modules required in your project. - -When building your project, use the flags specified in ~all.options~ in this repository, which includes are the dependency links necessary. - * Architecture Imugi is an ECS engine. diff --git a/engine/components.scm b/engine/components.scm index ba3b3df..87b12c8 100644 --- a/engine/components.scm +++ b/engine/components.scm @@ -1,10 +1,10 @@ -(module (imugi components core) () +(module (engine components core) () (import scheme (chicken base) (chicken module) - (imugi core) - (imugi guards) - (imugi math) + (engine core) + (engine guards) + (engine math) (srfi 1) (srfi 99)) diff --git a/engine/core.scm b/engine/core.scm index e5e3a45..f5d86a2 100644 --- a/engine/core.scm +++ b/engine/core.scm @@ -1,9 +1,9 @@ -(module (imugi core) () +(module (engine core) () (import scheme (chicken base) (chicken module) (chicken sort) - (imugi guards) + (engine guards) raylib (srfi 1) (srfi 4) diff --git a/engine/drawing.scm b/engine/drawing.scm index 5c68e5d..4ee6659 100644 --- a/engine/drawing.scm +++ b/engine/drawing.scm @@ -1,11 +1,11 @@ -(module (imugi drawing) () +(module (engine drawing) () (import scheme (chicken base) (chicken module) raylib - (imugi core) - (imugi guards) - (imugi math) + (engine core) + (engine guards) + (engine math) (srfi 4) (srfi 99)) diff --git a/engine/guards.scm b/engine/guards.scm index c495e83..844075b 100644 --- a/engine/guards.scm +++ b/engine/guards.scm @@ -1,4 +1,4 @@ -(module (imugi guards) () +(module (engine guards) () (import scheme (chicken base) (chicken module) diff --git a/engine/input.scm b/engine/input.scm index 9d63110..0cf6abe 100644 --- a/engine/input.scm +++ b/engine/input.scm @@ -1,8 +1,8 @@ -(module (imugi input) () +(module (engine input) () (import scheme (chicken base) (chicken module) - (imugi core) + (engine core) raylib (srfi 99)) diff --git a/engine/math.scm b/engine/math.scm index 5f1a186..ca82e91 100644 --- a/engine/math.scm +++ b/engine/math.scm @@ -1,4 +1,4 @@ -(module (imugi math) () +(module (engine math) () (import scheme (chicken base) (chicken module) diff --git a/engine/scene.scm b/engine/scene.scm index 8326ec0..f272e02 100644 --- a/engine/scene.scm +++ b/engine/scene.scm @@ -1,8 +1,8 @@ -(module (imugi scene) () +(module (engine scene) () (import scheme (chicken base) (chicken module) - (imugi core) + (engine core) (srfi 1) (srfi 99)) diff --git a/imugi.egg b/imugi.egg deleted file mode 100644 index c4c00e6..0000000 --- a/imugi.egg +++ /dev/null @@ -1,21 +0,0 @@ -((author "Jakub Nowak") - (synopsis "ECS system built on Raylib") - (version "0.1") - (license "AGPL") - (category graphics) - (dependencies raylib srfi-1 srfi-69 srfi-113 srfi-99) - (components - (extension imugi.guards - (source "engine/guards.scm")) - (extension imugi.core - (source "engine/core.scm")) - (extension imugi.math - (source "engine/math.scm")) - (extension imugi.components.core - (source "engine/components.scm")) - (extension imugi.drawing - (source "engine/drawing.scm")) - (extension imugi.input - (source "engine/input.scm")) - (extension imugi.scene - (source "engine/scene.scm")))) diff --git a/samples/bounce.scm b/samples/bounce.scm index ad63ca1..0d93c18 100644 --- a/samples/bounce.scm +++ b/samples/bounce.scm @@ -2,12 +2,12 @@ (import scheme (chicken base) raylib - (imugi core) - (imugi components core) - (imugi math) - (imugi input) - (imugi drawing) - (imugi scene) + (engine core) + (engine components core) + (engine math) + (engine input) + (engine drawing) + (engine scene) (srfi 1) (srfi 99)) diff --git a/samples/tic-tac-toe.scm b/samples/tic-tac-toe.scm index e132789..65b3ed3 100644 --- a/samples/tic-tac-toe.scm +++ b/samples/tic-tac-toe.scm @@ -2,12 +2,12 @@ (import scheme (chicken base) (chicken random) - (imugi core) - (imugi math) - (imugi components core) - (imugi drawing) - (imugi input) - (imugi scene) + (engine core) + (engine math) + (engine components core) + (engine drawing) + (engine input) + (engine scene) raylib (srfi 1) (srfi 99))