mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-18 20:16:44 -04:00
Renamed objects to items in the empty_lot files
- Mapped lot format to Zig - Added pixie point logos
This commit is contained in:
parent
77a44a6c31
commit
ac29443425
5 changed files with 165 additions and 4 deletions
35
src/lot.zig
Normal file
35
src/lot.zig
Normal file
|
@ -0,0 +1,35 @@
|
|||
pub const Floor = struct {
|
||||
level: u8,
|
||||
x: u8,
|
||||
y: u8,
|
||||
value: u8,
|
||||
};
|
||||
|
||||
pub const Floors = struct {
|
||||
floor: []Floor,
|
||||
};
|
||||
|
||||
pub const World = struct {
|
||||
floors: Floors,
|
||||
walls: u8,
|
||||
};
|
||||
|
||||
pub const Item = struct {
|
||||
guid: u8,
|
||||
level: u8,
|
||||
x: u8,
|
||||
y: u8,
|
||||
dir: u8,
|
||||
group: u8,
|
||||
};
|
||||
|
||||
pub const Items = struct {
|
||||
Item: []Item,
|
||||
};
|
||||
|
||||
pub const House = struct {
|
||||
size: u8,
|
||||
category: u8,
|
||||
world: World,
|
||||
items: Item,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue