Open object format

- To make prototyping and possibly future custom content easier, I've created a JSON-based object format with the same properties found in The Sims
- Renamed dorms directory to dorm
- Added some d20 C code I found to possibly enhance the skill system in the future
- Added voting machine by Don Hopkins
- Removed core.h in favor of niotso.zig which accomplishes the same thing
This commit is contained in:
Tony Bark 2024-05-07 07:27:59 -04:00
parent 00255a6c17
commit a1cdd92c3f
31 changed files with 259 additions and 33 deletions

View file

@ -16,7 +16,7 @@ pub fn build(b: *std.Build) void {
const optimize = b.standardOptimizeOption(.{});
const exe = b.addExecutable(.{
.name = "mysimulation",
.name = "mysim",
.root_source_file = b.path("src/main.zig"),
.target = target,
.optimize = optimize,
@ -80,6 +80,7 @@ pub fn build(b: *std.Build) void {
});
exe_unit_tests.linkLibC();
exe_unit_tests.linkLibCpp();
exe_unit_tests.addIncludePath(.{ .path = "./library" });
exe_unit_tests.root_module.addImport("raylib", raylib);