https://github.com/Adzvokatix/Castle-Game-Engine
Hello, if any of you are interested, here is a medieval colony sim, I am working on. I have completed production of the underlying engine. Everything is a result of procedural generation. Completed so far,
The world | Terrain, Geology, Deposits, Hydrology, Flora, Chunks, Worldgen, Maps
Climate | Seasons, Temperature, Wind, Weather
Rendering | Streaming, Mesher, Textures, Render, Camera, Colors, Currents
The interface | Font, UI, HUD, Input, Views, Pick, Rays (will be redone, rough implementation for production)
Editing and saves | Edits, World_Blocks, Saves
Live water | Fully flowing dynamic water systems
People | Bodies, Poses, Second_Order, Figures, Serfs, Props, Fire
Deer | Deer, Animals, Herds
Routes | Nav, Marks
The colony | Colony, Actions, Scenario
Food and needs
Habitation (prototype) | Buildings, Iso
See to the video, this shows a compilation of alpha stage production milestones and state change comparisons.
Apart from the OpenGL and GLFW bindings (the thin Castle.GL and Castle.GLFW packages that just import the C symbols, plus the -lglfw -lGL link lines), the project has no external libraries. The alire.toml declares no dependencies. The .gpr file pulls in nothing beyond the standard Ada runtime.
What appears in the with clauses is almost entirely the Ada standard library:
- Ada.Numerics / Elementary_Functions for the math the generators and animation filters need
- Ada.Text_IO, Ada.Command_Line, Ada.Directories, Ada.Streams for the tools and save format
- Ada.Unchecked_Deallocation / Unchecked_Conversion for the usual manual memory
- Ada.Real_Time, System.Multiprocessors for the job system timing
- a couple of Ada.Containers uses
Everything else—noise, hydrology, geology, deposits, climate, water simulation, navigation, colony logic, serf bodies and poses, procedural buildings, the edit store, the mesher, the UI, the save format—is code written for this project. There are roughly 64 Castle.* package specs; the bindings to GLFW/GL are two of them.