mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 06:34:18 -04:00
Add furniture enum, use enum for defines & replace most constants
There are probably more hardcoded values I missed.
This commit is contained in:
+1283
File diff suppressed because it is too large
Load Diff
+1307
-833
File diff suppressed because it is too large
Load Diff
@@ -92,7 +92,7 @@ typedef struct room_type_place_info_one_s {
|
||||
int ut_z;
|
||||
} mRmTp_FtrPlaceInfoOne_t;
|
||||
|
||||
#define FTR_NUM 1266
|
||||
// #define FTR_NUM 1266
|
||||
|
||||
#define FTR_GET_ROTATION(f) ((f)&3)
|
||||
#define FTR_IDX_2_NO(f) ((f) >> 2)
|
||||
@@ -181,4 +181,4 @@ extern int mRmTp_FtrItemNo2FtrIdx(mActor_name_t ftr_item_no);
|
||||
extern mActor_name_t mRmTp_FtrIdx2FtrItemNo(int ftr_idx, int direct);
|
||||
extern int mRmTp_SoundStepWalkSE(xyz_t* wpos);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user