mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-04 02:16:03 -04:00
@@ -197,7 +197,11 @@ BOOL dSv_player_status_b_c::isTransformLV(int i_no) const {
|
||||
|
||||
void dSv_horse_place_c::init() {
|
||||
strcpy(mName, "");
|
||||
#if TARGET_PC
|
||||
mPos = BE<Vec>(0.0f, 0.0f, 0.0f);
|
||||
#else
|
||||
mPos.set(0.0f, 0.0f, 0.0f);
|
||||
#endif
|
||||
mAngleY = 0;
|
||||
mSpawnId = 0;
|
||||
mRoomNo = 0;
|
||||
@@ -228,7 +232,11 @@ void dSv_player_return_place_c::set(const char* i_name, s8 i_roomNo, u8 i_status
|
||||
|
||||
void dSv_player_field_last_stay_info_c::init() {
|
||||
strcpy(mName, "");
|
||||
#if TARGET_PC
|
||||
mPos = BE<Vec>(0.0f, 0.0f, 0.0f);
|
||||
#else
|
||||
mPos.set(0.0f, 0.0f, 0.0f);
|
||||
#endif
|
||||
mAngleY = 0;
|
||||
mLastSpawnId = 0;
|
||||
mRegionNo = 1;
|
||||
@@ -244,7 +252,11 @@ void dSv_player_field_last_stay_info_c::set(const char* i_name, const cXyz& i_po
|
||||
s8 i_spawn, u8 i_regionNo) {
|
||||
JUT_ASSERT(468, strlen(i_name) <= 7);
|
||||
strcpy(mName, i_name);
|
||||
#if TARGET_PC
|
||||
mPos = i_pos;
|
||||
#else
|
||||
mPos.set(i_pos);
|
||||
#endif
|
||||
mAngleY = i_angle;
|
||||
mLastSpawnId = i_spawn;
|
||||
mRegionNo = i_regionNo;
|
||||
@@ -269,7 +281,11 @@ BOOL dSv_player_field_last_stay_info_c::isRegionBit(int i_region) const {
|
||||
|
||||
void dSv_player_last_mark_info_c::init() {
|
||||
strcpy(mName, "");
|
||||
#if TARGET_PC
|
||||
mPos = BE<Vec>(0.0f, 0.0f, 0.0f);
|
||||
#else
|
||||
mPos.set(0.0f, 0.0f, 0.0f);
|
||||
#endif
|
||||
mAngleY = 0;
|
||||
mRoomNo = 0;
|
||||
mSpawnId = 0;
|
||||
@@ -283,7 +299,11 @@ void dSv_player_last_mark_info_c::init() {
|
||||
void dSv_player_last_mark_info_c::setWarpItemData(const char* i_name, const cXyz& i_pos,
|
||||
s16 i_angle, s8 i_roomNo, u8 unk_4, u8 unk_5) {
|
||||
strcpy(mName, i_name);
|
||||
#if TARGET_PC
|
||||
mPos = i_pos;
|
||||
#else
|
||||
mPos.set(i_pos);
|
||||
#endif
|
||||
mAngleY = i_angle;
|
||||
mRoomNo = i_roomNo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user