mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-19 04:24:54 -04:00
Mock FreeSO API
- Until the real FreeSO API server is properly reconfigured, a mock API will take it's place using Mockoon. - Ported over a few elements from FSO.Common into the client.
This commit is contained in:
parent
49820cd42c
commit
a380de3a44
10 changed files with 1114 additions and 29 deletions
42
src/common/map.zig
Normal file
42
src/common/map.zig
Normal file
|
@ -0,0 +1,42 @@
|
|||
pub const LotCategory = enum(u32) {
|
||||
none = 0,
|
||||
money = 1,
|
||||
offbeat = 2,
|
||||
romance = 3,
|
||||
services = 4,
|
||||
shopping = 5,
|
||||
skills = 6,
|
||||
welcome = 7,
|
||||
games = 8,
|
||||
entertainment = 9,
|
||||
residence = 10,
|
||||
community = 11, //cannot be set by users
|
||||
|
||||
recent = 255, //for filter searches
|
||||
};
|
||||
|
||||
pub const Top100Category = enum(32) {
|
||||
lot_money = 1,
|
||||
lot_offbeat = 2,
|
||||
lot_romance = 3,
|
||||
lot_services = 4,
|
||||
lot_shopping = 5,
|
||||
lot_skills = 6,
|
||||
lot_welcome = 7,
|
||||
lot_games = 8,
|
||||
lot_entertainment = 9,
|
||||
lot_residence = 10,
|
||||
avatar_most_famous = 11,
|
||||
avatar_best_karma = 12,
|
||||
avatar_friendliest = 13,
|
||||
avatar_most_infamous = 14,
|
||||
avatar_meanest = 15,
|
||||
};
|
||||
|
||||
pub const UserReferenceType = enum(32) {
|
||||
EA = 1,
|
||||
MAXIS = 2,
|
||||
MOMI = 3,
|
||||
TSO = 4,
|
||||
AVATAR = 5,
|
||||
};
|
34
src/common/render.zig
Normal file
34
src/common/render.zig
Normal file
|
@ -0,0 +1,34 @@
|
|||
pub const CursorType = enum {
|
||||
Normal,
|
||||
ArrowUp,
|
||||
ArrowUpLeft,
|
||||
ArrowUpRight,
|
||||
ArrowDown,
|
||||
ArrowDownLeft,
|
||||
ArrowDownRight,
|
||||
ArrowLeft,
|
||||
ArrowRight,
|
||||
LiveNothing,
|
||||
LiveObjectUnavail,
|
||||
LivePerson,
|
||||
IBeam,
|
||||
|
||||
SimsRotate,
|
||||
SimsRotateNE,
|
||||
SimsRotateSE,
|
||||
SimsRotateSW,
|
||||
SimsRotateNW,
|
||||
|
||||
SimsMove,
|
||||
SimsPlace,
|
||||
|
||||
Hourglass,
|
||||
|
||||
LiveObjectAvail,
|
||||
LiveObject1Star,
|
||||
LiveObject2Star,
|
||||
LiveObject3Star,
|
||||
LiveObject4Star,
|
||||
LiveObject5Star,
|
||||
LiveObjectSpecial,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue