text encoding fixed

This commit is contained in:
d1str4ught
2025-08-18 02:12:07 +02:00
parent da0a923cde
commit 34000c3306
484 changed files with 5767 additions and 5767 deletions

View File

@@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
#include "config.h"
#include "char.h"
#include "char_manager.h"
@@ -24,7 +24,7 @@ enum ERegenModes
MODE_VNUM
};
static bool get_word(FILE *fp, char *buf) // 워드단위로 받는다.
static bool get_word(FILE *fp, char *buf) // 워드단위로 받는다.
{
int i = 0;
int c;
@@ -172,7 +172,7 @@ static bool read_line(FILE *fp, LPREGEN regen)
case MODE_Z_SECTION:
str_to_number(regen->z_section, szTmp);
// 익셉션 이면 나가주자.
// 익셉션 이면 나가주자.
if (regen->type == REGEN_TYPE_EXCEPTION)
return true;
@@ -500,7 +500,7 @@ bool regen_do(const char* filename, long lMapIndex, int base_x, int base_y, LPDU
// before the call to CHARACTER::SetRegen()
}
// 처음엔 무조건 리젠 해준다.
// 처음엔 무조건 리젠 해준다.
regen_spawn_dungeon(regen, pDungeon, bOnce);
}
@@ -576,7 +576,7 @@ bool regen_load_in_file(const char* filename, long lMapIndex, int base_x, int ba
}
}
// 처음엔 무조건 리젠 해준다.
// 처음엔 무조건 리젠 해준다.
regen_spawn(regen, true);
}
}
@@ -683,11 +683,11 @@ bool regen_load(const char* filename, long lMapIndex, int base_x, int base_y)
}
//NO_REGEN
// Desc: regen.txt (외 리젠관련 텍스트 ) 에서 리젠 시간을 0으로 세팅할시
// 리젠을 하지 안한다.
// Desc: regen.txt (외 리젠관련 텍스트 ) 에서 리젠 시간을 0으로 세팅할시
// 리젠을 하지 안한다.
if (regen->time != 0)
{
// 처음엔 무조건 리젠 해준다.
// 처음엔 무조건 리젠 해준다.
regen_spawn(regen, false);
regen_event_info* info = AllocEventInfo<regen_event_info>();
@@ -752,14 +752,14 @@ void regen_reset(int x, int y)
if (!regen->event)
continue;
// 좌표가 있으면 좌표 내에 있는 리젠 리스트만 리젠 시킨다.
// 좌표가 있으면 좌표 내에 있는 리젠 리스트만 리젠 시킨다.
if (x != 0 || y != 0)
{
if (x >= regen->sx && x <= regen->ex)
if (y >= regen->sy && y <= regen->ey)
event_reset_time(regen->event, 1);
}
// 없으면 전부 리젠
// 없으면 전부 리젠
else
event_reset_time(regen->event, 1);
}