aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reference/game.c16507
-rw-r--r--reference/types.hh342
-rw-r--r--src/skill.cc2
3 files changed, 1 insertions, 16850 deletions
diff --git a/reference/game.c b/reference/game.c
index bf1797d..59bc8a5 100644
--- a/reference/game.c
+++ b/reference/game.c
@@ -1,7761 +1,3 @@
-typedef unsigned char undefined;
-
-typedef unsigned char bool;
-typedef unsigned char byte;
-typedef unsigned char dwfenc;
-typedef unsigned int dword;
-typedef long double longdouble;
-typedef long long longlong;
-typedef unsigned long long qword;
-typedef int sdword;
-typedef long long sqword;
-typedef short sword;
-typedef unsigned char uchar;
-typedef unsigned int uint;
-typedef unsigned long ulong;
-typedef unsigned long long ulonglong;
-typedef unsigned char undefined1;
-typedef unsigned short undefined2;
-typedef unsigned int undefined4;
-typedef unsigned long long undefined6;
-typedef unsigned long long undefined7;
-typedef unsigned long long undefined8;
-typedef unsigned short ushort;
-typedef int wchar_t;
-typedef unsigned short word;
-typedef pointer pointer __((offset(0x8)));
-
-typedef struct eh_frame_hdr eh_frame_hdr, *Peh_frame_hdr;
-
-struct eh_frame_hdr {
- byte eh_frame_hdr_version; // Exception Handler Frame Header Version
- dwfenc eh_frame_pointer_encoding; // Exception Handler Frame Pointer Encoding
- dwfenc eh_frame_desc_entry_count_encoding; // Encoding of # of Exception Handler FDEs
- dwfenc eh_frame_table_encoding; // Exception Handler Table Encoding
-};
-
-typedef struct fde_table_entry fde_table_entry, *Pfde_table_entry;
-
-struct fde_table_entry {
- dword initial_loc; // Initial Location
- dword data_loc; // Data location
-};
-
-typedef struct stat stat, *Pstat;
-
-typedef ulonglong __u_quad_t;
-
-typedef __u_quad_t __dev_t;
-
-typedef ulong __ino_t;
-
-typedef uint __mode_t;
-
-typedef uint __nlink_t;
-
-typedef uint __uid_t;
-
-typedef uint __gid_t;
-
-typedef long __off_t;
-
-typedef long __blksize_t;
-
-typedef long __blkcnt_t;
-
-typedef struct timespec timespec, *Ptimespec;
-
-typedef long __time_t;
-
-struct timespec {
- __time_t tv_sec;
- long tv_nsec;
-};
-
-struct stat {
- __dev_t st_dev;
- ushort __pad1;
- __ino_t st_ino;
- __mode_t st_mode;
- __nlink_t st_nlink;
- __uid_t st_uid;
- __gid_t st_gid;
- __dev_t st_rdev;
- ushort __pad2;
- __off_t st_size;
- __blksize_t st_blksize;
- __blkcnt_t st_blocks;
- struct timespec st_atim;
- struct timespec st_mtim;
- struct timespec st_ctim;
- ulong __unused4;
- ulong __unused5;
-};
-
-typedef int __ssize_t;
-
-typedef __ssize_t ssize_t;
-
-typedef int __pid_t;
-
-typedef int __key_t;
-
-typedef __key_t key_t;
-
-typedef longlong __quad_t;
-
-typedef __quad_t __off64_t;
-
-typedef uint __useconds_t;
-
-typedef uint __socklen_t;
-
-typedef long __suseconds_t;
-
-typedef long __clock_t;
-
-typedef struct pollfd pollfd, *Ppollfd;
-
-struct pollfd {
- int fd;
- short events;
- short revents;
-};
-
-typedef ulong nfds_t;
-
-typedef struct hostent hostent, *Phostent;
-
-struct hostent {
- char *h_name;
- char **h_aliases;
- int h_addrtype;
- int h_length;
- char **h_addr_list;
-};
-
-typedef union pthread_mutex_t pthread_mutex_t, *Ppthread_mutex_t;
-
-typedef struct __pthread_mutex_s __pthread_mutex_s, *P__pthread_mutex_s;
-
-typedef union _union_13 _union_13, *P_union_13;
-
-typedef struct __pthread_internal_slist __pthread_internal_slist, *P__pthread_internal_slist;
-
-typedef struct __pthread_internal_slist __pthread_slist_t;
-
-struct __pthread_internal_slist {
- struct __pthread_internal_slist *__next;
-};
-
-union _union_13 {
- int __spins;
- __pthread_slist_t __list;
-};
-
-struct __pthread_mutex_s {
- int __lock;
- uint __count;
- int __owner;
- int __kind;
- uint __nusers;
- union _union_13 field5_0x14;
-};
-
-union pthread_mutex_t {
- struct __pthread_mutex_s __data;
- char __size[24];
- long __align;
-};
-
-typedef union pthread_mutexattr_t pthread_mutexattr_t, *Ppthread_mutexattr_t;
-
-union pthread_mutexattr_t {
- char __size[4];
- int __align;
-};
-
-typedef union pthread_cond_t pthread_cond_t, *Ppthread_cond_t;
-
-typedef struct _struct_16 _struct_16, *P_struct_16;
-
-struct _struct_16 {
- int __lock;
- uint __futex;
- ulonglong __total_seq;
- ulonglong __wakeup_seq;
- ulonglong __woken_seq;
- void *__mutex;
- uint __nwaiters;
- uint __broadcast_seq;
-};
-
-union pthread_cond_t {
- struct _struct_16 __data;
- char __size[48];
- longlong __align;
-};
-
-typedef ulong pthread_t;
-
-typedef union pthread_attr_t pthread_attr_t, *Ppthread_attr_t;
-
-union pthread_attr_t {
- char __size[36];
- long __align;
-};
-
-typedef union pthread_condattr_t pthread_condattr_t, *Ppthread_condattr_t;
-
-union pthread_condattr_t {
- char __size[4];
- int __align;
-};
-
-typedef struct __dirstream __dirstream, *P__dirstream;
-
-typedef struct __dirstream DIR;
-
-struct __dirstream {
-};
-
-typedef struct dirent dirent, *Pdirent;
-
-struct dirent {
- __ino_t d_ino;
- __off_t d_off;
- ushort d_reclen;
- uchar d_type;
- char d_name[256];
-};
-
-typedef union _union_1031 _union_1031, *P_union_1031;
-
-typedef struct _struct_1032 _struct_1032, *P_struct_1032;
-
-typedef struct _struct_1033 _struct_1033, *P_struct_1033;
-
-typedef struct _struct_1034 _struct_1034, *P_struct_1034;
-
-typedef struct _struct_1035 _struct_1035, *P_struct_1035;
-
-typedef struct _struct_1036 _struct_1036, *P_struct_1036;
-
-typedef struct _struct_1037 _struct_1037, *P_struct_1037;
-
-typedef union sigval sigval, *Psigval;
-
-typedef union sigval sigval_t;
-
-struct _struct_1032 {
- __pid_t si_pid;
- __uid_t si_uid;
-};
-
-union sigval {
- int sival_int;
- void *sival_ptr;
-};
-
-struct _struct_1033 {
- int si_tid;
- int si_overrun;
- sigval_t si_sigval;
-};
-
-struct _struct_1035 {
- __pid_t si_pid;
- __uid_t si_uid;
- int si_status;
- __clock_t si_utime;
- __clock_t si_stime;
-};
-
-struct _struct_1037 {
- long si_band;
- int si_fd;
-};
-
-struct _struct_1036 {
- void *si_addr;
-};
-
-struct _struct_1034 {
- __pid_t si_pid;
- __uid_t si_uid;
- sigval_t si_sigval;
-};
-
-union _union_1031 {
- int _pad[29];
- struct _struct_1032 _kill;
- struct _struct_1033 _timer;
- struct _struct_1034 _rt;
- struct _struct_1035 _sigchld;
- struct _struct_1036 _sigfault;
- struct _struct_1037 _sigpoll;
-};
-
-typedef struct siginfo siginfo, *Psiginfo;
-
-struct siginfo {
- int si_signo;
- int si_errno;
- int si_code;
- union _union_1031 _sifields;
-};
-
-typedef struct siginfo siginfo_t;
-
-
-// WARNING! conflicting data type names: /DWARF/__blkcnt_t - /types.h/__blkcnt_t
-
-typedef int __priority_which_t;
-
-
-// WARNING! conflicting data type names: /DWARF/__off_t - /types.h/__off_t
-
-typedef uint uint_fast16_t;
-
-typedef dword uint32_t;
-
-typedef uchar u_int8_t;
-
-typedef dword uint_least32_t;
-
-typedef int error_t;
-
-typedef int int_type;
-
-
-// WARNING! conflicting data type names: /DWARF/pthread_t - /pthreadtypes.h/pthread_t
-
-typedef uchar __uint8_t;
-
-typedef int __fd_mask;
-
-typedef int __daddr_t;
-
-typedef int ptrdiff_t;
-
-typedef word __uint16_t;
-
-typedef uchar uint8_t;
-
-typedef qword __uint64_t;
-
-typedef uint pthread_key_t;
-
-typedef int nl_item;
-
-typedef int greg_t;
-
-typedef sqword __blkcnt64_t;
-
-typedef dword uint_fast32_t;
-
-typedef qword __ino64_t;
-
-typedef undefined1 double_t[12];
-
-typedef char value_type;
-
-typedef uchar uint_fast8_t;
-
-typedef qword uint_fast64_t;
-
-typedef uint wint_t;
-
-
-// WARNING! conflicting data type names: /DWARF/__time_t - /types.h/__time_t
-
-typedef ulonglong uintmax_t;
-
-typedef qword __fsfilcnt64_t;
-
-typedef int value_type.conflict;
-
-
-// WARNING! conflicting data type names: /DWARF/__off64_t - /types.h/__off64_t
-
-typedef dword _G_uint32_t;
-
-typedef char int8_t;
-
-typedef word uint16_t;
-
-typedef char int_fast8_t;
-
-typedef sword _G_int16_t;
-
-typedef uint size_t;
-
-typedef int __rlimit_resource_t;
-
-typedef ushort __ipc_pid_t;
-
-typedef qword __fsblkcnt64_t;
-
-typedef char __int8_t;
-
-
-// WARNING! conflicting data type names: /DWARF/ulong - /ulong
-
-typedef int streamoff;
-
-typedef ushort mask;
-
-typedef word _G_uint16_t;
-
-typedef sdword _G_int32_t;
-
-typedef uint __u_long;
-
-
-// WARNING! conflicting data type names: /DWARF/__ino_t - /types.h/__ino_t
-
-typedef uchar uint_least8_t;
-
-typedef undefined1 float_t[12];
-
-typedef qword uint64_t;
-
-typedef int catalog;
-
-
-// WARNING! conflicting data type names: /DWARF/ushort - /ushort
-
-typedef word u_int16_t;
-
-typedef int __clockid_t;
-
-typedef int char_type.conflict;
-
-typedef int _Atomic_word;
-
-
-// WARNING! conflicting data type names: /DWARF/__clock_t - /types.h/__clock_t
-
-typedef short __int_type;
-
-typedef sdword int_fast32_t;
-
-typedef sqword int64_t;
-
-typedef dword u_int32_t;
-
-typedef int __int_type.conflict;
-
-typedef int register_t;
-
-typedef longlong __pthread_cond_align_t;
-
-typedef sdword __int32_t;
-
-typedef sqword __int64_t;
-
-typedef uint __fsblkcnt_t;
-
-typedef int __sig_atomic_t;
-
-typedef sdword int32_t;
-
-typedef int __swblk_t;
-
-typedef uint __u_int;
-
-
-// WARNING! conflicting data type names: /DWARF/uint - /uint
-
-typedef sqword int_least64_t;
-
-typedef uint Thread;
-
-typedef int __itimer_which_t;
-
-typedef int __rusage_who_t;
-
-typedef uint __fsfilcnt_t;
-
-typedef qword uint_least64_t;
-
-typedef uint __rlim_t;
-
-typedef ushort __u_short;
-
-typedef qword __rlim64_t;
-
-typedef uint shmatt_t;
-
-typedef longlong intmax_t;
-
-typedef char char_type;
-
-typedef sqword int_fast64_t;
-
-typedef uint uintptr_t;
-
-typedef qword u_int64_t;
-
-
-// WARNING! conflicting data type names: /DWARF/__suseconds_t - /types.h/__suseconds_t
-
-typedef sdword int_least32_t;
-
-typedef uint __id_t;
-
-typedef int __timer_t;
-
-
-// WARNING! conflicting data type names: /DWARF/__blksize_t - /types.h/__blksize_t
-
-typedef int pthread_once_t;
-
-typedef char int_least8_t;
-
-typedef ushort sa_family_t;
-
-typedef uchar __u_char;
-
-typedef sword int16_t;
-
-
-// WARNING! conflicting data type names: /DWARF/__dev_t - /types.h/__dev_t
-
-typedef dword __uint32_t;
-
-typedef word uint_least16_t;
-
-typedef sword int_least16_t;
-
-typedef int __intptr_t;
-
-typedef sword __int16_t;
-
-typedef uint category;
-
-
-// WARNING! conflicting data type names: /DWARF/nfds_t - /poll.h/nfds_t
-
-typedef uint wctype_t;
-
-typedef int int_fast16_t;
-
-typedef void (*terminate_handler)(void);
-
-typedef void (*unexpected_handler)(void);
-
-typedef struct char_traits<wchar_t> char_traits<wchar_t>, *Pchar_traits<wchar_t>;
-
-struct char_traits<wchar_t> {
-};
-
-typedef struct char_traits<char> char_traits<char>, *Pchar_traits<char>;
-
-struct char_traits<char> {
-};
-
-typedef struct fpos<__mbstate_t> fpos<__mbstate_t>, *Pfpos<__mbstate_t>;
-
-typedef struct fpos<__mbstate_t> streampos;
-
-typedef streampos pos_type;
-
-typedef struct __mbstate_t __mbstate_t, *P__mbstate_t;
-
-typedef struct __mbstate_t mbstate_t;
-
-typedef union anon_union_4_2_91654ee9_for___value anon_union_4_2_91654ee9_for___value, *Panon_union_4_2_91654ee9_for___value;
-
-union anon_union_4_2_91654ee9_for___value {
- wint_t __wch;
- char __wchb[4];
-};
-
-struct __mbstate_t {
- int __count;
- union anon_union_4_2_91654ee9_for___value __value;
-};
-
-struct fpos<__mbstate_t> {
- streamoff _M_off;
- mbstate_t _M_st;
-};
-
-typedef streamoff off_type;
-
-typedef mbstate_t state_type;
-
-
-// WARNING! conflicting data type names: /DWARF/char_traits.h/char_traits<wchar_t>/pos_type - /DWARF/char_traits.h/char_traits<char>/pos_type
-
-
-// WARNING! conflicting data type names: /DWARF/char_traits.h/char_traits<wchar_t>/int_type - /DWARF/int_type
-
-typedef struct sentry sentry, *Psentry;
-
-typedef struct basic_ostream<wchar_t,std::char_traits<wchar_t>_> basic_ostream<wchar_t,std::char_traits<wchar_t>_>, *Pbasic_ostream<wchar_t,std::char_traits<wchar_t>_>;
-
-struct basic_ostream<wchar_t,std::char_traits<wchar_t>_> { // Original name: basic_ostream<wchar_t,std::char_traits<wchar_t> >
-};
-
-struct sentry {
- bool _M_ok;
- struct basic_ostream<wchar_t,std::char_traits<wchar_t>_> *_M_os;
-};
-
-
-// WARNING! conflicting data type names: /DWARF/ostream/basic_ostream<char,std::char_traits<char>_>/sentry - /DWARF/ostream/basic_ostream<wchar_t,std::char_traits<wchar_t>_>/sentry
-
-typedef struct TSkillHitpoints TSkillHitpoints, *PTSkillHitpoints;
-
-typedef struct TSkillAdd TSkillAdd, *PTSkillAdd;
-
-typedef struct TSkill TSkill, *PTSkill;
-
-typedef struct TCreature TCreature, *PTCreature;
-
-typedef struct TSkillBase TSkillBase, *PTSkillBase;
-
-typedef struct TCombat TCombat, *PTCombat;
-
-typedef struct TOutfit TOutfit, *PTOutfit;
-
-typedef enum CreatureType {
- PLAYER=0,
- MONSTER=1,
- NPC=2
-} CreatureType;
-
-typedef struct TKnownCreature TKnownCreature, *PTKnownCreature;
-
-typedef struct Object Object, *PObject;
-
-typedef struct vector<TToDoEntry> vector<TToDoEntry>, *Pvector<TToDoEntry>;
-
-typedef struct TConnection TConnection, *PTConnection;
-
-typedef struct TCombatEntry TCombatEntry, *PTCombatEntry;
-
-typedef union anon_union_4_2_730cd3ca_for_TOutfit_2 anon_union_4_2_730cd3ca_for_TOutfit_2, *Panon_union_4_2_730cd3ca_for_TOutfit_2;
-
-typedef enum KNOWNCREATURESTATE {
- KNOWNCREATURE_FREE=0,
- KNOWNCREATURE_UPTODATE=1,
- KNOWNCREATURE_OUTDATED=2
-} KNOWNCREATURESTATE;
-
-typedef struct TToDoEntry TToDoEntry, *PTToDoEntry;
-
-typedef enum CONNECTIONSTATE {
- CONNECTION_FREE=0,
- CONNECTION_ASSIGNED=1,
- CONNECTION_CONNECTED=2,
- CONNECTION_LOGIN=3,
- CONNECTION_GAME=4,
- CONNECTION_DEAD=5,
- CONNECTION_LOGOUT=6,
- CONNECTION_DISCONNECTED=7
-} CONNECTIONSTATE;
-
-typedef __pid_t pid_t;
-
-typedef struct TXTEASymmetricKey TXTEASymmetricKey, *PTXTEASymmetricKey;
-
-typedef enum ToDoType {
- TDWait=0,
- TDGo=1,
- TDRotate=2,
- TDMove=3,
- TDTrade=4,
- TDUse=5,
- TDTurn=6,
- TDAttack=7,
- TDTalk=8,
- TDChangeState=9
-} ToDoType;
-
-typedef union anon_union_20_9_0cf291fe_for_TToDoEntry_2 anon_union_20_9_0cf291fe_for_TToDoEntry_2, *Panon_union_20_9_0cf291fe_for_TToDoEntry_2;
-
-typedef struct anon_struct_4_1_898373eb_for_Wait anon_struct_4_1_898373eb_for_Wait, *Panon_struct_4_1_898373eb_for_Wait;
-
-typedef struct anon_struct_12_3_4e92e0dd_for_Go anon_struct_12_3_4e92e0dd_for_Go, *Panon_struct_12_3_4e92e0dd_for_Go;
-
-typedef struct anon_struct_4_1_53aaadff_for_Rotate anon_struct_4_1_53aaadff_for_Rotate, *Panon_struct_4_1_53aaadff_for_Rotate;
-
-typedef struct anon_struct_20_5_1de5e93d_for_Move anon_struct_20_5_1de5e93d_for_Move, *Panon_struct_20_5_1de5e93d_for_Move;
-
-typedef struct anon_struct_8_2_91e27a16_for_Trade anon_struct_8_2_91e27a16_for_Trade, *Panon_struct_8_2_91e27a16_for_Trade;
-
-typedef struct anon_struct_12_3_f5043ff3_for_Use anon_struct_12_3_f5043ff3_for_Use, *Panon_struct_12_3_f5043ff3_for_Use;
-
-typedef struct anon_struct_4_1_ba1cf037_for_Turn anon_struct_4_1_ba1cf037_for_Turn, *Panon_struct_4_1_ba1cf037_for_Turn;
-
-typedef struct anon_struct_16_4_1017f030_for_Talk anon_struct_16_4_1017f030_for_Talk, *Panon_struct_16_4_1017f030_for_Talk;
-
-typedef struct anon_struct_4_1_3d35b86f_for_ChangeState anon_struct_4_1_3d35b86f_for_ChangeState, *Panon_struct_4_1_3d35b86f_for_ChangeState;
-
-struct anon_struct_4_1_53aaadff_for_Rotate {
- int Direction;
-};
-
-struct TSkill {
- int (**_vptr.TSkill)(...);
- int DAct;
- int MDAct;
- ushort SkNr;
- struct TCreature *Master;
- int Act;
- int Max;
- int Min;
- int FactorPercent;
- int LastLevel;
- int NextLevel;
- int Delta;
- int Exp;
- int Cycle;
- int MaxCycle;
- int Count;
- int MaxCount;
- int AddLevel;
-};
-
-struct TSkillAdd {
- struct TSkill super_TSkill;
-};
-
-struct TSkillHitpoints {
- struct TSkillAdd super_TSkillAdd;
-};
-
-struct anon_struct_20_5_1de5e93d_for_Move {
- ulong Obj;
- int x;
- int y;
- int z;
- int Count;
-};
-
-struct anon_struct_4_1_898373eb_for_Wait {
- ulong Time;
-};
-
-struct TCombatEntry {
- ulong ID;
- ulong Damage;
- int TimeStamp;
-};
-
-struct Object {
- ulong ObjectID;
-};
-
-struct TCombat {
- struct TCreature *Master;
- ulong EarliestAttackTime;
- ulong EarliestDefendTime;
- ulong LastDefendTime;
- ulong LatestAttackTime;
- uchar AttackMode;
- uchar ChaseMode;
- uchar SecureMode;
- ulong AttackDest;
- bool Following;
- struct Object Shield;
- struct Object Close;
- struct Object Missile;
- struct Object Throw;
- struct Object Wand;
- struct Object Ammo;
- bool Fist;
- ulong CombatDamage;
- int ActCombatEntry;
- struct TCombatEntry CombatList[20];
- int LearningPoints;
-};
-
-union anon_union_4_2_730cd3ca_for_TOutfit_2 {
- ushort ObjectType;
- uchar Colors[4];
-};
-
-struct anon_struct_12_3_f5043ff3_for_Use {
- ulong Obj1;
- ulong Obj2;
- int Dummy;
-};
-
-struct anon_struct_12_3_4e92e0dd_for_Go {
- int x;
- int y;
- int z;
-};
-
-struct TXTEASymmetricKey {
- int (**_vptr.TXTEASymmetricKey)(...);
- uchar m_SymmetricKey[16];
-};
-
-struct anon_struct_4_1_3d35b86f_for_ChangeState {
- int NewState;
-};
-
-struct anon_struct_16_4_1017f030_for_Talk {
- ulong Text;
- int Mode;
- ulong Addressee;
- bool CheckSpamming;
-};
-
-struct anon_struct_4_1_ba1cf037_for_Turn {
- ulong Obj;
-};
-
-struct anon_struct_8_2_91e27a16_for_Trade {
- ulong Obj;
- ulong Partner;
-};
-
-union anon_union_20_9_0cf291fe_for_TToDoEntry_2 {
- struct anon_struct_4_1_898373eb_for_Wait Wait;
- struct anon_struct_12_3_4e92e0dd_for_Go Go;
- struct anon_struct_4_1_53aaadff_for_Rotate Rotate;
- struct anon_struct_20_5_1de5e93d_for_Move Move;
- struct anon_struct_8_2_91e27a16_for_Trade Trade;
- struct anon_struct_12_3_f5043ff3_for_Use Use;
- struct anon_struct_4_1_ba1cf037_for_Turn Turn;
- struct anon_struct_16_4_1017f030_for_Talk Talk;
- struct anon_struct_4_1_3d35b86f_for_ChangeState ChangeState;
-};
-
-struct TKnownCreature {
- enum KNOWNCREATURESTATE State;
- ulong CreatureID;
- struct TKnownCreature *Next;
- struct TConnection *Connection;
-};
-
-struct TSkillBase {
- struct TSkill *Skills[25];
- struct TSkill *TimerList[25];
- ushort FirstFreeTimer;
-};
-
-struct TOutfit {
- int OutfitID;
- union anon_union_4_2_730cd3ca_for_TOutfit_2 field_1;
-};
-
-struct TToDoEntry {
- enum ToDoType Code;
- union anon_union_20_9_0cf291fe_for_TToDoEntry_2 field_1;
-};
-
-struct vector<TToDoEntry> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TToDoEntry init;
- struct TToDoEntry *entry;
-};
-
-struct TCreature {
- int (**_vptr.TCreature)(...);
- struct TSkillBase super_TSkillBase;
- struct TCombat Combat;
- ulong ID;
- struct TCreature *NextHashEntry;
- ulong NextChainCreature;
- char Name[31];
- char Murderer[31];
- struct TOutfit OrgOutfit;
- struct TOutfit Outfit;
- int startx;
- int starty;
- int startz;
- int posx;
- int posy;
- int posz;
- int Sex;
- int Race;
- int Direction;
- int Radius;
- enum CreatureType Type;
- bool IsDead;
- int LoseInventory;
- bool LoggingOut;
- bool LogoutAllowed;
- ulong EarliestLogoutRound;
- ulong EarliestProtectionZoneRound;
- ulong EarliestYellRound;
- ulong EarliestTradeChannelRound;
- ulong EarliestSpellTime;
- ulong EarliestMultiuseTime;
- ulong EarliestWalkTime;
- ulong LifeEndRound;
- struct TKnownCreature *FirstKnowingConnection;
- int SummonedCreatures;
- ulong FireDamageOrigin;
- ulong PoisonDamageOrigin;
- ulong EnergyDamageOrigin;
- struct Object CrObject;
- struct vector<TToDoEntry> ToDoList;
- int ActToDo;
- int NrToDo;
- ulong NextWakeup;
- bool Stop;
- bool LockToDo;
- uchar Profession;
- struct TConnection *Connection;
-};
-
-struct TConnection {
- uchar InData[2048];
- int InDataSize;
- bool SigIOPending;
- bool WaitingForACK;
- uchar OutData[16384];
- undefined field5_0x4806;
- undefined field6_0x4807;
- int NextToSend;
- int NextToCommit;
- int NextToWrite;
- bool Overflow;
- bool WillingToSend;
- undefined field12_0x4816;
- undefined field13_0x4817;
- struct TConnection *NextSendingConnection;
- uint RandomSeed;
- enum CONNECTIONSTATE State;
- pid_t PID;
- int Socket;
- char IPAddress[16];
- struct TXTEASymmetricKey SymmetricKey;
- bool ConnectionIsOk;
- bool ClosingIsDelayed;
- undefined field23_0x4852;
- undefined field24_0x4853;
- ulong TimeStamp;
- ulong TimeStampAction;
- int TerminalType;
- int TerminalVersion;
- int TerminalOffsetX;
- int TerminalOffsetY;
- int TerminalWidth;
- int TerminalHeight;
- ulong CharacterID;
- char Name[31];
- undefined field35_0x4897;
- struct TKnownCreature KnownCreatureTable[150];
-};
-
-typedef struct TSkillSoulpoints TSkillSoulpoints, *PTSkillSoulpoints;
-
-struct TSkillSoulpoints {
- struct TSkillAdd super_TSkillAdd;
-};
-
-typedef struct TSkillProbe TSkillProbe, *PTSkillProbe;
-
-struct TSkillProbe {
- struct TSkill super_TSkill;
-};
-
-typedef struct TSkillMana TSkillMana, *PTSkillMana;
-
-struct TSkillMana {
- struct TSkillAdd super_TSkillAdd;
-};
-
-typedef struct TSkillGoStrength TSkillGoStrength, *PTSkillGoStrength;
-
-struct TSkillGoStrength {
- struct TSkillAdd super_TSkillAdd;
-};
-
-typedef struct TSkillLight TSkillLight, *PTSkillLight;
-
-struct TSkillLight {
- struct TSkill super_TSkill;
-};
-
-typedef struct TSkillEnergy TSkillEnergy, *PTSkillEnergy;
-
-struct TSkillEnergy {
- struct TSkill super_TSkill;
-};
-
-typedef struct TSkillCarryStrength TSkillCarryStrength, *PTSkillCarryStrength;
-
-struct TSkillCarryStrength {
- struct TSkillAdd super_TSkillAdd;
-};
-
-typedef struct TSkillPoison TSkillPoison, *PTSkillPoison;
-
-struct TSkillPoison {
- struct TSkill super_TSkill;
-};
-
-typedef struct TSkillBurning TSkillBurning, *PTSkillBurning;
-
-struct TSkillBurning {
- struct TSkill super_TSkill;
-};
-
-typedef struct TSkillFed TSkillFed, *PTSkillFed;
-
-struct TSkillFed {
- struct TSkill super_TSkill;
-};
-
-typedef struct TSkillIllusion TSkillIllusion, *PTSkillIllusion;
-
-struct TSkillIllusion {
- struct TSkill super_TSkill;
-};
-
-typedef struct TSkillLevel TSkillLevel, *PTSkillLevel;
-
-struct TSkillLevel {
- struct TSkill super_TSkill;
-};
-
-typedef struct __normal_iterator<const_char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_> __normal_iterator<const_char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>, *P__normal_iterator<const_char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>;
-
-struct __normal_iterator<const_char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_> { // Original name: __normal_iterator<const char*,std::basic_string<char, std::char_traits<char>, std::allocator<char> > >
-Missing member super_iterator<std::random_access_iterator_tag,char,int,const_char*,const_char&> : iterator<std::random_access_iterator_tag,char,int,const_char*,const_char&> at offset 0x0 [conflicting member at same offset]
- char *_M_current;
-};
-
-typedef struct __normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_> __normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>, *P__normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>;
-
-struct __normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_> { // Original name: __normal_iterator<char*,std::basic_string<char, std::char_traits<char>, std::allocator<char> > >
-Missing member super_iterator<std::random_access_iterator_tag,char,int,char*,char&> : iterator<std::random_access_iterator_tag,char,int,char*,char&> at offset 0x0 [conflicting member at same offset]
- char *_M_current;
-};
-
-typedef char *reference;
-
-typedef ptrdiff_t difference_type;
-
-typedef char *pointer;
-
-
-// WARNING! conflicting data type names: /DWARF/pthreadtypes.h/pthread_mutex_t - /pthreadtypes.h/pthread_mutex_t
-
-
-// WARNING! conflicting data type names: /DWARF/pthreadtypes.h/pthread_mutexattr_t - /pthreadtypes.h/pthread_mutexattr_t
-
-typedef struct _pthread_rwlock_t _pthread_rwlock_t, *P_pthread_rwlock_t;
-
-typedef struct _pthread_fastlock _pthread_fastlock, *P_pthread_fastlock;
-
-typedef struct _pthread_descr_struct _pthread_descr_struct, *P_pthread_descr_struct;
-
-typedef struct _pthread_descr_struct *_pthread_descr;
-
-struct _pthread_fastlock {
- long __status;
- int __spinlock;
-};
-
-struct _pthread_rwlock_t {
- struct _pthread_fastlock __rw_lock;
- int __rw_readers;
- _pthread_descr __rw_writer;
- _pthread_descr __rw_read_waiting;
- _pthread_descr __rw_write_waiting;
- int __rw_kind;
- int __rw_pshared;
-};
-
-struct _pthread_descr_struct {
-};
-
-
-// WARNING! conflicting data type names: /DWARF/pthreadtypes.h/pthread_cond_t - /pthreadtypes.h/pthread_cond_t
-
-typedef struct __pthread_attr_s __pthread_attr_s, *P__pthread_attr_s;
-
-typedef struct __sched_param __sched_param, *P__sched_param;
-
-struct __sched_param {
- int __sched_priority;
-};
-
-struct __pthread_attr_s {
- int __detachstate;
- int __schedpolicy;
- struct __sched_param __schedparam;
- int __inheritsched;
- int __scope;
- size_t __guardsize;
- int __stackaddr_set;
- void *__stackaddr;
- size_t __stacksize;
-};
-
-typedef struct pthread_rwlockattr_t pthread_rwlockattr_t, *Ppthread_rwlockattr_t;
-
-struct pthread_rwlockattr_t {
- int __lockkind;
- int __pshared;
-};
-
-typedef struct pthread_barrier_t pthread_barrier_t, *Ppthread_barrier_t;
-
-struct pthread_barrier_t {
- struct _pthread_fastlock __ba_lock;
- int __ba_required;
- int __ba_present;
- _pthread_descr __ba_waiting;
-};
-
-typedef struct pthread_barrierattr_t pthread_barrierattr_t, *Ppthread_barrierattr_t;
-
-struct pthread_barrierattr_t {
- int __pshared;
-};
-
-
-// WARNING! conflicting data type names: /DWARF/pthreadtypes.h/pthread_attr_t - /pthreadtypes.h/pthread_attr_t
-
-
-// WARNING! conflicting data type names: /DWARF/pthreadtypes.h/pthread_condattr_t - /pthreadtypes.h/pthread_condattr_t
-
-typedef struct _pthread_rwlock_t pthread_rwlock_t;
-
-typedef int pthread_spinlock_t;
-
-
-// WARNING! conflicting data type names: /DWARF/pthreadtypes.h/StartThread/pthread_attr_t - /pthreadtypes.h/pthread_attr_t
-
-typedef union wait wait, *Pwait;
-
-typedef struct anon_struct_4_3_c58d0830_for___wait_terminated anon_struct_4_3_c58d0830_for___wait_terminated, *Panon_struct_4_3_c58d0830_for___wait_terminated;
-
-typedef struct anon_struct_4_2_37e31311_for___wait_stopped anon_struct_4_2_37e31311_for___wait_stopped, *Panon_struct_4_2_37e31311_for___wait_stopped;
-
-struct anon_struct_4_2_37e31311_for___wait_stopped {
- uint __w_stopval:8;
- uint __w_stopsig:8;
-};
-
-struct anon_struct_4_3_c58d0830_for___wait_terminated {
- uint __w_termsig:7;
- uint __w_coredump:1;
- uint __w_retcode:8;
-};
-
-union wait {
- int w_status;
- struct anon_struct_4_3_c58d0830_for___wait_terminated __wait_terminated;
- struct anon_struct_4_2_37e31311_for___wait_stopped __wait_stopped;
-};
-
-typedef struct TDatabasePoolConnection TDatabasePoolConnection, *PTDatabasePoolConnection;
-
-typedef struct TDatabaseConnectionPool TDatabaseConnectionPool, *PTDatabaseConnectionPool;
-
-typedef struct TDatabaseConnection TDatabaseConnection, *PTDatabaseConnection;
-
-typedef struct TDatabaseSettings TDatabaseSettings, *PTDatabaseSettings;
-
-typedef struct Semaphore Semaphore, *PSemaphore;
-
-struct TDatabasePoolConnection {
- struct TDatabaseConnectionPool *DatabaseConnectionPool;
- struct TDatabaseConnection *DatabaseConnection;
- bool TransactionRunning;
-};
-
-struct TDatabaseSettings {
- char Product[30];
- char Database[30];
- char Login[30];
- char Password[30];
- char Host[30];
- char Port[6];
-};
-
-struct Semaphore {
- int value;
- struct pthread_mutex_t mutex;
- struct pthread_cond_t condition;
-};
-
-struct TDatabaseConnectionPool {
- int NumberOfConnections;
- struct TDatabaseSettings DatabaseSettings;
- struct TDatabaseConnection **DatabaseConnection;
- bool *DatabaseConnectionFree;
- struct Semaphore FreeDatabaseConnections;
- struct Semaphore DatabaseConnectionMutex;
-};
-
-struct TDatabaseConnection {
-};
-
-typedef struct TPreparedQuery TPreparedQuery, *PTPreparedQuery;
-
-struct TPreparedQuery {
- int Number;
- char *Query;
- char *DBTypes;
- char *CTypes;
- char *Name;
-};
-
-typedef char *__gnuc_va_list;
-
-typedef struct TSharedMemory TSharedMemory, *PTSharedMemory;
-
-typedef enum GAMESTATE {
- GAME_STARTING=0,
- GAME_RUNNING=1,
- GAME_CLOSING=2,
- GAME_ENDING=3
-} GAMESTATE;
-
-struct TSharedMemory {
- int Command;
- char CommandBuffer[256];
- ulong RoundNr;
- ulong ObjectCounter;
- ulong Errors;
- int PlayersOnline;
- int NewbiesOnline;
- int PrintBufferPosition;
- char PrintBuffer[200][128];
- enum GAMESTATE GameState;
- pid_t GameThreadPID;
-};
-
-typedef struct char_traits<char> traits_type;
-
-typedef struct basic_istream<char,std::char_traits<char>_> basic_istream<char,std::char_traits<char>_>, *Pbasic_istream<char,std::char_traits<char>_>;
-
-typedef struct basic_istream<char,std::char_traits<char>_> istream_type;
-
-struct basic_istream<char,std::char_traits<char>_> { // Original name: basic_istream<char,std::char_traits<char> >
-};
-
-typedef struct basic_streambuf<char,std::char_traits<char>_> basic_streambuf<char,std::char_traits<char>_>, *Pbasic_streambuf<char,std::char_traits<char>_>;
-
-typedef struct basic_streambuf<char,std::char_traits<char>_> streambuf_type;
-
-struct basic_streambuf<char,std::char_traits<char>_> { // Original name: basic_streambuf<char,std::char_traits<char> >
-};
-
-typedef struct basic_ostream<char,std::char_traits<char>_> basic_ostream<char,std::char_traits<char>_>, *Pbasic_ostream<char,std::char_traits<char>_>;
-
-typedef struct basic_ostream<char,std::char_traits<char>_> ostream_type;
-
-struct basic_ostream<char,std::char_traits<char>_> { // Original name: basic_ostream<char,std::char_traits<char> >
-};
-
-typedef struct storeunit<TPlayerIndexLeafNode,100> storeunit<TPlayerIndexLeafNode,100>, *Pstoreunit<TPlayerIndexLeafNode,100>;
-
-typedef union storeitem<TPlayerIndexLeafNode> storeitem<TPlayerIndexLeafNode>, *Pstoreitem<TPlayerIndexLeafNode>;
-
-typedef struct TPlayerIndexLeafNode TPlayerIndexLeafNode, *PTPlayerIndexLeafNode;
-
-typedef struct TPlayerIndexNode TPlayerIndexNode, *PTPlayerIndexNode;
-
-typedef struct TPlayerIndexEntry TPlayerIndexEntry, *PTPlayerIndexEntry;
-
-struct TPlayerIndexEntry {
- char Name[30];
- ulong CharacterID;
-};
-
-struct TPlayerIndexNode {
- bool InternalNode;
-};
-
-struct TPlayerIndexLeafNode {
- struct TPlayerIndexNode super_TPlayerIndexNode;
- int Count;
- struct TPlayerIndexEntry Entry[10];
-};
-
-union storeitem<TPlayerIndexLeafNode> {
- union storeitem<TPlayerIndexLeafNode> *next;
- struct TPlayerIndexLeafNode data;
-};
-
-struct storeunit<TPlayerIndexLeafNode,100> {
- union storeitem<TPlayerIndexLeafNode> item[100];
-};
-
-typedef struct store<TPlayerIndexInternalNode,100> store<TPlayerIndexInternalNode,100>, *Pstore<TPlayerIndexInternalNode,100>;
-
-typedef struct list<storeunit<TPlayerIndexInternalNode,_100>_> list<storeunit<TPlayerIndexInternalNode,_100>_>, *Plist<storeunit<TPlayerIndexInternalNode,_100>_>;
-
-typedef union storeitem<TPlayerIndexInternalNode> storeitem<TPlayerIndexInternalNode>, *Pstoreitem<TPlayerIndexInternalNode>;
-
-typedef struct listnode<storeunit<TPlayerIndexInternalNode,_100>_> listnode<storeunit<TPlayerIndexInternalNode,_100>_>, *Plistnode<storeunit<TPlayerIndexInternalNode,_100>_>;
-
-typedef struct TPlayerIndexInternalNode TPlayerIndexInternalNode, *PTPlayerIndexInternalNode;
-
-typedef struct storeunit<TPlayerIndexInternalNode,100> storeunit<TPlayerIndexInternalNode,100>, *Pstoreunit<TPlayerIndexInternalNode,100>;
-
-struct TPlayerIndexInternalNode {
- struct TPlayerIndexNode super_TPlayerIndexNode;
- struct TPlayerIndexNode *Child[27];
-};
-
-union storeitem<TPlayerIndexInternalNode> {
- union storeitem<TPlayerIndexInternalNode> *next;
- struct TPlayerIndexInternalNode data;
-};
-
-struct storeunit<TPlayerIndexInternalNode,100> {
- union storeitem<TPlayerIndexInternalNode> item[100];
-};
-
-struct listnode<storeunit<TPlayerIndexInternalNode,_100>_> { // Original name: listnode<storeunit<TPlayerIndexInternalNode, 100> >
- struct listnode<storeunit<TPlayerIndexInternalNode,_100>_> *next;
- struct listnode<storeunit<TPlayerIndexInternalNode,_100>_> *prev;
- struct storeunit<TPlayerIndexInternalNode,100> data;
-};
-
-struct store<TPlayerIndexInternalNode,100> {
- struct list<storeunit<TPlayerIndexInternalNode,_100>_> *Units;
- union storeitem<TPlayerIndexInternalNode> *firstFreeItem;
-};
-
-struct list<storeunit<TPlayerIndexInternalNode,_100>_> { // Original name: list<storeunit<TPlayerIndexInternalNode, 100> >
- struct listnode<storeunit<TPlayerIndexInternalNode,_100>_> *firstNode;
- struct listnode<storeunit<TPlayerIndexInternalNode,_100>_> *lastNode;
-};
-
-typedef union storeitem<TNode> storeitem<TNode>, *Pstoreitem<TNode>;
-
-typedef struct TNode TNode, *PTNode;
-
-struct TNode {
- int Type;
- int Data;
- struct TNode *Left;
- struct TNode *Right;
-};
-
-union storeitem<TNode> {
- union storeitem<TNode> *next;
- struct TNode data;
-};
-
-typedef struct vector<THouse> vector<THouse>, *Pvector<THouse>;
-
-typedef struct THouse THouse, *PTHouse;
-
-typedef struct vector<THouseGuest> vector<THouseGuest>, *Pvector<THouseGuest>;
-
-typedef struct THouseGuest THouseGuest, *PTHouseGuest;
-
-struct THouseGuest {
- char Name[60];
-};
-
-struct vector<THouseGuest> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct THouseGuest init;
- struct THouseGuest *entry;
-};
-
-struct THouse {
- ushort ID;
- char Name[50];
- char Description[500];
- int Size;
- ulong Rent;
- int DepotNr;
- bool NoAuction;
- bool GuildHouse;
- int ExitX;
- int ExitY;
- int ExitZ;
- int CenterX;
- int CenterY;
- int CenterZ;
- ulong OwnerID;
- char OwnerName[30];
- int LastTransition;
- int PaidUntil;
- struct vector<THouseGuest> Subowner;
- int Subowners;
- struct vector<THouseGuest> Guest;
- int Guests;
- int Help;
-};
-
-struct vector<THouse> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct THouse init;
- struct THouse *entry;
-};
-
-typedef struct matrix<long_unsigned_int> matrix<long_unsigned_int>, *Pmatrix<long_unsigned_int>;
-
-struct matrix<long_unsigned_int> { // Original name: matrix<long unsigned int>
- int xmin;
- int ymin;
- int dx;
- int dy;
- ulong *entry;
-};
-
-typedef struct listnode<storeunit<TWaitinglistEntry,_100>_> listnode<storeunit<TWaitinglistEntry,_100>_>, *Plistnode<storeunit<TWaitinglistEntry,_100>_>;
-
-typedef struct storeunit<TWaitinglistEntry,100> storeunit<TWaitinglistEntry,100>, *Pstoreunit<TWaitinglistEntry,100>;
-
-typedef union storeitem<TWaitinglistEntry> storeitem<TWaitinglistEntry>, *Pstoreitem<TWaitinglistEntry>;
-
-typedef struct TWaitinglistEntry TWaitinglistEntry, *PTWaitinglistEntry;
-
-struct TWaitinglistEntry {
- struct TWaitinglistEntry *Next;
- char Name[30];
- ulong NextTry;
- bool FreeAccount;
- bool Newbie;
- bool Sleeping;
-};
-
-union storeitem<TWaitinglistEntry> {
- union storeitem<TWaitinglistEntry> *next;
- struct TWaitinglistEntry data;
-};
-
-struct storeunit<TWaitinglistEntry,100> {
- union storeitem<TWaitinglistEntry> item[100];
-};
-
-struct listnode<storeunit<TWaitinglistEntry,_100>_> { // Original name: listnode<storeunit<TWaitinglistEntry, 100> >
- struct listnode<storeunit<TWaitinglistEntry,_100>_> *next;
- struct listnode<storeunit<TWaitinglistEntry,_100>_> *prev;
- struct storeunit<TWaitinglistEntry,100> data;
-};
-
-typedef struct vector<TCreature*> vector<TCreature*>, *Pvector<TCreature*>;
-
-struct vector<TCreature*> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TCreature *init;
- struct TCreature **entry;
-};
-
-typedef struct priority_queue_entry<long_unsigned_int,long_unsigned_int> priority_queue_entry<long_unsigned_int,long_unsigned_int>, *Ppriority_queue_entry<long_unsigned_int,long_unsigned_int>;
-
-struct priority_queue_entry<long_unsigned_int,long_unsigned_int> { // Original name: priority_queue_entry<long unsigned int,long unsigned int>
- ulong Key;
- ulong Data;
-};
-
-typedef struct priority_queue_entry<long_unsigned_int,TAttackWave*> priority_queue_entry<long_unsigned_int,TAttackWave*>, *Ppriority_queue_entry<long_unsigned_int,TAttackWave*>;
-
-typedef struct TAttackWave TAttackWave, *PTAttackWave;
-
-typedef struct vector<TItemData> vector<TItemData>, *Pvector<TItemData>;
-
-typedef struct TItemData TItemData, *PTItemData;
-
-typedef struct ObjectType ObjectType, *PObjectType;
-
-struct ObjectType {
- int TypeID;
-};
-
-struct priority_queue_entry<long_unsigned_int,TAttackWave*> { // Original name: priority_queue_entry<long unsigned int,TAttackWave*>
- ulong Key;
- struct TAttackWave *Data;
-};
-
-struct TItemData {
- struct ObjectType Type;
- int Maximum;
- int Probability;
-};
-
-struct vector<TItemData> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TItemData init;
- struct TItemData *entry;
-};
-
-struct TAttackWave {
- int x;
- int y;
- int z;
- int Spread;
- int Race;
- int MinCount;
- int MaxCount;
- int Radius;
- int Lifetime;
- ulong Message;
- int ExtraItems;
- struct vector<TItemData> ExtraItem;
-};
-
-typedef struct vector<TSkillData> vector<TSkillData>, *Pvector<TSkillData>;
-
-typedef struct TSkillData TSkillData, *PTSkillData;
-
-struct TSkillData {
- int Nr;
- int Actual;
- int Minimum;
- int Maximum;
- int NextLevel;
- int FactorPercent;
- int AddLevel;
-};
-
-struct vector<TSkillData> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TSkillData init;
- struct TSkillData *entry;
-};
-
-typedef struct store<TWaitinglistEntry,100> store<TWaitinglistEntry,100>, *Pstore<TWaitinglistEntry,100>;
-
-typedef struct list<storeunit<TWaitinglistEntry,_100>_> list<storeunit<TWaitinglistEntry,_100>_>, *Plist<storeunit<TWaitinglistEntry,_100>_>;
-
-struct store<TWaitinglistEntry,100> {
- struct list<storeunit<TWaitinglistEntry,_100>_> *Units;
- union storeitem<TWaitinglistEntry> *firstFreeItem;
-};
-
-struct list<storeunit<TWaitinglistEntry,_100>_> { // Original name: list<storeunit<TWaitinglistEntry, 100> >
- struct listnode<storeunit<TWaitinglistEntry,_100>_> *firstNode;
- struct listnode<storeunit<TWaitinglistEntry,_100>_> *lastNode;
-};
-
-typedef struct vector<TNonplayer*> vector<TNonplayer*>, *Pvector<TNonplayer*>;
-
-typedef struct TNonplayer TNonplayer, *PTNonplayer;
-
-typedef enum STATE {
- SLEEPING=0,
- IDLE=1,
- UNDERATTACK=2,
- TALKING=3,
- LEAVING=4,
- ATTACKING=5,
- PANIC=6
-} STATE;
-
-struct vector<TNonplayer*> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TNonplayer *init;
- struct TNonplayer **entry;
-};
-
-struct TNonplayer {
- struct TCreature super_TCreature;
- enum STATE State;
-};
-
-typedef struct vector<TDelayedMail> vector<TDelayedMail>, *Pvector<TDelayedMail>;
-
-typedef struct TDelayedMail TDelayedMail, *PTDelayedMail;
-
-struct TDelayedMail {
- ulong CharacterID;
- int DepotNumber;
- uchar *Packet;
- int PacketSize;
-};
-
-struct vector<TDelayedMail> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TDelayedMail init;
- struct TDelayedMail *entry;
-};
-
-typedef struct listIterator<storeunit<TWaitinglistEntry,_100>_> listIterator<storeunit<TWaitinglistEntry,_100>_>, *PlistIterator<storeunit<TWaitinglistEntry,_100>_>;
-
-struct listIterator<storeunit<TWaitinglistEntry,_100>_> { // Original name: listIterator<storeunit<TWaitinglistEntry, 100> >
- struct listnode<storeunit<TWaitinglistEntry,_100>_> *actNode;
-};
-
-typedef struct vector<priority_queue_entry<long_unsigned_int,_long_unsigned_int>_> vector<priority_queue_entry<long_unsigned_int,_long_unsigned_int>_>, *Pvector<priority_queue_entry<long_unsigned_int,_long_unsigned_int>_>;
-
-struct vector<priority_queue_entry<long_unsigned_int,_long_unsigned_int>_> { // Original name: vector<priority_queue_entry<long unsigned int, long unsigned int> >
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct priority_queue_entry<long_unsigned_int,long_unsigned_int> init;
- struct priority_queue_entry<long_unsigned_int,long_unsigned_int> *entry;
-};
-
-typedef struct vector<TSpellData> vector<TSpellData>, *Pvector<TSpellData>;
-
-typedef struct TSpellData TSpellData, *PTSpellData;
-
-typedef enum SpellShapeType {
- SHAPE_ACTOR=0,
- SHAPE_VICTIM=1,
- SHAPE_ORIGIN=2,
- SHAPE_DESTINATION=3,
- SHAPE_ANGLE=4
-} SpellShapeType;
-
-typedef enum SpellImpactType {
- IMPACT_DAMAGE=0,
- IMPACT_FIELD=1,
- IMPACT_HEALING=2,
- IMPACT_SPEED=3,
- IMPACT_DRUNKEN=4,
- IMPACT_STRENGTH=5,
- IMPACT_OUTFIT=6,
- IMPACT_SUMMON=7
-} SpellImpactType;
-
-struct TSpellData {
- enum SpellShapeType Shape;
- int ShapeParam1;
- int ShapeParam2;
- int ShapeParam3;
- int ShapeParam4;
- enum SpellImpactType Impact;
- int ImpactParam1;
- int ImpactParam2;
- int ImpactParam3;
- int ImpactParam4;
- int Delay;
-};
-
-struct vector<TSpellData> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TSpellData init;
- struct TSpellData *entry;
-};
-
-typedef struct listnode<storeunit<TNode,_256>_> listnode<storeunit<TNode,_256>_>, *Plistnode<storeunit<TNode,_256>_>;
-
-typedef struct storeunit<TNode,256> storeunit<TNode,256>, *Pstoreunit<TNode,256>;
-
-struct storeunit<TNode,256> {
- union storeitem<TNode> item[256];
-};
-
-struct listnode<storeunit<TNode,_256>_> { // Original name: listnode<storeunit<TNode, 256> >
- struct listnode<storeunit<TNode,_256>_> *next;
- struct listnode<storeunit<TNode,_256>_> *prev;
- struct storeunit<TNode,256> data;
-};
-
-typedef struct matrix<TShortwayPoint> matrix<TShortwayPoint>, *Pmatrix<TShortwayPoint>;
-
-typedef struct TShortwayPoint TShortwayPoint, *PTShortwayPoint;
-
-struct TShortwayPoint {
- int x;
- int y;
- int Waypoints;
- int Waylength;
- int Heuristic;
- struct TShortwayPoint *Predecessor;
- struct TShortwayPoint *NextToExpand;
-};
-
-struct matrix<TShortwayPoint> {
- int xmin;
- int ymin;
- int dx;
- int dy;
- struct TShortwayPoint *entry;
-};
-
-typedef struct vector<TCronEntry> vector<TCronEntry>, *Pvector<TCronEntry>;
-
-typedef struct TCronEntry TCronEntry, *PTCronEntry;
-
-struct TCronEntry {
- struct Object Obj;
- ulong RoundNr;
- int Previous;
- int Next;
-};
-
-struct vector<TCronEntry> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TCronEntry init;
- struct TCronEntry *entry;
-};
-
-typedef struct list<TStaticStringTableBlock> list<TStaticStringTableBlock>, *Plist<TStaticStringTableBlock>;
-
-typedef struct listnode<TStaticStringTableBlock> listnode<TStaticStringTableBlock>, *Plistnode<TStaticStringTableBlock>;
-
-typedef struct TStaticStringTableBlock TStaticStringTableBlock, *PTStaticStringTableBlock;
-
-struct TStaticStringTableBlock {
- int TotalTextLength;
- char Text[65536];
-};
-
-struct listnode<TStaticStringTableBlock> {
- struct listnode<TStaticStringTableBlock> *next;
- struct listnode<TStaticStringTableBlock> *prev;
- struct TStaticStringTableBlock data;
-};
-
-struct list<TStaticStringTableBlock> {
- struct listnode<TStaticStringTableBlock> *firstNode;
- struct listnode<TStaticStringTableBlock> *lastNode;
-};
-
-typedef struct vector<TMonsterhome> vector<TMonsterhome>, *Pvector<TMonsterhome>;
-
-typedef struct TMonsterhome TMonsterhome, *PTMonsterhome;
-
-struct TMonsterhome {
- int Race;
- int x;
- int y;
- int z;
- int Radius;
- int MaxMonsters;
- int ActMonsters;
- int RegenerationTime;
- int Timer;
-};
-
-struct vector<TMonsterhome> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TMonsterhome init;
- struct TMonsterhome *entry;
-};
-
-typedef struct listIterator<TStaticStringTableBlock> listIterator<TStaticStringTableBlock>, *PlistIterator<TStaticStringTableBlock>;
-
-struct listIterator<TStaticStringTableBlock> {
- struct listnode<TStaticStringTableBlock> *actNode;
-};
-
-typedef struct vector<TCondition> vector<TCondition>, *Pvector<TCondition>;
-
-typedef struct TCondition TCondition, *PTCondition;
-
-struct TCondition {
- int Type;
- ulong Text;
- struct TNode *Expression;
- int Property;
- int Number;
-};
-
-struct vector<TCondition> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TCondition init;
- struct TCondition *entry;
-};
-
-typedef struct vector<TChannel> vector<TChannel>, *Pvector<TChannel>;
-
-typedef struct TChannel TChannel, *PTChannel;
-
-typedef struct vector<long_unsigned_int> vector<long_unsigned_int>, *Pvector<long_unsigned_int>;
-
-struct vector<long_unsigned_int> { // Original name: vector<long unsigned int>
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- ulong init;
- ulong *entry;
-};
-
-struct TChannel {
- ulong Moderator;
- char ModeratorName[30];
- struct vector<long_unsigned_int> Subscriber;
- int Subscribers;
- struct vector<long_unsigned_int> InvitedPlayer;
- int InvitedPlayers;
-};
-
-struct vector<TChannel> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TChannel init;
- struct TChannel *entry;
-};
-
-typedef struct matrix<int> matrix<int>, *Pmatrix<int>;
-
-struct matrix<int> {
- int xmin;
- int ymin;
- int dx;
- int dy;
- int *entry;
-};
-
-typedef struct vector<THelpDepot> vector<THelpDepot>, *Pvector<THelpDepot>;
-
-typedef struct THelpDepot THelpDepot, *PTHelpDepot;
-
-struct THelpDepot {
- ulong CharacterID;
- struct Object Box;
- int DepotNr;
-};
-
-struct vector<THelpDepot> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct THelpDepot init;
- struct THelpDepot *entry;
-};
-
-typedef struct listIterator<storeunit<TPlayerIndexLeafNode,_100>_> listIterator<storeunit<TPlayerIndexLeafNode,_100>_>, *PlistIterator<storeunit<TPlayerIndexLeafNode,_100>_>;
-
-typedef struct listnode<storeunit<TPlayerIndexLeafNode,_100>_> listnode<storeunit<TPlayerIndexLeafNode,_100>_>, *Plistnode<storeunit<TPlayerIndexLeafNode,_100>_>;
-
-struct listIterator<storeunit<TPlayerIndexLeafNode,_100>_> { // Original name: listIterator<storeunit<TPlayerIndexLeafNode, 100> >
- struct listnode<storeunit<TPlayerIndexLeafNode,_100>_> *actNode;
-};
-
-struct listnode<storeunit<TPlayerIndexLeafNode,_100>_> { // Original name: listnode<storeunit<TPlayerIndexLeafNode, 100> >
- struct listnode<storeunit<TPlayerIndexLeafNode,_100>_> *next;
- struct listnode<storeunit<TPlayerIndexLeafNode,_100>_> *prev;
- struct storeunit<TPlayerIndexLeafNode,100> data;
-};
-
-typedef struct vector<TParty> vector<TParty>, *Pvector<TParty>;
-
-typedef struct TParty TParty, *PTParty;
-
-struct TParty {
- ulong Leader;
- struct vector<long_unsigned_int> Member;
- int Members;
- struct vector<long_unsigned_int> InvitedPlayer;
- int InvitedPlayers;
-};
-
-struct vector<TParty> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TParty init;
- struct TParty *entry;
-};
-
-typedef struct vector<TMoveUseRule> vector<TMoveUseRule>, *Pvector<TMoveUseRule>;
-
-typedef struct TMoveUseRule TMoveUseRule, *PTMoveUseRule;
-
-struct TMoveUseRule {
- int FirstCondition;
- int LastCondition;
- int FirstAction;
- int LastAction;
-};
-
-struct vector<TMoveUseRule> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TMoveUseRule init;
- struct TMoveUseRule *entry;
-};
-
-typedef struct listnode<TDynamicStringTableBlock> listnode<TDynamicStringTableBlock>, *Plistnode<TDynamicStringTableBlock>;
-
-typedef struct TDynamicStringTableBlock TDynamicStringTableBlock, *PTDynamicStringTableBlock;
-
-struct TDynamicStringTableBlock {
- int FreeEntries;
- int TotalTextLength;
- bool Dirty;
- uchar EntryType[256];
- ushort StringOffset[256];
- char Text[32768];
-};
-
-struct listnode<TDynamicStringTableBlock> {
- struct listnode<TDynamicStringTableBlock> *next;
- struct listnode<TDynamicStringTableBlock> *prev;
- struct TDynamicStringTableBlock data;
-};
-
-typedef struct vector<TObjectType> vector<TObjectType>, *Pvector<TObjectType>;
-
-typedef struct TObjectType TObjectType, *PTObjectType;
-
-struct TObjectType {
- char *Name;
- char *Description;
- uchar Flags[9];
- ulong Attributes[62];
- int AttributeOffsets[18];
-};
-
-struct vector<TObjectType> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TObjectType init;
- struct TObjectType *entry;
-};
-
-typedef struct listIterator<storeunit<TPlayerIndexInternalNode,_100>_> listIterator<storeunit<TPlayerIndexInternalNode,_100>_>, *PlistIterator<storeunit<TPlayerIndexInternalNode,_100>_>;
-
-struct listIterator<storeunit<TPlayerIndexInternalNode,_100>_> { // Original name: listIterator<storeunit<TPlayerIndexInternalNode, 100> >
- struct listnode<storeunit<TPlayerIndexInternalNode,_100>_> *actNode;
-};
-
-typedef struct fifo<TListener> fifo<TListener>, *Pfifo<TListener>;
-
-typedef struct TListener TListener, *PTListener;
-
-struct TListener {
- ulong StatementID;
- ulong CharacterID;
-};
-
-struct fifo<TListener> {
- struct TListener *Entry;
- int Size;
- int Head;
- int Tail;
-};
-
-typedef struct vector<THouseArea> vector<THouseArea>, *Pvector<THouseArea>;
-
-typedef struct THouseArea THouseArea, *PTHouseArea;
-
-struct THouseArea {
- ushort ID;
- int SQMPrice;
- int DepotNr;
-};
-
-struct vector<THouseArea> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct THouseArea init;
- struct THouseArea *entry;
-};
-
-typedef struct vector<TAction> vector<TAction>, *Pvector<TAction>;
-
-typedef struct TAction TAction, *PTAction;
-
-struct TAction {
- int Type;
- ulong Text;
- int Number;
- struct TNode *Expression;
- struct TNode *Expression2;
- struct TNode *Expression3;
-};
-
-struct vector<TAction> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TAction init;
- struct TAction *entry;
-};
-
-typedef struct fifoIterator<TStatement> fifoIterator<TStatement>, *PfifoIterator<TStatement>;
-
-typedef struct fifo<TStatement> fifo<TStatement>, *Pfifo<TStatement>;
-
-typedef struct TStatement TStatement, *PTStatement;
-
-struct fifoIterator<TStatement> {
- struct fifo<TStatement> *Fifo;
- int Position;
-};
-
-struct fifo<TStatement> {
- struct TStatement *Entry;
- int Size;
- int Head;
- int Tail;
-};
-
-struct TStatement {
- ulong StatementID;
- ulong TimeStamp;
- ulong CharacterID;
- int Mode;
- int Channel;
- ulong Text;
- bool Reported;
-};
-
-typedef struct fifoIterator<TListener> fifoIterator<TListener>, *PfifoIterator<TListener>;
-
-struct fifoIterator<TListener> {
- struct fifo<TListener> *Fifo;
- int Position;
-};
-
-typedef struct vector<TReportedStatement> vector<TReportedStatement>, *Pvector<TReportedStatement>;
-
-typedef struct TReportedStatement TReportedStatement, *PTReportedStatement;
-
-struct TReportedStatement {
- ulong StatementID;
- ulong TimeStamp;
- ulong CharacterID;
- int Mode;
- int Channel;
- char Text[256];
-};
-
-struct vector<TReportedStatement> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TReportedStatement init;
- struct TReportedStatement *entry;
-};
-
-typedef struct vector<priority_queue_entry<long_unsigned_int,_TAttackWave*>_> vector<priority_queue_entry<long_unsigned_int,_TAttackWave*>_>, *Pvector<priority_queue_entry<long_unsigned_int,_TAttackWave*>_>;
-
-struct vector<priority_queue_entry<long_unsigned_int,_TAttackWave*>_> { // Original name: vector<priority_queue_entry<long unsigned int, TAttackWave*> >
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct priority_queue_entry<long_unsigned_int,TAttackWave*> init;
- struct priority_queue_entry<long_unsigned_int,TAttackWave*> *entry;
-};
-
-typedef struct vector<TBehaviour> vector<TBehaviour>, *Pvector<TBehaviour>;
-
-typedef struct TBehaviour TBehaviour, *PTBehaviour;
-
-struct TBehaviour {
- struct vector<TCondition> Condition;
- struct vector<TAction> Action;
- int Conditions;
- int Actions;
-};
-
-struct vector<TBehaviour> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TBehaviour init;
- struct TBehaviour *entry;
-};
-
-typedef struct priority_queue<long_unsigned_int,long_unsigned_int> priority_queue<long_unsigned_int,long_unsigned_int>, *Ppriority_queue<long_unsigned_int,long_unsigned_int>;
-
-struct priority_queue<long_unsigned_int,long_unsigned_int> { // Original name: priority_queue<long unsigned int,long unsigned int>
- struct vector<priority_queue_entry<long_unsigned_int,_long_unsigned_int>_> *Entry;
- int Entries;
-};
-
-typedef struct vector<TMoveUseCondition> vector<TMoveUseCondition>, *Pvector<TMoveUseCondition>;
-
-typedef struct TMoveUseCondition TMoveUseCondition, *PTMoveUseCondition;
-
-typedef enum ModifierType {
- MODIFIER_NORMAL=0,
- MODIFIER_INVERT=1,
- MODIFIER_TRUE=2
-} ModifierType;
-
-typedef enum ConditionType {
- CONDITION_ISPOSITION=0,
- CONDITION_ISTYPE=1,
- CONDITION_ISCREATURE=2,
- CONDITION_ISPLAYER=3,
- CONDITION_HASFLAG=4,
- CONDITION_HASTYPEATTRIBUTE=5,
- CONDITION_HASINSTANCEATTRIBUTE=6,
- CONDITION_HASTEXT=7,
- CONDITION_ISPEACEFUL=8,
- CONDITION_MAYLOGOUT=9,
- CONDITION_HASPROFESSION=10,
- CONDITION_HASLEVEL=11,
- CONDITION_HASRIGHT=12,
- CONDITION_HASQUESTVALUE=13,
- CONDITION_TESTSKILL=14,
- CONDITION_COUNTOBJECTS=15,
- CONDITION_COUNTOBJECTSONMAP=16,
- CONDITION_ISOBJECTTHERE=17,
- CONDITION_ISCREATURETHERE=18,
- CONDITION_ISPLAYERTHERE=19,
- CONDITION_ISOBJECTININVENTORY=20,
- CONDITION_ISPROTECTIONZONE=21,
- CONDITION_ISHOUSE=22,
- CONDITION_ISHOUSEOWNER=23,
- CONDITION_ISDRESSED=24,
- CONDITION_RANDOM=25
-} ConditionType;
-
-struct TMoveUseCondition {
- enum ModifierType Modifier;
- enum ConditionType Condition;
- int Parameters[5];
-};
-
-struct vector<TMoveUseCondition> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TMoveUseCondition init;
- struct TMoveUseCondition *entry;
-};
-
-typedef struct listIterator<TDynamicStringTableBlock> listIterator<TDynamicStringTableBlock>, *PlistIterator<TDynamicStringTableBlock>;
-
-struct listIterator<TDynamicStringTableBlock> {
- struct listnode<TDynamicStringTableBlock> *actNode;
-};
-
-typedef struct store<TPlayerIndexLeafNode,100> store<TPlayerIndexLeafNode,100>, *Pstore<TPlayerIndexLeafNode,100>;
-
-typedef struct list<storeunit<TPlayerIndexLeafNode,_100>_> list<storeunit<TPlayerIndexLeafNode,_100>_>, *Plist<storeunit<TPlayerIndexLeafNode,_100>_>;
-
-struct list<storeunit<TPlayerIndexLeafNode,_100>_> { // Original name: list<storeunit<TPlayerIndexLeafNode, 100> >
- struct listnode<storeunit<TPlayerIndexLeafNode,_100>_> *firstNode;
- struct listnode<storeunit<TPlayerIndexLeafNode,_100>_> *lastNode;
-};
-
-struct store<TPlayerIndexLeafNode,100> {
- struct list<storeunit<TPlayerIndexLeafNode,_100>_> *Units;
- union storeitem<TPlayerIndexLeafNode> *firstFreeItem;
-};
-
-typedef struct list<storeunit<TNode,_256>_> list<storeunit<TNode,_256>_>, *Plist<storeunit<TNode,_256>_>;
-
-struct list<storeunit<TNode,_256>_> { // Original name: list<storeunit<TNode, 256> >
- struct listnode<storeunit<TNode,_256>_> *firstNode;
- struct listnode<storeunit<TNode,_256>_> *lastNode;
-};
-
-typedef struct priority_queue<long_unsigned_int,TAttackWave*> priority_queue<long_unsigned_int,TAttackWave*>, *Ppriority_queue<long_unsigned_int,TAttackWave*>;
-
-struct priority_queue<long_unsigned_int,TAttackWave*> { // Original name: priority_queue<long unsigned int,TAttackWave*>
- struct vector<priority_queue_entry<long_unsigned_int,_TAttackWave*>_> *Entry;
- int Entries;
-};
-
-typedef struct matrix3d<TSector*> matrix3d<TSector*>, *Pmatrix3d<TSector*>;
-
-typedef struct TSector TSector, *PTSector;
-
-struct matrix3d<TSector*> {
- int xmin;
- int ymin;
- int zmin;
- int dx;
- int dy;
- int dz;
- struct TSector **entry;
-};
-
-struct TSector {
- struct Object MapCon[32][32];
- ulong TimeStamp;
- uchar Status;
- uchar MapFlags;
-};
-
-typedef struct vector<TPlayer*> vector<TPlayer*>, *Pvector<TPlayer*>;
-
-typedef struct TPlayer TPlayer, *PTPlayer;
-
-typedef enum RESULT {
- ERROR=-1,
- NOERROR=0,
- NOTACCESSIBLE=1,
- NOTMOVABLE=2,
- NOTTAKABLE=3,
- NOROOM=4,
- OUTOFRANGE=5,
- OUTOFHOME=6,
- CANNOTTHROW=7,
- TOOHEAVY=8,
- CROSSREFERENCE=9,
- CONTAINERFULL=10,
- WRONGPOSITION=11,
- WRONGPOSITION2=12,
- WRONGCLOTHES=13,
- HANDSNOTFREE=14,
- HANDBLOCKED=15,
- ONEWEAPONONLY=16,
- NOMATCH=17,
- NOTCUMULABLE=18,
- TOOMANYPARTS=19,
- EMPTYCONTAINER=20,
- SPLITOBJECT=21,
- NOKEYMATCH=22,
- UPSTAIRS=23,
- DOWNSTAIRS=24,
- CREATURENOTEXISTING=25,
- PLAYERNOTEXISTING=26,
- PLAYERNOTONLINE=27,
- NAMEAMBIGUOUS=28,
- NOTUSABLE=29,
- FEDUP=30,
- DESTROYED=31,
- SPELLUNKNOWN=32,
- LOWMAGICLEVEL=33,
- MAGICITEM=34,
- NOTENOUGHMANA=35,
- NOSKILL=36,
- TARGETLOST=37,
- OUTOFAMMO=38,
- NOCREATURE=39,
- TOOLONG=40,
- TARGETOUTOFRANGE=41,
- TARGETHIDDEN=42,
- ATTACKNOTALLOWED=43,
- NOWAY=44,
- LOGINERROR=45,
- LOGINABORT=46,
- PROTECTIONZONE=47,
- ENTERPROTECTIONZONE=48,
- EXHAUSTED=49,
- NOTINVITED=50,
- NOPREMIUMACCOUNT=51,
- MOVENOTPOSSIBLE=52,
- ALREADYTRADING=53,
- PARTNERTRADING=54,
- TOOMANYOBJECTS=55,
- TOOMANYSLAVES=56,
- NOTTURNABLE=57,
- SECUREMODE=58,
- NOTENOUGHSOULPOINTS=59,
- LOWLEVEL=60
-} RESULT;
-
-typedef struct TPlayerData TPlayerData, *PTPlayerData;
-
-typedef __time_t time_t;
-
-struct TPlayerData {
- ulong CharacterID;
- pid_t Locked;
- int Sticky;
- bool Dirty;
- int Race;
- struct TOutfit OriginalOutfit;
- struct TOutfit CurrentOutfit;
- time_t LastLoginTime;
- time_t LastLogoutTime;
- int startx;
- int starty;
- int startz;
- int posx;
- int posy;
- int posz;
- int Profession;
- int PlayerkillerEnd;
- int Actual[25];
- int Maximum[25];
- int Minimum[25];
- int DeltaAct[25];
- int MagicDeltaAct[25];
- int Cycle[25];
- int MaxCycle[25];
- int Count[25];
- int MaxCount[25];
- int AddLevel[25];
- int Experience[25];
- int FactorPercent[25];
- int NextLevel[25];
- int Delta[25];
- uchar SpellList[256];
- int QuestValues[500];
- int MurderTimestamps[20];
- uchar *Inventory;
- int InventorySize;
- uchar *Depot[9];
- int DepotSize[9];
- ulong AccountID;
- int Sex;
- char Name[30];
- uchar Rights[12];
- char Guild[31];
- char Rank[31];
- char Title[31];
- int Buddies;
- ulong Buddy[100];
- char BuddyName[100][30];
- ulong EarliestYellRound;
- ulong EarliestTradeChannelRound;
- ulong EarliestSpellTime;
- ulong EarliestMultiuseTime;
- ulong TalkBufferFullTime;
- ulong MutingEndRound;
- ulong Addressees[20];
- ulong AddresseesTimes[20];
- int NumberOfMutings;
-};
-
-struct vector<TPlayer*> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TPlayer *init;
- struct TPlayer **entry;
-};
-
-struct TPlayer {
- struct TCreature super_TCreature;
- ulong AccountID;
- char Guild[31];
- char Rank[31];
- char Title[31];
- char IPAddress[16];
- uchar Rights[12];
- struct Object Depot;
- int DepotNr;
- int DepotSpace;
- enum RESULT ConstructError;
- struct TPlayerData *PlayerData;
- struct Object TradeObject;
- ulong TradePartner;
- bool TradeAccepted;
- int OldState;
- ulong Request;
- int RequestTimestamp;
- ulong RequestProcessingGamemaster;
- int TutorActivities;
- uchar SpellList[256];
- int QuestValues[500];
- struct Object OpenContainer[16];
- struct vector<long_unsigned_int> AttackedPlayers;
- int NumberOfAttackedPlayers;
- bool Aggressor;
- struct vector<long_unsigned_int> FormerAttackedPlayers;
- int NumberOfFormerAttackedPlayers;
- bool FormerAggressor;
- ulong FormerLogoutRound;
- ulong PartyLeader;
- ulong PartyLeavingRound;
- ulong TalkBufferFullTime;
- ulong MutingEndRound;
- int NumberOfMutings;
- ulong Addressees[20];
- ulong AddresseesTimes[20];
-};
-
-typedef struct vector<TMark> vector<TMark>, *Pvector<TMark>;
-
-typedef struct TMark TMark, *PTMark;
-
-struct TMark {
- char Name[20];
- int x;
- int y;
- int z;
-};
-
-struct vector<TMark> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TMark init;
- struct TMark *entry;
-};
-
-typedef struct listIterator<storeunit<TNode,_256>_> listIterator<storeunit<TNode,_256>_>, *PlistIterator<storeunit<TNode,_256>_>;
-
-struct listIterator<storeunit<TNode,_256>_> { // Original name: listIterator<storeunit<TNode, 256> >
- struct listnode<storeunit<TNode,_256>_> *actNode;
-};
-
-typedef struct store<TNode,256> store<TNode,256>, *Pstore<TNode,256>;
-
-struct store<TNode,256> {
- struct list<storeunit<TNode,_256>_> *Units;
- union storeitem<TNode> *firstFreeItem;
-};
-
-typedef struct vector<TMoveUseAction> vector<TMoveUseAction>, *Pvector<TMoveUseAction>;
-
-typedef struct TMoveUseAction TMoveUseAction, *PTMoveUseAction;
-
-typedef enum ActionType {
- ACTION_CREATEONMAP=0,
- ACTION_CREATE=1,
- ACTION_MONSTERONMAP=2,
- ACTION_MONSTER=3,
- ACTION_EFFECTONMAP=4,
- ACTION_EFFECT=5,
- ACTION_TEXTONMAP=6,
- ACTION_TEXT=7,
- ACTION_CHANGEONMAP=8,
- ACTION_CHANGE=9,
- ACTION_CHANGEREL=10,
- ACTION_SETATTRIBUTE=11,
- ACTION_CHANGEATTRIBUTE=12,
- ACTION_SETQUESTVALUE=13,
- ACTION_DAMAGE=14,
- ACTION_SETSTART=15,
- ACTION_WRITENAME=16,
- ACTION_WRITETEXT=17,
- ACTION_LOGOUT=18,
- ACTION_MOVEALLONMAP=19,
- ACTION_MOVEALL=20,
- ACTION_MOVEALLREL=21,
- ACTION_MOVETOPONMAP=22,
- ACTION_MOVETOP=23,
- ACTION_MOVETOPREL=24,
- ACTION_MOVE=25,
- ACTION_MOVEREL=26,
- ACTION_RETRIEVE=27,
- ACTION_DELETEALLONMAP=28,
- ACTION_DELETETOPONMAP=29,
- ACTION_DELETEONMAP=30,
- ACTION_DELETE=31,
- ACTION_DELETEININVENTORY=32,
- ACTION_DESCRIPTION=33,
- ACTION_LOADDEPOT=34,
- ACTION_SAVEDEPOT=35,
- ACTION_SENDMAIL=36,
- ACTION_NOP=37
-} ActionType;
-
-struct TMoveUseAction {
- enum ActionType Action;
- int Parameters[5];
-};
-
-struct vector<TMoveUseAction> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TMoveUseAction init;
- struct TMoveUseAction *entry;
-};
-
-typedef struct list<TDynamicStringTableBlock> list<TDynamicStringTableBlock>, *Plist<TDynamicStringTableBlock>;
-
-struct list<TDynamicStringTableBlock> {
- struct listnode<TDynamicStringTableBlock> *firstNode;
- struct listnode<TDynamicStringTableBlock> *lastNode;
-};
-
-typedef struct vector<TDepotInfo> vector<TDepotInfo>, *Pvector<TDepotInfo>;
-
-typedef struct TDepotInfo TDepotInfo, *PTDepotInfo;
-
-struct TDepotInfo {
- char Town[20];
- int Size;
-};
-
-struct vector<TDepotInfo> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TDepotInfo init;
- struct TDepotInfo *entry;
-};
-
-typedef struct _pthread_cleanup_buffer _pthread_cleanup_buffer, *P_pthread_cleanup_buffer;
-
-struct _pthread_cleanup_buffer {
- void (*__routine)(void *);
- void *__arg;
- int __canceltype;
- struct _pthread_cleanup_buffer *__prev;
-};
-
-typedef __sig_atomic_t sig_atomic_t;
-
-typedef void (*__sighandler_t)(int);
-
-typedef __sighandler_t sig_t;
-
-typedef struct sigvec sigvec, *Psigvec;
-
-struct sigvec {
- __sighandler_t sv_handler;
- int sv_mask;
- int sv_flags;
-};
-
-typedef __sighandler_t sighandler_t;
-
-typedef struct __sigset_t __sigset_t, *P__sigset_t;
-
-typedef struct __sigset_t sigset_t;
-
-struct __sigset_t {
- ulong __val[32];
-};
-
-typedef struct shmid_ds shmid_ds, *Pshmid_ds;
-
-typedef struct ipc_perm ipc_perm, *Pipc_perm;
-
-struct ipc_perm {
- __key_t __key;
- __uid_t uid;
- __gid_t gid;
- __uid_t cuid;
- __gid_t cgid;
- ushort mode;
- ushort __pad1;
- ushort __seq;
- ushort __pad2;
- ulong __unused1;
- ulong __unused2;
-};
-
-struct shmid_ds {
- struct ipc_perm shm_perm;
- size_t shm_segsz;
- __time_t shm_atime;
- ulong __unused1;
- __time_t shm_dtime;
- ulong __unused2;
- __time_t shm_ctime;
- ulong __unused3;
- __pid_t shm_cpid;
- __pid_t shm_lpid;
- shmatt_t shm_nattch;
- ulong __unused4;
- ulong __unused5;
-};
-
-typedef struct shm_info shm_info, *Pshm_info;
-
-struct shm_info {
- int used_ids;
- ulong shm_tot;
- ulong shm_rss;
- ulong shm_swp;
- ulong swap_attempts;
- ulong swap_successes;
-};
-
-typedef struct shminfo shminfo, *Pshminfo;
-
-struct shminfo {
- ulong shmmax;
- ulong shmmin;
- ulong shmmni;
- ulong shmseg;
- ulong shmall;
- ulong __unused1;
- ulong __unused2;
- ulong __unused3;
- ulong __unused4;
-};
-
-typedef struct _IO_FILE.conflict _IO_FILE.conflict, *P_IO_FILE.conflict;
-
-typedef struct _IO_marker _IO_marker, *P_IO_marker;
-
-typedef void _IO_lock_t;
-
-typedef struct _IO_FILE _IO_FILE, *P_IO_FILE;
-
-typedef struct _IO_codecvt _IO_codecvt, *P_IO_codecvt;
-
-typedef enum __codecvt_result {
- __codecvt_ok=0,
- __codecvt_partial=1,
- __codecvt_error=2,
- __codecvt_noconv=3
-} __codecvt_result;
-
-typedef struct _IO_wide_data _IO_wide_data, *P_IO_wide_data;
-
-typedef union _G_iconv_t _G_iconv_t, *P_G_iconv_t;
-
-typedef struct _IO_jump_t _IO_jump_t, *P_IO_jump_t;
-
-typedef struct __gconv_info __gconv_info, *P__gconv_info;
-
-typedef struct anon_struct_44_2_2f34be42_for___combined anon_struct_44_2_2f34be42_for___combined, *Panon_struct_44_2_2f34be42_for___combined;
-
-typedef struct __gconv_step __gconv_step, *P__gconv_step;
-
-typedef struct __gconv_step_data __gconv_step_data, *P__gconv_step_data;
-
-typedef struct __gconv_loaded_object __gconv_loaded_object, *P__gconv_loaded_object;
-
-typedef int (*__gconv_fct)(struct __gconv_step *, struct __gconv_step_data *, uchar **, uchar *, uchar **, size_t *, int, int);
-
-typedef wint_t (*__gconv_btowc_fct)(struct __gconv_step *, uchar);
-
-typedef int (*__gconv_init_fct)(struct __gconv_step *);
-
-typedef void (*__gconv_end_fct)(struct __gconv_step *);
-
-typedef struct __gconv_trans_data __gconv_trans_data, *P__gconv_trans_data;
-
-typedef int (*__gconv_trans_fct)(struct __gconv_step *, struct __gconv_step_data *, void *, uchar *, uchar **, uchar *, uchar **, size_t *);
-
-typedef int (*__gconv_trans_context_fct)(void *, uchar *, uchar *, uchar *, uchar *);
-
-typedef void (*__gconv_trans_end_fct)(void *);
-
-struct _IO_FILE.conflict {
- int _flags;
- char *_IO_read_ptr;
- char *_IO_read_end;
- char *_IO_read_base;
- char *_IO_write_base;
- char *_IO_write_ptr;
- char *_IO_write_end;
- char *_IO_buf_base;
- char *_IO_buf_end;
- char *_IO_save_base;
- char *_IO_backup_base;
- char *_IO_save_end;
- struct _IO_marker *_markers;
- struct _IO_FILE.conflict *_chain;
- int _fileno;
- int _flags2;
- __off_t _old_offset;
- ushort _cur_column;
- char _vtable_offset;
- char _shortbuf[1];
- _IO_lock_t *_lock;
- __off64_t _offset;
- void *__pad1;
- void *__pad2;
- int _mode;
- char _unused2[52];
-};
-
-struct _IO_marker {
- struct _IO_marker *_next;
- struct _IO_FILE *_sbuf;
- int _pos;
-};
-
-struct __gconv_step_data {
- uchar *__outbuf;
- uchar *__outbufend;
- int __flags;
- int __invocation_counter;
- int __internal_use;
- struct __mbstate_t *__statep;
- struct __mbstate_t __state;
- struct __gconv_trans_data *__trans;
-};
-
-struct __gconv_info {
- size_t __nsteps;
- struct __gconv_step *__steps;
- struct __gconv_step_data __data[0];
-};
-
-struct _IO_FILE {
- int _flags;
- char *_IO_read_ptr;
- char *_IO_read_end;
- char *_IO_read_base;
- char *_IO_write_base;
- char *_IO_write_ptr;
- char *_IO_write_end;
- char *_IO_buf_base;
- char *_IO_buf_end;
- char *_IO_save_base;
- char *_IO_backup_base;
- char *_IO_save_end;
- struct _IO_marker *_markers;
- struct _IO_FILE *_chain;
- int _fileno;
- int _flags2;
- __off_t _old_offset;
- ushort _cur_column;
- char _vtable_offset;
- char _shortbuf[1];
- _IO_lock_t *_lock;
- __off64_t _offset;
- struct _IO_codecvt *_codecvt;
- struct _IO_wide_data *_wide_data;
- int _mode;
- char _unused2[52];
-};
-
-struct anon_struct_44_2_2f34be42_for___combined {
- struct __gconv_info __cd;
- struct __gconv_step_data __data;
-};
-
-union _G_iconv_t {
- struct __gconv_info __cd;
- struct anon_struct_44_2_2f34be42_for___combined __combined;
-};
-
-struct _IO_codecvt {
- void (*__codecvt_destr)(struct _IO_codecvt *);
- __codecvt_result (*__codecvt_do_out)(struct _IO_codecvt *, struct __mbstate_t *, wchar_t *, wchar_t *, wchar_t **, char *, char *, char **);
- __codecvt_result (*__codecvt_do_unshift)(struct _IO_codecvt *, struct __mbstate_t *, char *, char *, char **);
- __codecvt_result (*__codecvt_do_in)(struct _IO_codecvt *, struct __mbstate_t *, char *, char *, char **, wchar_t *, wchar_t *, wchar_t **);
- int (*__codecvt_do_encoding)(struct _IO_codecvt *);
- int (*__codecvt_do_always_noconv)(struct _IO_codecvt *);
- int (*__codecvt_do_length)(struct _IO_codecvt *, struct __mbstate_t *, char *, char *, uint);
- int (*__codecvt_do_max_length)(struct _IO_codecvt *);
- union _G_iconv_t __cd_in;
- union _G_iconv_t __cd_out;
-};
-
-struct _IO_wide_data {
- wchar_t *_IO_read_ptr;
- wchar_t *_IO_read_end;
- wchar_t *_IO_read_base;
- wchar_t *_IO_write_base;
- wchar_t *_IO_write_ptr;
- wchar_t *_IO_write_end;
- wchar_t *_IO_buf_base;
- wchar_t *_IO_buf_end;
- wchar_t *_IO_save_base;
- wchar_t *_IO_backup_base;
- wchar_t *_IO_save_end;
- struct __mbstate_t _IO_state;
- struct __mbstate_t _IO_last_state;
- struct _IO_codecvt _codecvt;
- wchar_t _shortbuf[1];
- struct _IO_jump_t *_wide_vtable;
-};
-
-struct _IO_jump_t {
-};
-
-struct __gconv_loaded_object {
-};
-
-struct __gconv_trans_data {
- __gconv_trans_fct __trans_fct;
- __gconv_trans_context_fct __trans_context_fct;
- __gconv_trans_end_fct __trans_end_fct;
- void *__data;
- struct __gconv_trans_data *__next;
-};
-
-struct __gconv_step {
- struct __gconv_loaded_object *__shlib_handle;
- char *__modname;
- int __counter;
- char *__from_name;
- char *__to_name;
- __gconv_fct __fct;
- __gconv_btowc_fct __btowc_fct;
- __gconv_init_fct __init_fct;
- __gconv_end_fct __end_fct;
- int __min_needed_from;
- int __max_needed_from;
- int __min_needed_to;
- int __max_needed_to;
- int __stateful;
- void *__data;
-};
-
-typedef __ssize_t (cookie_write_function_t)(void *, char *, uint);
-
-typedef int (cookie_seek_function_t)(void *, __off64_t *, int);
-
-typedef int (__io_close_fn)(void *);
-
-typedef struct _IO_cookie_io_functions_t _IO_cookie_io_functions_t, *P_IO_cookie_io_functions_t;
-
-struct _IO_cookie_io_functions_t {
- __ssize_t (*read)(void *, char *, uint);
- __ssize_t (*write)(void *, char *, uint);
- int (*seek)(void *, __off64_t *, int);
- __io_close_fn *close;
-};
-
-typedef __io_close_fn cookie_close_function_t;
-
-typedef __ssize_t (cookie_read_function_t)(void *, char *, uint);
-
-typedef struct _IO_cookie_io_functions_t cookie_io_functions_t;
-
-typedef enum RIGHT {
- PREMIUM_ACCOUNT=0,
- NOTATION=1,
- NAMELOCK=2,
- STATEMENT_REPORT=3,
- BANISHMENT=4,
- FINAL_WARNING=5,
- IP_BANISHMENT=6,
- KICK=7,
- HOME_TELEPORT=8,
- GAMEMASTER_BROADCAST=9,
- ANONYMOUS_BROADCAST=10,
- NO_BANISHMENT=11,
- ALLOW_MULTICLIENT=12,
- LOG_COMMUNICATION=13,
- READ_GAMEMASTER_CHANNEL=14,
- READ_TUTOR_CHANNEL=15,
- HIGHLIGHT_HELP_CHANNEL=16,
- SEND_BUGREPORTS=17,
- NAME_INSULTING=18,
- NAME_SENTENCE=19,
- NAME_NONSENSICAL_LETTERS=20,
- NAME_BADLY_FORMATTED=21,
- NAME_NO_PERSON=22,
- NAME_CELEBRITY=23,
- NAME_COUNTRY=24,
- NAME_FAKE_IDENTITY=25,
- NAME_FAKE_POSITION=26,
- STATEMENT_INSULTING=27,
- STATEMENT_SPAMMING=28,
- STATEMENT_ADVERT_OFFTOPIC=29,
- STATEMENT_ADVERT_MONEY=30,
- STATEMENT_NON_ENGLISH=31,
- STATEMENT_CHANNEL_OFFTOPIC=32,
- STATEMENT_VIOLATION_INCITING=33,
- CHEATING_BUG_ABUSE=34,
- CHEATING_GAME_WEAKNESS=35,
- CHEATING_MACRO_USE=36,
- CHEATING_MODIFIED_CLIENT=37,
- CHEATING_HACKING=38,
- CHEATING_MULTI_CLIENT=39,
- CHEATING_ACCOUNT_TRADING=40,
- CHEATING_ACCOUNT_SHARING=41,
- GAMEMASTER_THREATENING=42,
- GAMEMASTER_PRETENDING=43,
- GAMEMASTER_INFLUENCE=44,
- GAMEMASTER_FALSE_REPORTS=45,
- KILLING_EXCESSIVE_UNJUSTIFIED=46,
- DESTRUCTIVE_BEHAVIOUR=47,
- SPOILING_AUCTION=48,
- INVALID_PAYMENT=49,
- TELEPORT_TO_CHARACTER=50,
- TELEPORT_TO_MARK=51,
- TELEPORT_VERTICAL=52,
- TELEPORT_TO_COORDINATE=53,
- LEVITATE=54,
- SPECIAL_MOVEUSE=55,
- MODIFY_GOSTRENGTH=56,
- SHOW_COORDINATE=57,
- RETRIEVE=58,
- ENTER_HOUSES=59,
- OPEN_NAMEDOORS=60,
- INVULNERABLE=61,
- UNLIMITED_MANA=62,
- KEEP_INVENTORY=63,
- ALL_SPELLS=64,
- UNLIMITED_CAPACITY=65,
- ZERO_CAPACITY=66,
- ATTACK_EVERYWHERE=67,
- NO_ATTACK=68,
- NO_RUNES=69,
- NO_LOGOUT_BLOCK=70,
- GAMEMASTER_OUTFIT=71,
- ILLUMINATE=72,
- CHANGE_PROFESSION=73,
- IGNORED_BY_MONSTERS=74,
- SHOW_KEYHOLE_NUMBERS=75,
- CREATE_OBJECTS=76,
- CREATE_MONEY=77,
- CREATE_MONSTERS=78,
- CHANGE_SKILLS=79,
- CLEANUP_FIELDS=80,
- NO_STATISTICS=81
-} RIGHT;
-
-typedef struct _libc_fpreg _libc_fpreg, *P_libc_fpreg;
-
-struct _libc_fpreg {
- ushort significand[4];
- ushort exponent;
-};
-
-typedef struct _libc_fpstate _libc_fpstate, *P_libc_fpstate;
-
-struct _libc_fpstate {
- ulong cw;
- ulong sw;
- ulong tag;
- ulong ipoff;
- ulong cssel;
- ulong dataoff;
- ulong datasel;
- struct _libc_fpreg _st[8];
- ulong status;
-};
-
-typedef struct mcontext_t mcontext_t, *Pmcontext_t;
-
-typedef greg_t gregset_t[19];
-
-typedef struct _libc_fpstate *fpregset_t;
-
-struct mcontext_t {
- gregset_t gregs;
- fpregset_t fpregs;
- ulong oldmask;
- ulong cr2;
-};
-
-typedef struct ucontext ucontext, *Pucontext;
-
-typedef struct sigaltstack sigaltstack, *Psigaltstack;
-
-typedef struct sigaltstack stack_t;
-
-struct sigaltstack {
- void *ss_sp;
- int ss_flags;
- size_t ss_size;
-};
-
-struct ucontext {
- ulong uc_flags;
- struct ucontext *uc_link;
- stack_t uc_stack;
- struct mcontext_t uc_mcontext;
- struct __sigset_t uc_sigmask;
- struct _libc_fpstate __fpregs_mem;
-};
-
-typedef struct ucontext ucontext_t;
-
-typedef struct __locale_struct __locale_struct, *P__locale_struct;
-
-typedef struct __locale_struct *__locale_t;
-
-typedef __locale_t __c_locale;
-
-typedef struct locale_data locale_data, *Plocale_data;
-
-struct locale_data {
-};
-
-struct __locale_struct {
- struct locale_data *__locales[13];
- ushort *__ctype_b;
- int *__ctype_tolower;
- int *__ctype_toupper;
- char *__names[13];
-};
-
-typedef struct sockaddr sockaddr, *Psockaddr;
-
-struct sockaddr {
- sa_family_t sa_family;
- char sa_data[14];
-};
-
-typedef enum __socket_type {
- SOCK_STREAM=1,
- SOCK_DGRAM=2,
- SOCK_RAW=3,
- SOCK_RDM=4,
- SOCK_SEQPACKET=5,
- SOCK_PACKET=10
-} __socket_type;
-
-typedef struct osockaddr osockaddr, *Posockaddr;
-
-struct osockaddr {
- ushort sa_family;
- uchar sa_data[14];
-};
-
-typedef struct msghdr msghdr, *Pmsghdr;
-
-typedef __socklen_t socklen_t;
-
-typedef struct iovec iovec, *Piovec;
-
-struct msghdr {
- void *msg_name;
- socklen_t msg_namelen;
- struct iovec *msg_iov;
- size_t msg_iovlen;
- void *msg_control;
- size_t msg_controllen;
- int msg_flags;
-};
-
-struct iovec {
- void *iov_base;
- size_t iov_len;
-};
-
-typedef struct linger linger, *Plinger;
-
-struct linger {
- int l_onoff;
- int l_linger;
-};
-
-typedef struct ucred ucred, *Pucred;
-
-typedef __uid_t uid_t;
-
-typedef __gid_t gid_t;
-
-struct ucred {
- pid_t pid;
- uid_t uid;
- gid_t gid;
-};
-
-typedef struct sockaddr_storage sockaddr_storage, *Psockaddr_storage;
-
-struct sockaddr_storage {
- sa_family_t ss_family;
- __uint32_t __ss_align;
- char __ss_padding[120];
-};
-
-typedef struct cmsghdr cmsghdr, *Pcmsghdr;
-
-struct cmsghdr {
- size_t cmsg_len;
- int cmsg_level;
- int cmsg_type;
- uchar __cmsg_data[0];
-};
-
-typedef struct TDirectReplyData TDirectReplyData, *PTDirectReplyData;
-
-struct TDirectReplyData {
- ulong CharacterID;
- char Message[100];
-};
-
-typedef struct TWriterThreadReply TWriterThreadReply, *PTWriterThreadReply;
-
-typedef enum TWriterThreadReplyType {
- REPLY_BROADCAST=0,
- REPLY_DIRECT=1,
- REPLY_LOGOUT=2
-} TWriterThreadReplyType;
-
-struct TWriterThreadReply {
- enum TWriterThreadReplyType ReplyType;
- void *Data;
-};
-
-typedef enum TWriterThreadOrderType {
- ORDER_TERMINATE=0,
- ORDER_LOGOUT=1,
- ORDER_PLAYERLIST=2,
- ORDER_KILLSTATISTICS=3,
- ORDER_PUNISHMENT=4,
- ORDER_CHARACTERDEATH=5,
- ORDER_ADDBUDDY=6,
- ORDER_REMOVEBUDDY=7,
- ORDER_DECREMENTISONLINE=8,
- ORDER_SAVEPLAYERDATA=9
-} TWriterThreadOrderType;
-
-typedef struct TLogoutOrderData TLogoutOrderData, *PTLogoutOrderData;
-
-struct TLogoutOrderData {
- ulong CharacterID;
- int Level;
- int Profession;
- time_t LastLoginTime;
- int TutorActivities;
- char Residence[30];
-};
-
-typedef struct TCharacterDeathOrderData TCharacterDeathOrderData, *PTCharacterDeathOrderData;
-
-struct TCharacterDeathOrderData {
- ulong CharacterID;
- int Level;
- ulong Offender;
- char Remark[30];
- bool Unjustified;
- time_t Time;
-};
-
-typedef struct TNotationOrderData TNotationOrderData, *PTNotationOrderData;
-
-struct TNotationOrderData {
- ulong GamemasterID;
- char GamemasterName[30];
- char CharacterName[30];
- char Comment[200];
-};
-
-typedef struct TProtocolThreadOrder TProtocolThreadOrder, *PTProtocolThreadOrder;
-
-struct TProtocolThreadOrder {
- char ProtocolName[20];
- char Text[256];
-};
-
-typedef struct TPlayerlistOrderData TPlayerlistOrderData, *PTPlayerlistOrderData;
-
-struct TPlayerlistOrderData {
- int NumberOfPlayers;
- char *PlayerNames;
- int *PlayerLevels;
- int *PlayerProfessions;
-};
-
-typedef struct TKillStatisticsOrderData TKillStatisticsOrderData, *PTKillStatisticsOrderData;
-
-struct TKillStatisticsOrderData {
- int NumberOfRaces;
- char *RaceNames;
- int *KilledPlayers;
- int *KilledCreatures;
-};
-
-typedef struct TWriterThreadOrder TWriterThreadOrder, *PTWriterThreadOrder;
-
-struct TWriterThreadOrder {
- enum TWriterThreadOrderType OrderType;
- void *Data;
-};
-
-typedef struct TPunishmentOrderData TPunishmentOrderData, *PTPunishmentOrderData;
-
-struct TPunishmentOrderData {
- ulong GamemasterID;
- char GamemasterName[30];
- char CriminalName[30];
- char CriminalIPAddress[16];
- int Reason;
- int Action;
- char Comment[200];
- int NumberOfStatements;
- struct vector<TReportedStatement> *ReportedStatements;
- ulong StatementID;
- bool IPBanishment;
-};
-
-typedef struct TNameLockOrderData TNameLockOrderData, *PTNameLockOrderData;
-
-struct TNameLockOrderData {
- ulong GamemasterID;
- char GamemasterName[30];
- char CharacterName[30];
- bool OldNameVisible;
-};
-
-typedef struct TBuddyOrderData TBuddyOrderData, *PTBuddyOrderData;
-
-struct TBuddyOrderData {
- ulong AccountID;
- ulong Buddy;
-};
-
-typedef struct numeric_limits<short_int> numeric_limits<short_int>, *Pnumeric_limits<short_int>;
-
-struct numeric_limits<short_int> { // Original name: numeric_limits<short int>
-};
-
-typedef struct numeric_limits<char> numeric_limits<char>, *Pnumeric_limits<char>;
-
-struct numeric_limits<char> {
-};
-
-typedef struct numeric_limits<signed_char> numeric_limits<signed_char>, *Pnumeric_limits<signed_char>;
-
-struct numeric_limits<signed_char> { // Original name: numeric_limits<signed char>
-};
-
-typedef struct numeric_limits<double> numeric_limits<double>, *Pnumeric_limits<double>;
-
-struct numeric_limits<double> {
-};
-
-typedef struct numeric_limits<bool> numeric_limits<bool>, *Pnumeric_limits<bool>;
-
-struct numeric_limits<bool> {
-};
-
-typedef struct numeric_limits<int> numeric_limits<int>, *Pnumeric_limits<int>;
-
-struct numeric_limits<int> {
-};
-
-typedef enum float_round_style {
- round_indeterminate=-1,
- round_toward_zero=0,
- round_to_nearest=1,
- round_toward_infinity=2,
- round_toward_neg_infinity=3
-} float_round_style;
-
-typedef struct numeric_limits<long_int> numeric_limits<long_int>, *Pnumeric_limits<long_int>;
-
-struct numeric_limits<long_int> { // Original name: numeric_limits<long int>
-};
-
-typedef enum float_denorm_style {
- denorm_indeterminate=-1,
- denorm_absent=0,
- denorm_present=1
-} float_denorm_style;
-
-typedef struct numeric_limits<float> numeric_limits<float>, *Pnumeric_limits<float>;
-
-struct numeric_limits<float> {
-};
-
-typedef struct numeric_limits<wchar_t> numeric_limits<wchar_t>, *Pnumeric_limits<wchar_t>;
-
-struct numeric_limits<wchar_t> {
-};
-
-typedef struct numeric_limits<long_long_unsigned_int> numeric_limits<long_long_unsigned_int>, *Pnumeric_limits<long_long_unsigned_int>;
-
-struct numeric_limits<long_long_unsigned_int> { // Original name: numeric_limits<long long unsigned int>
-};
-
-typedef struct numeric_limits<long_unsigned_int> numeric_limits<long_unsigned_int>, *Pnumeric_limits<long_unsigned_int>;
-
-struct numeric_limits<long_unsigned_int> { // Original name: numeric_limits<long unsigned int>
-};
-
-typedef struct numeric_limits<unsigned_int> numeric_limits<unsigned_int>, *Pnumeric_limits<unsigned_int>;
-
-struct numeric_limits<unsigned_int> { // Original name: numeric_limits<unsigned int>
-};
-
-typedef struct numeric_limits<unsigned_char> numeric_limits<unsigned_char>, *Pnumeric_limits<unsigned_char>;
-
-struct numeric_limits<unsigned_char> { // Original name: numeric_limits<unsigned char>
-};
-
-typedef struct numeric_limits<long_long_int> numeric_limits<long_long_int>, *Pnumeric_limits<long_long_int>;
-
-struct numeric_limits<long_long_int> { // Original name: numeric_limits<long long int>
-};
-
-typedef struct numeric_limits<short_unsigned_int> numeric_limits<short_unsigned_int>, *Pnumeric_limits<short_unsigned_int>;
-
-struct numeric_limits<short_unsigned_int> { // Original name: numeric_limits<short unsigned int>
-};
-
-typedef struct __numeric_limits_base __numeric_limits_base, *P__numeric_limits_base;
-
-struct __numeric_limits_base {
-};
-
-typedef struct numeric_limits<long_double> numeric_limits<long_double>, *Pnumeric_limits<long_double>;
-
-struct numeric_limits<long_double> { // Original name: numeric_limits<long double>
-};
-
-typedef struct __enc_traits __enc_traits, *P__enc_traits;
-
-typedef void *iconv_t;
-
-struct __enc_traits {
- char _M_int_enc[32];
- char _M_ext_enc[32];
- iconv_t _M_in_desc;
- iconv_t _M_out_desc;
- int _M_ext_bom;
- int _M_int_bom;
-};
-
-typedef iconv_t __desc_type;
-
-
-// WARNING! conflicting data type names: /DWARF/istream/basic_istream<wchar_t,std::char_traits<wchar_t>_>/sentry - /DWARF/ostream/basic_ostream<wchar_t,std::char_traits<wchar_t>_>/sentry
-
-typedef struct basic_streambuf<wchar_t,std::char_traits<wchar_t>_> basic_streambuf<wchar_t,std::char_traits<wchar_t>_>, *Pbasic_streambuf<wchar_t,std::char_traits<wchar_t>_>;
-
-typedef struct basic_streambuf<wchar_t,std::char_traits<wchar_t>_> __streambuf_type;
-
-struct basic_streambuf<wchar_t,std::char_traits<wchar_t>_> { // Original name: basic_streambuf<wchar_t,std::char_traits<wchar_t> >
-};
-
-
-// WARNING! conflicting data type names: /DWARF/istream/basic_istream<wchar_t,std::char_traits<wchar_t>_>/sentry/__int_type - /DWARF/__int_type
-
-typedef struct ctype<wchar_t> ctype<wchar_t>, *Pctype<wchar_t>;
-
-typedef struct ctype<wchar_t> __ctype_type;
-
-struct ctype<wchar_t> {
-};
-
-typedef struct basic_istream<wchar_t,std::char_traits<wchar_t>_> basic_istream<wchar_t,std::char_traits<wchar_t>_>, *Pbasic_istream<wchar_t,std::char_traits<wchar_t>_>;
-
-typedef struct basic_istream<wchar_t,std::char_traits<wchar_t>_> __istream_type;
-
-struct basic_istream<wchar_t,std::char_traits<wchar_t>_> { // Original name: basic_istream<wchar_t,std::char_traits<wchar_t> >
-};
-
-
-// WARNING! conflicting data type names: /DWARF/istream/basic_istream<char,std::char_traits<char>_>/sentry - /DWARF/ostream/basic_ostream<wchar_t,std::char_traits<wchar_t>_>/sentry
-
-typedef struct timezone timezone, *Ptimezone;
-
-struct timezone {
- int tz_minuteswest;
- int tz_dsttime;
-};
-
-typedef __clockid_t clockid_t;
-
-typedef struct timeval timeval, *Ptimeval;
-
-struct timeval {
- __time_t tv_sec;
- __suseconds_t tv_usec;
-};
-
-typedef __timer_t timer_t;
-
-typedef struct timezone *__timezone_ptr_t;
-
-typedef __clock_t clock_t;
-
-typedef enum __itimer_which {
- ITIMER_REAL=0,
- ITIMER_VIRTUAL=1,
- ITIMER_PROF=2
-} __itimer_which;
-
-typedef struct itimerval itimerval, *Pitimerval;
-
-struct itimerval {
- struct timeval it_interval;
- struct timeval it_value;
-};
-
-typedef struct itimerspec itimerspec, *Pitimerspec;
-
-
-// WARNING! conflicting data type names: /DWARF/time.h/timespec - /time.h/timespec
-
-struct itimerspec {
- struct timespec it_interval;
- struct timespec it_value;
-};
-
-typedef struct tm tm, *Ptm;
-
-struct tm {
- int tm_sec;
- int tm_min;
- int tm_hour;
- int tm_mday;
- int tm_mon;
- int tm_year;
- int tm_wday;
- int tm_yday;
- int tm_isdst;
- long tm_gmtoff;
- char *tm_zone;
-};
-
-typedef struct TMoveUseDatabase TMoveUseDatabase, *PTMoveUseDatabase;
-
-struct TMoveUseDatabase {
- struct vector<TMoveUseRule> Rules;
- int NumberOfRules;
-};
-
-typedef enum ParameterType {
- PARAMETER_OBJECT=0,
- PARAMETER_TYPE=1,
- PARAMETER_FLAG=2,
- PARAMETER_TYPEATTRIBUTE=3,
- PARAMETER_INSTANCEATTRIBUTE=4,
- PARAMETER_COORDINATE=5,
- PARAMETER_VECTOR=6,
- PARAMETER_RIGHT=7,
- PARAMETER_SKILL=8,
- PARAMETER_NUMBER=9,
- PARAMETER_TEXT=10,
- PARAMETER_COMPARISON=11
-} ParameterType;
-
-typedef enum EventType {
- EVENT_USE=0,
- EVENT_MULTIUSE=1,
- EVENT_MOVEMENT=2,
- EVENT_COLLISION=3,
- EVENT_SEPARATION=4
-} EventType;
-
-typedef struct _Rb_tree_node_base _Rb_tree_node_base, *P_Rb_tree_node_base;
-
-typedef enum _Rb_tree_color {
- _M_red=0,
- _M_black=1
-} _Rb_tree_color;
-
-struct _Rb_tree_node_base {
- enum _Rb_tree_color _M_color;
- struct _Rb_tree_node_base *_M_parent;
- struct _Rb_tree_node_base *_M_left;
- struct _Rb_tree_node_base *_M_right;
-};
-
-typedef struct _Rb_tree_base_iterator _Rb_tree_base_iterator, *P_Rb_tree_base_iterator;
-
-struct _Rb_tree_base_iterator {
- struct _Rb_tree_node_base *_M_node;
-};
-
-typedef struct _Rb_tree_node_base *_Base_ptr;
-
-typedef struct bidirectional_iterator_tag bidirectional_iterator_tag, *Pbidirectional_iterator_tag;
-
-typedef struct bidirectional_iterator_tag iterator_category;
-
-typedef struct forward_iterator_tag forward_iterator_tag, *Pforward_iterator_tag;
-
-typedef struct input_iterator_tag input_iterator_tag, *Pinput_iterator_tag;
-
-struct input_iterator_tag {
-};
-
-struct forward_iterator_tag {
- struct input_iterator_tag super_input_iterator_tag;
-};
-
-struct bidirectional_iterator_tag {
- struct forward_iterator_tag super_forward_iterator_tag;
-};
-
-typedef struct TObject TObject, *PTObject;
-
-struct TObject {
- ulong ObjectID;
- struct Object NextObject;
- struct Object Container;
- struct ObjectType Type;
- ulong Attributes[4];
-};
-
-typedef struct TObjectBlock TObjectBlock, *PTObjectBlock;
-
-struct TObjectBlock {
- struct TObject Object[32768];
-};
-
-typedef struct TFindCreatures TFindCreatures, *PTFindCreatures;
-
-struct TFindCreatures {
- int startx;
- int starty;
- int endx;
- int endy;
- int blockx;
- int blocky;
- ulong ActID;
- ulong SkipID;
- int Mask;
- bool finished;
-};
-
-typedef struct __exception __exception, *P__exception;
-
-struct __exception {
- int type;
- char *name;
- double arg1;
- double arg2;
- double retval;
-};
-
-typedef enum _LIB_VERSION_TYPE {
- _IEEE_=-1,
- _SVID_=0,
- _XOPEN_=1,
- _POSIX_=2,
- _ISOC_=3
-} _LIB_VERSION_TYPE;
-
-typedef struct __true_type __true_type, *P__true_type;
-
-struct __true_type {
-};
-
-typedef struct _Is_integer<signed_char> _Is_integer<signed_char>, *P_Is_integer<signed_char>;
-
-struct _Is_integer<signed_char> { // Original name: _Is_integer<signed char>
-};
-
-typedef struct __type_traits<short_int> __type_traits<short_int>, *P__type_traits<short_int>;
-
-struct __type_traits<short_int> { // Original name: __type_traits<short int>
-};
-
-typedef struct __type_traits<long_double> __type_traits<long_double>, *P__type_traits<long_double>;
-
-struct __type_traits<long_double> { // Original name: __type_traits<long double>
-};
-
-typedef struct __type_traits<bool> __type_traits<bool>, *P__type_traits<bool>;
-
-struct __type_traits<bool> {
-};
-
-typedef struct _Is_integer<long_long_unsigned_int> _Is_integer<long_long_unsigned_int>, *P_Is_integer<long_long_unsigned_int>;
-
-struct _Is_integer<long_long_unsigned_int> { // Original name: _Is_integer<long long unsigned int>
-};
-
-typedef struct __type_traits<float> __type_traits<float>, *P__type_traits<float>;
-
-struct __type_traits<float> {
-};
-
-typedef struct _Is_integer<short_int> _Is_integer<short_int>, *P_Is_integer<short_int>;
-
-struct _Is_integer<short_int> { // Original name: _Is_integer<short int>
-};
-
-typedef struct __type_traits<short_unsigned_int> __type_traits<short_unsigned_int>, *P__type_traits<short_unsigned_int>;
-
-struct __type_traits<short_unsigned_int> { // Original name: __type_traits<short unsigned int>
-};
-
-typedef struct _Is_integer<unsigned_char> _Is_integer<unsigned_char>, *P_Is_integer<unsigned_char>;
-
-struct _Is_integer<unsigned_char> { // Original name: _Is_integer<unsigned char>
-};
-
-typedef struct __type_traits<unsigned_char> __type_traits<unsigned_char>, *P__type_traits<unsigned_char>;
-
-struct __type_traits<unsigned_char> { // Original name: __type_traits<unsigned char>
-};
-
-typedef struct __type_traits<unsigned_int> __type_traits<unsigned_int>, *P__type_traits<unsigned_int>;
-
-struct __type_traits<unsigned_int> { // Original name: __type_traits<unsigned int>
-};
-
-typedef struct _Is_integer<long_long_int> _Is_integer<long_long_int>, *P_Is_integer<long_long_int>;
-
-struct _Is_integer<long_long_int> { // Original name: _Is_integer<long long int>
-};
-
-typedef struct __type_traits<long_long_int> __type_traits<long_long_int>, *P__type_traits<long_long_int>;
-
-struct __type_traits<long_long_int> { // Original name: __type_traits<long long int>
-};
-
-typedef struct _Is_integer<unsigned_int> _Is_integer<unsigned_int>, *P_Is_integer<unsigned_int>;
-
-struct _Is_integer<unsigned_int> { // Original name: _Is_integer<unsigned int>
-};
-
-typedef struct __type_traits<wchar_t> __type_traits<wchar_t>, *P__type_traits<wchar_t>;
-
-struct __type_traits<wchar_t> {
-};
-
-typedef struct __type_traits<double> __type_traits<double>, *P__type_traits<double>;
-
-struct __type_traits<double> {
-};
-
-typedef struct __type_traits<char> __type_traits<char>, *P__type_traits<char>;
-
-struct __type_traits<char> {
-};
-
-typedef struct _Is_integer<wchar_t> _Is_integer<wchar_t>, *P_Is_integer<wchar_t>;
-
-struct _Is_integer<wchar_t> {
-};
-
-typedef struct _Is_integer<int> _Is_integer<int>, *P_Is_integer<int>;
-
-struct _Is_integer<int> {
-};
-
-typedef struct __type_traits<signed_char> __type_traits<signed_char>, *P__type_traits<signed_char>;
-
-struct __type_traits<signed_char> { // Original name: __type_traits<signed char>
-};
-
-typedef struct __type_traits<long_int> __type_traits<long_int>, *P__type_traits<long_int>;
-
-struct __type_traits<long_int> { // Original name: __type_traits<long int>
-};
-
-typedef struct _Is_integer<long_int> _Is_integer<long_int>, *P_Is_integer<long_int>;
-
-struct _Is_integer<long_int> { // Original name: _Is_integer<long int>
-};
-
-typedef struct __false_type __false_type, *P__false_type;
-
-struct __false_type {
-};
-
-typedef struct _Is_integer<short_unsigned_int> _Is_integer<short_unsigned_int>, *P_Is_integer<short_unsigned_int>;
-
-struct _Is_integer<short_unsigned_int> { // Original name: _Is_integer<short unsigned int>
-};
-
-typedef struct __type_traits<long_unsigned_int> __type_traits<long_unsigned_int>, *P__type_traits<long_unsigned_int>;
-
-struct __type_traits<long_unsigned_int> { // Original name: __type_traits<long unsigned int>
-};
-
-typedef struct __type_traits<int> __type_traits<int>, *P__type_traits<int>;
-
-struct __type_traits<int> {
-};
-
-typedef struct _Is_integer<char> _Is_integer<char>, *P_Is_integer<char>;
-
-struct _Is_integer<char> {
-};
-
-typedef struct _Is_integer<long_unsigned_int> _Is_integer<long_unsigned_int>, *P_Is_integer<long_unsigned_int>;
-
-struct _Is_integer<long_unsigned_int> { // Original name: _Is_integer<long unsigned int>
-};
-
-typedef struct _Is_integer<const_char*> _Is_integer<const_char*>, *P_Is_integer<const_char*>;
-
-struct _Is_integer<const_char*> { // Original name: _Is_integer<const char*>
-};
-
-typedef struct __type_traits<long_long_unsigned_int> __type_traits<long_long_unsigned_int>, *P__type_traits<long_long_unsigned_int>;
-
-struct __type_traits<long_long_unsigned_int> { // Original name: __type_traits<long long unsigned int>
-};
-
-typedef struct _Is_integer<bool> _Is_integer<bool>, *P_Is_integer<bool>;
-
-struct _Is_integer<bool> {
-};
-
-typedef struct __true_type has_trivial_copy_constructor;
-
-typedef struct __true_type has_trivial_assignment_operator;
-
-typedef struct __true_type is_POD_type;
-
-typedef struct __true_type has_trivial_default_constructor;
-
-typedef struct __true_type has_trivial_destructor;
-
-typedef struct __true_type _Integral;
-
-typedef void *nl_catd;
-
-typedef pthread_key_t __gthread_key_t;
-
-typedef pthread_once_t __gthread_once_t;
-
-typedef struct pthread_mutex_t __gthread_mutex_t;
-
-typedef struct lconv lconv, *Plconv;
-
-struct lconv {
- char *decimal_point;
- char *thousands_sep;
- char *grouping;
- char *int_curr_symbol;
- char *currency_symbol;
- char *mon_decimal_point;
- char *mon_thousands_sep;
- char *mon_grouping;
- char *positive_sign;
- char *negative_sign;
- char int_frac_digits;
- char frac_digits;
- char p_cs_precedes;
- char p_sep_by_space;
- char n_cs_precedes;
- char n_sep_by_space;
- char p_sign_posn;
- char n_sign_posn;
- char int_p_cs_precedes;
- char int_p_sep_by_space;
- char int_n_cs_precedes;
- char int_n_sep_by_space;
- char int_p_sign_posn;
- char int_n_sign_posn;
-};
-
-typedef __locale_t locale_t;
-
-typedef struct sched_param sched_param, *Psched_param;
-
-struct sched_param {
- int __sched_priority;
-};
-
-typedef int (*__gconv_trans_init_fct)(void **, char *);
-
-typedef int (*__gconv_trans_query_fct)(char *, char ***, size_t *);
-
-typedef struct __gconv_info *__gconv_t;
-
-typedef enum anon_enum_32 {
- __GCONV_OK=0,
- __GCONV_IS_LAST=1,
- __GCONV_NOCONV=1,
- __GCONV_IGNORE_ERRORS=2,
- __GCONV_NODB=2,
- __GCONV_NOMEM=3,
- __GCONV_EMPTY_INPUT=4,
- __GCONV_FULL_OUTPUT=5,
- __GCONV_ILLEGAL_INPUT=6,
- __GCONV_INCOMPLETE_INPUT=7,
- __GCONV_ILLEGAL_DESCRIPTOR=8,
- __GCONV_INTERNAL_ERROR=9
-} anon_enum_32;
-
-typedef enum idtype_t {
- P_ALL=0,
- P_PID=1,
- P_PGID=2
-} idtype_t;
-
-typedef struct locale locale, *Plocale;
-
-typedef struct _Impl _Impl, *P_Impl;
-
-typedef struct facet facet, *Pfacet;
-
-struct _Impl {
- _Atomic_word _M_references;
- struct facet **_M_facets;
- size_t _M_facets_size;
- char *_M_names[12];
-};
-
-struct locale {
- struct _Impl *_M_impl;
-};
-
-struct facet {
-};
-
-typedef struct id id, *Pid;
-
-struct id {
- size_t _M_index;
-};
-
-typedef struct TBehaviourDatabase TBehaviourDatabase, *PTBehaviourDatabase;
-
-struct TBehaviourDatabase {
- struct vector<TBehaviour> Behaviour;
- int Behaviours;
-};
-
-typedef struct TMonster TMonster, *PTMonster;
-
-struct TMonster {
- struct TNonplayer super_TNonplayer;
- int Home;
- ulong Master;
- ulong Target;
-};
-
-typedef struct TNPC TNPC, *PTNPC;
-
-struct TNPC {
- struct TNonplayer super_TNonplayer;
- ulong Interlocutor;
- int Topic;
- int Price;
- int Amount;
- int TypeID;
- ulong Data;
- ulong LastTalk;
- struct vector<long_unsigned_int> QueuedPlayers;
- struct vector<long_unsigned_int> QueuedAddresses;
- int QueueLength;
- struct TBehaviourDatabase *Behaviour;
-};
-
-typedef enum SITUATION {
- DEFAULT=0,
- ADDRESS=1,
- ADDRESSQUEUE=2,
- BUSY=3,
- VANISH=4
-} SITUATION;
-
-typedef struct fpos<__mbstate_t> wstreampos;
-
-typedef mbstate_t __state_type;
-
-typedef struct rebind<char> rebind<char>, *Prebind<char>;
-
-struct rebind<char> {
-};
-
-typedef struct __default_alloc_template<true,0> __default_alloc_template<true,0>, *P__default_alloc_template<true,0>;
-
-typedef struct __default_alloc_template<true,0> __alloc;
-
-struct __default_alloc_template<true,0> {
-};
-
-typedef struct __default_alloc_template<false,0> __default_alloc_template<false,0>, *P__default_alloc_template<false,0>;
-
-typedef struct __default_alloc_template<false,0> __single_client_alloc;
-
-struct __default_alloc_template<false,0> {
-};
-
-typedef struct allocator<void> allocator<void>, *Pallocator<void>;
-
-struct allocator<void> {
-};
-
-typedef struct __new_alloc __new_alloc, *P__new_alloc;
-
-struct __new_alloc {
-};
-
-typedef struct __new_alloc __mem_interface;
-
-typedef struct allocator<char> allocator<char>, *Pallocator<char>;
-
-typedef struct allocator<char> other;
-
-struct allocator<char> {
-};
-
-
-// WARNING! conflicting data type names: /DWARF/stl_alloc.h/allocator<wchar_t>/pointer - /DWARF/stl_iterator.h/__normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>/pointer
-
-typedef size_t size_type;
-
-typedef wchar_t *const_pointer;
-
-
-// WARNING! conflicting data type names: /DWARF/stl_alloc.h/allocator<wchar_t>/reference - /DWARF/stl_iterator.h/__normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>/reference
-
-typedef wchar_t *const_reference;
-
-typedef struct __default_alloc_template<true,0> _Alloc;
-
-
-// WARNING! conflicting data type names: /DWARF/stl_alloc.h/allocator<void>/pointer - /DWARF/stl_iterator.h/__normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>/pointer
-
-
-// WARNING! conflicting data type names: /DWARF/stl_alloc.h/allocator<void>/value_type - /DWARF/value_type
-
-
-// WARNING! conflicting data type names: /DWARF/stl_alloc.h/allocator<void>/const_pointer - /DWARF/stl_alloc.h/allocator<wchar_t>/const_pointer
-
-typedef union _Obj _Obj, *P_Obj;
-
-union _Obj {
- union _Obj *_M_free_list_link;
- char _M_client_data[1];
-};
-
-typedef struct _Lock _Lock, *P_Lock;
-
-struct _Lock {
-};
-
-
-// WARNING! conflicting data type names: /DWARF/stl_alloc.h/allocator<char>/const_pointer - /DWARF/stl_alloc.h/allocator<wchar_t>/const_pointer
-
-
-// WARNING! conflicting data type names: /DWARF/stl_alloc.h/allocator<char>/const_reference - /DWARF/stl_alloc.h/allocator<wchar_t>/const_reference
-
-typedef struct TRaceData TRaceData, *PTRaceData;
-
-typedef enum BloodType {
- BT_BLOOD=0,
- BT_SLIME=1,
- BT_BONES=2,
- BT_FIRE=3,
- BT_ENERGY=4
-} BloodType;
-
-struct TRaceData {
- char Name[30];
- char Article[3];
- struct TOutfit Outfit;
- struct ObjectType MaleCorpse;
- struct ObjectType FemaleCorpse;
- enum BloodType Blood;
- int ExperiencePoints;
- int FleeThreshold;
- int Attack;
- int Defend;
- int Armor;
- int Poison;
- int SummonCost;
- int LoseTarget;
- int Strategy[4];
- bool KickBoxes;
- bool KickCreatures;
- bool SeeInvisible;
- bool Unpushable;
- bool DistanceFighting;
- bool NoSummon;
- bool NoIllusion;
- bool NoConvince;
- bool NoBurning;
- bool NoPoison;
- bool NoEnergy;
- bool NoHit;
- bool NoLifeDrain;
- bool NoParalyze;
- int Skills;
- struct vector<TSkillData> Skill;
- int Talks;
- struct vector<long_unsigned_int> Talk;
- int Items;
- struct vector<TItemData> Item;
- int Spells;
- struct vector<TSpellData> Spell;
-};
-
-typedef enum _Ios_Fmtflags {
- _M_ios_fmtflags_end=65536
-} _Ios_Fmtflags;
-
-typedef struct ios_base ios_base, *Pios_base;
-
-typedef ptrdiff_t streamsize;
-
-typedef enum _Ios_Iostate {
- _M_ios_iostate_end=65536
-} _Ios_Iostate;
-
-typedef struct _Callback_list _Callback_list, *P_Callback_list;
-
-typedef enum event {
- erase_event=0,
- imbue_event=1,
- copyfmt_event=2
-} event;
-
-typedef struct _Words _Words, *P_Words;
-
-struct _Callback_list {
- struct _Callback_list *_M_next;
- void (*_M_fn)(enum event, struct ios_base *, int);
- int _M_index;
- _Atomic_word _M_refcount;
-};
-
-struct _Words {
- void *_M_pword;
- long _M_iword;
-};
-
-struct ios_base {
- streamsize _M_precision;
- streamsize _M_width;
- enum _Ios_Fmtflags _M_flags;
- enum _Ios_Iostate _M_exception;
- enum _Ios_Iostate _M_streambuf_state;
- struct _Callback_list *_M_callbacks;
- struct _Words _M_word_zero;
- struct _Words _M_local_word[8];
- int _M_word_size;
- struct _Words *_M_word;
- struct locale _M_ios_locale;
-};
-
-typedef enum _Ios_Seekdir {
- _M_ios_seekdir_end=65536
-} _Ios_Seekdir;
-
-typedef enum _Ios_Openmode {
- _M_ios_openmode_end=65536
-} _Ios_Openmode;
-
-typedef enum _Ios_Iostate iostate;
-
-typedef enum _Ios_Seekdir seekdir;
-
-typedef struct Init Init, *PInit;
-
-struct Init {
-};
-
-typedef enum _Ios_Openmode openmode;
-
-typedef enum _Ios_Fmtflags fmtflags;
-
-typedef void (*event_callback)(enum event, struct ios_base *, int);
-
-typedef struct __basic_file<char> __basic_file<char>, *P__basic_file<char>;
-
-typedef struct _IO_FILE FILE;
-
-typedef FILE __c_file;
-
-struct __basic_file<char> {
- __c_file *_M_cfile;
- bool _M_cfile_created;
-};
-
-typedef __intptr_t intptr_t;
-
-typedef struct TRSAPrivateKey TRSAPrivateKey, *PTRSAPrivateKey;
-
-typedef struct vlong vlong, *Pvlong;
-
-typedef struct vlong_value vlong_value, *Pvlong_value;
-
-typedef struct vlong_flex_unit vlong_flex_unit, *Pvlong_flex_unit;
-
-struct vlong {
- int (**_vptr.vlong)(...);
- struct vlong_value *value;
- int negative;
-};
-
-struct vlong_flex_unit {
- uint n;
- uint *a;
- uint z;
-};
-
-struct vlong_value {
- struct vlong_flex_unit super_vlong_flex_unit;
- uint share;
-};
-
-struct TRSAPrivateKey {
- int (**_vptr.TRSAPrivateKey)(...);
- struct vlong m_PrimeP;
- struct vlong m_PrimeQ;
- struct vlong m_U;
- struct vlong m_DP;
- struct vlong m_DQ;
-};
-
-typedef struct ctype_base ctype_base, *Pctype_base;
-
-struct ctype_base {
-};
-
-typedef int *__to_type;
-
-typedef __fd_mask fd_mask;
-
-typedef struct fd_set fd_set, *Pfd_set;
-
-struct fd_set {
- __fd_mask fds_bits[32];
-};
-
-typedef __int32_t *wctrans_t;
-
-typedef struct TSpellList TSpellList, *PTSpellList;
-
-struct TSpellList {
- uchar Syllable[10];
- uchar RuneGr;
- uchar RuneNr;
- char *Comment;
- ushort Level;
- ushort RuneLevel;
- ushort Flags;
- int Mana;
- int SoulPoints;
- int Amount;
-};
-
-typedef struct TCircle TCircle, *PTCircle;
-
-struct TCircle {
- int x[32];
- int y[32];
- int Count;
-};
-
-typedef struct THealingImpact THealingImpact, *PTHealingImpact;
-
-typedef struct TImpact TImpact, *PTImpact;
-
-struct TImpact {
- int (**_vptr.TImpact)(...);
-};
-
-struct THealingImpact {
- struct TImpact super_TImpact;
- struct TCreature *Actor;
- int Power;
-};
-
-typedef struct TOutfitImpact TOutfitImpact, *PTOutfitImpact;
-
-struct TOutfitImpact {
- struct TImpact super_TImpact;
- struct TCreature *Actor;
- struct TOutfit Outfit;
- int Duration;
-};
-
-typedef struct TSpeedImpact TSpeedImpact, *PTSpeedImpact;
-
-struct TSpeedImpact {
- struct TImpact super_TImpact;
- struct TCreature *Actor;
- int Percent;
- int Duration;
-};
-
-typedef struct TFieldImpact TFieldImpact, *PTFieldImpact;
-
-struct TFieldImpact {
- struct TImpact super_TImpact;
- struct TCreature *Actor;
- int FieldType;
-};
-
-typedef struct TStrengthImpact TStrengthImpact, *PTStrengthImpact;
-
-struct TStrengthImpact {
- struct TImpact super_TImpact;
- struct TCreature *Actor;
- int Skills;
- int Percent;
- int Duration;
-};
-
-typedef struct TDamageImpact TDamageImpact, *PTDamageImpact;
-
-struct TDamageImpact {
- struct TImpact super_TImpact;
- struct TCreature *Actor;
- int DamageType;
- int Power;
- bool AllowDefense;
-};
-
-typedef struct TDrunkenImpact TDrunkenImpact, *PTDrunkenImpact;
-
-struct TDrunkenImpact {
- struct TImpact super_TImpact;
- struct TCreature *Actor;
- int Power;
- int Duration;
-};
-
-typedef struct TSummonImpact TSummonImpact, *PTSummonImpact;
-
-struct TSummonImpact {
- struct TImpact super_TImpact;
- struct TCreature *Actor;
- int Race;
- int Maximum;
-};
-
-typedef __suseconds_t suseconds_t;
-
-typedef struct __fsid_t __fsid_t, *P__fsid_t;
-
-typedef struct __fsid_t fsid_t;
-
-struct __fsid_t {
- int __val[2];
-};
-
-typedef __useconds_t useconds_t;
-
-typedef __quad_t quad_t;
-
-typedef __off64_t __loff_t;
-
-typedef __fsfilcnt64_t fsfilcnt64_t;
-
-typedef __u_long u_long;
-
-typedef __mode_t mode_t;
-
-typedef __fsfilcnt_t fsfilcnt_t;
-
-typedef __loff_t loff_t;
-
-typedef __daddr_t daddr_t;
-
-typedef __u_int u_int;
-
-typedef __fsblkcnt_t fsblkcnt_t;
-
-typedef __off64_t off64_t;
-
-typedef __quad_t *__qaddr_t;
-
-typedef __blkcnt64_t blkcnt64_t;
-
-typedef __blkcnt_t blkcnt_t;
-
-typedef __u_quad_t u_quad_t;
-
-typedef char *__caddr_t;
-
-typedef __id_t id_t;
-
-typedef __u_short u_short;
-
-typedef __off_t off_t;
-
-typedef __nlink_t nlink_t;
-
-typedef __u_char u_char;
-
-typedef __fsblkcnt64_t fsblkcnt64_t;
-
-typedef __caddr_t caddr_t;
-
-typedef __dev_t dev_t;
-
-typedef __blksize_t blksize_t;
-
-typedef __ino_t ino_t;
-
-typedef __ino64_t ino64_t;
-
-
-// WARNING! conflicting data type names: /DWARF/dirent.h/dirent - /dirent.h/dirent
-
-typedef struct dirent64 dirent64, *Pdirent64;
-
-struct dirent64 {
- __ino64_t d_ino;
- __off64_t d_off;
- ushort d_reclen;
- uchar d_type;
- char d_name[256];
-};
-
-
-// WARNING! conflicting data type names: /DWARF/dirent.h/DIR - /dirent.h/DIR
-
-
-// WARNING! conflicting data type names: /DWARF/dirent.h/DeleteSwappedSectors/DIR - /dirent.h/DIR
-
-
-// WARNING! conflicting data type names: /DWARF/dirent.h/InitNPCs/DIR - /dirent.h/DIR
-
-
-// WARNING! conflicting data type names: /DWARF/dirent.h/ApplyPatches/DIR - /dirent.h/DIR
-
-
-// WARNING! conflicting data type names: /DWARF/dirent.h/LoadRaces/DIR - /dirent.h/DIR
-
-
-// WARNING! conflicting data type names: /DWARF/dirent.h/TreatAllFiles/DIR - /dirent.h/DIR
-
-typedef struct sigstack sigstack, *Psigstack;
-
-struct sigstack {
- void *ss_sp;
- int ss_onstack;
-};
-
-typedef struct sigevent sigevent, *Psigevent;
-
-typedef struct sigevent sigevent_t;
-
-typedef union anon_union_52_3_fd6d425a_for__sigev_un anon_union_52_3_fd6d425a_for__sigev_un, *Panon_union_52_3_fd6d425a_for__sigev_un;
-
-typedef struct anon_struct_8_2_a09fd341_for__sigev_thread anon_struct_8_2_a09fd341_for__sigev_thread, *Panon_struct_8_2_a09fd341_for__sigev_thread;
-
-struct anon_struct_8_2_a09fd341_for__sigev_thread {
- void (*_function)(union sigval);
- void *_attribute;
-};
-
-union anon_union_52_3_fd6d425a_for__sigev_un {
- int _pad[13];
- __pid_t _tid;
- struct anon_struct_8_2_a09fd341_for__sigev_thread _sigev_thread;
-};
-
-struct sigevent {
- sigval_t sigev_value;
- int sigev_signo;
- int sigev_notify;
- union anon_union_52_3_fd6d425a_for__sigev_un _sigev_un;
-};
-
-
-// WARNING! conflicting data type names: /DWARF/siginfo.h/siginfo - /siginfo.h/siginfo
-
-typedef union anon_union_116_7_b489c2e4_for__sifields anon_union_116_7_b489c2e4_for__sifields, *Panon_union_116_7_b489c2e4_for__sifields;
-
-typedef struct anon_struct_8_2_0a3d7222_for__kill anon_struct_8_2_0a3d7222_for__kill, *Panon_struct_8_2_0a3d7222_for__kill;
-
-typedef struct anon_struct_12_3_5124685d_for__timer anon_struct_12_3_5124685d_for__timer, *Panon_struct_12_3_5124685d_for__timer;
-
-typedef struct anon_struct_12_3_9bedbd60_for__rt anon_struct_12_3_9bedbd60_for__rt, *Panon_struct_12_3_9bedbd60_for__rt;
-
-typedef struct anon_struct_20_5_7a025f54_for__sigchld anon_struct_20_5_7a025f54_for__sigchld, *Panon_struct_20_5_7a025f54_for__sigchld;
-
-typedef struct anon_struct_4_1_ff5bff1a_for__sigfault anon_struct_4_1_ff5bff1a_for__sigfault, *Panon_struct_4_1_ff5bff1a_for__sigfault;
-
-typedef struct anon_struct_8_2_686959ae_for__sigpoll anon_struct_8_2_686959ae_for__sigpoll, *Panon_struct_8_2_686959ae_for__sigpoll;
-
-struct anon_struct_4_1_ff5bff1a_for__sigfault {
- void *si_addr;
-};
-
-struct anon_struct_12_3_5124685d_for__timer {
- int si_tid;
- int si_overrun;
- sigval_t si_sigval;
-};
-
-struct anon_struct_8_2_0a3d7222_for__kill {
- __pid_t si_pid;
- __uid_t si_uid;
-};
-
-struct anon_struct_20_5_7a025f54_for__sigchld {
- __pid_t si_pid;
- __uid_t si_uid;
- int si_status;
- __clock_t si_utime;
- __clock_t si_stime;
-};
-
-struct anon_struct_12_3_9bedbd60_for__rt {
- __pid_t si_pid;
- __uid_t si_uid;
- sigval_t si_sigval;
-};
-
-struct anon_struct_8_2_686959ae_for__sigpoll {
- long si_band;
- int si_fd;
-};
-
-union anon_union_116_7_b489c2e4_for__sifields {
- int _pad[29];
- struct anon_struct_8_2_0a3d7222_for__kill _kill;
- struct anon_struct_12_3_5124685d_for__timer _timer;
- struct anon_struct_12_3_9bedbd60_for__rt _rt;
- struct anon_struct_20_5_7a025f54_for__sigchld _sigchld;
- struct anon_struct_4_1_ff5bff1a_for__sigfault _sigfault;
- struct anon_struct_8_2_686959ae_for__sigpoll _sigpoll;
-};
-
-
-// WARNING! conflicting data type names: /DWARF/siginfo.h/anon_subr/siginfo_t - /siginfo.h/siginfo_t
-
-typedef struct basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>, *Pbasic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>;
-
-typedef struct _Alloc_hider _Alloc_hider, *P_Alloc_hider;
-
-struct _Alloc_hider { // Missing member super_allocator<wchar_t> : allocator<wchar_t> at offset 0x0 [conflicting member at same offset]
- wchar_t *_M_p;
-};
-
-struct basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> { // Original name: basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
- struct _Alloc_hider _M_dataplus;
-};
-
-typedef struct allocator<wchar_t> allocator<wchar_t>, *Pallocator<wchar_t>;
-
-struct allocator<wchar_t> {
-};
-
-typedef struct basic_string<char,std::char_traits<char>,std::allocator<char>_> basic_string<char,std::char_traits<char>,std::allocator<char>_>, *Pbasic_string<char,std::char_traits<char>,std::allocator<char>_>;
-
-
-// WARNING! conflicting data type names: /DWARF/basic_string.h/basic_string<char,std::char_traits<char>,std::allocator<char>_>/_Alloc_hider - /DWARF/basic_string.h/basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>/_Alloc_hider
-
-struct basic_string<char,std::char_traits<char>,std::allocator<char>_> { // Original name: basic_string<char,std::char_traits<char>,std::allocator<char> >
- struct _Alloc_hider _M_dataplus;
-};
-
-typedef struct basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> wstring;
-
-
-// WARNING! conflicting data type names: /DWARF/stringfwd.h/locale/string - /string
-
-
-// WARNING! conflicting data type names: /DWARF/stringfwd.h/TRSAPrivateKey/init/lexical_block_4/lexical_block_4_1/string - /string
-
-typedef struct sigaction sigaction, *Psigaction;
-
-typedef union anon_union_4_2_5ad2d23e_for___sigaction_handler anon_union_4_2_5ad2d23e_for___sigaction_handler, *Panon_union_4_2_5ad2d23e_for___sigaction_handler;
-
-union anon_union_4_2_5ad2d23e_for___sigaction_handler {
- __sighandler_t sa_handler;
- void (*sa_sigaction)(int, siginfo_t *, void *);
-};
-
-struct sigaction {
- union anon_union_4_2_5ad2d23e_for___sigaction_handler __sigaction_handler;
- struct __sigset_t sa_mask;
- int sa_flags;
- void (*sa_restorer)(void);
-};
-
-typedef enum TYPEATTRIBUTE {
- WAYPOINTS=0,
- CAPACITY=1,
- CHANGETARGET=2,
- KEYDOORTARGET=3,
- NAMEDOORTARGET=4,
- LEVELDOORTARGET=5,
- QUESTDOORTARGET=6,
- NUTRITION=7,
- INFORMATIONTYPE=8,
- FONTSIZE=9,
- MAXLENGTH=10,
- MAXLENGTHONCE=11,
- SOURCELIQUIDTYPE=12,
- ABSTELEPORTEFFECT=13,
- RELTELEPORTDISPLACEMENT=14,
- RELTELEPORTEFFECT=15,
- AVOIDDAMAGETYPES=16,
- MINIMUMLEVEL=17,
- PROFESSIONS=18,
- WEIGHT=19,
- ROTATETARGET=20,
- DESTROYTARGET=21,
- BODYPOSITION=22,
- SKILLNUMBER=23,
- SKILLMODIFICATION=24,
- PROTECTIONDAMAGETYPES=25,
- DAMAGEREDUCTION=26,
- BRIGHTNESS=27,
- LIGHTCOLOR=28,
- CORPSETYPE=29,
- TOTALEXPIRETIME=30,
- EXPIRETARGET=31,
- TOTALUSES=32,
- WEAROUTTARGET=33,
- WEAPONTYPE=34,
- WEAPONATTACKVALUE=35,
- WEAPONDEFENDVALUE=36,
- SHIELDDEFENDVALUE=37,
- BOWRANGE=38,
- BOWAMMOTYPE=39,
- THROWRANGE=40,
- THROWATTACKVALUE=41,
- THROWDEFENDVALUE=42,
- THROWMISSILE=43,
- THROWSPECIALEFFECT=44,
- THROWEFFECTSTRENGTH=45,
- THROWFRAGILITY=46,
- WANDRANGE=47,
- WANDMANACONSUMPTION=48,
- WANDATTACKSTRENGTH=49,
- WANDATTACKVARIATION=50,
- WANDDAMAGETYPE=51,
- WANDMISSILE=52,
- AMMOTYPE=53,
- AMMOATTACKVALUE=54,
- AMMOMISSILE=55,
- AMMOSPECIALEFFECT=56,
- AMMOEFFECTSTRENGTH=57,
- ARMORVALUE=58,
- ELEVATION=59,
- DISGUISETARGET=60,
- MEANING=61
-} TYPEATTRIBUTE;
-
-typedef enum FLAG {
- BANK=0,
- CLIP=1,
- BOTTOM=2,
- TOP=3,
- CONTAINER=4,
- CHEST=5,
- CUMULATIVE=6,
- USEEVENT=7,
- CHANGEUSE=8,
- FORCEUSE=9,
- MULTIUSE=10,
- DISTUSE=11,
- MOVEMENTEVENT=12,
- COLLISIONEVENT=13,
- SEPARATIONEVENT=14,
- KEY=15,
- KEYDOOR=16,
- NAMEDOOR=17,
- LEVELDOOR=18,
- QUESTDOOR=19,
- BED=20,
- FOOD=21,
- RUNE=22,
- INFORMATION=23,
- TEXT=24,
- WRITE=25,
- WRITEONCE=26,
- LIQUIDCONTAINER=27,
- LIQUIDSOURCE=28,
- LIQUIDPOOL=29,
- TELEPORTABSOLUTE=30,
- TELEPORTRELATIVE=31,
- UNPASS=32,
- UNMOVE=33,
- UNTHROW=34,
- UNLAY=35,
- AVOID=36,
- MAGICFIELD=37,
- RESTRICTLEVEL=38,
- RESTRICTPROFESSION=39,
- TAKE=40,
- HANG=41,
- HOOKSOUTH=42,
- HOOKEAST=43,
- ROTATE=44,
- DESTROY=45,
- CLOTHES=46,
- SKILLBOOST=47,
- PROTECTION=48,
- LIGHT=49,
- ROPESPOT=50,
- CORPSE=51,
- EXPIRE=52,
- EXPIRESTOP=53,
- WEAROUT=54,
- WEAPON=55,
- SHIELD=56,
- BOW=57,
- THROW=58,
- WAND=59,
- AMMO=60,
- ARMOR=61,
- HEIGHT=62,
- DISGUISE=63,
- SHOWDETAIL=64,
- SPECIALOBJECT=65
-} FLAG;
-
-typedef enum INSTANCEATTRIBUTE {
- CONTENT=0,
- CHESTQUESTNUMBER=1,
- AMOUNT=2,
- KEYNUMBER=3,
- KEYHOLENUMBER=4,
- DOORLEVEL=5,
- DOORQUESTNUMBER=6,
- DOORQUESTVALUE=7,
- CHARGES=8,
- TEXTSTRING=9,
- EDITOR=10,
- CONTAINERLIQUIDTYPE=11,
- POOLLIQUIDTYPE=12,
- ABSTELEPORTDESTINATION=13,
- RESPONSIBLE=14,
- REMAININGEXPIRETIME=15,
- SAVEDEXPIRETIME=16,
- REMAININGUSES=17
-} INSTANCEATTRIBUTE;
-
-typedef enum SPECIALMEANING {
- MONEY_ONE=1,
- MONEY_HUNDRED=2,
- MONEY_TENTHOUSAND=3,
- INVENTORY_RIGHTHAND=10,
- INVENTORY_LEFTHAND=11,
- INVENTORY_BODY_MALE=12,
- INVENTORY_BODY_FEMALE=13,
- INVENTORY_CONTAINER=14,
- INVENTORY_FOOD=15,
- DEPOT_LOCKER=20,
- DEPOT_CHEST=21,
- PARCEL_NEW=22,
- PARCEL_STAMPED=23,
- PARCEL_LABEL=24,
- LETTER_NEW=25,
- LETTER_STAMPED=26,
- BLOOD_SPLASH=30,
- BLOOD_POOL=31,
- RUNE_BLANK=40,
- MAGICFIELD_FIRE_DANGEROUS=41,
- MAGICFIELD_FIRE_HARMLESS=42,
- MAGICFIELD_POISON_DANGEROUS=43,
- MAGICFIELD_POISON_HARMLESS=44,
- MAGICFIELD_ENERGY_DANGEROUS=45,
- MAGICFIELD_ENERGY_HARMLESS=46,
- MAGICFIELD_MAGICWALL=47,
- MAGICFIELD_RUSHWOOD=48
-} SPECIALMEANING;
-
-typedef struct rusage rusage, *Prusage;
-
-struct rusage {
- struct timeval ru_utime;
- struct timeval ru_stime;
- long ru_maxrss;
- long ru_ixrss;
- long ru_idrss;
- long ru_isrss;
- long ru_minflt;
- long ru_majflt;
- long ru_nswap;
- long ru_inblock;
- long ru_oublock;
- long ru_msgsnd;
- long ru_msgrcv;
- long ru_nsignals;
- long ru_nvcsw;
- long ru_nivcsw;
-};
-
-typedef struct rlimit rlimit, *Prlimit;
-
-typedef __rlim_t rlim_t;
-
-struct rlimit {
- rlim_t rlim_cur;
- rlim_t rlim_max;
-};
-
-typedef struct rlimit64 rlimit64, *Prlimit64;
-
-typedef __rlim64_t rlim64_t;
-
-struct rlimit64 {
- rlim64_t rlim_cur;
- rlim64_t rlim_max;
-};
-
-typedef enum __rusage_who {
- RUSAGE_BOTH=-2,
- RUSAGE_CHILDREN=-1,
- RUSAGE_SELF=0
-} __rusage_who;
-
-typedef enum __priority_which {
- PRIO_PROCESS=0,
- PRIO_PGRP=1,
- PRIO_USER=2
-} __priority_which;
-
-typedef enum __rlimit_resource {
- RLIMIT_CPU=0,
- RLIMIT_FSIZE=1,
- RLIMIT_DATA=2,
- RLIMIT_STACK=3,
- RLIMIT_CORE=4,
- RLIMIT_RSS=5,
- RLIMIT_NPROC=6,
- RLIMIT_NOFILE=7,
- RLIMIT_OFILE=7,
- RLIMIT_MEMLOCK=8,
- RLIMIT_AS=9,
- RLIMIT_LOCKS=10,
- RLIMIT_NLIMITS=11,
- RLIM_NLIMITS=11
-} __rlimit_resource;
-
-typedef struct codecvt_base codecvt_base, *Pcodecvt_base;
-
-struct codecvt_base {
-};
-
-typedef enum result {
- ok=0,
- partial=1,
- error=2,
- noconv=3
-} result;
-
-typedef struct __normal_iterator<const_char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_> const_iterator;
-
-
-// WARNING! conflicting data type names: /DWARF/basic_string.h/basic_string<char,std::char_traits<char>,std::allocator<char>_>/const_pointer - /DWARF/stl_alloc.h/allocator<wchar_t>/const_pointer
-
-typedef struct _Rep _Rep, *P_Rep;
-
-struct _Rep {
- size_t _M_length;
- size_t _M_capacity;
- _Atomic_word _M_references;
-};
-
-typedef struct reverse_iterator<__gnu_cxx::__normal_iterator<char*,_std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_> reverse_iterator<__gnu_cxx::__normal_iterator<char*,_std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>, *Preverse_iterator<__gnu_cxx::__normal_iterator<char*,_std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>;
-
-typedef struct reverse_iterator<__gnu_cxx::__normal_iterator<char*,_std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_> reverse_iterator;
-
-struct reverse_iterator<__gnu_cxx::__normal_iterator<char*,_std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_> { // Original name: reverse_iterator<__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >
-};
-
-typedef struct __normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_> iterator;
-
-typedef struct reverse_iterator<__gnu_cxx::__normal_iterator<const_char*,_std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_> reverse_iterator<__gnu_cxx::__normal_iterator<const_char*,_std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>, *Preverse_iterator<__gnu_cxx::__normal_iterator<const_char*,_std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_>;
-
-typedef struct reverse_iterator<__gnu_cxx::__normal_iterator<const_char*,_std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_> const_reverse_iterator;
-
-struct reverse_iterator<__gnu_cxx::__normal_iterator<const_char*,_std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>_> { // Original name: reverse_iterator<__gnu_cxx::__normal_iterator<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >
-};
-
-
-// WARNING! conflicting data type names: /DWARF/basic_string.h/basic_string<char,std::char_traits<char>,std::allocator<char>_>/const_reference - /DWARF/stl_alloc.h/allocator<wchar_t>/const_reference
-
-typedef struct allocator<char> allocator_type;
-
-typedef struct allocator<char> _Raw_bytes_alloc;
-
-typedef struct random_access_iterator_tag random_access_iterator_tag, *Prandom_access_iterator_tag;
-
-typedef struct random_access_iterator_tag _Tag;
-
-struct random_access_iterator_tag {
- struct bidirectional_iterator_tag super_bidirectional_iterator_tag;
-};
-
-
-// WARNING! conflicting data type names: /DWARF/basic_string.h/basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>/const_iterator - /DWARF/basic_string.h/basic_string<char,std::char_traits<char>,std::allocator<char>_>/const_iterator
-
-
-// WARNING! conflicting data type names: /DWARF/basic_string.h/basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>/reference - /DWARF/stl_iterator.h/__normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>/reference
-
-
-// WARNING! conflicting data type names: /DWARF/basic_string.h/basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>/iterator - /DWARF/basic_string.h/basic_string<char,std::char_traits<char>,std::allocator<char>_>/iterator
-
-
-// WARNING! conflicting data type names: /DWARF/basic_string.h/basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>/pointer - /DWARF/stl_iterator.h/__normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>/pointer
-
-typedef struct TWriteStream TWriteStream, *PTWriteStream;
-
-struct TWriteStream {
- int (**_vptr.TWriteStream)(...);
-};
-
-typedef struct TDynamicWriteBuffer TDynamicWriteBuffer, *PTDynamicWriteBuffer;
-
-typedef struct TWriteBuffer TWriteBuffer, *PTWriteBuffer;
-
-struct TWriteBuffer {
- struct TWriteStream super_TWriteStream;
- uchar *Data;
- int Size;
- int Position;
-};
-
-struct TDynamicWriteBuffer {
- struct TWriteBuffer super_TWriteBuffer;
-};
-
-typedef struct TReadBuffer TReadBuffer, *PTReadBuffer;
-
-typedef struct TReadStream TReadStream, *PTReadStream;
-
-struct TReadStream {
- int (**_vptr.TReadStream)(...);
-};
-
-struct TReadBuffer {
- struct TReadStream super_TReadStream;
- uchar *Data;
- int Size;
- int Position;
-};
-
-typedef __gnuc_va_list va_list;
-
-typedef struct _IO_FILE.conflict FILE.conflict;
-
-typedef struct _IO_FILE __FILE;
-
-typedef struct _G_fpos64_t _G_fpos64_t, *P_G_fpos64_t;
-
-typedef struct _G_fpos64_t fpos64_t;
-
-struct _G_fpos64_t {
- __off64_t __pos;
- struct __mbstate_t __state;
-};
-
-typedef struct _G_fpos_t _G_fpos_t, *P_G_fpos_t;
-
-typedef struct _G_fpos_t fpos_t;
-
-struct _G_fpos_t {
- __off_t __pos;
- struct __mbstate_t __state;
-};
-
-typedef struct _IO_FILE.conflict __FILE.conflict;
-
-typedef enum TALK_MODE {
- TALK_SAY=1,
- TALK_WHISPER=2,
- TALK_YELL=3,
- TALK_PRIVATE_MESSAGE=4,
- TALK_CHANNEL_CALL=5,
- TALK_GAMEMASTER_REQUEST=6,
- TALK_GAMEMASTER_ANSWER=7,
- TALK_PLAYER_ANSWER=8,
- TALK_GAMEMASTER_BROADCAST=9,
- TALK_GAMEMASTER_CHANNELCALL=10,
- TALK_GAMEMASTER_MESSAGE=11,
- TALK_HIGHLIGHT_CHANNELCALL=12,
- TALK_ANONYMOUS_BROADCAST=13,
- TALK_ANONYMOUS_CHANNELCALL=14,
- TALK_ANONYMOUS_MESSAGE=15,
- TALK_ANIMAL_LOW=16,
- TALK_ANIMAL_LOUD=17,
- TALK_ADMIN_MESSAGE=18,
- TALK_EVENT_MESSAGE=19,
- TALK_LOGIN_MESSAGE=20,
- TALK_STATUS_MESSAGE=21,
- TALK_INFO_MESSAGE=22,
- TALK_FAILURE_MESSAGE=23
-} TALK_MODE;
-
-typedef enum CHANNEL {
- GUILD_CHANNEL=0,
- GAMEMASTER_CHANNEL=1,
- TUTOR_CHANNEL=2,
- REQUEST_QUEUE=3,
- GAME_CHANNEL=4,
- TRADE_CHANNEL=5,
- REALLIFE_CHANNEL=6,
- HELP_CHANNEL=7
-} CHANNEL;
-
-typedef struct iterator<std::random_access_iterator_tag,char,int,const_char*,const_char&> iterator<std::random_access_iterator_tag,char,int,const_char*,const_char&>, *Piterator<std::random_access_iterator_tag,char,int,const_char*,const_char&>;
-
-struct iterator<std::random_access_iterator_tag,char,int,const_char*,const_char&> { // Original name: iterator<std::random_access_iterator_tag,char,int,const char*,const char&>
-};
-
-typedef struct iterator_traits<const_char*> iterator_traits<const_char*>, *Piterator_traits<const_char*>;
-
-struct iterator_traits<const_char*> { // Original name: iterator_traits<const char*>
-};
-
-typedef struct iterator<std::input_iterator_tag,char,long_int,char*,char&> iterator<std::input_iterator_tag,char,long_int,char*,char&>, *Piterator<std::input_iterator_tag,char,long_int,char*,char&>;
-
-struct iterator<std::input_iterator_tag,char,long_int,char*,char&> { // Original name: iterator<std::input_iterator_tag,char,long int,char*,char&>
-};
-
-typedef struct iterator_traits<char*> iterator_traits<char*>, *Piterator_traits<char*>;
-
-struct iterator_traits<char*> {
-};
-
-typedef struct iterator<std::random_access_iterator_tag,char,int,char*,char&> iterator<std::random_access_iterator_tag,char,int,char*,char&>, *Piterator<std::random_access_iterator_tag,char,int,char*,char&>;
-
-struct iterator<std::random_access_iterator_tag,char,int,char*,char&> {
-};
-
-typedef struct iterator<std::output_iterator_tag,void,void,void,void> iterator<std::output_iterator_tag,void,void,void,void>, *Piterator<std::output_iterator_tag,void,void,void,void>;
-
-struct iterator<std::output_iterator_tag,void,void,void,void> {
-};
-
-typedef struct output_iterator_tag output_iterator_tag, *Poutput_iterator_tag;
-
-struct output_iterator_tag {
-};
-
-
-// WARNING! conflicting data type names: /DWARF/stl_iterator_base_types.h/iterator_traits<char*>/iterator_category - /DWARF/stl_tree.h/_Rb_tree_base_iterator/iterator_category
-
-
-// WARNING! conflicting data type names: /DWARF/stl_iterator_base_types.h/iterator_traits<const_char*>/iterator_category - /DWARF/stl_tree.h/_Rb_tree_base_iterator/iterator_category
-
-
-// WARNING! conflicting data type names: /DWARF/stl_iterator_base_types.h/iterator<std::random_access_iterator_tag,char,int,char*,char&>/iterator_category - /DWARF/stl_tree.h/_Rb_tree_base_iterator/iterator_category
-
-
-// WARNING! conflicting data type names: /DWARF/stl_iterator_base_types.h/iterator<std::random_access_iterator_tag,char,int,const_char*,const_char&>/iterator_category - /DWARF/stl_tree.h/_Rb_tree_base_iterator/iterator_category
-
-
-// WARNING! conflicting data type names: /DWARF/stl_iterator_base_types.h/iterator<std::input_iterator_tag,char,long_int,char*,char&>/difference_type - /DWARF/stl_iterator.h/__normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>/difference_type
-
-
-// WARNING! conflicting data type names: /DWARF/stl_iterator_base_types.h/iterator<std::input_iterator_tag,char,long_int,char*,char&>/iterator_category - /DWARF/stl_tree.h/_Rb_tree_base_iterator/iterator_category
-
-
-// WARNING! conflicting data type names: /DWARF/stl_iterator_base_types.h/iterator<std::output_iterator_tag,void,void,void,void>/reference - /DWARF/stl_iterator.h/__normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>/reference
-
-
-// WARNING! conflicting data type names: /DWARF/stl_iterator_base_types.h/iterator<std::output_iterator_tag,void,void,void,void>/difference_type - /DWARF/stl_iterator.h/__normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>/difference_type
-
-
-// WARNING! conflicting data type names: /DWARF/stl_iterator_base_types.h/iterator<std::output_iterator_tag,void,void,void,void>/value_type - /DWARF/value_type
-
-
-// WARNING! conflicting data type names: /DWARF/stl_iterator_base_types.h/iterator<std::output_iterator_tag,void,void,void,void>/pointer - /DWARF/stl_iterator.h/__normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_>/pointer
-
-
-// WARNING! conflicting data type names: /DWARF/stl_iterator_base_types.h/iterator<std::output_iterator_tag,void,void,void,void>/iterator_category - /DWARF/stl_tree.h/_Rb_tree_base_iterator/iterator_category
-
-typedef int (ThreadFunction)(void *);
-
-typedef struct stat64 stat64, *Pstat64;
-
-struct stat64 {
- __dev_t st_dev;
- uint __pad1;
- __ino_t __st_ino;
- __mode_t st_mode;
- __nlink_t st_nlink;
- __uid_t st_uid;
- __gid_t st_gid;
- __dev_t st_rdev;
- uint __pad2;
- __off64_t st_size;
- __blksize_t st_blksize;
- __blkcnt64_t st_blocks;
- struct timespec st_atim;
- struct timespec st_mtim;
- struct timespec st_ctim;
- __ino64_t st_ino;
-};
-
-
-// WARNING! conflicting data type names: /DWARF/stat.h/stat - /stat.h/stat
-
-typedef struct exception exception, *Pexception;
-
-struct exception {
-};
-
-typedef struct reverse_iterator<__gnu_cxx::__normal_iterator<const_wchar_t*,_std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_>_> reverse_iterator<__gnu_cxx::__normal_iterator<const_wchar_t*,_std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_>_>, *Preverse_iterator<__gnu_cxx::__normal_iterator<const_wchar_t*,_std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_>_>;
-
-struct reverse_iterator<__gnu_cxx::__normal_iterator<const_wchar_t*,_std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_>_> { // Original name: reverse_iterator<__gnu_cxx::__normal_iterator<const wchar_t*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >
-};
-
-typedef struct __si_class_type_info_pseudo __si_class_type_info_pseudo, *P__si_class_type_info_pseudo;
-
-struct __si_class_type_info_pseudo {
- undefined field0_0x0;
- undefined field1_0x1;
- undefined field2_0x2;
- undefined field3_0x3;
- undefined field4_0x4;
- undefined field5_0x5;
- undefined field6_0x6;
- undefined field7_0x7;
- undefined field8_0x8;
- undefined field9_0x9;
- undefined field10_0xa;
- undefined field11_0xb;
-};
-
-typedef struct basic_filebuf<char,std::char_traits<char>_> basic_filebuf<char,std::char_traits<char>_>, *Pbasic_filebuf<char,std::char_traits<char>_>;
-
-struct basic_filebuf<char,std::char_traits<char>_> { // Original name: basic_filebuf<char,std::char_traits<char> >
-};
-
-typedef struct __pointer_type_info_pseudo __pointer_type_info_pseudo, *P__pointer_type_info_pseudo;
-
-struct __pointer_type_info_pseudo {
- undefined field0_0x0;
- undefined field1_0x1;
- undefined field2_0x2;
- undefined field3_0x3;
- undefined field4_0x4;
- undefined field5_0x5;
- undefined field6_0x6;
- undefined field7_0x7;
- undefined field8_0x8;
- undefined field9_0x9;
- undefined field10_0xa;
- undefined field11_0xb;
- undefined field12_0xc;
- undefined field13_0xd;
- undefined field14_0xe;
- undefined field15_0xf;
-};
-
-typedef struct numpunct<char> numpunct<char>, *Pnumpunct<char>;
-
-struct numpunct<char> {
-};
-
-typedef struct __enum_type_info_pseudo __enum_type_info_pseudo, *P__enum_type_info_pseudo;
-
-struct __enum_type_info_pseudo {
- undefined field0_0x0;
- undefined field1_0x1;
- undefined field2_0x2;
- undefined field3_0x3;
- undefined field4_0x4;
- undefined field5_0x5;
- undefined field6_0x6;
- undefined field7_0x7;
-};
-
-typedef struct ctype<char> ctype<char>, *Pctype<char>;
-
-struct ctype<char> {
-};
-
-typedef struct codecvt<char,char,__mbstate_t> codecvt<char,char,__mbstate_t>, *Pcodecvt<char,char,__mbstate_t>;
-
-struct codecvt<char,char,__mbstate_t> {
-};
-
-typedef struct __class_type_info __class_type_info, *P__class_type_info;
-
-struct __class_type_info {
-};
-
-typedef struct bad_alloc bad_alloc, *Pbad_alloc;
-
-struct bad_alloc {
-};
-
-typedef struct __normal_iterator<wchar_t*,std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_> __normal_iterator<wchar_t*,std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_>, *P__normal_iterator<wchar_t*,std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_>;
-
-struct __normal_iterator<wchar_t*,std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_> { // Original name: __normal_iterator<wchar_t*,std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >
-};
-
-typedef struct basic_filebuf<wchar_t,std::char_traits<wchar_t>_> basic_filebuf<wchar_t,std::char_traits<wchar_t>_>, *Pbasic_filebuf<wchar_t,std::char_traits<wchar_t>_>;
-
-struct basic_filebuf<wchar_t,std::char_traits<wchar_t>_> { // Original name: basic_filebuf<wchar_t,std::char_traits<wchar_t> >
-};
-
-typedef struct basic_ios<char,std::char_traits<char>_> basic_ios<char,std::char_traits<char>_>, *Pbasic_ios<char,std::char_traits<char>_>;
-
-struct basic_ios<char,std::char_traits<char>_> { // Original name: basic_ios<char,std::char_traits<char> >
-};
-
-typedef struct __enum_type_info __enum_type_info, *P__enum_type_info;
-
-struct __enum_type_info {
-};
-
-typedef struct reverse_iterator<__gnu_cxx::__normal_iterator<wchar_t*,_std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_>_> reverse_iterator<__gnu_cxx::__normal_iterator<wchar_t*,_std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_>_>, *Preverse_iterator<__gnu_cxx::__normal_iterator<wchar_t*,_std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_>_>;
-
-struct reverse_iterator<__gnu_cxx::__normal_iterator<wchar_t*,_std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_>_> { // Original name: reverse_iterator<__gnu_cxx::__normal_iterator<wchar_t*, std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >
-};
-
-typedef struct basic_stringbuf<char,std::char_traits<char>,std::allocator<char>_> basic_stringbuf<char,std::char_traits<char>,std::allocator<char>_>, *Pbasic_stringbuf<char,std::char_traits<char>,std::allocator<char>_>;
-
-struct basic_stringbuf<char,std::char_traits<char>,std::allocator<char>_> { // Original name: basic_stringbuf<char,std::char_traits<char>,std::allocator<char> >
-};
-
-typedef struct basic_ifstream<wchar_t,std::char_traits<wchar_t>_> basic_ifstream<wchar_t,std::char_traits<wchar_t>_>, *Pbasic_ifstream<wchar_t,std::char_traits<wchar_t>_>;
-
-struct basic_ifstream<wchar_t,std::char_traits<wchar_t>_> { // Original name: basic_ifstream<wchar_t,std::char_traits<wchar_t> >
-};
-
-typedef struct __class_type_info_pseudo __class_type_info_pseudo, *P__class_type_info_pseudo;
-
-struct __class_type_info_pseudo {
- undefined field0_0x0;
- undefined field1_0x1;
- undefined field2_0x2;
- undefined field3_0x3;
- undefined field4_0x4;
- undefined field5_0x5;
- undefined field6_0x6;
- undefined field7_0x7;
-};
-
-typedef struct basic_stringbuf<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> basic_stringbuf<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>, *Pbasic_stringbuf<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>;
-
-struct basic_stringbuf<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> { // Original name: basic_stringbuf<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
-};
-
-typedef struct __normal_iterator<const_wchar_t*,std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_> __normal_iterator<const_wchar_t*,std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_>, *P__normal_iterator<const_wchar_t*,std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_>;
-
-struct __normal_iterator<const_wchar_t*,std::basic_string<wchar_t,_std::char_traits<wchar_t>,_std::allocator<wchar_t>_>_> { // Original name: __normal_iterator<const wchar_t*,std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >
-};
-
-typedef struct basic_iostream<char,std::char_traits<char>_> basic_iostream<char,std::char_traits<char>_>, *Pbasic_iostream<char,std::char_traits<char>_>;
-
-struct basic_iostream<char,std::char_traits<char>_> { // Original name: basic_iostream<char,std::char_traits<char> >
-};
-
-typedef struct basic_ofstream<char,std::char_traits<char>_> basic_ofstream<char,std::char_traits<char>_>, *Pbasic_ofstream<char,std::char_traits<char>_>;
-
-struct basic_ofstream<char,std::char_traits<char>_> { // Original name: basic_ofstream<char,std::char_traits<char> >
-};
-
-typedef struct basic_ifstream<char,std::char_traits<char>_> basic_ifstream<char,std::char_traits<char>_>, *Pbasic_ifstream<char,std::char_traits<char>_>;
-
-struct basic_ifstream<char,std::char_traits<char>_> { // Original name: basic_ifstream<char,std::char_traits<char> >
-};
-
-typedef struct __si_class_type_info __si_class_type_info, *P__si_class_type_info;
-
-struct __si_class_type_info {
-};
-
-typedef struct basic_istringstream<char,std::char_traits<char>,std::allocator<char>_> basic_istringstream<char,std::char_traits<char>,std::allocator<char>_>, *Pbasic_istringstream<char,std::char_traits<char>,std::allocator<char>_>;
-
-struct basic_istringstream<char,std::char_traits<char>,std::allocator<char>_> { // Original name: basic_istringstream<char,std::char_traits<char>,std::allocator<char> >
-};
-
-typedef struct __fundamental_type_info __fundamental_type_info, *P__fundamental_type_info;
-
-struct __fundamental_type_info {
-};
-
-typedef struct __vmi_class_type_info __vmi_class_type_info, *P__vmi_class_type_info;
-
-struct __vmi_class_type_info {
-};
-
-typedef struct basic_ofstream<wchar_t,std::char_traits<wchar_t>_> basic_ofstream<wchar_t,std::char_traits<wchar_t>_>, *Pbasic_ofstream<wchar_t,std::char_traits<wchar_t>_>;
-
-struct basic_ofstream<wchar_t,std::char_traits<wchar_t>_> { // Original name: basic_ofstream<wchar_t,std::char_traits<wchar_t> >
-};
-
-typedef struct _IO_FILE_plus _IO_FILE_plus, *P_IO_FILE_plus;
-
-struct _IO_FILE_plus {
-};
-
-typedef struct obstack obstack, *Pobstack;
-
-struct obstack {
-};
-
-typedef struct basic_istringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> basic_istringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>, *Pbasic_istringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>;
-
-struct basic_istringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> { // Original name: basic_istringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
-};
-
-typedef struct basic_iostream<wchar_t,std::char_traits<wchar_t>_> basic_iostream<wchar_t,std::char_traits<wchar_t>_>, *Pbasic_iostream<wchar_t,std::char_traits<wchar_t>_>;
-
-struct basic_iostream<wchar_t,std::char_traits<wchar_t>_> { // Original name: basic_iostream<wchar_t,std::char_traits<wchar_t> >
-};
-
-typedef struct basic_fstream<wchar_t,std::char_traits<wchar_t>_> basic_fstream<wchar_t,std::char_traits<wchar_t>_>, *Pbasic_fstream<wchar_t,std::char_traits<wchar_t>_>;
-
-struct basic_fstream<wchar_t,std::char_traits<wchar_t>_> { // Original name: basic_fstream<wchar_t,std::char_traits<wchar_t> >
-};
-
-typedef struct basic_ostringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> basic_ostringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>, *Pbasic_ostringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>;
-
-struct basic_ostringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> { // Original name: basic_ostringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
-};
-
-typedef struct basic_ostringstream<char,std::char_traits<char>,std::allocator<char>_> basic_ostringstream<char,std::char_traits<char>,std::allocator<char>_>, *Pbasic_ostringstream<char,std::char_traits<char>,std::allocator<char>_>;
-
-struct basic_ostringstream<char,std::char_traits<char>,std::allocator<char>_> { // Original name: basic_ostringstream<char,std::char_traits<char>,std::allocator<char> >
-};
-
-typedef struct basic_stringstream<char,std::char_traits<char>,std::allocator<char>_> basic_stringstream<char,std::char_traits<char>,std::allocator<char>_>, *Pbasic_stringstream<char,std::char_traits<char>,std::allocator<char>_>;
-
-struct basic_stringstream<char,std::char_traits<char>,std::allocator<char>_> { // Original name: basic_stringstream<char,std::char_traits<char>,std::allocator<char> >
-};
-
-typedef struct basic_fstream<char,std::char_traits<char>_> basic_fstream<char,std::char_traits<char>_>, *Pbasic_fstream<char,std::char_traits<char>_>;
-
-struct basic_fstream<char,std::char_traits<char>_> { // Original name: basic_fstream<char,std::char_traits<char> >
-};
-
-typedef struct num_put<char,std::ostreambuf_iterator<char,_std::char_traits<char>_>_> num_put<char,std::ostreambuf_iterator<char,_std::char_traits<char>_>_>, *Pnum_put<char,std::ostreambuf_iterator<char,_std::char_traits<char>_>_>;
-
-struct num_put<char,std::ostreambuf_iterator<char,_std::char_traits<char>_>_> { // Original name: num_put<char,std::ostreambuf_iterator<char, std::char_traits<char> > >
-};
-
-typedef struct basic_stringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> basic_stringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>, *Pbasic_stringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>;
-
-struct basic_stringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> { // Original name: basic_stringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t> >
-};
-
-typedef struct _IO_cookie_file _IO_cookie_file, *P_IO_cookie_file;
-
-struct _IO_cookie_file {
-};
-
-typedef struct basic_ios<wchar_t,std::char_traits<wchar_t>_> basic_ios<wchar_t,std::char_traits<wchar_t>_>, *Pbasic_ios<wchar_t,std::char_traits<wchar_t>_>;
-
-struct basic_ios<wchar_t,std::char_traits<wchar_t>_> { // Original name: basic_ios<wchar_t,std::char_traits<wchar_t> >
-};
-
-typedef struct num_get<char,std::istreambuf_iterator<char,_std::char_traits<char>_>_> num_get<char,std::istreambuf_iterator<char,_std::char_traits<char>_>_>, *Pnum_get<char,std::istreambuf_iterator<char,_std::char_traits<char>_>_>;
-
-struct num_get<char,std::istreambuf_iterator<char,_std::char_traits<char>_>_> { // Original name: num_get<char,std::istreambuf_iterator<char, std::char_traits<char> > >
-};
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/__dirstream - /dirent.h/__dirstream
-
-typedef struct storeunit<TPlayerIndexLeafNode,100> storeunit;
-
-typedef struct __sigset_t anon_unknown.dwarf_28aa3e;
-
-typedef struct __sigset_t anon_unknown.dwarf_2b7894;
-
-typedef struct __sigset_t anon_unknown.dwarf_2cbbea;
-
-typedef struct __sigset_t anon_unknown.dwarf_22fecb;
-
-typedef struct __sigset_t anon_unknown.dwarf_227ae;
-
-typedef struct __sigset_t anon_unknown.dwarf_14b701;
-
-typedef struct __sigset_t anon_unknown.dwarf_ec758;
-
-typedef struct __sigset_t anon_unknown.dwarf_102239;
-
-typedef struct __sigset_t anon_unknown.dwarf_273921;
-
-typedef struct __sigset_t anon_unknown.dwarf_1ac72b;
-
-typedef struct __sigset_t anon_unknown.dwarf_1ff902;
-
-typedef struct __sigset_t anon_unknown.dwarf_83c50;
-
-typedef struct __sigset_t anon_unknown.dwarf_16ba91;
-
-typedef struct __sigset_t anon_unknown.dwarf_12abd9;
-
-typedef struct __sigset_t anon_unknown.dwarf_5328a;
-
-typedef struct __sigset_t anon_unknown.dwarf_1e5d74;
-
-typedef struct __sigset_t anon_unknown.dwarf_c4c20;
-
-typedef struct __sigset_t anon_unknown.dwarf_42618;
-
-typedef struct __sigset_t anon_unknown.dwarf_25d7c6;
-
-typedef struct __sigset_t anon_unknown.dwarf_dd3e6;
-
-typedef struct __sigset_t anon_unknown.dwarf_a91d2;
-
-typedef struct __sigset_t anon_unknown.dwarf_191d22;
-
-typedef struct __sigset_t anon_unknown.dwarf_63a16;
-
-typedef struct __sigset_t anon_unknown.dwarf_96eae;
-
-typedef struct __sigset_t anon_unknown.dwarf_d465;
-
-typedef struct __sigset_t anon_unknown.dwarf_746ed;
-
-typedef struct __sigset_t anon_unknown.dwarf_2bea79;
-
-typedef struct __sigset_t anon_unknown.dwarf_243fa7;
-
-typedef struct __sigset_t anon_unknown.dwarf_216bda;
-
-typedef struct __sigset_t anon_unknown.dwarf_29d2f2;
-
-typedef struct __sigset_t anon_unknown.dwarf_113095;
-
-typedef struct __sigset_t anon_unknown.dwarf_1c8cbc;
-
-typedef struct __sigset_t anon_unknown.dwarf_3193b;
-
-typedef struct store<TPlayerIndexInternalNode,100> store;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_25f167;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_2b7975;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_23186c;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_28c3df;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_3554c;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_29ec93;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_46257;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_21857b;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_56a9e;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_2bec56;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_14d083;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_9884f;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_13e093;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_1ae0cc;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_1936c3;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_245948;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_ee06;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_de7ac;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_65398;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_1e7715;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_16d432;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_24a47;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_1ca65d;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_114a36;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_274ce7;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_2ccfb0;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_2012a3;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_1041e9;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_b79ac;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_89dd6;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_ee0f9;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_c65a2;
-
-typedef struct pthread_cond_t anon_unknown.dwarf_768c5;
-
-typedef struct vector<THouse> vector;
-
-typedef struct _Is_integer<signed_char> _Is_integer;
-
-typedef struct __type_traits<short_int> __type_traits;
-
-typedef struct numeric_limits<int> numeric_limits;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_19f1ca;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_1bb7e2;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_1d8867;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_f4d63;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_9be4f;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_27d309;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_df555;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_b7602;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_209878;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_351c9;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_13dd1b;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_6717d;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_cff8b;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_2ac1ee;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_236b3c;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_45ead;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_566f4;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_89a2c;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_28feeb;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_105de0;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_76526;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_2cd994;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_184832;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_152a6;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_1f25a7;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_222855;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_15e493;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_2469d;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_2b753a;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_11d900;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_250490;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_2bf1b8;
-
-typedef struct _G_fpos64_t anon_unknown.dwarf_2665b0;
-
-typedef struct listnode<storeunit<TWaitinglistEntry,_100>_> listnode;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/iterator<std::input_iterator_tag,char,long_int,char*,char&>/iterator - /DWARF/basic_string.h/basic_string<char,std::char_traits<char>,std::allocator<char>_>/iterator
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_2befa5;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_d04fb;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_13e32f;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_67703;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_56d3a;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_106350;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_464f3;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_1bbd52;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_27d86e;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_76b61;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_15816;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_8a072;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_f52b7;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_2b7c11;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_19f73a;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_2509e4;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_2cdf18;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_9c3bf;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_dfac1;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_1d8dd7;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_2ac75e;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_357e8;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_209de8;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_222dc5;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_266b20;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_2370ac;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_b7c48;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_24ce3;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_184d86;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_29045b;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_15e9e7;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_1f2b17;
-
-typedef struct pthread_barrier_t anon_unknown.dwarf_11de70;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TSkillData>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TNonplayer*>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-typedef union _G_iconv_t anon_unknown.dwarf_e0f98;
-
-typedef union _G_iconv_t anon_unknown.dwarf_1a0f6b;
-
-typedef union _G_iconv_t anon_unknown.dwarf_27f27e;
-
-typedef union _G_iconv_t anon_unknown.dwarf_268161;
-
-typedef union _G_iconv_t anon_unknown.dwarf_36e58;
-
-typedef union _G_iconv_t anon_unknown.dwarf_8b6ee;
-
-typedef union _G_iconv_t anon_unknown.dwarf_b9460;
-
-typedef union _G_iconv_t anon_unknown.dwarf_11f419;
-
-typedef union _G_iconv_t anon_unknown.dwarf_16fee;
-
-typedef union _G_iconv_t anon_unknown.dwarf_2ae166;
-
-typedef union _G_iconv_t anon_unknown.dwarf_180f;
-
-typedef union _G_iconv_t anon_unknown.dwarf_f6a79;
-
-typedef union _G_iconv_t anon_unknown.dwarf_22470b;
-
-typedef union _G_iconv_t anon_unknown.dwarf_1f4142;
-
-typedef union _G_iconv_t anon_unknown.dwarf_1078d5;
-
-typedef union _G_iconv_t anon_unknown.dwarf_2617b;
-
-typedef union _G_iconv_t anon_unknown.dwarf_47aca;
-
-typedef union _G_iconv_t anon_unknown.dwarf_d1c26;
-
-typedef union _G_iconv_t anon_unknown.dwarf_291b32;
-
-typedef union _G_iconv_t anon_unknown.dwarf_7801b;
-
-typedef union _G_iconv_t anon_unknown.dwarf_68f2d;
-
-typedef union _G_iconv_t anon_unknown.dwarf_252006;
-
-typedef union _G_iconv_t anon_unknown.dwarf_9da12;
-
-typedef union _G_iconv_t anon_unknown.dwarf_1bd4fc;
-
-typedef union _G_iconv_t anon_unknown.dwarf_2c042a;
-
-typedef union _G_iconv_t anon_unknown.dwarf_1602d1;
-
-typedef union _G_iconv_t anon_unknown.dwarf_1da5b4;
-
-typedef union _G_iconv_t anon_unknown.dwarf_2bf317;
-
-typedef union _G_iconv_t anon_unknown.dwarf_20b41a;
-
-typedef union _G_iconv_t anon_unknown.dwarf_13fa2f;
-
-typedef union _G_iconv_t anon_unknown.dwarf_2387e7;
-
-typedef union _G_iconv_t anon_unknown.dwarf_186562;
-
-typedef union _G_iconv_t anon_unknown.dwarf_58256;
-
-typedef struct list<storeunit<TWaitinglistEntry,_100>_> list;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TDelayedMail>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-typedef struct listIterator<storeunit<TWaitinglistEntry,_100>_> listIterator;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TSpellData>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/listnode<storeunit<TNode,_256>_>/listnode - /DWARF/_UNCATEGORIZED_/listnode<storeunit<TWaitinglistEntry,_100>_>/listnode
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/storeunit<TPlayerIndexInternalNode,100>/storeunit - /DWARF/_UNCATEGORIZED_/storeunit<TPlayerIndexLeafNode,100>/storeunit
-
-typedef struct matrix<TShortwayPoint> matrix;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TCronEntry>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TToDoEntry>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/list<TStaticStringTableBlock>/list - /DWARF/_UNCATEGORIZED_/list<storeunit<TWaitinglistEntry,_100>_>/list
-
-typedef struct istreambuf_iterator<char,std::char_traits<char>_> istreambuf_iterator<char,std::char_traits<char>_>, *Pistreambuf_iterator<char,std::char_traits<char>_>;
-
-typedef struct istreambuf_iterator<char,std::char_traits<char>_> istreambuf_iterator;
-
-struct istreambuf_iterator<char,std::char_traits<char>_> { // Original name: istreambuf_iterator<char,std::char_traits<char> >
-Missing member super_iterator<std::input_iterator_tag,char,long_int,char*,char&> : iterator<std::input_iterator_tag,char,long_int,char*,char&> at offset 0x0 [conflicting member at same offset]
- struct basic_streambuf<char,std::char_traits<char>_> *_M_sbuf;
- int _M_c;
-};
-
-typedef struct _G_fpos_t anon_unknown.dwarf_34a70;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_265e0e;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_1f1e05;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_23f35;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_9b6ad;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_b6e6a;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_11d15e;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_1840a2;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_55f63;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_1d80cf;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_2b6f0e;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_75d97;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_2aba62;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_f45c1;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_891ec;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_10563e;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_669ff;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_27cb7d;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_2090d6;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_deded;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_1bb040;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_2bf124;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_2cd25f;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_15dc6b;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_2363b0;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_19ea32;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_14a78;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_24fcee;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_13d571;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_45703;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_cf7e9;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_2220b3;
-
-typedef struct _G_fpos_t anon_unknown.dwarf_28f749;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/listIterator<TStaticStringTableBlock>/listIterator - /DWARF/_UNCATEGORIZED_/listIterator<storeunit<TWaitinglistEntry,_100>_>/listIterator
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TCondition>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/matrix<int>/matrix - /DWARF/_UNCATEGORIZED_/matrix<TShortwayPoint>/matrix
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/listIterator<storeunit<TPlayerIndexLeafNode,_100>_>/listIterator - /DWARF/_UNCATEGORIZED_/listIterator<storeunit<TWaitinglistEntry,_100>_>/listIterator
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<THouseGuest>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<long_unsigned_int>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-typedef struct __default_alloc_template<true,0> __default_alloc_template;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_1221c7;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_e3d46;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_2b0b7b;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_39c06;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_6bcdb;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_10a683;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_23b595;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_7adc9;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_1c02aa;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_26af0f;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_bc20e;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_2c31d8;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_1f6ef0;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_20e1c8;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_1dd362;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_d49d4;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_28202c;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_f9827;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_16307f;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_28f29;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_2948e0;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_45bd;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_254db4;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_8e49c;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_1a3d19;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_5b004;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_2274b9;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_2bedb5;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_a07c0;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_4a878;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_189310;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_1427dd;
-
-typedef struct pthread_mutex_t anon_unknown.dwarf_19d9c;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_89f08;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_27d704;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_2ac5f4;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_769f7;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_9c255;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_3567e;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_2902f1;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_156ac;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_46389;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_1d8c6d;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_2bee3b;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_222c5b;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_236f42;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_df957;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_24b79;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_2cddae;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_2b7aa7;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_13e1c5;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_11dd06;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_1061e6;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_15e87d;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_1f29ad;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_56bd0;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_25087a;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_b7ade;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_f514d;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_209c7e;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_67599;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_19f5d0;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_2669b6;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_d0391;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_184c1c;
-
-typedef struct pthread_mutexattr_t anon_unknown.dwarf_1bbbe8;
-
-typedef struct basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> basic_string;
-
-typedef union storeitem<TNode> storeitem;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/listIterator<storeunit<TPlayerIndexInternalNode,_100>_>/listIterator - /DWARF/_UNCATEGORIZED_/listIterator<storeunit<TWaitinglistEntry,_100>_>/listIterator
-
-typedef struct priority_queue_entry<long_unsigned_int,TAttackWave*> priority_queue_entry;
-
-typedef struct char_traits<wchar_t> char_traits;
-
-typedef struct ldiv_t ldiv_t, *Pldiv_t;
-
-typedef struct ldiv_t anon_unknown.dwarf_1bbf42;
-
-struct ldiv_t {
- long quot;
- long rem;
-};
-
-typedef struct ldiv_t anon_unknown.dwarf_56f2a;
-
-typedef struct ldiv_t anon_unknown.dwarf_27da79;
-
-typedef struct ldiv_t anon_unknown.dwarf_24ed3;
-
-typedef struct ldiv_t anon_unknown.dwarf_23729c;
-
-typedef struct ldiv_t anon_unknown.dwarf_76d51;
-
-typedef struct ldiv_t anon_unknown.dwarf_184f76;
-
-typedef struct ldiv_t anon_unknown.dwarf_29064b;
-
-typedef struct ldiv_t anon_unknown.dwarf_250bd4;
-
-typedef struct ldiv_t anon_unknown.dwarf_2ce108;
-
-typedef struct ldiv_t anon_unknown.dwarf_f54a7;
-
-typedef struct ldiv_t anon_unknown.dwarf_19f92a;
-
-typedef struct ldiv_t anon_unknown.dwarf_2be4f8;
-
-typedef struct ldiv_t anon_unknown.dwarf_15a21;
-
-typedef struct ldiv_t anon_unknown.dwarf_d06eb;
-
-typedef struct ldiv_t anon_unknown.dwarf_1d8fc7;
-
-typedef struct ldiv_t anon_unknown.dwarf_13e51f;
-
-typedef struct ldiv_t anon_unknown.dwarf_11e060;
-
-typedef struct ldiv_t anon_unknown.dwarf_359d8;
-
-typedef struct ldiv_t anon_unknown.dwarf_dfca6;
-
-typedef struct ldiv_t anon_unknown.dwarf_222fb5;
-
-typedef struct ldiv_t anon_unknown.dwarf_2b7de0;
-
-typedef struct ldiv_t anon_unknown.dwarf_106540;
-
-typedef struct ldiv_t anon_unknown.dwarf_678f3;
-
-typedef struct ldiv_t anon_unknown.dwarf_15ebd7;
-
-typedef struct ldiv_t anon_unknown.dwarf_8a262;
-
-typedef struct ldiv_t anon_unknown.dwarf_2ac94e;
-
-typedef struct ldiv_t anon_unknown.dwarf_1f2d07;
-
-typedef struct ldiv_t anon_unknown.dwarf_9c5af;
-
-typedef struct ldiv_t anon_unknown.dwarf_209fd8;
-
-typedef struct ldiv_t anon_unknown.dwarf_466e3;
-
-typedef struct ldiv_t anon_unknown.dwarf_b7e38;
-
-typedef struct ldiv_t anon_unknown.dwarf_266d10;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/iterator<std::random_access_iterator_tag,char,int,char*,char&>/iterator - /DWARF/basic_string.h/basic_string<char,std::char_traits<char>,std::allocator<char>_>/iterator
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/listnode<storeunit<TPlayerIndexLeafNode,_100>_>/listnode - /DWARF/_UNCATEGORIZED_/listnode<storeunit<TWaitinglistEntry,_100>_>/listnode
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/iterator<std::random_access_iterator_tag,char,int,const_char*,const_char&>/iterator - /DWARF/basic_string.h/basic_string<char,std::char_traits<char>,std::allocator<char>_>/iterator
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_154d0;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_13df34;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_209aa2;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_2667da;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_248c7;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_184a4b;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_2506a9;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_b782c;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_76750;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_2b7764;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_673a7;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_2bf4ed;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_19f3f4;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_5691e;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_1f27d1;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_290115;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_1d8a91;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_df770;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_353e2;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_10600a;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_11db2a;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_2ac418;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_460d7;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_9c079;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_f4f7c;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_15e6ac;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_2cdbbe;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_1bba0c;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_222a7f;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_d01b5;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_236d66;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_27d533;
-
-typedef struct _IO_cookie_io_functions_t anon_unknown.dwarf_89c56;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TAction>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/iterator<std::output_iterator_tag,void,void,void,void>/iterator - /DWARF/basic_string.h/basic_string<char,std::char_traits<char>,std::allocator<char>_>/iterator
-
-typedef struct allocator<void> allocator;
-
-typedef struct __basic_file<char> __basic_file;
-
-typedef struct fifoIterator<TStatement> fifoIterator;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/fifoIterator<TListener>/fifoIterator - /DWARF/_UNCATEGORIZED_/fifoIterator<TStatement>/fifoIterator
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<priority_queue_entry<long_unsigned_int,_long_unsigned_int>_>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TBehaviour>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-typedef struct fd_set anon_unknown.dwarf_b80c8;
-
-typedef struct fd_set anon_unknown.dwarf_46973;
-
-typedef struct fd_set anon_unknown.dwarf_2acbc8;
-
-typedef struct fd_set anon_unknown.dwarf_11e2f0;
-
-typedef struct fd_set anon_unknown.dwarf_2908db;
-
-typedef struct fd_set anon_unknown.dwarf_237516;
-
-typedef struct fd_set anon_unknown.dwarf_f5737;
-
-typedef struct fd_set anon_unknown.dwarf_266fa0;
-
-typedef struct fd_set anon_unknown.dwarf_2beb25;
-
-typedef struct fd_set anon_unknown.dwarf_67b83;
-
-typedef struct fd_set anon_unknown.dwarf_2ce398;
-
-typedef struct fd_set anon_unknown.dwarf_9c83f;
-
-typedef struct fd_set anon_unknown.dwarf_dff36;
-
-typedef struct fd_set anon_unknown.dwarf_250e64;
-
-typedef struct fd_set anon_unknown.dwarf_1bc1d2;
-
-typedef struct fd_set anon_unknown.dwarf_35c68;
-
-typedef struct fd_set anon_unknown.dwarf_1d9257;
-
-typedef struct fd_set anon_unknown.dwarf_1067d0;
-
-typedef struct fd_set anon_unknown.dwarf_19fbba;
-
-typedef struct fd_set anon_unknown.dwarf_223245;
-
-typedef struct fd_set anon_unknown.dwarf_27dcf3;
-
-typedef struct fd_set anon_unknown.dwarf_20a268;
-
-typedef struct fd_set anon_unknown.dwarf_13e7af;
-
-typedef struct fd_set anon_unknown.dwarf_185206;
-
-typedef struct fd_set anon_unknown.dwarf_76fe1;
-
-typedef struct fd_set anon_unknown.dwarf_8a4f2;
-
-typedef struct fd_set anon_unknown.dwarf_25163;
-
-typedef struct fd_set anon_unknown.dwarf_15cb1;
-
-typedef struct fd_set anon_unknown.dwarf_d097b;
-
-typedef struct fd_set anon_unknown.dwarf_1f2f97;
-
-typedef struct fd_set anon_unknown.dwarf_15ee67;
-
-typedef struct fd_set anon_unknown.dwarf_2b8086;
-
-typedef struct fd_set anon_unknown.dwarf_571ba;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/storeunit<TNode,256>/storeunit - /DWARF/_UNCATEGORIZED_/storeunit<TPlayerIndexLeafNode,100>/storeunit
-
-typedef struct priority_queue<long_unsigned_int,long_unsigned_int> priority_queue;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/storeitem<TPlayerIndexLeafNode>/storeitem - /DWARF/_UNCATEGORIZED_/storeitem<TNode>/storeitem
-
-typedef struct iterator_traits<const_char*> iterator_traits;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TCreature*>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-typedef struct __fsid_t anon_unknown.dwarf_9bc8b;
-
-typedef struct __fsid_t anon_unknown.dwarf_105c1c;
-
-typedef struct __fsid_t anon_unknown.dwarf_19f018;
-
-typedef struct __fsid_t anon_unknown.dwarf_2cd7d1;
-
-typedef struct __fsid_t anon_unknown.dwarf_2be71d;
-
-typedef struct __fsid_t anon_unknown.dwarf_45ce9;
-
-typedef struct __fsid_t anon_unknown.dwarf_df392;
-
-typedef struct __fsid_t anon_unknown.dwarf_2ac035;
-
-typedef struct __fsid_t anon_unknown.dwarf_1f23e3;
-
-typedef struct __fsid_t anon_unknown.dwarf_cfdc7;
-
-typedef struct __fsid_t anon_unknown.dwarf_15e2cf;
-
-typedef struct __fsid_t anon_unknown.dwarf_1bb61e;
-
-typedef struct __fsid_t anon_unknown.dwarf_89868;
-
-typedef struct __fsid_t anon_unknown.dwarf_3503d;
-
-typedef struct __fsid_t anon_unknown.dwarf_2502cc;
-
-typedef struct __fsid_t anon_unknown.dwarf_184680;
-
-typedef struct __fsid_t anon_unknown.dwarf_b7450;
-
-typedef struct __fsid_t anon_unknown.dwarf_f4b9f;
-
-typedef struct __fsid_t anon_unknown.dwarf_236983;
-
-typedef struct __fsid_t anon_unknown.dwarf_27d150;
-
-typedef struct __fsid_t anon_unknown.dwarf_76363;
-
-typedef struct __fsid_t anon_unknown.dwarf_2b7372;
-
-typedef struct __fsid_t anon_unknown.dwarf_56530;
-
-typedef struct __fsid_t anon_unknown.dwarf_244da;
-
-typedef struct __fsid_t anon_unknown.dwarf_66fba;
-
-typedef struct __fsid_t anon_unknown.dwarf_13db57;
-
-typedef struct __fsid_t anon_unknown.dwarf_2096b4;
-
-typedef struct __fsid_t anon_unknown.dwarf_28fd27;
-
-typedef struct __fsid_t anon_unknown.dwarf_1d86b5;
-
-typedef struct __fsid_t anon_unknown.dwarf_11d73c;
-
-typedef struct __fsid_t anon_unknown.dwarf_2663ec;
-
-typedef struct __fsid_t anon_unknown.dwarf_150e2;
-
-typedef struct __fsid_t anon_unknown.dwarf_222691;
-
-typedef struct __pad<char,std::char_traits<char>_> __pad<char,std::char_traits<char>_>, *P__pad<char,std::char_traits<char>_>;
-
-typedef struct __pad<char,std::char_traits<char>_> __pad;
-
-struct __pad<char,std::char_traits<char>_> { // Original name: __pad<char,std::char_traits<char> >
-};
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/matrix<long_unsigned_int>/matrix - /DWARF/_UNCATEGORIZED_/matrix<TShortwayPoint>/matrix
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/listnode<storeunit<TPlayerIndexInternalNode,_100>_>/listnode - /DWARF/_UNCATEGORIZED_/listnode<storeunit<TWaitinglistEntry,_100>_>/listnode
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/priority_queue_entry<long_unsigned_int,long_unsigned_int>/priority_queue_entry - /DWARF/_UNCATEGORIZED_/priority_queue_entry<long_unsigned_int,TAttackWave*>/priority_queue_entry
-
-typedef struct mcontext_t anon_unknown.dwarf_16c4b4;
-
-typedef struct mcontext_t anon_unknown.dwarf_113ab8;
-
-typedef struct mcontext_t anon_unknown.dwarf_192745;
-
-typedef struct mcontext_t anon_unknown.dwarf_231d1;
-
-typedef struct mcontext_t anon_unknown.dwarf_a9bf5;
-
-typedef struct mcontext_t anon_unknown.dwarf_3235e;
-
-typedef struct mcontext_t anon_unknown.dwarf_64439;
-
-typedef struct mcontext_t anon_unknown.dwarf_1c96df;
-
-typedef struct mcontext_t anon_unknown.dwarf_29dd15;
-
-typedef struct mcontext_t anon_unknown.dwarf_2175fd;
-
-typedef struct mcontext_t anon_unknown.dwarf_102c5c;
-
-typedef struct mcontext_t anon_unknown.dwarf_274344;
-
-typedef struct mcontext_t anon_unknown.dwarf_75110;
-
-typedef struct mcontext_t anon_unknown.dwarf_2449ca;
-
-typedef struct mcontext_t anon_unknown.dwarf_2cc60d;
-
-typedef struct mcontext_t anon_unknown.dwarf_12b5fc;
-
-typedef struct mcontext_t anon_unknown.dwarf_2308ee;
-
-typedef struct mcontext_t anon_unknown.dwarf_ed17b;
-
-typedef struct mcontext_t anon_unknown.dwarf_25e1e9;
-
-typedef struct mcontext_t anon_unknown.dwarf_53cad;
-
-typedef struct mcontext_t anon_unknown.dwarf_200325;
-
-typedef struct mcontext_t anon_unknown.dwarf_de88;
-
-typedef struct mcontext_t anon_unknown.dwarf_c5643;
-
-typedef struct mcontext_t anon_unknown.dwarf_28b461;
-
-typedef struct mcontext_t anon_unknown.dwarf_84673;
-
-typedef struct mcontext_t anon_unknown.dwarf_978d1;
-
-typedef struct mcontext_t anon_unknown.dwarf_dde09;
-
-typedef struct mcontext_t anon_unknown.dwarf_4303b;
-
-typedef struct mcontext_t anon_unknown.dwarf_14c124;
-
-typedef struct mcontext_t anon_unknown.dwarf_1ad14e;
-
-typedef struct mcontext_t anon_unknown.dwarf_1e6797;
-
-typedef struct failure failure, *Pfailure;
-
-struct failure {
-};
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/storeunit<TWaitinglistEntry,100>/storeunit - /DWARF/_UNCATEGORIZED_/storeunit<TPlayerIndexLeafNode,100>/storeunit
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TReportedStatement>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_2b7a0b;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_f50b1;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_19f534;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_10614a;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_462ed;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_27d668;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_df8bb;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_2ac558;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_2becec;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_56b34;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_89e6c;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_674fd;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_1bbb4c;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_1d8bd1;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_26691a;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_d02f5;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_13e129;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_290255;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_236ea6;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_355e2;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_209be2;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_2cdd12;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_24add;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_7695b;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_15610;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_2507de;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_1f2911;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_184b80;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_222bbf;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_b7a42;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_11dc6a;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_9c1b9;
-
-typedef struct pthread_condattr_t anon_unknown.dwarf_15e7e1;
-
-typedef struct fifo<TListener> fifo;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/store<TPlayerIndexLeafNode,100>/store - /DWARF/_UNCATEGORIZED_/store<TPlayerIndexInternalNode,100>/store
-
-typedef struct fpos<__mbstate_t> fpos;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TMonsterhome>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-typedef struct __normal_iterator<char*,std::basic_string<char,_std::char_traits<char>,_std::allocator<char>_>_> __normal_iterator;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<priority_queue_entry<long_unsigned_int,_TAttackWave*>_>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-typedef struct __mbstate_t anon_unknown.dwarf_1698a;
-
-typedef struct __mbstate_t anon_unknown.dwarf_f6415;
-
-typedef struct __mbstate_t anon_unknown.dwarf_25b17;
-
-typedef struct __mbstate_t anon_unknown.dwarf_9d3ae;
-
-typedef struct __mbstate_t anon_unknown.dwarf_47466;
-
-typedef struct __mbstate_t anon_unknown.dwarf_185efe;
-
-typedef struct __mbstate_t anon_unknown.dwarf_11ab;
-
-typedef struct __mbstate_t anon_unknown.dwarf_15fc6d;
-
-typedef struct __mbstate_t anon_unknown.dwarf_2adaec;
-
-typedef struct __mbstate_t anon_unknown.dwarf_8b08a;
-
-typedef struct __mbstate_t anon_unknown.dwarf_2240a7;
-
-typedef struct __mbstate_t anon_unknown.dwarf_13f3cb;
-
-typedef struct __mbstate_t anon_unknown.dwarf_107271;
-
-typedef struct __mbstate_t anon_unknown.dwarf_267afd;
-
-typedef struct __mbstate_t anon_unknown.dwarf_57bf2;
-
-typedef struct __mbstate_t anon_unknown.dwarf_1bce98;
-
-typedef struct __mbstate_t anon_unknown.dwarf_b8dfc;
-
-typedef struct __mbstate_t anon_unknown.dwarf_367f4;
-
-typedef struct __mbstate_t anon_unknown.dwarf_688c9;
-
-typedef struct __mbstate_t anon_unknown.dwarf_20adb6;
-
-typedef struct __mbstate_t anon_unknown.dwarf_2b9d7a;
-
-typedef struct __mbstate_t anon_unknown.dwarf_11edb5;
-
-typedef struct __mbstate_t anon_unknown.dwarf_e0934;
-
-typedef struct __mbstate_t anon_unknown.dwarf_1d9f50;
-
-typedef struct __mbstate_t anon_unknown.dwarf_2914ce;
-
-typedef struct __mbstate_t anon_unknown.dwarf_2bfdc6;
-
-typedef struct __mbstate_t anon_unknown.dwarf_1f3ade;
-
-typedef struct __mbstate_t anon_unknown.dwarf_d15c2;
-
-typedef struct __mbstate_t anon_unknown.dwarf_1a0907;
-
-typedef struct __mbstate_t anon_unknown.dwarf_238183;
-
-typedef struct __mbstate_t anon_unknown.dwarf_2519a2;
-
-typedef struct __mbstate_t anon_unknown.dwarf_27ec1a;
-
-typedef struct __mbstate_t anon_unknown.dwarf_779b7;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_1589c;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_209e6e;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_1d8e5d;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_67789;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_222e4b;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_3586e;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_d0581;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_184e0c;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_266ba6;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_2b7c97;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_2ac7e4;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_1f2b9d;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_15ea6d;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_11def6;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_46579;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_250a6a;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_b7cce;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_27d8f4;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_9c445;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_24d69;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_2904e1;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_1063d6;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_1bbdd8;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_19f7c0;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_76be7;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_8a0f8;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_2bf02b;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_13e3b5;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_f533d;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_56dc0;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_2cdf9e;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_237132;
-
-typedef struct pthread_barrierattr_t anon_unknown.dwarf_dfb47;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/list<storeunit<TNode,_256>_>/list - /DWARF/_UNCATEGORIZED_/list<storeunit<TWaitinglistEntry,_100>_>/list
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TObjectType>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_2cde58;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_9c2ff;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_2ac69e;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_1d8d17;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_24c23;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_184cc6;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_76aa1;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_35728;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_b7b88;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_29039b;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_266a60;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_222d05;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_27d7ae;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_89fb2;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_1f2a57;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_d043b;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_dfa01;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_13e26f;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_2beee5;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_f51f7;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_46433;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_67643;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_236fec;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_106290;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_1bbc92;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_56c7a;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_15e927;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_209d28;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_15756;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_250924;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_2b7b51;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_19f67a;
-
-typedef struct pthread_rwlockattr_t anon_unknown.dwarf_11ddb0;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TPlayer*>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TMark>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/listIterator<storeunit<TNode,_256>_>/listIterator - /DWARF/_UNCATEGORIZED_/listIterator<storeunit<TWaitinglistEntry,_100>_>/listIterator
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TChannel>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TMoveUseAction>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/list<TDynamicStringTableBlock>/list - /DWARF/_UNCATEGORIZED_/list<storeunit<TWaitinglistEntry,_100>_>/list
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TMoveUseCondition>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/basic_string<char,std::char_traits<char>,std::allocator<char>_>/basic_string - /DWARF/_UNCATEGORIZED_/basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_>/basic_string
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/listnode<TStaticStringTableBlock>/listnode - /DWARF/_UNCATEGORIZED_/listnode<storeunit<TWaitinglistEntry,_100>_>/listnode
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<THouseArea>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/store<TWaitinglistEntry,100>/store - /DWARF/_UNCATEGORIZED_/store<TPlayerIndexInternalNode,100>/store
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/list<storeunit<TPlayerIndexLeafNode,_100>_>/list - /DWARF/_UNCATEGORIZED_/list<storeunit<TWaitinglistEntry,_100>_>/list
-
-typedef struct _Swap_lock_struct<0> _Swap_lock_struct<0>, *P_Swap_lock_struct<0>;
-
-typedef struct _Swap_lock_struct<0> _Swap_lock_struct;
-
-struct _Swap_lock_struct<0> {
-};
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/storeitem<TWaitinglistEntry>/storeitem - /DWARF/_UNCATEGORIZED_/storeitem<TNode>/storeitem
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TItemData>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/priority_queue<long_unsigned_int,TAttackWave*>/priority_queue - /DWARF/_UNCATEGORIZED_/priority_queue<long_unsigned_int,long_unsigned_int>/priority_queue
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/list<storeunit<TPlayerIndexInternalNode,_100>_>/list - /DWARF/_UNCATEGORIZED_/list<storeunit<TWaitinglistEntry,_100>_>/list
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TDepotInfo>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/fifo<TStatement>/fifo - /DWARF/_UNCATEGORIZED_/fifo<TListener>/fifo
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<THelpDepot>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/listnode<TDynamicStringTableBlock>/listnode - /DWARF/_UNCATEGORIZED_/listnode<storeunit<TWaitinglistEntry,_100>_>/listnode
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/storeitem<TPlayerIndexInternalNode>/storeitem - /DWARF/_UNCATEGORIZED_/storeitem<TNode>/storeitem
-
-typedef struct lldiv_t lldiv_t, *Plldiv_t;
-
-typedef struct lldiv_t anon_unknown.dwarf_18500a;
-
-struct lldiv_t {
- longlong quot;
- longlong rem;
-};
-
-typedef struct lldiv_t anon_unknown.dwarf_67987;
-
-typedef struct lldiv_t anon_unknown.dwarf_11e0f4;
-
-typedef struct lldiv_t anon_unknown.dwarf_2906df;
-
-typedef struct lldiv_t anon_unknown.dwarf_266da4;
-
-typedef struct lldiv_t anon_unknown.dwarf_2ac9e2;
-
-typedef struct lldiv_t anon_unknown.dwarf_1f2d9b;
-
-typedef struct lldiv_t anon_unknown.dwarf_15ec6b;
-
-typedef struct lldiv_t anon_unknown.dwarf_46777;
-
-typedef struct lldiv_t anon_unknown.dwarf_20a06c;
-
-typedef struct lldiv_t anon_unknown.dwarf_27db0d;
-
-typedef struct lldiv_t anon_unknown.dwarf_b7ecc;
-
-typedef struct lldiv_t anon_unknown.dwarf_2be58c;
-
-typedef struct lldiv_t anon_unknown.dwarf_250c68;
-
-typedef struct lldiv_t anon_unknown.dwarf_9c643;
-
-typedef struct lldiv_t anon_unknown.dwarf_24f67;
-
-typedef struct lldiv_t anon_unknown.dwarf_56fbe;
-
-typedef struct lldiv_t anon_unknown.dwarf_1065d4;
-
-typedef struct lldiv_t anon_unknown.dwarf_2ce19c;
-
-typedef struct lldiv_t anon_unknown.dwarf_223049;
-
-typedef struct lldiv_t anon_unknown.dwarf_1bbfd6;
-
-typedef struct lldiv_t anon_unknown.dwarf_76de5;
-
-typedef struct lldiv_t anon_unknown.dwarf_8a2f6;
-
-typedef struct lldiv_t anon_unknown.dwarf_1d905b;
-
-typedef struct lldiv_t anon_unknown.dwarf_13e5b3;
-
-typedef struct lldiv_t anon_unknown.dwarf_2b7e74;
-
-typedef struct lldiv_t anon_unknown.dwarf_dfd3a;
-
-typedef struct lldiv_t anon_unknown.dwarf_d077f;
-
-typedef struct lldiv_t anon_unknown.dwarf_f553b;
-
-typedef struct lldiv_t anon_unknown.dwarf_15ab5;
-
-typedef struct lldiv_t anon_unknown.dwarf_19f9be;
-
-typedef struct lldiv_t anon_unknown.dwarf_237330;
-
-typedef struct lldiv_t anon_unknown.dwarf_35a6c;
-
-typedef struct rebind<char> rebind;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TParty>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-typedef struct matrix3d<TSector*> matrix3d;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/listIterator<TDynamicStringTableBlock>/listIterator - /DWARF/_UNCATEGORIZED_/listIterator<storeunit<TWaitinglistEntry,_100>_>/listIterator
-
-typedef struct div_t div_t, *Pdiv_t;
-
-typedef struct div_t anon_unknown.dwarf_6785f;
-
-struct div_t {
- int quot;
- int rem;
-};
-
-typedef struct div_t anon_unknown.dwarf_19f896;
-
-typedef struct div_t anon_unknown.dwarf_13e48b;
-
-typedef struct div_t anon_unknown.dwarf_11dfcc;
-
-typedef struct div_t anon_unknown.dwarf_2ce074;
-
-typedef struct div_t anon_unknown.dwarf_f5413;
-
-typedef struct div_t anon_unknown.dwarf_4664f;
-
-typedef struct div_t anon_unknown.dwarf_56e96;
-
-typedef struct div_t anon_unknown.dwarf_d0657;
-
-typedef struct div_t anon_unknown.dwarf_b7da4;
-
-typedef struct div_t anon_unknown.dwarf_9c51b;
-
-typedef struct div_t anon_unknown.dwarf_24e3f;
-
-typedef struct div_t anon_unknown.dwarf_2ac8ba;
-
-typedef struct div_t anon_unknown.dwarf_1064ac;
-
-typedef struct div_t anon_unknown.dwarf_2b7d4c;
-
-typedef struct div_t anon_unknown.dwarf_237208;
-
-typedef struct div_t anon_unknown.dwarf_266c7c;
-
-typedef struct div_t anon_unknown.dwarf_250b40;
-
-typedef struct div_t anon_unknown.dwarf_184ee2;
-
-typedef struct div_t anon_unknown.dwarf_209f44;
-
-typedef struct div_t anon_unknown.dwarf_1d8f33;
-
-typedef struct div_t anon_unknown.dwarf_dfc12;
-
-typedef struct div_t anon_unknown.dwarf_27d9e5;
-
-typedef struct div_t anon_unknown.dwarf_35944;
-
-typedef struct div_t anon_unknown.dwarf_1598d;
-
-typedef struct div_t anon_unknown.dwarf_222f21;
-
-typedef struct div_t anon_unknown.dwarf_1bbeae;
-
-typedef struct div_t anon_unknown.dwarf_2be464;
-
-typedef struct div_t anon_unknown.dwarf_76cbd;
-
-typedef struct div_t anon_unknown.dwarf_2905b7;
-
-typedef struct div_t anon_unknown.dwarf_8a1ce;
-
-typedef struct div_t anon_unknown.dwarf_15eb43;
-
-typedef struct div_t anon_unknown.dwarf_1f2c73;
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/store<TNode,256>/store - /DWARF/_UNCATEGORIZED_/store<TPlayerIndexInternalNode,100>/store
-
-typedef struct ostreambuf_iterator<char,std::char_traits<char>_> ostreambuf_iterator<char,std::char_traits<char>_>, *Postreambuf_iterator<char,std::char_traits<char>_>;
-
-typedef struct ostreambuf_iterator<char,std::char_traits<char>_> ostreambuf_iterator;
-
-struct ostreambuf_iterator<char,std::char_traits<char>_> { // Original name: ostreambuf_iterator<char,std::char_traits<char> >
-Missing member super_iterator<std::output_iterator_tag,void,void,void,void> : iterator<std::output_iterator_tag,void,void,void,void> at offset 0x0 [conflicting member at same offset]
- struct basic_streambuf<char,std::char_traits<char>_> *_M_sbuf;
- bool _M_failed;
-};
-
-
-// WARNING! conflicting data type names: /DWARF/_UNCATEGORIZED_/vector<TMoveUseRule>/vector - /DWARF/_UNCATEGORIZED_/vector<THouse>/vector
-
-typedef void (*new_handler)(void);
-
-typedef struct nothrow_t nothrow_t, *Pnothrow_t;
-
-struct nothrow_t {
-};
-
-typedef enum TReaderThreadOrderType {
- ORDER_TERMINATE=0,
- ORDER_LOADSECTOR=1,
- ORDER_LOADCHARACTER=2
-} TReaderThreadOrderType;
-
-typedef struct TReaderThreadOrder TReaderThreadOrder, *PTReaderThreadOrder;
-
-struct TReaderThreadOrder {
- enum TReaderThreadOrderType OrderType;
- int SectorX;
- int SectorY;
- int SectorZ;
- ulong CharacterID;
-};
-
-typedef enum TReaderThreadReplyType {
- REPLY_SECTORDATA=0,
- REPLY_CHARACTERDATA=1
-} TReaderThreadReplyType;
-
-typedef struct TReaderThreadReply TReaderThreadReply, *PTReaderThreadReply;
-
-struct TReaderThreadReply {
- enum TReaderThreadReplyType ReplyType;
- int SectorX;
- int SectorY;
- int SectorZ;
- uchar *Data;
- int Size;
-};
-
-typedef struct flock flock, *Pflock;
-
-struct flock {
- short l_type;
- short l_whence;
- __off_t l_start;
- __off_t l_len;
- __pid_t l_pid;
-};
-
-typedef struct flock64 flock64, *Pflock64;
-
-struct flock64 {
- short l_type;
- short l_whence;
- __off64_t l_start;
- __off64_t l_len;
- __pid_t l_pid;
-};
-
-typedef struct TReadScriptFile TReadScriptFile, *PTReadScriptFile;
-
-typedef enum TOKEN {
- ENDOFFILE=0,
- IDENTIFIER=1,
- NUMBER=2,
- STRING=3,
- BYTES=4,
- COORDINATE=5,
- SPECIAL=6
-} TOKEN;
-
-struct TReadScriptFile {
- enum TOKEN Token;
- FILE *File[3];
- char Filename[3][4096];
- int Line[3];
- char String[4000];
- int RecursionDepth;
- uchar *Bytes;
- int Number;
- int CoordX;
- int CoordY;
- int CoordZ;
- char Special;
-};
-
-typedef struct TWriteBinaryFile TWriteBinaryFile, *PTWriteBinaryFile;
-
-struct TWriteBinaryFile {
- struct TWriteStream super_TWriteStream;
- undefined field1_0x1;
- undefined field2_0x2;
- undefined field3_0x3;
- FILE *File;
- char Filename[4096];
-};
-
-typedef struct TReadBinaryFile TReadBinaryFile, *PTReadBinaryFile;
-
-struct TReadBinaryFile {
- struct TReadStream super_TReadStream;
- undefined field1_0x1;
- undefined field2_0x2;
- undefined field3_0x3;
- FILE *File;
- char Filename[4096];
- int FileSize;
-};
-
-typedef struct TWriteScriptFile TWriteScriptFile, *PTWriteScriptFile;
-
-struct TWriteScriptFile {
- FILE *File;
- char Filename[4096];
- int Line;
-};
-
-typedef struct _Refcount_Base _Refcount_Base, *P_Refcount_Base;
-
-struct _Refcount_Base {
- size_t _M_ref_count;
- __gthread_mutex_t _M_ref_count_lock;
-};
-
-typedef struct _STL_mutex_lock _STL_mutex_lock, *P_STL_mutex_lock;
-
-struct _STL_mutex_lock {
- __gthread_mutex_t _M_lock;
-};
-
-typedef struct _STL_auto_lock _STL_auto_lock, *P_STL_auto_lock;
-
-struct _STL_auto_lock {
- struct _STL_mutex_lock *_M_lock;
-};
-
-typedef size_t _RC_t;
-
-typedef struct TThreadStarter TThreadStarter, *PTThreadStarter;
-
-struct TThreadStarter {
- ThreadFunction *Function;
- void *Argument;
- bool Detach;
-};
-
-typedef int (*__compar_fn_t)(void *, void *);
-
-typedef struct random_data random_data, *Prandom_data;
-
-struct random_data {
- int32_t *fptr;
- int32_t *rptr;
- int32_t *state;
- int rand_type;
- int rand_deg;
- int rand_sep;
- int32_t *end_ptr;
-};
-
-typedef struct drand48_data drand48_data, *Pdrand48_data;
-
-struct drand48_data {
- ushort __x[3];
- ushort __old_x[3];
- ushort __c;
- ushort __init;
- ulonglong __a;
-};
-
-typedef __compar_fn_t comparison_fn_t;
-
-typedef struct addrinfo addrinfo, *Paddrinfo;
-
-struct addrinfo {
- int ai_flags;
- int ai_family;
- int ai_socktype;
- int ai_protocol;
- socklen_t ai_addrlen;
- struct sockaddr *ai_addr;
- char *ai_canonname;
- struct addrinfo *ai_next;
-};
-
-typedef struct rpcent rpcent, *Prpcent;
-
-struct rpcent {
- char *r_name;
- char **r_aliases;
- int r_number;
-};
-
-typedef struct protoent protoent, *Pprotoent;
-
-struct protoent {
- char *p_name;
- char **p_aliases;
- int p_proto;
-};
-
-typedef struct netent netent, *Pnetent;
-
-struct netent {
- char *n_name;
- char **n_aliases;
- int n_addrtype;
- uint32_t n_net;
-};
-
-typedef struct servent servent, *Pservent;
-
-struct servent {
- char *s_name;
- char **s_aliases;
- int s_port;
- char *s_proto;
-};
-
-typedef struct gaicb gaicb, *Pgaicb;
-
-struct gaicb {
- char *ar_name;
- char *ar_service;
- struct addrinfo *ar_request;
- struct addrinfo *ar_result;
- int __return;
- int __unused[5];
-};
-
-typedef struct TQueryManagerConnection TQueryManagerConnection, *PTQueryManagerConnection;
-
-struct TQueryManagerConnection {
- int BufferSize;
- uchar *Buffer;
- struct TReadBuffer ReadBuffer;
- struct TWriteBuffer WriteBuffer;
- int Socket;
- bool QueryOk;
- undefined field6_0x2d;
- undefined field7_0x2e;
- undefined field8_0x2f;
-};
-
-typedef struct TQueryManagerPoolConnection TQueryManagerPoolConnection, *PTQueryManagerPoolConnection;
-
-typedef struct TQueryManagerConnectionPool TQueryManagerConnectionPool, *PTQueryManagerConnectionPool;
-
-struct TQueryManagerPoolConnection {
- struct TQueryManagerConnectionPool *QueryManagerConnectionPool;
- struct TQueryManagerConnection *QueryManagerConnection;
-};
-
-struct TQueryManagerConnectionPool {
- int NumberOfConnections;
- struct TQueryManagerConnection *QueryManagerConnection;
- bool *QueryManagerConnectionFree;
- struct Semaphore FreeQueryManagerConnections;
- struct Semaphore QueryManagerConnectionMutex;
-};
-
-typedef struct TQueryManagerSettings TQueryManagerSettings, *PTQueryManagerSettings;
-
-struct TQueryManagerSettings {
- char Host[50];
- int Port;
- char Password[30];
-};
-
-typedef struct vlong_montgomery vlong_montgomery, *Pvlong_montgomery;
-
-struct vlong_montgomery {
- struct vlong R;
- struct vlong R1;
- struct vlong m;
- struct vlong n1;
- struct vlong T;
- struct vlong k;
- uint N;
-};
-
-typedef enum TWorldType {
- NORMAL=0,
- NON_PVP=1,
- PVP_ENFORCED=2
-} TWorldType;
-
-typedef struct __ios_flags __ios_flags, *P__ios_flags;
-
-struct __ios_flags {
-};
-
-typedef fpos_t __c_streampos;
-
-typedef __gthread_mutex_t __c_lock;
-
-typedef ptrdiff_t wstreamsize;
-
-typedef struct _xmmreg _xmmreg, *P_xmmreg;
-
-struct _xmmreg {
- ulong element[4];
-};
-
-typedef struct _fpreg _fpreg, *P_fpreg;
-
-struct _fpreg {
- ushort significand[4];
- ushort exponent;
-};
-
-typedef struct _fpxreg _fpxreg, *P_fpxreg;
-
-struct _fpxreg {
- ushort significand[4];
- ushort exponent;
- ushort padding[3];
-};
-
-typedef struct sigcontext sigcontext, *Psigcontext;
-
-typedef struct _fpstate _fpstate, *P_fpstate;
-
-struct sigcontext {
- ushort gs;
- ushort __gsh;
- ushort fs;
- ushort __fsh;
- ushort es;
- ushort __esh;
- ushort ds;
- ushort __dsh;
- ulong edi;
- ulong esi;
- ulong ebp;
- ulong esp;
- ulong ebx;
- ulong edx;
- ulong ecx;
- ulong eax;
- ulong trapno;
- ulong err;
- ulong eip;
- ushort cs;
- ushort __csh;
- ulong eflags;
- ulong esp_at_signal;
- ushort ss;
- ushort __ssh;
- struct _fpstate *fpstate;
- ulong oldmask;
- ulong cr2;
-};
-
-struct _fpstate {
- ulong cw;
- ulong sw;
- ulong tag;
- ulong ipoff;
- ulong cssel;
- ulong dataoff;
- ulong datasel;
- struct _fpreg _st[8];
- ushort status;
- ushort magic;
- ulong _fxsr_env[6];
- ulong mxcsr;
- ulong reserved;
- struct _fpxreg _fxsr_st[8];
- struct _xmmreg _xmm[8];
- ulong padding[56];
-};
-
-typedef struct __num_base __num_base, *P__num_base;
-
-struct __num_base {
-};
-
-typedef struct time_base time_base, *Ptime_base;
-
-struct time_base {
-};
-
-typedef struct messages_base messages_base, *Pmessages_base;
-
-struct messages_base {
-};
-
-typedef struct money_base money_base, *Pmoney_base;
-
-struct money_base {
-};
-
-typedef struct pattern pattern, *Ppattern;
-
-struct pattern {
- char field[4];
-};
-
-typedef enum part {
- none=0,
- space=1,
- symbol=2,
- sign=3,
- value=4
-} part;
-
-typedef enum dateorder {
- no_order=0,
- dmy=1,
- mdy=2,
- ymd=3,
- ydm=4
-} dateorder;
-
-typedef struct in_addr in_addr, *Pin_addr;
-
-typedef uint32_t in_addr_t;
-
-struct in_addr {
- in_addr_t s_addr;
-};
-
-typedef struct ip_mreqn ip_mreqn, *Pip_mreqn;
-
-struct ip_mreqn {
- struct in_addr imr_multiaddr;
- struct in_addr imr_address;
- int imr_ifindex;
-};
-
-typedef struct ip_opts ip_opts, *Pip_opts;
-
-struct ip_opts {
- struct in_addr ip_dst;
- char ip_opts[40];
-};
-
-typedef struct in6_pktinfo in6_pktinfo, *Pin6_pktinfo;
-
-typedef struct in6_addr in6_addr, *Pin6_addr;
-
-typedef union anon_union_16_3_65e4bd2d_for_in6_u anon_union_16_3_65e4bd2d_for_in6_u, *Panon_union_16_3_65e4bd2d_for_in6_u;
-
-union anon_union_16_3_65e4bd2d_for_in6_u {
- uint8_t u6_addr8[16];
- uint16_t u6_addr16[8];
- uint32_t u6_addr32[4];
-};
-
-struct in6_addr {
- union anon_union_16_3_65e4bd2d_for_in6_u in6_u;
-};
-
-struct in6_pktinfo {
- struct in6_addr ipi6_addr;
- uint ipi6_ifindex;
-};
-
-typedef struct ip_mreq ip_mreq, *Pip_mreq;
-
-struct ip_mreq {
- struct in_addr imr_multiaddr;
- struct in_addr imr_interface;
-};
-
-typedef struct in_pktinfo in_pktinfo, *Pin_pktinfo;
-
-struct in_pktinfo {
- int ipi_ifindex;
- struct in_addr ipi_spec_dst;
- struct in_addr ipi_addr;
-};
-
-typedef struct ipv6_mreq ipv6_mreq, *Pipv6_mreq;
-
-struct ipv6_mreq {
- struct in6_addr ipv6mr_multiaddr;
- uint ipv6mr_interface;
-};
-
-typedef struct sockaddr_in6 sockaddr_in6, *Psockaddr_in6;
-
-typedef uint16_t in_port_t;
-
-struct sockaddr_in6 {
- sa_family_t sin6_family;
- in_port_t sin6_port;
- uint32_t sin6_flowinfo;
- struct in6_addr sin6_addr;
- uint32_t sin6_scope_id;
-};
-
-typedef struct sockaddr_in sockaddr_in, *Psockaddr_in;
-
-struct sockaddr_in {
- sa_family_t sin_family;
- in_port_t sin_port;
- struct in_addr sin_addr;
- uchar sin_zero[8];
-};
-
-typedef struct TShortway TShortway, *PTShortway;
-
-struct TShortway {
- struct matrix<TShortwayPoint> *Map;
- struct TShortwayPoint *FirstToExpand;
- struct TCreature *cr;
- int VisibleX;
- int VisibleY;
- int StartX;
- int StartY;
- int StartZ;
- int MinWaypoints;
-};
-
-typedef struct basic_ios<wchar_t,std::char_traits<wchar_t>_> wios;
-
-typedef struct basic_ostream<char,std::char_traits<char>_> ostream;
-
-typedef struct basic_ios<char,std::char_traits<char>_> ios;
-
-typedef struct basic_ostream<wchar_t,std::char_traits<wchar_t>_> wostream;
-
-typedef struct basic_ofstream<wchar_t,std::char_traits<wchar_t>_> wofstream;
-
-typedef struct basic_streambuf<wchar_t,std::char_traits<wchar_t>_> wstreambuf;
-
-typedef struct basic_istringstream<char,std::char_traits<char>,std::allocator<char>_> istringstream;
-
-typedef struct basic_filebuf<wchar_t,std::char_traits<wchar_t>_> wfilebuf;
-
-typedef struct basic_stringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> wstringstream;
-
-typedef struct basic_iostream<char,std::char_traits<char>_> iostream;
-
-typedef struct basic_ofstream<char,std::char_traits<char>_> ofstream;
-
-typedef struct __vmi_class_type_info_pseudo1 __vmi_class_type_info_pseudo1, *P__vmi_class_type_info_pseudo1;
-
-struct __vmi_class_type_info_pseudo1 {
- undefined field0_0x0;
- undefined field1_0x1;
- undefined field2_0x2;
- undefined field3_0x3;
- undefined field4_0x4;
- undefined field5_0x5;
- undefined field6_0x6;
- undefined field7_0x7;
- undefined field8_0x8;
- undefined field9_0x9;
- undefined field10_0xa;
- undefined field11_0xb;
- undefined field12_0xc;
- undefined field13_0xd;
- undefined field14_0xe;
- undefined field15_0xf;
- undefined field16_0x10;
- undefined field17_0x11;
- undefined field18_0x12;
- undefined field19_0x13;
- undefined field20_0x14;
- undefined field21_0x15;
- undefined field22_0x16;
- undefined field23_0x17;
- undefined field24_0x18;
- undefined field25_0x19;
- undefined field26_0x1a;
- undefined field27_0x1b;
- undefined field28_0x1c;
- undefined field29_0x1d;
- undefined field30_0x1e;
- undefined field31_0x1f;
-};
-
-typedef struct basic_ifstream<char,std::char_traits<char>_> ifstream;
-
-typedef struct basic_fstream<wchar_t,std::char_traits<wchar_t>_> wfstream;
-
-typedef struct basic_stringstream<char,std::char_traits<char>,std::allocator<char>_> stringstream;
-
-typedef struct basic_istream<wchar_t,std::char_traits<wchar_t>_> wistream;
-
-typedef struct basic_iostream<wchar_t,std::char_traits<wchar_t>_> wiostream;
-
-typedef struct basic_streambuf<char,std::char_traits<char>_> streambuf;
-
-typedef struct basic_istringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> wistringstream;
-
-typedef struct basic_istream<char,std::char_traits<char>_> istream;
-
-typedef struct basic_ifstream<wchar_t,std::char_traits<wchar_t>_> wifstream;
-
-typedef struct basic_stringbuf<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> wstringbuf;
-
-typedef struct basic_stringbuf<char,std::char_traits<char>,std::allocator<char>_> stringbuf;
-
-typedef struct basic_fstream<char,std::char_traits<char>_> fstream;
-
-typedef struct basic_ostringstream<char,std::char_traits<char>,std::allocator<char>_> ostringstream;
-
-typedef struct basic_ostringstream<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>_> wostringstream;
-
-typedef struct basic_filebuf<char,std::char_traits<char>_> filebuf;
-
-
-// WARNING! conflicting data type names: /stdarg.h/__gnuc_va_list - /DWARF/stdarg.h/__gnuc_va_list
-
-typedef union _union_1051 _union_1051, *P_union_1051;
-
-
-// WARNING! conflicting data type names: /signal.h/__sighandler_t - /DWARF/signal.h/sigaction/anon_union_4_2_5ad2d23e_for___sigaction_handler/__sighandler_t
-
-union _union_1051 {
- __sighandler_t sa_handler;
- void (*sa_sigaction)(int, siginfo_t *, void *);
-};
-
-
-// WARNING! conflicting data type names: /sigaction.h/sigaction - /DWARF/sigaction.h/sigaction
-
-
-// WARNING! conflicting data type names: /stddef.h/size_t - /DWARF/size_t
-
-
-// WARNING! conflicting data type names: /shm.h/shmatt_t - /DWARF/shmatt_t
-
-
-// WARNING! conflicting data type names: /shm.h/shmid_ds - /DWARF/shm.h/shmid_ds
-
-
-// WARNING! conflicting data type names: /Demangler/std/string - /string
-
-
-// WARNING! conflicting data type names: /Demangler/std/ostream - /DWARF/iosfwd/ostream
-
-
-// WARNING! conflicting data type names: /Demangler/std/locale - /DWARF/localefwd.h/locale
-
-
-// WARNING! conflicting data type names: /Demangler/std/ios - /DWARF/iosfwd/ios
-
-
-// WARNING! conflicting data type names: /Demangler/std/streambuf - /DWARF/iosfwd/streambuf
-
-
-// WARNING! conflicting data type names: /Demangler/std/allocator - /DWARF/_UNCATEGORIZED_/allocator<void>/allocator
-
-
-// WARNING! conflicting data type names: /Demangler/std/ios_base - /DWARF/ios_base.h/ios_base
-
-
-// WARNING! conflicting data type names: /Demangler/std/_Ios_Openmode - /DWARF/ios_base.h/_Ios_Openmode
-
-
-// WARNING! conflicting data type names: /Demangler/std/_Ios_Iostate - /DWARF/ios_base.h/_Ios_Iostate
-
-
-// WARNING! conflicting data type names: /Demangler/std/istream - /DWARF/iosfwd/istream
-
-
-// WARNING! conflicting data type names: /Demangler/std/stringbuf - /DWARF/iosfwd/stringbuf
-
-
-// WARNING! conflicting data type names: /Demangler/std/filebuf - /DWARF/iosfwd/filebuf
-
-
-// WARNING! conflicting data type names: /Demangler/std/__basic_file<char> - /DWARF/basic_file.h/__basic_file<char>
-
-
-// WARNING! conflicting data type names: /libio.h/_IO_marker - /DWARF/libio.h/_IO_marker
-
-
-// WARNING! conflicting data type names: /stdio.h/_IO_FILE - /DWARF/libio.h/_IO_FILE
-
-
-// WARNING! conflicting data type names: /stdio.h/FILE - /DWARF/stdio.h/__basic_file<char>/FILE
-
-typedef struct evp_pkey_ctx_st evp_pkey_ctx_st, *Pevp_pkey_ctx_st;
-
-typedef struct evp_pkey_ctx_st EVP_PKEY_CTX;
-
-struct evp_pkey_ctx_st {
-};
-
-
-// WARNING! conflicting data type names: /time.h/itimerval - /DWARF/time.h/itimerval
-
-
-// WARNING! conflicting data type names: /time.h/time_t - /DWARF/time.h/TPlayerData/time_t
-
-
-// WARNING! conflicting data type names: /time.h/__itimer_which_t - /DWARF/__itimer_which_t
-
-
-// WARNING! conflicting data type names: /time.h/timeval - /DWARF/time.h/timeval
-
-
-// WARNING! conflicting data type names: /in.h/in_addr - /DWARF/in.h/in_addr
-
-
-// WARNING! conflicting data type names: /in.h/in_addr_t - /DWARF/in.h/in_addr/in_addr_t
-
-typedef struct Elf32_Shdr Elf32_Shdr, *PElf32_Shdr;
-
-typedef enum Elf_SectionHeaderType_x86 {
- SHT_NULL=0,
- SHT_PROGBITS=1,
- SHT_SYMTAB=2,
- SHT_STRTAB=3,
- SHT_RELA=4,
- SHT_HASH=5,
- SHT_DYNAMIC=6,
- SHT_NOTE=7,
- SHT_NOBITS=8,
- SHT_REL=9,
- SHT_SHLIB=10,
- SHT_DYNSYM=11,
- SHT_INIT_ARRAY=14,
- SHT_FINI_ARRAY=15,
- SHT_PREINIT_ARRAY=16,
- SHT_GROUP=17,
- SHT_SYMTAB_SHNDX=18,
- SHT_ANDROID_REL=1610612737,
- SHT_ANDROID_RELA=1610612738,
- SHT_GNU_ATTRIBUTES=1879048181,
- SHT_GNU_HASH=1879048182,
- SHT_GNU_LIBLIST=1879048183,
- SHT_CHECKSUM=1879048184,
- SHT_SUNW_move=1879048186,
- SHT_SUNW_COMDAT=1879048187,
- SHT_SUNW_syminfo=1879048188,
- SHT_GNU_verdef=1879048189,
- SHT_GNU_verneed=1879048190,
- SHT_GNU_versym=1879048191
-} Elf_SectionHeaderType_x86;
-
-struct Elf32_Shdr {
- dword sh_name;
- enum Elf_SectionHeaderType_x86 sh_type;
- dword sh_flags;
- dword sh_addr;
- dword sh_offset;
- dword sh_size;
- dword sh_link;
- dword sh_info;
- dword sh_addralign;
- dword sh_entsize;
-};
-
-typedef struct Elf32_Sym Elf32_Sym, *PElf32_Sym;
-
-struct Elf32_Sym {
- dword st_name;
- dword st_value;
- dword st_size;
- byte st_info;
- byte st_other;
- word st_shndx;
-};
-
-typedef enum Elf32_DynTag_x86 {
- DT_NULL=0,
- DT_NEEDED=1,
- DT_PLTRELSZ=2,
- DT_PLTGOT=3,
- DT_HASH=4,
- DT_STRTAB=5,
- DT_SYMTAB=6,
- DT_RELA=7,
- DT_RELASZ=8,
- DT_RELAENT=9,
- DT_STRSZ=10,
- DT_SYMENT=11,
- DT_INIT=12,
- DT_FINI=13,
- DT_SONAME=14,
- DT_RPATH=15,
- DT_SYMBOLIC=16,
- DT_REL=17,
- DT_RELSZ=18,
- DT_RELENT=19,
- DT_PLTREL=20,
- DT_DEBUG=21,
- DT_TEXTREL=22,
- DT_JMPREL=23,
- DT_BIND_NOW=24,
- DT_INIT_ARRAY=25,
- DT_FINI_ARRAY=26,
- DT_INIT_ARRAYSZ=27,
- DT_FINI_ARRAYSZ=28,
- DT_RUNPATH=29,
- DT_FLAGS=30,
- DT_PREINIT_ARRAY=32,
- DT_PREINIT_ARRAYSZ=33,
- DT_RELRSZ=35,
- DT_RELR=36,
- DT_RELRENT=37,
- DT_ANDROID_REL=1610612751,
- DT_ANDROID_RELSZ=1610612752,
- DT_ANDROID_RELA=1610612753,
- DT_ANDROID_RELASZ=1610612754,
- DT_ANDROID_RELR=1879040000,
- DT_ANDROID_RELRSZ=1879040001,
- DT_ANDROID_RELRENT=1879040003,
- DT_GNU_PRELINKED=1879047669,
- DT_GNU_CONFLICTSZ=1879047670,
- DT_GNU_LIBLISTSZ=1879047671,
- DT_CHECKSUM=1879047672,
- DT_PLTPADSZ=1879047673,
- DT_MOVEENT=1879047674,
- DT_MOVESZ=1879047675,
- DT_FEATURE_1=1879047676,
- DT_POSFLAG_1=1879047677,
- DT_SYMINSZ=1879047678,
- DT_SYMINENT=1879047679,
- DT_GNU_XHASH=1879047924,
- DT_GNU_HASH=1879047925,
- DT_TLSDESC_PLT=1879047926,
- DT_TLSDESC_GOT=1879047927,
- DT_GNU_CONFLICT=1879047928,
- DT_GNU_LIBLIST=1879047929,
- DT_CONFIG=1879047930,
- DT_DEPAUDIT=1879047931,
- DT_AUDIT=1879047932,
- DT_PLTPAD=1879047933,
- DT_MOVETAB=1879047934,
- DT_SYMINFO=1879047935,
- DT_VERSYM=1879048176,
- DT_RELACOUNT=1879048185,
- DT_RELCOUNT=1879048186,
- DT_FLAGS_1=1879048187,
- DT_VERDEF=1879048188,
- DT_VERDEFNUM=1879048189,
- DT_VERNEED=1879048190,
- DT_VERNEEDNUM=1879048191,
- DT_AUXILIARY=2147483645,
- DT_FILTER=2147483647
-} Elf32_DynTag_x86;
-
-typedef struct Elf32_Phdr Elf32_Phdr, *PElf32_Phdr;
-
-typedef enum Elf_ProgramHeaderType_x86 {
- PT_NULL=0,
- PT_LOAD=1,
- PT_DYNAMIC=2,
- PT_INTERP=3,
- PT_NOTE=4,
- PT_SHLIB=5,
- PT_PHDR=6,
- PT_TLS=7,
- PT_GNU_EH_FRAME=1685382480,
- PT_GNU_STACK=1685382481,
- PT_GNU_RELRO=1685382482
-} Elf_ProgramHeaderType_x86;
-
-struct Elf32_Phdr {
- enum Elf_ProgramHeaderType_x86 p_type;
- dword p_offset;
- dword p_vaddr;
- dword p_paddr;
- dword p_filesz;
- dword p_memsz;
- dword p_flags;
- dword p_align;
-};
-
-typedef struct Elf32_Dyn_x86 Elf32_Dyn_x86, *PElf32_Dyn_x86;
-
-struct Elf32_Dyn_x86 {
- enum Elf32_DynTag_x86 d_tag;
- dword d_val;
-};
-
-typedef struct NoteAbiTag NoteAbiTag, *PNoteAbiTag;
-
-struct NoteAbiTag {
- dword namesz; // Length of name field
- dword descsz; // Length of description field
- dword type; // Vendor specific type
- char name[4]; // Vendor name
- dword abiType; // 0 == Linux
- dword requiredKernelVersion[3]; // Major.minor.patch
-};
-
-typedef struct Elf32_Rel Elf32_Rel, *PElf32_Rel;
-
-struct Elf32_Rel {
- dword r_offset; // location to apply the relocation action
- dword r_info; // the symbol table index and the type of relocation
-};
-
-typedef struct Elf32_Ehdr Elf32_Ehdr, *PElf32_Ehdr;
-
-struct Elf32_Ehdr {
- byte e_ident_magic_num;
- char e_ident_magic_str[3];
- byte e_ident_class;
- byte e_ident_data;
- byte e_ident_version;
- byte e_ident_osabi;
- byte e_ident_abiversion;
- byte e_ident_pad[7];
- word e_type;
- word e_machine;
- dword e_version;
- dword e_entry;
- dword e_phoff;
- dword e_shoff;
- dword e_flags;
- word e_ehsize;
- word e_phentsize;
- word e_phnum;
- word e_shentsize;
- word e_shnum;
- word e_shstrndx;
-};
-
-
-// WARNING! conflicting data type names: /stdint.h/uint32_t - /DWARF/uint32_t
-
-
-
-
void _init(void)
{
@@ -10863,25 +3105,6 @@ void print(void)
}
-
-void error(char *Text,...)
-
-{
- char local_40c [4];
- char s [1024];
-
- vsnprintf(local_40c,0x400,Text,&stack0x00000008);
- if (ErrorFunction == (TErrorFunction *)0x0) {
- printf("%s",local_40c);
- }
- else {
- (*ErrorFunction)(local_40c);
- }
- return;
-}
-
-
-
// DWARF original prototype: bool readFlag(TReadStream * this)
bool __thiscall TReadStream::readFlag(TReadStream *this)
@@ -17870,216 +10093,6 @@ void _GLOBAL__I_FlagNames(void)
}
-
-// DWARF original prototype: TObjectType * operator()(vector<TObjectType> * this, int i)
-
-TObjectType * __thiscall vector<>::operator()(vector<> *this,int i)
-
-{
- char **ppcVar1;
- TObjectType *pTVar2;
- uint uVar3;
- int iVar4;
- int j_1;
- int j;
- int iVar5;
- TObjectType *pTVar6;
- TObjectType *pTVar7;
- int *piVar8;
- int iVar9;
- int extend_1;
- TObjectType *help;
- int extend;
- uchar Help [340];
-
- iVar5 = this->start;
- while (i < iVar5) {
- help = (TObjectType *)this->block;
- if (help == (TObjectType *)0x0) {
- pTVar2 = (TObjectType *)this->space;
- help = pTVar2;
- }
- else {
- pTVar2 = (TObjectType *)this->space;
- }
- pTVar2 = (TObjectType *)
- operator_new__((int)(pTVar2->Flags + (int)(help->Flags + -0x10)) * 0x154);
- iVar5 = this->min;
- if (iVar5 <= this->max) {
- do {
- piVar8 = &extend;
- uVar3 = 0x154;
- pTVar6 = pTVar2 + (iVar5 - this->start) + (int)help;
- if (((uint)&extend & 4) != 0) {
- ppcVar1 = &pTVar6->Name;
- piVar8 = (int *)Help;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- extend = (int)*ppcVar1;
- uVar3 = 0x150;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- *piVar8 = (int)pTVar6->Name;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- piVar8 = piVar8 + 1;
- }
- iVar9 = iVar5 - this->start;
- pTVar6 = pTVar2 + (int)help + iVar9;
- pTVar7 = this->entry + iVar9;
- uVar3 = 0x154;
- if (((uint)pTVar6 & 4) != 0) {
- ppcVar1 = &pTVar7->Name;
- pTVar7 = (TObjectType *)&pTVar7->Description;
- pTVar6->Name = *ppcVar1;
- uVar3 = 0x150;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- pTVar6->Name = pTVar7->Name;
- pTVar7 = (TObjectType *)&pTVar7->Description;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- }
- uVar3 = 0x154;
- piVar8 = &extend;
- pTVar6 = this->entry + (iVar5 - this->start);
- if (((uint)pTVar6 & 4) != 0) {
- piVar8 = (int *)Help;
- pTVar6->Name = (char *)extend;
- uVar3 = 0x150;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- pTVar6->Name = (char *)*piVar8;
- piVar8 = piVar8 + 1;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- }
- iVar5 = iVar5 + 1;
- } while (iVar5 <= this->max);
- }
- if (this->entry != (TObjectType *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar2;
- iVar5 = this->start - (int)help;
- this->start = iVar5;
- this->space = (int)(help->Flags + this->space + -8);
- }
- iVar4 = this->space;
- iVar9 = iVar4 + iVar5;
- while (iVar9 <= i) {
- iVar9 = iVar4;
- if (this->block != 0) {
- iVar9 = this->block;
- }
- pTVar2 = (TObjectType *)operator_new__((iVar9 + iVar4) * 0x154);
- iVar5 = this->min;
- if (iVar5 <= this->max) {
- do {
- piVar8 = &extend;
- pTVar6 = pTVar2 + (iVar5 - this->start);
- uVar3 = 0x154;
- if (((uint)&extend & 4) != 0) {
- ppcVar1 = &pTVar6->Name;
- piVar8 = (int *)Help;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- extend = (int)*ppcVar1;
- uVar3 = 0x150;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- *piVar8 = (int)pTVar6->Name;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- piVar8 = piVar8 + 1;
- }
- iVar4 = iVar5 - this->start;
- pTVar6 = pTVar2 + iVar4;
- pTVar7 = this->entry + iVar4;
- uVar3 = 0x154;
- if (((uint)pTVar6 & 4) != 0) {
- ppcVar1 = &pTVar7->Name;
- pTVar7 = (TObjectType *)&pTVar7->Description;
- pTVar6->Name = *ppcVar1;
- uVar3 = 0x150;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- pTVar6->Name = pTVar7->Name;
- pTVar7 = (TObjectType *)&pTVar7->Description;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- }
- uVar3 = 0x154;
- piVar8 = &extend;
- pTVar6 = this->entry + (iVar5 - this->start);
- if (((uint)pTVar6 & 4) != 0) {
- piVar8 = (int *)Help;
- pTVar6->Name = (char *)extend;
- uVar3 = 0x150;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- pTVar6->Name = (char *)*piVar8;
- piVar8 = piVar8 + 1;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- }
- iVar5 = iVar5 + 1;
- } while (iVar5 <= this->max);
- }
- if (this->entry != (TObjectType *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar2;
- iVar5 = this->start;
- iVar4 = iVar9 + this->space;
- this->space = iVar4;
- iVar9 = iVar4 + iVar5;
- }
- iVar9 = this->min;
- while (i < iVar9) {
- this->min = iVar9 + -1;
- if (this->initialized != false) {
- pTVar2 = &this->init;
- uVar3 = 0x154;
- pTVar6 = this->entry + ((iVar9 + -1) - iVar5);
- if (((uint)pTVar6 & 4) != 0) {
- pTVar2 = (TObjectType *)&(this->init).Description;
- pTVar6->Name = (this->init).Name;
- uVar3 = 0x150;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- pTVar6->Name = pTVar2->Name;
- pTVar2 = (TObjectType *)&pTVar2->Description;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- }
- iVar5 = this->start;
- }
- iVar9 = this->min;
- }
- iVar9 = this->max;
- while (iVar9 < i) {
- this->max = iVar9 + 1;
- if (this->initialized != false) {
- pTVar2 = &this->init;
- pTVar6 = this->entry + ((iVar9 + 1) - iVar5);
- uVar3 = 0x154;
- if (((uint)pTVar6 & 4) != 0) {
- pTVar2 = (TObjectType *)&(this->init).Description;
- pTVar6->Name = (this->init).Name;
- uVar3 = 0x150;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- pTVar6->Name = pTVar2->Name;
- pTVar2 = (TObjectType *)&pTVar2->Description;
- pTVar6 = (TObjectType *)&pTVar6->Description;
- }
- iVar5 = this->start;
- }
- iVar9 = this->max;
- }
- return this->entry + (i - iVar5);
-}
-
-
-
void __static_initialization_and_destruction_0(int __initialize_p,int __priority)
{
@@ -24446,499 +16459,6 @@ void _GLOBAL__I_InstanceAttributeNames(void)
return;
}
-
-
-// DWARF original prototype: TCronEntry * operator()(vector<TCronEntry> * this, int i)
-
-TCronEntry * __thiscall vector<TCronEntry>::operator()(vector<TCronEntry> *this,int i)
-
-{
- ulong uVar1;
- ulong uVar2;
- TCronEntry *pTVar3;
- int iVar4;
- int iVar5;
- int iVar6;
- TCronEntry *pTVar7;
- int iVar8;
- int iVar9;
- int j_1;
- int j;
- int iVar10;
- int extend_1;
- int local_40;
- int extend;
- uchar Help [16];
-
- iVar8 = this->start;
- while (i < iVar8) {
- local_40 = this->block;
- if (local_40 == 0) {
- iVar8 = this->space;
- local_40 = iVar8;
- }
- else {
- iVar8 = this->space;
- }
- iVar8 = local_40 + iVar8;
- pTVar3 = (TCronEntry *)operator_new__(iVar8 * 0x10);
- pTVar7 = pTVar3;
- while (iVar8 = iVar8 + -1, iVar8 != -1) {
- (pTVar7->Obj).ObjectID = 0;
- pTVar7 = pTVar7 + 1;
- }
- iVar8 = this->min;
- if (iVar8 <= this->max) {
- do {
- iVar4 = (iVar8 - this->start) + local_40;
- uVar1 = pTVar3[iVar4].Obj.ObjectID;
- uVar2 = pTVar3[iVar4].RoundNr;
- iVar6 = pTVar3[iVar4].Previous;
- iVar9 = pTVar3[iVar4].Next;
- iVar5 = iVar8 - this->start;
- iVar4 = local_40 + iVar5;
- pTVar7 = this->entry;
- pTVar3[iVar4].Obj.ObjectID = pTVar7[iVar5].Obj.ObjectID;
- pTVar3[iVar4].RoundNr = pTVar7[iVar5].RoundNr;
- pTVar3[iVar4].Previous = pTVar7[iVar5].Previous;
- iVar10 = iVar8 + 1;
- pTVar3[iVar4].Next = pTVar7[iVar5].Next;
- pTVar7 = this->entry;
- iVar8 = iVar8 - this->start;
- pTVar7[iVar8].Obj.ObjectID = uVar1;
- pTVar7[iVar8].RoundNr = uVar2;
- pTVar7[iVar8].Previous = iVar6;
- pTVar7[iVar8].Next = iVar9;
- iVar8 = iVar10;
- } while (iVar10 <= this->max);
- }
- if (this->entry != (TCronEntry *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar3;
- iVar8 = this->start - local_40;
- this->start = iVar8;
- this->space = this->space + local_40;
- }
- iVar6 = this->space;
- iVar4 = iVar6 + iVar8;
- while (iVar4 <= i) {
- iVar4 = this->block;
- if (this->block == 0) {
- iVar4 = iVar6;
- }
- iVar6 = iVar4 + iVar6;
- pTVar3 = (TCronEntry *)operator_new__(iVar6 * 0x10);
- pTVar7 = pTVar3;
- while (iVar6 = iVar6 + -1, iVar6 != -1) {
- (pTVar7->Obj).ObjectID = 0;
- pTVar7 = pTVar7 + 1;
- }
- iVar8 = this->min;
- if (iVar8 <= this->max) {
- do {
- iVar9 = iVar8 - this->start;
- uVar1 = pTVar3[iVar9].Obj.ObjectID;
- uVar2 = pTVar3[iVar9].RoundNr;
- iVar6 = pTVar3[iVar9].Previous;
- iVar9 = pTVar3[iVar9].Next;
- iVar5 = iVar8 - this->start;
- pTVar7 = this->entry;
- pTVar3[iVar5].Obj.ObjectID = pTVar7[iVar5].Obj.ObjectID;
- pTVar3[iVar5].RoundNr = pTVar7[iVar5].RoundNr;
- pTVar3[iVar5].Previous = pTVar7[iVar5].Previous;
- pTVar3[iVar5].Next = pTVar7[iVar5].Next;
- iVar5 = iVar8 + 1;
- pTVar7 = this->entry;
- iVar8 = iVar8 - this->start;
- pTVar7[iVar8].Obj.ObjectID = uVar1;
- pTVar7[iVar8].RoundNr = uVar2;
- pTVar7[iVar8].Previous = iVar6;
- pTVar7[iVar8].Next = iVar9;
- iVar8 = iVar5;
- } while (iVar5 <= this->max);
- }
- if (this->entry != (TCronEntry *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar3;
- iVar8 = this->start;
- iVar6 = this->space + iVar4;
- this->space = iVar6;
- iVar4 = iVar6 + iVar8;
- }
- iVar4 = this->min;
- while (i < iVar4) {
- this->min = iVar4 + -1;
- if (this->initialized != false) {
- pTVar7 = this->entry + ((iVar4 + -1) - iVar8);
- (pTVar7->Obj).ObjectID = (this->init).Obj.ObjectID;
- pTVar7->RoundNr = (this->init).RoundNr;
- pTVar7->Previous = (this->init).Previous;
- pTVar7->Next = (this->init).Next;
- iVar8 = this->start;
- }
- iVar4 = this->min;
- }
- iVar4 = this->max;
- while (iVar4 < i) {
- this->max = iVar4 + 1;
- if (this->initialized != false) {
- pTVar7 = this->entry + ((iVar4 + 1) - iVar8);
- (pTVar7->Obj).ObjectID = (this->init).Obj.ObjectID;
- pTVar7->RoundNr = (this->init).RoundNr;
- pTVar7->Previous = (this->init).Previous;
- pTVar7->Next = (this->init).Next;
- iVar8 = this->start;
- }
- iVar4 = this->max;
- }
- return this->entry + (i - iVar8);
-}
-
-
-
-// DWARF original prototype: TDepotInfo * operator()(vector<TDepotInfo> * this, int i)
-
-TDepotInfo * __thiscall vector<TDepotInfo>::operator()(vector<TDepotInfo> *this,int i)
-
-{
- undefined4 uVar1;
- undefined4 uVar2;
- undefined4 uVar3;
- undefined4 uVar4;
- undefined4 uVar5;
- TDepotInfo *pTVar6;
- TDepotInfo *pTVar7;
- int iVar8;
- int iVar9;
- int iVar10;
- TDepotInfo *help_1;
- int iVar11;
- TDepotInfo *help;
- int j;
- int local_40;
- int extend;
- uchar Help [24];
-
- iVar9 = this->start;
- while (i < iVar9) {
- local_40 = this->block;
- if (local_40 == 0) {
- iVar9 = this->space;
- local_40 = iVar9;
- }
- else {
- iVar9 = this->space;
- }
- pTVar7 = (TDepotInfo *)operator_new__((local_40 + iVar9) * 0x18);
- iVar9 = this->min;
- if (iVar9 <= this->max) {
- do {
- iVar11 = (iVar9 - this->start) + local_40;
- uVar1 = *(undefined4 *)pTVar7[iVar11].Town;
- uVar2 = *(undefined4 *)(pTVar7[iVar11].Town + 4);
- uVar3 = *(undefined4 *)(pTVar7[iVar11].Town + 8);
- uVar4 = *(undefined4 *)(pTVar7[iVar11].Town + 0xc);
- uVar5 = *(undefined4 *)(pTVar7[iVar11].Town + 0x10);
- iVar10 = pTVar7[iVar11].Size;
- iVar8 = iVar9 - this->start;
- iVar11 = local_40 + iVar8;
- pTVar6 = this->entry;
- *(undefined4 *)pTVar7[iVar11].Town = *(undefined4 *)pTVar6[iVar8].Town;
- *(undefined4 *)(pTVar7[iVar11].Town + 4) = *(undefined4 *)(pTVar6[iVar8].Town + 4);
- *(undefined4 *)(pTVar7[iVar11].Town + 8) = *(undefined4 *)(pTVar6[iVar8].Town + 8);
- *(undefined4 *)(pTVar7[iVar11].Town + 0xc) =
- *(undefined4 *)(pTVar6[iVar8].Town + 0xc);
- *(undefined4 *)(pTVar7[iVar11].Town + 0x10) =
- *(undefined4 *)(pTVar6[iVar8].Town + 0x10);
- pTVar7[iVar11].Size = pTVar6[iVar8].Size;
- iVar11 = iVar9 + 1;
- iVar9 = iVar9 - this->start;
- pTVar6 = this->entry;
- *(undefined4 *)pTVar6[iVar9].Town = uVar1;
- *(undefined4 *)(pTVar6[iVar9].Town + 4) = uVar2;
- *(undefined4 *)(pTVar6[iVar9].Town + 8) = uVar3;
- *(undefined4 *)(pTVar6[iVar9].Town + 0xc) = uVar4;
- *(undefined4 *)(pTVar6[iVar9].Town + 0x10) = uVar5;
- pTVar6[iVar9].Size = iVar10;
- iVar9 = iVar11;
- } while (iVar11 <= this->max);
- }
- if (this->entry != (TDepotInfo *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar7;
- iVar9 = this->start - local_40;
- this->start = iVar9;
- this->space = this->space + local_40;
- }
- iVar10 = this->space;
- iVar11 = iVar10 + iVar9;
- while (iVar11 <= i) {
- iVar11 = this->block;
- if (this->block == 0) {
- iVar11 = iVar10;
- }
- pTVar7 = (TDepotInfo *)operator_new__((iVar11 + iVar10) * 0x18);
- iVar9 = this->min;
- if (iVar9 <= this->max) {
- do {
- iVar10 = iVar9 - this->start;
- uVar1 = *(undefined4 *)pTVar7[iVar10].Town;
- uVar2 = *(undefined4 *)(pTVar7[iVar10].Town + 4);
- uVar3 = *(undefined4 *)(pTVar7[iVar10].Town + 8);
- uVar4 = *(undefined4 *)(pTVar7[iVar10].Town + 0xc);
- uVar5 = *(undefined4 *)(pTVar7[iVar10].Town + 0x10);
- iVar10 = pTVar7[iVar10].Size;
- pTVar6 = this->entry;
- iVar8 = iVar9 - this->start;
- *(undefined4 *)pTVar7[iVar8].Town = *(undefined4 *)pTVar6[iVar8].Town;
- *(undefined4 *)(pTVar7[iVar8].Town + 4) = *(undefined4 *)(pTVar6[iVar8].Town + 4);
- *(undefined4 *)(pTVar7[iVar8].Town + 8) = *(undefined4 *)(pTVar6[iVar8].Town + 8);
- *(undefined4 *)(pTVar7[iVar8].Town + 0xc) =
- *(undefined4 *)(pTVar6[iVar8].Town + 0xc);
- *(undefined4 *)(pTVar7[iVar8].Town + 0x10) =
- *(undefined4 *)(pTVar6[iVar8].Town + 0x10);
- pTVar7[iVar8].Size = pTVar6[iVar8].Size;
- iVar8 = iVar9 + 1;
- pTVar6 = this->entry;
- iVar9 = iVar9 - this->start;
- *(undefined4 *)pTVar6[iVar9].Town = uVar1;
- *(undefined4 *)(pTVar6[iVar9].Town + 4) = uVar2;
- *(undefined4 *)(pTVar6[iVar9].Town + 8) = uVar3;
- *(undefined4 *)(pTVar6[iVar9].Town + 0xc) = uVar4;
- *(undefined4 *)(pTVar6[iVar9].Town + 0x10) = uVar5;
- pTVar6[iVar9].Size = iVar10;
- iVar9 = iVar8;
- } while (iVar8 <= this->max);
- }
- if (this->entry != (TDepotInfo *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar7;
- iVar9 = this->start;
- iVar10 = this->space + iVar11;
- this->space = iVar10;
- iVar11 = iVar10 + iVar9;
- }
- iVar11 = this->min;
- while (i < iVar11) {
- this->min = iVar11 + -1;
- if (this->initialized != false) {
- iVar9 = (iVar11 + -1) - iVar9;
- pTVar7 = this->entry;
- *(undefined4 *)pTVar7[iVar9].Town = *(undefined4 *)(this->init).Town;
- *(undefined4 *)(pTVar7[iVar9].Town + 4) = *(undefined4 *)((this->init).Town + 4);
- *(undefined4 *)(pTVar7[iVar9].Town + 8) = *(undefined4 *)((this->init).Town + 8);
- *(undefined4 *)(pTVar7[iVar9].Town + 0xc) = *(undefined4 *)((this->init).Town + 0xc);
- *(undefined4 *)(pTVar7[iVar9].Town + 0x10) = *(undefined4 *)((this->init).Town + 0x10);
- pTVar7[iVar9].Size = (this->init).Size;
- iVar9 = this->start;
- }
- iVar11 = this->min;
- }
- iVar11 = this->max;
- while (iVar11 < i) {
- this->max = iVar11 + 1;
- if (this->initialized != false) {
- iVar9 = (iVar11 + 1) - iVar9;
- pTVar7 = this->entry;
- *(undefined4 *)pTVar7[iVar9].Town = *(undefined4 *)(this->init).Town;
- *(undefined4 *)(pTVar7[iVar9].Town + 4) = *(undefined4 *)((this->init).Town + 4);
- *(undefined4 *)(pTVar7[iVar9].Town + 8) = *(undefined4 *)((this->init).Town + 8);
- *(undefined4 *)(pTVar7[iVar9].Town + 0xc) = *(undefined4 *)((this->init).Town + 0xc);
- *(undefined4 *)(pTVar7[iVar9].Town + 0x10) = *(undefined4 *)((this->init).Town + 0x10);
- pTVar7[iVar9].Size = (this->init).Size;
- iVar9 = this->start;
- }
- iVar11 = this->max;
- }
- return this->entry + (i - iVar9);
-}
-
-
-
-// DWARF original prototype: TMark * operator()(vector<TMark> * this, int i)
-
-TMark * __thiscall vector<TMark>::operator()(vector<TMark> *this,int i)
-
-{
- undefined4 uVar1;
- undefined4 uVar2;
- undefined4 uVar3;
- undefined4 uVar4;
- undefined4 uVar5;
- int iVar6;
- TMark *pTVar7;
- TMark *pTVar8;
- int iVar9;
- int iVar10;
- int iVar11;
- int iVar12;
- int iVar13;
- TMark *help_1;
- TMark *help;
- int j;
- int iVar14;
- int local_40;
- int extend;
- uchar Help [32];
-
- iVar12 = this->start;
- while (i < iVar12) {
- local_40 = this->block;
- if (local_40 == 0) {
- iVar12 = this->space;
- local_40 = iVar12;
- }
- else {
- iVar12 = this->space;
- }
- pTVar8 = (TMark *)operator_new__((local_40 + iVar12) * 0x20);
- iVar12 = this->min;
- if (iVar12 <= this->max) {
- do {
- iVar9 = (iVar12 - this->start) + local_40;
- uVar1 = *(undefined4 *)pTVar8[iVar9].Name;
- uVar2 = *(undefined4 *)(pTVar8[iVar9].Name + 4);
- uVar3 = *(undefined4 *)(pTVar8[iVar9].Name + 8);
- uVar4 = *(undefined4 *)(pTVar8[iVar9].Name + 0xc);
- uVar5 = *(undefined4 *)(pTVar8[iVar9].Name + 0x10);
- iVar10 = pTVar8[iVar9].x;
- iVar6 = pTVar8[iVar9].y;
- iVar13 = pTVar8[iVar9].z;
- iVar11 = iVar12 - this->start;
- iVar9 = local_40 + iVar11;
- pTVar7 = this->entry;
- *(undefined4 *)pTVar8[iVar9].Name = *(undefined4 *)pTVar7[iVar11].Name;
- *(undefined4 *)(pTVar8[iVar9].Name + 4) = *(undefined4 *)(pTVar7[iVar11].Name + 4);
- *(undefined4 *)(pTVar8[iVar9].Name + 8) = *(undefined4 *)(pTVar7[iVar11].Name + 8);
- *(undefined4 *)(pTVar8[iVar9].Name + 0xc) =
- *(undefined4 *)(pTVar7[iVar11].Name + 0xc);
- *(undefined4 *)(pTVar8[iVar9].Name + 0x10) =
- *(undefined4 *)(pTVar7[iVar11].Name + 0x10);
- pTVar8[iVar9].x = pTVar7[iVar11].x;
- pTVar8[iVar9].y = pTVar7[iVar11].y;
- iVar14 = iVar12 + 1;
- pTVar8[iVar9].z = pTVar7[iVar11].z;
- pTVar7 = this->entry;
- iVar12 = iVar12 - this->start;
- *(undefined4 *)pTVar7[iVar12].Name = uVar1;
- *(undefined4 *)(pTVar7[iVar12].Name + 4) = uVar2;
- *(undefined4 *)(pTVar7[iVar12].Name + 8) = uVar3;
- *(undefined4 *)(pTVar7[iVar12].Name + 0xc) = uVar4;
- *(undefined4 *)(pTVar7[iVar12].Name + 0x10) = uVar5;
- pTVar7[iVar12].x = iVar10;
- pTVar7[iVar12].y = iVar6;
- pTVar7[iVar12].z = iVar13;
- iVar12 = iVar14;
- } while (iVar14 <= this->max);
- }
- if (this->entry != (TMark *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar8;
- iVar12 = this->start - local_40;
- this->start = iVar12;
- this->space = this->space + local_40;
- }
- iVar10 = this->space;
- iVar9 = iVar10 + iVar12;
- while (iVar9 <= i) {
- iVar9 = this->block;
- if (this->block == 0) {
- iVar9 = iVar10;
- }
- pTVar8 = (TMark *)operator_new__((iVar9 + iVar10) * 0x20);
- iVar12 = this->min;
- if (iVar12 <= this->max) {
- do {
- iVar13 = iVar12 - this->start;
- uVar1 = *(undefined4 *)pTVar8[iVar13].Name;
- uVar2 = *(undefined4 *)(pTVar8[iVar13].Name + 4);
- uVar3 = *(undefined4 *)(pTVar8[iVar13].Name + 8);
- uVar4 = *(undefined4 *)(pTVar8[iVar13].Name + 0xc);
- uVar5 = *(undefined4 *)(pTVar8[iVar13].Name + 0x10);
- iVar10 = pTVar8[iVar13].x;
- iVar6 = pTVar8[iVar13].y;
- iVar13 = pTVar8[iVar13].z;
- iVar11 = iVar12 - this->start;
- pTVar7 = this->entry;
- *(undefined4 *)pTVar8[iVar11].Name = *(undefined4 *)pTVar7[iVar11].Name;
- *(undefined4 *)(pTVar8[iVar11].Name + 4) = *(undefined4 *)(pTVar7[iVar11].Name + 4);
- *(undefined4 *)(pTVar8[iVar11].Name + 8) = *(undefined4 *)(pTVar7[iVar11].Name + 8);
- *(undefined4 *)(pTVar8[iVar11].Name + 0xc) =
- *(undefined4 *)(pTVar7[iVar11].Name + 0xc);
- *(undefined4 *)(pTVar8[iVar11].Name + 0x10) =
- *(undefined4 *)(pTVar7[iVar11].Name + 0x10);
- pTVar8[iVar11].x = pTVar7[iVar11].x;
- pTVar8[iVar11].y = pTVar7[iVar11].y;
- pTVar8[iVar11].z = pTVar7[iVar11].z;
- iVar11 = iVar12 + 1;
- pTVar7 = this->entry;
- iVar12 = iVar12 - this->start;
- *(undefined4 *)pTVar7[iVar12].Name = uVar1;
- *(undefined4 *)(pTVar7[iVar12].Name + 4) = uVar2;
- *(undefined4 *)(pTVar7[iVar12].Name + 8) = uVar3;
- *(undefined4 *)(pTVar7[iVar12].Name + 0xc) = uVar4;
- *(undefined4 *)(pTVar7[iVar12].Name + 0x10) = uVar5;
- pTVar7[iVar12].x = iVar10;
- pTVar7[iVar12].y = iVar6;
- pTVar7[iVar12].z = iVar13;
- iVar12 = iVar11;
- } while (iVar11 <= this->max);
- }
- if (this->entry != (TMark *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar8;
- iVar12 = this->start;
- iVar10 = this->space + iVar9;
- this->space = iVar10;
- iVar9 = iVar10 + iVar12;
- }
- iVar9 = this->min;
- while (i < iVar9) {
- this->min = iVar9 + -1;
- if (this->initialized != false) {
- iVar12 = (iVar9 + -1) - iVar12;
- pTVar8 = this->entry;
- *(undefined4 *)pTVar8[iVar12].Name = *(undefined4 *)(this->init).Name;
- *(undefined4 *)(pTVar8[iVar12].Name + 4) = *(undefined4 *)((this->init).Name + 4);
- *(undefined4 *)(pTVar8[iVar12].Name + 8) = *(undefined4 *)((this->init).Name + 8);
- *(undefined4 *)(pTVar8[iVar12].Name + 0xc) = *(undefined4 *)((this->init).Name + 0xc);
- *(undefined4 *)(pTVar8[iVar12].Name + 0x10) = *(undefined4 *)((this->init).Name + 0x10);
- pTVar8[iVar12].x = (this->init).x;
- pTVar8[iVar12].y = (this->init).y;
- pTVar8[iVar12].z = (this->init).z;
- iVar12 = this->start;
- }
- iVar9 = this->min;
- }
- iVar9 = this->max;
- while (iVar9 < i) {
- this->max = iVar9 + 1;
- if (this->initialized != false) {
- iVar12 = (iVar9 + 1) - iVar12;
- pTVar8 = this->entry;
- *(undefined4 *)pTVar8[iVar12].Name = *(undefined4 *)(this->init).Name;
- *(undefined4 *)(pTVar8[iVar12].Name + 4) = *(undefined4 *)((this->init).Name + 4);
- *(undefined4 *)(pTVar8[iVar12].Name + 8) = *(undefined4 *)((this->init).Name + 8);
- *(undefined4 *)(pTVar8[iVar12].Name + 0xc) = *(undefined4 *)((this->init).Name + 0xc);
- *(undefined4 *)(pTVar8[iVar12].Name + 0x10) = *(undefined4 *)((this->init).Name + 0x10);
- pTVar8[iVar12].x = (this->init).x;
- pTVar8[iVar12].y = (this->init).y;
- pTVar8[iVar12].z = (this->init).z;
- iVar12 = this->start;
- }
- iVar9 = this->max;
- }
- return this->entry + (i - iVar12);
-}
-
-
-
// DWARF original prototype: void matrix3d(matrix3d<TSector*> * this, int xmin, int xmax, int ymin,
// int ymax, int zmin, int zmax, TSector * init)
@@ -30563,933 +22083,6 @@ void _GLOBAL__I_HouseArea(void)
return;
}
-
-
-// DWARF original prototype: void vector(vector<THouseGuest> * this, int min, int max, int block)
-
-void __thiscall vector<>::vector(vector<> *this,int min,int max,int block)
-
-{
- THouseGuest *pTVar1;
- int iVar2;
-
- this->min = min;
- iVar2 = (max - min) + 1;
- this->max = max;
- this->start = min;
- this->space = iVar2;
- this->block = block;
- this->initialized = false;
- if (iVar2 < 1) {
- error("vector: Ungueltige Feldgroesse %d bis %d.\n",min,max);
- this->max = max;
- this->space = 1;
- }
- if (block < 0) {
- error("vector: Ungueltige Blockgroesse %d.\n",block);
- this->block = 0;
- }
- pTVar1 = (THouseGuest *)operator_new__(this->space * 0x3c);
- this->entry = pTVar1;
- return;
-}
-
-
-
-// DWARF original prototype: THouseArea * operator()(vector<THouseArea> * this, int i)
-
-THouseArea * __thiscall vector<THouseArea>::operator()(vector<THouseArea> *this,int i)
-
-{
- THouseArea *pTVar1;
- undefined2 uVar2;
- ushort uVar3;
- undefined2 uVar4;
- THouseArea *pTVar5;
- int iVar6;
- int iVar7;
- int iVar8;
- int iVar9;
- int j_1;
- int iVar10;
- int j;
- THouseArea *help;
- int local_30;
- int extend;
- uchar Help [12];
-
- iVar7 = this->start;
- while (i < iVar7) {
- local_30 = this->block;
- if (local_30 == 0) {
- iVar7 = this->space;
- local_30 = iVar7;
- }
- else {
- iVar7 = this->space;
- }
- pTVar5 = (THouseArea *)operator_new__((local_30 + iVar7) * 0xc);
- iVar7 = this->min;
- if (iVar7 <= this->max) {
- do {
- iVar10 = (iVar7 - this->start) + local_30;
- uVar3 = pTVar5[iVar10].ID;
- uVar4 = *(undefined2 *)&pTVar5[iVar10].field_0x2;
- iVar9 = pTVar5[iVar10].SQMPrice;
- iVar8 = pTVar5[iVar10].DepotNr;
- iVar6 = iVar7 - this->start;
- iVar10 = local_30 + iVar6;
- pTVar1 = this->entry;
- uVar2 = *(undefined2 *)&pTVar1[iVar6].field_0x2;
- pTVar5[iVar10].ID = pTVar1[iVar6].ID;
- *(undefined2 *)&pTVar5[iVar10].field_0x2 = uVar2;
- pTVar5[iVar10].SQMPrice = pTVar1[iVar6].SQMPrice;
- pTVar5[iVar10].DepotNr = pTVar1[iVar6].DepotNr;
- iVar10 = iVar7 + 1;
- iVar7 = iVar7 - this->start;
- pTVar1 = this->entry;
- pTVar1[iVar7].ID = uVar3;
- *(undefined2 *)&pTVar1[iVar7].field_0x2 = uVar4;
- pTVar1[iVar7].SQMPrice = iVar9;
- pTVar1[iVar7].DepotNr = iVar8;
- iVar7 = iVar10;
- } while (iVar10 <= this->max);
- }
- if (this->entry != (THouseArea *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar5;
- iVar7 = this->start - local_30;
- this->start = iVar7;
- this->space = this->space + local_30;
- }
- iVar9 = this->space;
- iVar10 = iVar9 + iVar7;
- while (iVar10 <= i) {
- iVar10 = this->block;
- if (this->block == 0) {
- iVar10 = iVar9;
- }
- pTVar5 = (THouseArea *)operator_new__((iVar10 + iVar9) * 0xc);
- iVar7 = this->min;
- if (iVar7 <= this->max) {
- do {
- iVar8 = iVar7 - this->start;
- uVar3 = pTVar5[iVar8].ID;
- uVar4 = *(undefined2 *)&pTVar5[iVar8].field_0x2;
- iVar9 = pTVar5[iVar8].SQMPrice;
- iVar8 = pTVar5[iVar8].DepotNr;
- pTVar1 = this->entry;
- iVar6 = iVar7 - this->start;
- uVar2 = *(undefined2 *)&pTVar1[iVar6].field_0x2;
- pTVar5[iVar6].ID = pTVar1[iVar6].ID;
- *(undefined2 *)&pTVar5[iVar6].field_0x2 = uVar2;
- pTVar5[iVar6].SQMPrice = pTVar1[iVar6].SQMPrice;
- pTVar5[iVar6].DepotNr = pTVar1[iVar6].DepotNr;
- iVar6 = iVar7 + 1;
- pTVar1 = this->entry;
- iVar7 = iVar7 - this->start;
- pTVar1[iVar7].ID = uVar3;
- *(undefined2 *)&pTVar1[iVar7].field_0x2 = uVar4;
- pTVar1[iVar7].SQMPrice = iVar9;
- pTVar1[iVar7].DepotNr = iVar8;
- iVar7 = iVar6;
- } while (iVar6 <= this->max);
- }
- if (this->entry != (THouseArea *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar5;
- iVar7 = this->start;
- iVar9 = this->space + iVar10;
- this->space = iVar9;
- iVar10 = iVar9 + iVar7;
- }
- iVar10 = this->min;
- while (i < iVar10) {
- this->min = iVar10 + -1;
- if (this->initialized != false) {
- iVar7 = (iVar10 + -1) - iVar7;
- pTVar5 = this->entry;
- uVar2 = *(undefined2 *)&(this->init).field_0x2;
- pTVar5[iVar7].ID = (this->init).ID;
- *(undefined2 *)&pTVar5[iVar7].field_0x2 = uVar2;
- pTVar5[iVar7].SQMPrice = (this->init).SQMPrice;
- pTVar5[iVar7].DepotNr = (this->init).DepotNr;
- iVar7 = this->start;
- }
- iVar10 = this->min;
- }
- iVar10 = this->max;
- while (iVar10 < i) {
- this->max = iVar10 + 1;
- if (this->initialized != false) {
- iVar7 = (iVar10 + 1) - iVar7;
- pTVar5 = this->entry;
- uVar2 = *(undefined2 *)&(this->init).field_0x2;
- pTVar5[iVar7].ID = (this->init).ID;
- *(undefined2 *)&pTVar5[iVar7].field_0x2 = uVar2;
- pTVar5[iVar7].SQMPrice = (this->init).SQMPrice;
- pTVar5[iVar7].DepotNr = (this->init).DepotNr;
- iVar7 = this->start;
- }
- iVar10 = this->max;
- }
- return this->entry + (i - iVar7);
-}
-
-
-
-// DWARF original prototype: THouse * operator()(vector<THouse> * this, int i)
-
-THouse * __thiscall vector<THouse>::operator()(vector<THouse> *this,int i)
-
-{
- THouseGuest *pTVar1;
- ushort *puVar2;
- char *pcVar3;
- char *pcVar4;
- char cVar5;
- char cVar6;
- int *piVar7;
- uint uVar8;
- int iVar9;
- int j_1;
- THouse *pTVar10;
- int j;
- int iVar11;
- THouse *pTVar12;
- THouse *pTVar13;
- int iVar14;
- int extend_1;
- int local_360;
- int extend;
- uchar Help [824];
-
- iVar11 = this->start;
- while (i < iVar11) {
- local_360 = this->block;
- if (local_360 == 0) {
- iVar11 = this->space;
- local_360 = iVar11;
- }
- else {
- iVar11 = this->space;
- }
- iVar11 = local_360 + iVar11;
- piVar7 = (int *)operator_new__(iVar11 * 0x338 + 4);
- *piVar7 = iVar11;
- pTVar13 = (THouse *)(piVar7 + 1);
- pTVar10 = pTVar13;
- while (iVar11 = iVar11 + -1, iVar11 != -1) {
- // try { // try from 08067573 to 08067577 has its CatchHandler @ 08067b65
- vector<>::vector(&pTVar10->Subowner,0,4,5);
- // try { // try from 08067599 to 0806759d has its CatchHandler @ 08067acc
- vector<>::vector(&pTVar10->Guest,0,9,10);
- pTVar10 = pTVar10 + 1;
- }
- iVar11 = this->min;
- if (iVar11 <= this->max) {
- do {
- piVar7 = &extend;
- uVar8 = 0x338;
- pTVar10 = pTVar13 + (iVar11 - this->start) + local_360;
- if (((uint)&extend & 4) != 0) {
- puVar2 = &pTVar10->ID;
- pcVar3 = pTVar10->Name;
- pcVar4 = pTVar10->Name;
- piVar7 = (int *)Help;
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- extend._0_2_ = *puVar2;
- extend._2_1_ = pcVar3[0];
- extend._3_1_ = pcVar4[1];
- uVar8 = 0x334;
- }
- for (uVar8 = uVar8 >> 2; uVar8 != 0; uVar8 = uVar8 - 1) {
- *piVar7 = *(int *)pTVar10;
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- piVar7 = piVar7 + 1;
- }
- iVar14 = iVar11 - this->start;
- pTVar10 = pTVar13 + local_360 + iVar14;
- pTVar12 = this->entry + iVar14;
- uVar8 = 0x338;
- if (((uint)pTVar10 & 4) != 0) {
- puVar2 = &pTVar12->ID;
- cVar5 = pTVar12->Name[0];
- cVar6 = pTVar12->Name[1];
- pTVar12 = (THouse *)(pTVar12->Name + 2);
- pTVar10->ID = *puVar2;
- pTVar10->Name[0] = cVar5;
- pTVar10->Name[1] = cVar6;
- uVar8 = 0x334;
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- }
- for (uVar8 = uVar8 >> 2; uVar8 != 0; uVar8 = uVar8 - 1) {
- cVar5 = pTVar12->Name[0];
- cVar6 = pTVar12->Name[1];
- pTVar10->ID = pTVar12->ID;
- pTVar10->Name[0] = cVar5;
- pTVar10->Name[1] = cVar6;
- pTVar12 = (THouse *)(pTVar12->Name + 2);
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- }
- uVar8 = 0x338;
- pTVar10 = this->entry + (iVar11 - this->start);
- piVar7 = &extend;
- if (((uint)pTVar10 & 4) != 0) {
- piVar7 = (int *)Help;
- pTVar10->ID = (undefined2)extend;
- pTVar10->Name[0] = extend._2_1_;
- pTVar10->Name[1] = extend._3_1_;
- uVar8 = 0x334;
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- }
- for (uVar8 = uVar8 >> 2; uVar8 != 0; uVar8 = uVar8 - 1) {
- iVar14 = *piVar7;
- pTVar10->ID = (short)iVar14;
- pTVar10->Name[0] = (char)((uint)iVar14 >> 0x10);
- pTVar10->Name[1] = (char)((uint)iVar14 >> 0x18);
- piVar7 = piVar7 + 1;
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- }
- iVar11 = iVar11 + 1;
- } while (iVar11 <= this->max);
- }
- pTVar10 = this->entry;
- if (pTVar10 != (THouse *)0x0) {
- pTVar12 = pTVar10 + pTVar10[-1].Help;
- while (pTVar10 != pTVar12) {
- pTVar1 = pTVar12[-1].Guest.entry;
- if (pTVar1 != (THouseGuest *)0x0) {
- operator_delete__(pTVar1);
- }
- pTVar1 = pTVar12[-1].Subowner.entry;
- if (pTVar1 == (THouseGuest *)0x0) {
- pTVar10 = this->entry;
- pTVar12 = pTVar12 + -1;
- }
- else {
- operator_delete__(pTVar1);
- pTVar10 = this->entry;
- pTVar12 = pTVar12 + -1;
- }
- }
- operator_delete__(&pTVar10[-1].Help);
- }
- this->entry = pTVar13;
- iVar11 = this->start - local_360;
- this->start = iVar11;
- this->space = this->space + local_360;
- }
- iVar9 = this->space;
- iVar14 = iVar9 + iVar11;
- while (iVar14 <= i) {
- iVar11 = iVar9;
- if (this->block != 0) {
- iVar11 = this->block;
- }
- iVar9 = iVar11 + iVar9;
- piVar7 = (int *)operator_new__(iVar9 * 0x338 + 4);
- pTVar13 = (THouse *)(piVar7 + 1);
- *piVar7 = iVar9;
- pTVar10 = pTVar13;
- while (iVar9 = iVar9 + -1, iVar9 != -1) {
- // try { // try from 080677ef to 080677f3 has its CatchHandler @ 08067c08
- vector<>::vector(&pTVar10->Subowner,0,4,5);
- // try { // try from 08067815 to 08067819 has its CatchHandler @ 08067b6c
- vector<>::vector(&pTVar10->Guest,0,9,10);
- pTVar10 = pTVar10 + 1;
- }
- iVar14 = this->min;
- if (iVar14 <= this->max) {
- do {
- piVar7 = &extend;
- pTVar10 = pTVar13 + (iVar14 - this->start);
- uVar8 = 0x338;
- if (((uint)&extend & 4) != 0) {
- puVar2 = &pTVar10->ID;
- pcVar3 = pTVar10->Name;
- pcVar4 = pTVar10->Name;
- piVar7 = (int *)Help;
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- extend._0_2_ = *puVar2;
- extend._2_1_ = pcVar3[0];
- extend._3_1_ = pcVar4[1];
- uVar8 = 0x334;
- }
- for (uVar8 = uVar8 >> 2; uVar8 != 0; uVar8 = uVar8 - 1) {
- *piVar7 = *(int *)pTVar10;
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- piVar7 = piVar7 + 1;
- }
- iVar9 = iVar14 - this->start;
- pTVar10 = pTVar13 + iVar9;
- pTVar12 = this->entry + iVar9;
- uVar8 = 0x338;
- if (((uint)pTVar10 & 4) != 0) {
- puVar2 = &pTVar12->ID;
- cVar5 = pTVar12->Name[0];
- cVar6 = pTVar12->Name[1];
- pTVar12 = (THouse *)(pTVar12->Name + 2);
- pTVar10->ID = *puVar2;
- pTVar10->Name[0] = cVar5;
- pTVar10->Name[1] = cVar6;
- uVar8 = 0x334;
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- }
- for (uVar8 = uVar8 >> 2; uVar8 != 0; uVar8 = uVar8 - 1) {
- cVar5 = pTVar12->Name[0];
- cVar6 = pTVar12->Name[1];
- pTVar10->ID = pTVar12->ID;
- pTVar10->Name[0] = cVar5;
- pTVar10->Name[1] = cVar6;
- pTVar12 = (THouse *)(pTVar12->Name + 2);
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- }
- uVar8 = 0x338;
- pTVar10 = this->entry + (iVar14 - this->start);
- piVar7 = &extend;
- if (((uint)pTVar10 & 4) != 0) {
- piVar7 = (int *)Help;
- pTVar10->ID = (undefined2)extend;
- pTVar10->Name[0] = extend._2_1_;
- pTVar10->Name[1] = extend._3_1_;
- uVar8 = 0x334;
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- }
- for (uVar8 = uVar8 >> 2; uVar8 != 0; uVar8 = uVar8 - 1) {
- iVar9 = *piVar7;
- pTVar10->ID = (short)iVar9;
- pTVar10->Name[0] = (char)((uint)iVar9 >> 0x10);
- pTVar10->Name[1] = (char)((uint)iVar9 >> 0x18);
- piVar7 = piVar7 + 1;
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- }
- iVar14 = iVar14 + 1;
- } while (iVar14 <= this->max);
- }
- pTVar10 = this->entry;
- if (pTVar10 != (THouse *)0x0) {
- pTVar12 = pTVar10 + pTVar10[-1].Help;
- while (pTVar10 != pTVar12) {
- pTVar1 = pTVar12[-1].Guest.entry;
- if (pTVar1 != (THouseGuest *)0x0) {
- operator_delete__(pTVar1);
- }
- pTVar1 = pTVar12[-1].Subowner.entry;
- if (pTVar1 == (THouseGuest *)0x0) {
- pTVar10 = this->entry;
- pTVar12 = pTVar12 + -1;
- }
- else {
- operator_delete__(pTVar1);
- pTVar10 = this->entry;
- pTVar12 = pTVar12 + -1;
- }
- }
- operator_delete__(&pTVar10[-1].Help);
- }
- this->entry = pTVar13;
- iVar9 = iVar11 + this->space;
- iVar11 = this->start;
- this->space = iVar9;
- iVar14 = iVar9 + iVar11;
- }
- iVar14 = this->min;
- while (i < iVar14) {
- this->min = iVar14 + -1;
- if (this->initialized != false) {
- pTVar13 = &this->init;
- uVar8 = 0x338;
- pTVar10 = this->entry + ((iVar14 + -1) - iVar11);
- if (((uint)pTVar10 & 4) != 0) {
- cVar5 = (this->init).Name[0];
- cVar6 = (this->init).Name[1];
- pTVar13 = (THouse *)((this->init).Name + 2);
- pTVar10->ID = (this->init).ID;
- pTVar10->Name[0] = cVar5;
- pTVar10->Name[1] = cVar6;
- uVar8 = 0x334;
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- }
- for (uVar8 = uVar8 >> 2; uVar8 != 0; uVar8 = uVar8 - 1) {
- cVar5 = pTVar13->Name[0];
- cVar6 = pTVar13->Name[1];
- pTVar10->ID = pTVar13->ID;
- pTVar10->Name[0] = cVar5;
- pTVar10->Name[1] = cVar6;
- pTVar13 = (THouse *)(pTVar13->Name + 2);
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- }
- iVar11 = this->start;
- }
- iVar14 = this->min;
- }
- iVar14 = this->max;
- while (iVar14 < i) {
- this->max = iVar14 + 1;
- if (this->initialized != false) {
- pTVar13 = &this->init;
- pTVar10 = this->entry + ((iVar14 + 1) - iVar11);
- uVar8 = 0x338;
- if (((uint)pTVar10 & 4) != 0) {
- cVar5 = (this->init).Name[0];
- cVar6 = (this->init).Name[1];
- pTVar13 = (THouse *)((this->init).Name + 2);
- pTVar10->ID = (this->init).ID;
- pTVar10->Name[0] = cVar5;
- pTVar10->Name[1] = cVar6;
- uVar8 = 0x334;
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- }
- for (uVar8 = uVar8 >> 2; uVar8 != 0; uVar8 = uVar8 - 1) {
- cVar5 = pTVar13->Name[0];
- cVar6 = pTVar13->Name[1];
- pTVar10->ID = pTVar13->ID;
- pTVar10->Name[0] = cVar5;
- pTVar10->Name[1] = cVar6;
- pTVar13 = (THouse *)(pTVar13->Name + 2);
- pTVar10 = (THouse *)(pTVar10->Name + 2);
- }
- iVar11 = this->start;
- }
- iVar14 = this->max;
- }
- return this->entry + (i - iVar11);
-}
-
-
-
-// DWARF original prototype: THouseGuest * operator()(vector<THouseGuest> * this, int i)
-
-THouseGuest * __thiscall vector<>::operator()(vector<> *this,int i)
-
-{
- undefined4 uVar1;
- undefined4 uVar2;
- undefined4 uVar3;
- undefined4 uVar4;
- undefined4 uVar5;
- undefined4 uVar6;
- undefined4 uVar7;
- undefined4 uVar8;
- undefined4 uVar9;
- undefined4 uVar10;
- undefined4 uVar11;
- undefined4 uVar12;
- undefined4 uVar13;
- undefined4 uVar14;
- undefined4 uVar15;
- THouseGuest *pTVar16;
- THouseGuest *pTVar17;
- int iVar18;
- int iVar19;
- THouseGuest *help_1;
- int iVar20;
- THouseGuest *help;
- int iVar21;
- int j;
- int local_60;
- int extend;
- uchar Help [60];
-
- iVar19 = this->start;
- while (i < iVar19) {
- local_60 = this->block;
- if (local_60 == 0) {
- iVar19 = this->space;
- local_60 = iVar19;
- }
- else {
- iVar19 = this->space;
- }
- pTVar17 = (THouseGuest *)operator_new__((iVar19 + local_60) * 0x3c);
- iVar19 = this->min;
- if (iVar19 <= this->max) {
- do {
- iVar18 = (iVar19 - this->start) + local_60;
- uVar1 = *(undefined4 *)pTVar17[iVar18].Name;
- uVar2 = *(undefined4 *)(pTVar17[iVar18].Name + 4);
- uVar3 = *(undefined4 *)(pTVar17[iVar18].Name + 8);
- uVar4 = *(undefined4 *)(pTVar17[iVar18].Name + 0xc);
- uVar5 = *(undefined4 *)(pTVar17[iVar18].Name + 0x10);
- uVar6 = *(undefined4 *)(pTVar17[iVar18].Name + 0x14);
- uVar7 = *(undefined4 *)(pTVar17[iVar18].Name + 0x18);
- uVar8 = *(undefined4 *)(pTVar17[iVar18].Name + 0x1c);
- uVar9 = *(undefined4 *)(pTVar17[iVar18].Name + 0x20);
- uVar10 = *(undefined4 *)(pTVar17[iVar18].Name + 0x24);
- uVar11 = *(undefined4 *)(pTVar17[iVar18].Name + 0x28);
- uVar12 = *(undefined4 *)(pTVar17[iVar18].Name + 0x2c);
- uVar13 = *(undefined4 *)(pTVar17[iVar18].Name + 0x30);
- uVar14 = *(undefined4 *)(pTVar17[iVar18].Name + 0x34);
- uVar15 = *(undefined4 *)(pTVar17[iVar18].Name + 0x38);
- pTVar16 = this->entry;
- iVar20 = iVar19 - this->start;
- iVar18 = local_60 + iVar20;
- *(undefined4 *)pTVar17[iVar18].Name = *(undefined4 *)pTVar16[iVar20].Name;
- *(undefined4 *)(pTVar17[iVar18].Name + 4) =
- *(undefined4 *)(pTVar16[iVar20].Name + 4);
- *(undefined4 *)(pTVar17[iVar18].Name + 8) =
- *(undefined4 *)(pTVar16[iVar20].Name + 8);
- *(undefined4 *)(pTVar17[iVar18].Name + 0xc) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0xc);
- *(undefined4 *)(pTVar17[iVar18].Name + 0x10) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x10);
- *(undefined4 *)(pTVar17[iVar18].Name + 0x14) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x14);
- *(undefined4 *)(pTVar17[iVar18].Name + 0x18) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x18);
- *(undefined4 *)(pTVar17[iVar18].Name + 0x1c) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x1c);
- *(undefined4 *)(pTVar17[iVar18].Name + 0x20) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x20);
- *(undefined4 *)(pTVar17[iVar18].Name + 0x24) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x24);
- *(undefined4 *)(pTVar17[iVar18].Name + 0x28) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x28);
- *(undefined4 *)(pTVar17[iVar18].Name + 0x2c) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x2c);
- *(undefined4 *)(pTVar17[iVar18].Name + 0x30) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x30);
- *(undefined4 *)(pTVar17[iVar18].Name + 0x34) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x34);
- *(undefined4 *)(pTVar17[iVar18].Name + 0x38) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x38);
- iVar18 = iVar19 + 1;
- iVar19 = iVar19 - this->start;
- pTVar16 = this->entry;
- *(undefined4 *)pTVar16[iVar19].Name = uVar1;
- *(undefined4 *)(pTVar16[iVar19].Name + 4) = uVar2;
- *(undefined4 *)(pTVar16[iVar19].Name + 8) = uVar3;
- *(undefined4 *)(pTVar16[iVar19].Name + 0xc) = uVar4;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x10) = uVar5;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x14) = uVar6;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x18) = uVar7;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x1c) = uVar8;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x20) = uVar9;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x24) = uVar10;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x28) = uVar11;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x2c) = uVar12;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x30) = uVar13;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x34) = uVar14;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x38) = uVar15;
- iVar19 = iVar18;
- } while (iVar18 <= this->max);
- }
- if (this->entry != (THouseGuest *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar17;
- iVar19 = this->start - local_60;
- this->start = iVar19;
- this->space = this->space + local_60;
- }
- iVar20 = this->space;
- iVar18 = iVar20 + iVar19;
- while (iVar18 <= i) {
- iVar18 = this->block;
- if (this->block == 0) {
- iVar18 = iVar20;
- }
- pTVar17 = (THouseGuest *)operator_new__((iVar20 + iVar18) * 0x3c);
- iVar19 = this->min;
- if (this->min <= this->max) {
- do {
- iVar20 = iVar19 - this->start;
- uVar1 = *(undefined4 *)pTVar17[iVar20].Name;
- uVar2 = *(undefined4 *)(pTVar17[iVar20].Name + 4);
- uVar3 = *(undefined4 *)(pTVar17[iVar20].Name + 8);
- uVar4 = *(undefined4 *)(pTVar17[iVar20].Name + 0xc);
- uVar5 = *(undefined4 *)(pTVar17[iVar20].Name + 0x10);
- uVar6 = *(undefined4 *)(pTVar17[iVar20].Name + 0x14);
- uVar7 = *(undefined4 *)(pTVar17[iVar20].Name + 0x18);
- uVar8 = *(undefined4 *)(pTVar17[iVar20].Name + 0x1c);
- uVar9 = *(undefined4 *)(pTVar17[iVar20].Name + 0x20);
- uVar10 = *(undefined4 *)(pTVar17[iVar20].Name + 0x24);
- uVar11 = *(undefined4 *)(pTVar17[iVar20].Name + 0x28);
- uVar12 = *(undefined4 *)(pTVar17[iVar20].Name + 0x2c);
- uVar13 = *(undefined4 *)(pTVar17[iVar20].Name + 0x30);
- uVar14 = *(undefined4 *)(pTVar17[iVar20].Name + 0x34);
- uVar15 = *(undefined4 *)(pTVar17[iVar20].Name + 0x38);
- iVar20 = iVar19 - this->start;
- pTVar16 = this->entry;
- *(undefined4 *)pTVar17[iVar20].Name = *(undefined4 *)pTVar16[iVar20].Name;
- *(undefined4 *)(pTVar17[iVar20].Name + 4) =
- *(undefined4 *)(pTVar16[iVar20].Name + 4);
- *(undefined4 *)(pTVar17[iVar20].Name + 8) =
- *(undefined4 *)(pTVar16[iVar20].Name + 8);
- *(undefined4 *)(pTVar17[iVar20].Name + 0xc) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0xc);
- *(undefined4 *)(pTVar17[iVar20].Name + 0x10) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x10);
- *(undefined4 *)(pTVar17[iVar20].Name + 0x14) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x14);
- *(undefined4 *)(pTVar17[iVar20].Name + 0x18) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x18);
- *(undefined4 *)(pTVar17[iVar20].Name + 0x1c) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x1c);
- *(undefined4 *)(pTVar17[iVar20].Name + 0x20) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x20);
- *(undefined4 *)(pTVar17[iVar20].Name + 0x24) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x24);
- *(undefined4 *)(pTVar17[iVar20].Name + 0x28) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x28);
- *(undefined4 *)(pTVar17[iVar20].Name + 0x2c) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x2c);
- *(undefined4 *)(pTVar17[iVar20].Name + 0x30) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x30);
- *(undefined4 *)(pTVar17[iVar20].Name + 0x34) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x34);
- iVar21 = iVar19 + 1;
- *(undefined4 *)(pTVar17[iVar20].Name + 0x38) =
- *(undefined4 *)(pTVar16[iVar20].Name + 0x38);
- iVar19 = iVar19 - this->start;
- pTVar16 = this->entry;
- *(undefined4 *)pTVar16[iVar19].Name = uVar1;
- *(undefined4 *)(pTVar16[iVar19].Name + 4) = uVar2;
- *(undefined4 *)(pTVar16[iVar19].Name + 8) = uVar3;
- *(undefined4 *)(pTVar16[iVar19].Name + 0xc) = uVar4;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x10) = uVar5;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x14) = uVar6;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x18) = uVar7;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x1c) = uVar8;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x20) = uVar9;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x24) = uVar10;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x28) = uVar11;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x2c) = uVar12;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x30) = uVar13;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x34) = uVar14;
- *(undefined4 *)(pTVar16[iVar19].Name + 0x38) = uVar15;
- iVar19 = iVar21;
- } while (iVar21 <= this->max);
- }
- if (this->entry != (THouseGuest *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar17;
- iVar19 = this->start;
- iVar20 = this->space + iVar18;
- this->space = iVar20;
- iVar18 = iVar20 + iVar19;
- }
- iVar18 = this->min;
- while (i < iVar18) {
- this->min = iVar18 + -1;
- if (this->initialized != false) {
- iVar19 = (iVar18 + -1) - iVar19;
- pTVar17 = this->entry;
- *(undefined4 *)pTVar17[iVar19].Name = *(undefined4 *)(this->init).Name;
- *(undefined4 *)(pTVar17[iVar19].Name + 4) = *(undefined4 *)((this->init).Name + 4);
- *(undefined4 *)(pTVar17[iVar19].Name + 8) = *(undefined4 *)((this->init).Name + 8);
- *(undefined4 *)(pTVar17[iVar19].Name + 0xc) = *(undefined4 *)((this->init).Name + 0xc);
- *(undefined4 *)(pTVar17[iVar19].Name + 0x10) = *(undefined4 *)((this->init).Name + 0x10)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x14) = *(undefined4 *)((this->init).Name + 0x14)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x18) = *(undefined4 *)((this->init).Name + 0x18)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x1c) = *(undefined4 *)((this->init).Name + 0x1c)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x20) = *(undefined4 *)((this->init).Name + 0x20)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x24) = *(undefined4 *)((this->init).Name + 0x24)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x28) = *(undefined4 *)((this->init).Name + 0x28)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x2c) = *(undefined4 *)((this->init).Name + 0x2c)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x30) = *(undefined4 *)((this->init).Name + 0x30)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x34) = *(undefined4 *)((this->init).Name + 0x34)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x38) = *(undefined4 *)((this->init).Name + 0x38)
- ;
- iVar19 = this->start;
- }
- iVar18 = this->min;
- }
- iVar18 = this->max;
- while (iVar18 < i) {
- this->max = iVar18 + 1;
- if (this->initialized != false) {
- iVar19 = (iVar18 + 1) - iVar19;
- pTVar17 = this->entry;
- *(undefined4 *)pTVar17[iVar19].Name = *(undefined4 *)(this->init).Name;
- *(undefined4 *)(pTVar17[iVar19].Name + 4) = *(undefined4 *)((this->init).Name + 4);
- *(undefined4 *)(pTVar17[iVar19].Name + 8) = *(undefined4 *)((this->init).Name + 8);
- *(undefined4 *)(pTVar17[iVar19].Name + 0xc) = *(undefined4 *)((this->init).Name + 0xc);
- *(undefined4 *)(pTVar17[iVar19].Name + 0x10) = *(undefined4 *)((this->init).Name + 0x10)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x14) = *(undefined4 *)((this->init).Name + 0x14)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x18) = *(undefined4 *)((this->init).Name + 0x18)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x1c) = *(undefined4 *)((this->init).Name + 0x1c)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x20) = *(undefined4 *)((this->init).Name + 0x20)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x24) = *(undefined4 *)((this->init).Name + 0x24)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x28) = *(undefined4 *)((this->init).Name + 0x28)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x2c) = *(undefined4 *)((this->init).Name + 0x2c)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x30) = *(undefined4 *)((this->init).Name + 0x30)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x34) = *(undefined4 *)((this->init).Name + 0x34)
- ;
- *(undefined4 *)(pTVar17[iVar19].Name + 0x38) = *(undefined4 *)((this->init).Name + 0x38)
- ;
- iVar19 = this->start;
- }
- iVar18 = this->max;
- }
- return this->entry + (i - iVar19);
-}
-
-
-
-// DWARF original prototype: THelpDepot * operator()(vector<THelpDepot> * this, int i)
-
-THelpDepot * __thiscall vector<THelpDepot>::operator()(vector<THelpDepot> *this,int i)
-
-{
- ulong uVar1;
- ulong uVar2;
- THelpDepot *pTVar3;
- int iVar4;
- int iVar5;
- int iVar6;
- int iVar7;
- THelpDepot *pTVar8;
- int j_1;
- int j;
- int extend_1;
- int local_40;
- int extend;
- uchar Help [12];
-
- iVar6 = this->start;
- while (i < iVar6) {
- local_40 = this->block;
- if (local_40 == 0) {
- iVar6 = this->space;
- local_40 = iVar6;
- }
- else {
- iVar6 = this->space;
- }
- iVar6 = local_40 + iVar6;
- pTVar3 = (THelpDepot *)operator_new__(iVar6 * 0xc);
- pTVar8 = pTVar3;
- while (iVar6 = iVar6 + -1, iVar6 != -1) {
- (pTVar8->Box).ObjectID = 0;
- pTVar8 = pTVar8 + 1;
- }
- iVar6 = this->min;
- if (iVar6 <= this->max) {
- do {
- iVar4 = (iVar6 - this->start) + local_40;
- uVar1 = pTVar3[iVar4].CharacterID;
- uVar2 = pTVar3[iVar4].Box.ObjectID;
- iVar7 = pTVar3[iVar4].DepotNr;
- iVar5 = iVar6 - this->start;
- iVar4 = local_40 + iVar5;
- pTVar8 = this->entry;
- pTVar3[iVar4].CharacterID = pTVar8[iVar5].CharacterID;
- pTVar3[iVar4].Box.ObjectID = pTVar8[iVar5].Box.ObjectID;
- pTVar3[iVar4].DepotNr = pTVar8[iVar5].DepotNr;
- iVar4 = iVar6 + 1;
- iVar6 = iVar6 - this->start;
- pTVar8 = this->entry;
- pTVar8[iVar6].CharacterID = uVar1;
- pTVar8[iVar6].Box.ObjectID = uVar2;
- pTVar8[iVar6].DepotNr = iVar7;
- iVar6 = iVar4;
- } while (iVar4 <= this->max);
- }
- if (this->entry != (THelpDepot *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar3;
- iVar6 = this->start - local_40;
- this->start = iVar6;
- this->space = this->space + local_40;
- }
- iVar7 = this->space;
- iVar4 = iVar7 + iVar6;
- while (iVar4 <= i) {
- iVar4 = this->block;
- if (this->block == 0) {
- iVar4 = iVar7;
- }
- iVar7 = iVar4 + iVar7;
- pTVar3 = (THelpDepot *)operator_new__(iVar7 * 0xc);
- pTVar8 = pTVar3;
- while (iVar7 = iVar7 + -1, iVar7 != -1) {
- (pTVar8->Box).ObjectID = 0;
- pTVar8 = pTVar8 + 1;
- }
- iVar6 = this->min;
- if (iVar6 <= this->max) {
- do {
- iVar7 = iVar6 - this->start;
- uVar1 = pTVar3[iVar7].CharacterID;
- uVar2 = pTVar3[iVar7].Box.ObjectID;
- iVar7 = pTVar3[iVar7].DepotNr;
- pTVar8 = this->entry;
- iVar5 = iVar6 - this->start;
- pTVar3[iVar5].CharacterID = pTVar8[iVar5].CharacterID;
- pTVar3[iVar5].Box.ObjectID = pTVar8[iVar5].Box.ObjectID;
- pTVar3[iVar5].DepotNr = pTVar8[iVar5].DepotNr;
- iVar5 = iVar6 + 1;
- pTVar8 = this->entry;
- iVar6 = iVar6 - this->start;
- pTVar8[iVar6].CharacterID = uVar1;
- pTVar8[iVar6].Box.ObjectID = uVar2;
- pTVar8[iVar6].DepotNr = iVar7;
- iVar6 = iVar5;
- } while (iVar5 <= this->max);
- }
- if (this->entry != (THelpDepot *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar3;
- iVar6 = this->start;
- iVar7 = this->space + iVar4;
- this->space = iVar7;
- iVar4 = iVar7 + iVar6;
- }
- iVar4 = this->min;
- while (i < iVar4) {
- this->min = iVar4 + -1;
- if (this->initialized != false) {
- pTVar8 = this->entry + ((iVar4 + -1) - iVar6);
- pTVar8->CharacterID = (this->init).CharacterID;
- (pTVar8->Box).ObjectID = (this->init).Box.ObjectID;
- pTVar8->DepotNr = (this->init).DepotNr;
- iVar6 = this->start;
- }
- iVar4 = this->min;
- }
- iVar4 = this->max;
- while (iVar4 < i) {
- this->max = iVar4 + 1;
- if (this->initialized != false) {
- pTVar8 = this->entry + ((iVar4 + 1) - iVar6);
- pTVar8->CharacterID = (this->init).CharacterID;
- (pTVar8->Box).ObjectID = (this->init).Box.ObjectID;
- pTVar8->DepotNr = (this->init).DepotNr;
- iVar6 = this->start;
- }
- iVar4 = this->max;
- }
- return this->entry + (i - iVar6);
-}
-
-
-
void * ThreadStarter(void *Pointer)
{
@@ -34114,218 +24707,6 @@ void _GLOBAL__I__Z12InitProtocolv(void)
return;
}
-
-
-// DWARF original prototype: TReportedStatement * operator()(vector<TReportedStatement> * this, int
-// i)
-
-TReportedStatement * __thiscall vector<>::operator()(vector<> *this,int i)
-
-{
- ulong *puVar1;
- TReportedStatement *pTVar2;
- uint uVar3;
- int iVar4;
- int j_1;
- int j;
- int iVar5;
- TReportedStatement *pTVar6;
- TReportedStatement *pTVar7;
- ulong *puVar8;
- int iVar9;
- int extend_1;
- TReportedStatement *help;
- int extend;
- uchar Help [276];
-
- iVar5 = this->start;
- while (i < iVar5) {
- help = (TReportedStatement *)this->block;
- if (help == (TReportedStatement *)0x0) {
- pTVar2 = (TReportedStatement *)this->space;
- help = pTVar2;
- }
- else {
- pTVar2 = (TReportedStatement *)this->space;
- }
- pTVar2 = (TReportedStatement *)
- operator_new__((int)(pTVar2->Text + (int)(help->Text + -0x28)) * 0x114);
- iVar5 = this->min;
- if (iVar5 <= this->max) {
- do {
- puVar8 = (ulong *)&extend;
- uVar3 = 0x114;
- pTVar6 = pTVar2 + (iVar5 - this->start) + (int)help;
- if (((uint)&extend & 4) != 0) {
- puVar1 = &pTVar6->StatementID;
- puVar8 = (ulong *)Help;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- extend = *puVar1;
- uVar3 = 0x110;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- *puVar8 = pTVar6->StatementID;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- puVar8 = puVar8 + 1;
- }
- iVar9 = iVar5 - this->start;
- pTVar6 = pTVar2 + (int)help + iVar9;
- pTVar7 = this->entry + iVar9;
- uVar3 = 0x114;
- if (((uint)pTVar6 & 4) != 0) {
- puVar8 = &pTVar7->StatementID;
- pTVar7 = (TReportedStatement *)&pTVar7->TimeStamp;
- pTVar6->StatementID = *puVar8;
- uVar3 = 0x110;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- pTVar6->StatementID = pTVar7->StatementID;
- pTVar7 = (TReportedStatement *)&pTVar7->TimeStamp;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- }
- uVar3 = 0x114;
- puVar8 = (ulong *)&extend;
- pTVar6 = this->entry + (iVar5 - this->start);
- if (((uint)pTVar6 & 4) != 0) {
- puVar8 = (ulong *)Help;
- pTVar6->StatementID = extend;
- uVar3 = 0x110;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- pTVar6->StatementID = *puVar8;
- puVar8 = puVar8 + 1;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- }
- iVar5 = iVar5 + 1;
- } while (iVar5 <= this->max);
- }
- if (this->entry != (TReportedStatement *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar2;
- iVar5 = this->start - (int)help;
- this->start = iVar5;
- this->space = (int)(help->Text + this->space + -0x14);
- }
- iVar4 = this->space;
- iVar9 = iVar4 + iVar5;
- while (iVar9 <= i) {
- iVar9 = iVar4;
- if (this->block != 0) {
- iVar9 = this->block;
- }
- pTVar2 = (TReportedStatement *)operator_new__((iVar9 + iVar4) * 0x114);
- iVar5 = this->min;
- if (iVar5 <= this->max) {
- do {
- puVar8 = (ulong *)&extend;
- pTVar6 = pTVar2 + (iVar5 - this->start);
- uVar3 = 0x114;
- if (((uint)&extend & 4) != 0) {
- puVar1 = &pTVar6->StatementID;
- puVar8 = (ulong *)Help;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- extend = *puVar1;
- uVar3 = 0x110;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- *puVar8 = pTVar6->StatementID;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- puVar8 = puVar8 + 1;
- }
- iVar4 = iVar5 - this->start;
- pTVar6 = pTVar2 + iVar4;
- pTVar7 = this->entry + iVar4;
- uVar3 = 0x114;
- if (((uint)pTVar6 & 4) != 0) {
- puVar8 = &pTVar7->StatementID;
- pTVar7 = (TReportedStatement *)&pTVar7->TimeStamp;
- pTVar6->StatementID = *puVar8;
- uVar3 = 0x110;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- pTVar6->StatementID = pTVar7->StatementID;
- pTVar7 = (TReportedStatement *)&pTVar7->TimeStamp;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- }
- uVar3 = 0x114;
- pTVar6 = this->entry + (iVar5 - this->start);
- puVar8 = (ulong *)&extend;
- if (((uint)pTVar6 & 4) != 0) {
- puVar8 = (ulong *)Help;
- pTVar6->StatementID = extend;
- uVar3 = 0x110;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- pTVar6->StatementID = *puVar8;
- puVar8 = puVar8 + 1;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- }
- iVar5 = iVar5 + 1;
- } while (iVar5 <= this->max);
- }
- if (this->entry != (TReportedStatement *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar2;
- iVar5 = this->start;
- iVar4 = iVar9 + this->space;
- this->space = iVar4;
- iVar9 = iVar4 + iVar5;
- }
- iVar9 = this->min;
- while (i < iVar9) {
- this->min = iVar9 + -1;
- if (this->initialized != false) {
- pTVar2 = &this->init;
- pTVar6 = this->entry + ((iVar9 + -1) - iVar5);
- uVar3 = 0x114;
- if (((uint)pTVar6 & 4) != 0) {
- pTVar2 = (TReportedStatement *)&(this->init).TimeStamp;
- pTVar6->StatementID = (this->init).StatementID;
- uVar3 = 0x110;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- pTVar6->StatementID = pTVar2->StatementID;
- pTVar2 = (TReportedStatement *)&pTVar2->TimeStamp;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- }
- iVar5 = this->start;
- }
- iVar9 = this->min;
- }
- iVar9 = this->max;
- while (iVar9 < i) {
- this->max = iVar9 + 1;
- if (this->initialized != false) {
- pTVar2 = &this->init;
- pTVar6 = this->entry + ((iVar9 + 1) - iVar5);
- uVar3 = 0x114;
- if (((uint)pTVar6 & 4) != 0) {
- pTVar2 = (TReportedStatement *)&(this->init).TimeStamp;
- pTVar6->StatementID = (this->init).StatementID;
- uVar3 = 0x110;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- }
- for (uVar3 = uVar3 >> 2; uVar3 != 0; uVar3 = uVar3 - 1) {
- pTVar6->StatementID = pTVar2->StatementID;
- pTVar2 = (TReportedStatement *)&pTVar2->TimeStamp;
- pTVar6 = (TReportedStatement *)&pTVar6->TimeStamp;
- }
- iVar5 = this->start;
- }
- iVar9 = this->max;
- }
- return this->entry + (i - iVar5);
-}
-
-
-
void __static_initialization_and_destruction_0(int __initialize_p,int __priority)
{
@@ -43830,643 +34211,6 @@ void _GLOBAL__I_MoveUseConditions(void)
return;
}
-
-
-// DWARF original prototype: void vector(vector<TMoveUseRule> * this, int min, int max, int block)
-
-void __thiscall vector<>::vector(vector<> *this,int min,int max,int block)
-
-{
- TMoveUseRule *pTVar1;
- int iVar2;
-
- this->min = min;
- iVar2 = (max - min) + 1;
- this->max = max;
- this->start = min;
- this->space = iVar2;
- this->block = block;
- this->initialized = false;
- if (iVar2 < 1) {
- error("vector: Ungueltige Feldgroesse %d bis %d.\n",min,max);
- this->max = max;
- this->space = 1;
- }
- if (block < 0) {
- error("vector: Ungueltige Blockgroesse %d.\n",block);
- this->block = 0;
- }
- pTVar1 = (TMoveUseRule *)operator_new__(this->space << 4);
- this->entry = pTVar1;
- return;
-}
-
-
-
-// DWARF original prototype: TDelayedMail * operator()(vector<TDelayedMail> * this, int i)
-
-TDelayedMail * __thiscall vector<>::operator()(vector<> *this,int i)
-
-{
- ulong uVar1;
- uchar *puVar2;
- TDelayedMail *pTVar3;
- TDelayedMail *pTVar4;
- int iVar5;
- int iVar6;
- int iVar7;
- int iVar8;
- int iVar9;
- TDelayedMail *help_1;
- TDelayedMail *help;
- int j;
- int iVar10;
- int local_30;
- int extend;
- uchar Help [16];
-
- iVar8 = this->start;
- while (i < iVar8) {
- local_30 = this->block;
- if (local_30 == 0) {
- iVar8 = this->space;
- local_30 = iVar8;
- }
- else {
- iVar8 = this->space;
- }
- pTVar4 = (TDelayedMail *)operator_new__((local_30 + iVar8) * 0x10);
- iVar8 = this->min;
- if (iVar8 <= this->max) {
- do {
- iVar5 = (iVar8 - this->start) + local_30;
- uVar1 = pTVar4[iVar5].CharacterID;
- iVar7 = pTVar4[iVar5].DepotNumber;
- puVar2 = pTVar4[iVar5].Packet;
- iVar9 = pTVar4[iVar5].PacketSize;
- iVar6 = iVar8 - this->start;
- iVar5 = local_30 + iVar6;
- pTVar3 = this->entry;
- pTVar4[iVar5].CharacterID = pTVar3[iVar6].CharacterID;
- pTVar4[iVar5].DepotNumber = pTVar3[iVar6].DepotNumber;
- pTVar4[iVar5].Packet = pTVar3[iVar6].Packet;
- iVar10 = iVar8 + 1;
- pTVar4[iVar5].PacketSize = pTVar3[iVar6].PacketSize;
- pTVar3 = this->entry;
- iVar8 = iVar8 - this->start;
- pTVar3[iVar8].CharacterID = uVar1;
- pTVar3[iVar8].DepotNumber = iVar7;
- pTVar3[iVar8].Packet = puVar2;
- pTVar3[iVar8].PacketSize = iVar9;
- iVar8 = iVar10;
- } while (iVar10 <= this->max);
- }
- if (this->entry != (TDelayedMail *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar4;
- iVar8 = this->start - local_30;
- this->start = iVar8;
- this->space = this->space + local_30;
- }
- iVar7 = this->space;
- iVar5 = iVar7 + iVar8;
- while (iVar5 <= i) {
- iVar5 = this->block;
- if (this->block == 0) {
- iVar5 = iVar7;
- }
- pTVar4 = (TDelayedMail *)operator_new__((iVar5 + iVar7) * 0x10);
- iVar8 = this->min;
- if (iVar8 <= this->max) {
- do {
- iVar9 = iVar8 - this->start;
- uVar1 = pTVar4[iVar9].CharacterID;
- iVar7 = pTVar4[iVar9].DepotNumber;
- puVar2 = pTVar4[iVar9].Packet;
- iVar9 = pTVar4[iVar9].PacketSize;
- iVar6 = iVar8 - this->start;
- pTVar3 = this->entry;
- pTVar4[iVar6].CharacterID = pTVar3[iVar6].CharacterID;
- pTVar4[iVar6].DepotNumber = pTVar3[iVar6].DepotNumber;
- pTVar4[iVar6].Packet = pTVar3[iVar6].Packet;
- pTVar4[iVar6].PacketSize = pTVar3[iVar6].PacketSize;
- iVar6 = iVar8 + 1;
- pTVar3 = this->entry;
- iVar8 = iVar8 - this->start;
- pTVar3[iVar8].CharacterID = uVar1;
- pTVar3[iVar8].DepotNumber = iVar7;
- pTVar3[iVar8].Packet = puVar2;
- pTVar3[iVar8].PacketSize = iVar9;
- iVar8 = iVar6;
- } while (iVar6 <= this->max);
- }
- if (this->entry != (TDelayedMail *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar4;
- iVar8 = this->start;
- iVar7 = this->space + iVar5;
- this->space = iVar7;
- iVar5 = iVar7 + iVar8;
- }
- iVar5 = this->min;
- while (i < iVar5) {
- this->min = iVar5 + -1;
- if (this->initialized != false) {
- iVar8 = (iVar5 + -1) - iVar8;
- pTVar4 = this->entry;
- pTVar4[iVar8].CharacterID = (this->init).CharacterID;
- pTVar4[iVar8].DepotNumber = (this->init).DepotNumber;
- pTVar4[iVar8].Packet = (this->init).Packet;
- pTVar4[iVar8].PacketSize = (this->init).PacketSize;
- iVar8 = this->start;
- }
- iVar5 = this->min;
- }
- iVar5 = this->max;
- while (iVar5 < i) {
- this->max = iVar5 + 1;
- if (this->initialized != false) {
- iVar8 = (iVar5 + 1) - iVar8;
- pTVar4 = this->entry;
- pTVar4[iVar8].CharacterID = (this->init).CharacterID;
- pTVar4[iVar8].DepotNumber = (this->init).DepotNumber;
- pTVar4[iVar8].Packet = (this->init).Packet;
- pTVar4[iVar8].PacketSize = (this->init).PacketSize;
- iVar8 = this->start;
- }
- iVar5 = this->max;
- }
- return this->entry + (i - iVar8);
-}
-
-
-
-// DWARF original prototype: TMoveUseRule * operator()(vector<TMoveUseRule> * this, int i)
-
-TMoveUseRule * __thiscall vector<>::operator()(vector<> *this,int i)
-
-{
- int iVar1;
- int iVar2;
- TMoveUseRule *pTVar3;
- TMoveUseRule *pTVar4;
- int iVar5;
- int iVar6;
- int iVar7;
- int iVar8;
- int iVar9;
- TMoveUseRule *help_1;
- TMoveUseRule *help;
- int j;
- int iVar10;
- int local_30;
- int extend;
- uchar Help [16];
-
- iVar8 = this->start;
- while (i < iVar8) {
- local_30 = this->block;
- if (local_30 == 0) {
- iVar8 = this->space;
- local_30 = iVar8;
- }
- else {
- iVar8 = this->space;
- }
- pTVar4 = (TMoveUseRule *)operator_new__((local_30 + iVar8) * 0x10);
- iVar8 = this->min;
- if (iVar8 <= this->max) {
- do {
- iVar5 = (iVar8 - this->start) + local_30;
- iVar7 = pTVar4[iVar5].FirstCondition;
- iVar1 = pTVar4[iVar5].LastCondition;
- iVar2 = pTVar4[iVar5].FirstAction;
- iVar9 = pTVar4[iVar5].LastAction;
- iVar6 = iVar8 - this->start;
- iVar5 = local_30 + iVar6;
- pTVar3 = this->entry;
- pTVar4[iVar5].FirstCondition = pTVar3[iVar6].FirstCondition;
- pTVar4[iVar5].LastCondition = pTVar3[iVar6].LastCondition;
- pTVar4[iVar5].FirstAction = pTVar3[iVar6].FirstAction;
- iVar10 = iVar8 + 1;
- pTVar4[iVar5].LastAction = pTVar3[iVar6].LastAction;
- pTVar3 = this->entry;
- iVar8 = iVar8 - this->start;
- pTVar3[iVar8].FirstCondition = iVar7;
- pTVar3[iVar8].LastCondition = iVar1;
- pTVar3[iVar8].FirstAction = iVar2;
- pTVar3[iVar8].LastAction = iVar9;
- iVar8 = iVar10;
- } while (iVar10 <= this->max);
- }
- if (this->entry != (TMoveUseRule *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar4;
- iVar8 = this->start - local_30;
- this->start = iVar8;
- this->space = this->space + local_30;
- }
- iVar7 = this->space;
- iVar5 = iVar7 + iVar8;
- while (iVar5 <= i) {
- iVar5 = this->block;
- if (this->block == 0) {
- iVar5 = iVar7;
- }
- pTVar4 = (TMoveUseRule *)operator_new__((iVar5 + iVar7) * 0x10);
- iVar8 = this->min;
- if (iVar8 <= this->max) {
- do {
- iVar9 = iVar8 - this->start;
- iVar7 = pTVar4[iVar9].FirstCondition;
- iVar1 = pTVar4[iVar9].LastCondition;
- iVar2 = pTVar4[iVar9].FirstAction;
- iVar9 = pTVar4[iVar9].LastAction;
- iVar6 = iVar8 - this->start;
- pTVar3 = this->entry;
- pTVar4[iVar6].FirstCondition = pTVar3[iVar6].FirstCondition;
- pTVar4[iVar6].LastCondition = pTVar3[iVar6].LastCondition;
- pTVar4[iVar6].FirstAction = pTVar3[iVar6].FirstAction;
- pTVar4[iVar6].LastAction = pTVar3[iVar6].LastAction;
- iVar6 = iVar8 + 1;
- pTVar3 = this->entry;
- iVar8 = iVar8 - this->start;
- pTVar3[iVar8].FirstCondition = iVar7;
- pTVar3[iVar8].LastCondition = iVar1;
- pTVar3[iVar8].FirstAction = iVar2;
- pTVar3[iVar8].LastAction = iVar9;
- iVar8 = iVar6;
- } while (iVar6 <= this->max);
- }
- if (this->entry != (TMoveUseRule *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar4;
- iVar8 = this->start;
- iVar7 = this->space + iVar5;
- this->space = iVar7;
- iVar5 = iVar7 + iVar8;
- }
- iVar5 = this->min;
- while (i < iVar5) {
- this->min = iVar5 + -1;
- if (this->initialized != false) {
- iVar8 = (iVar5 + -1) - iVar8;
- pTVar4 = this->entry;
- pTVar4[iVar8].FirstCondition = (this->init).FirstCondition;
- pTVar4[iVar8].LastCondition = (this->init).LastCondition;
- pTVar4[iVar8].FirstAction = (this->init).FirstAction;
- pTVar4[iVar8].LastAction = (this->init).LastAction;
- iVar8 = this->start;
- }
- iVar5 = this->min;
- }
- iVar5 = this->max;
- while (iVar5 < i) {
- this->max = iVar5 + 1;
- if (this->initialized != false) {
- iVar8 = (iVar5 + 1) - iVar8;
- pTVar4 = this->entry;
- pTVar4[iVar8].FirstCondition = (this->init).FirstCondition;
- pTVar4[iVar8].LastCondition = (this->init).LastCondition;
- pTVar4[iVar8].FirstAction = (this->init).FirstAction;
- pTVar4[iVar8].LastAction = (this->init).LastAction;
- iVar8 = this->start;
- }
- iVar5 = this->max;
- }
- return this->entry + (i - iVar8);
-}
-
-
-
-// DWARF original prototype: TMoveUseCondition * operator()(vector<TMoveUseCondition> * this, int i)
-
-TMoveUseCondition * __thiscall vector<>::operator()(vector<> *this,int i)
-
-{
- ModifierType MVar1;
- ConditionType CVar2;
- int iVar3;
- int iVar4;
- int iVar5;
- TMoveUseCondition *pTVar6;
- TMoveUseCondition *pTVar7;
- int iVar8;
- int iVar9;
- int iVar10;
- int iVar11;
- TMoveUseCondition *help_1;
- int iVar12;
- TMoveUseCondition *help;
- int j;
- int iVar13;
- int local_40;
- int extend;
- uchar Help [28];
-
- iVar9 = this->start;
- while (i < iVar9) {
- local_40 = this->block;
- if (local_40 == 0) {
- iVar9 = this->space;
- local_40 = iVar9;
- }
- else {
- iVar9 = this->space;
- }
- pTVar7 = (TMoveUseCondition *)operator_new__((iVar9 + local_40) * 0x1c);
- iVar9 = this->min;
- if (iVar9 <= this->max) {
- do {
- iVar12 = (iVar9 - this->start) + local_40;
- MVar1 = pTVar7[iVar12].Modifier;
- CVar2 = pTVar7[iVar12].Condition;
- iVar11 = pTVar7[iVar12].Parameters[0];
- iVar3 = pTVar7[iVar12].Parameters[1];
- iVar4 = pTVar7[iVar12].Parameters[2];
- iVar5 = pTVar7[iVar12].Parameters[3];
- iVar10 = pTVar7[iVar12].Parameters[4];
- iVar8 = iVar9 - this->start;
- iVar12 = local_40 + iVar8;
- pTVar6 = this->entry;
- pTVar7[iVar12].Modifier = pTVar6[iVar8].Modifier;
- pTVar7[iVar12].Condition = pTVar6[iVar8].Condition;
- pTVar7[iVar12].Parameters[0] = pTVar6[iVar8].Parameters[0];
- pTVar7[iVar12].Parameters[1] = pTVar6[iVar8].Parameters[1];
- pTVar7[iVar12].Parameters[2] = pTVar6[iVar8].Parameters[2];
- pTVar7[iVar12].Parameters[3] = pTVar6[iVar8].Parameters[3];
- iVar13 = iVar9 + 1;
- pTVar7[iVar12].Parameters[4] = pTVar6[iVar8].Parameters[4];
- iVar9 = iVar9 - this->start;
- pTVar6 = this->entry;
- pTVar6[iVar9].Modifier = MVar1;
- pTVar6[iVar9].Condition = CVar2;
- pTVar6[iVar9].Parameters[0] = iVar11;
- pTVar6[iVar9].Parameters[1] = iVar3;
- pTVar6[iVar9].Parameters[2] = iVar4;
- pTVar6[iVar9].Parameters[3] = iVar5;
- pTVar6[iVar9].Parameters[4] = iVar10;
- iVar9 = iVar13;
- } while (iVar13 <= this->max);
- }
- if (this->entry != (TMoveUseCondition *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar7;
- iVar9 = this->start - local_40;
- this->start = iVar9;
- this->space = this->space + local_40;
- }
- iVar11 = this->space;
- iVar12 = iVar11 + iVar9;
- while (iVar12 <= i) {
- iVar12 = this->block;
- if (this->block == 0) {
- iVar12 = iVar11;
- }
- pTVar7 = (TMoveUseCondition *)operator_new__((iVar11 + iVar12) * 0x1c);
- iVar9 = this->min;
- if (iVar9 <= this->max) {
- do {
- iVar10 = iVar9 - this->start;
- MVar1 = pTVar7[iVar10].Modifier;
- CVar2 = pTVar7[iVar10].Condition;
- iVar11 = pTVar7[iVar10].Parameters[0];
- iVar3 = pTVar7[iVar10].Parameters[1];
- iVar4 = pTVar7[iVar10].Parameters[2];
- iVar5 = pTVar7[iVar10].Parameters[3];
- iVar10 = pTVar7[iVar10].Parameters[4];
- pTVar6 = this->entry;
- iVar8 = iVar9 - this->start;
- pTVar7[iVar8].Modifier = pTVar6[iVar8].Modifier;
- pTVar7[iVar8].Condition = pTVar6[iVar8].Condition;
- pTVar7[iVar8].Parameters[0] = pTVar6[iVar8].Parameters[0];
- pTVar7[iVar8].Parameters[1] = pTVar6[iVar8].Parameters[1];
- pTVar7[iVar8].Parameters[2] = pTVar6[iVar8].Parameters[2];
- pTVar7[iVar8].Parameters[3] = pTVar6[iVar8].Parameters[3];
- pTVar7[iVar8].Parameters[4] = pTVar6[iVar8].Parameters[4];
- iVar8 = iVar9 + 1;
- pTVar6 = this->entry;
- iVar9 = iVar9 - this->start;
- pTVar6[iVar9].Modifier = MVar1;
- pTVar6[iVar9].Condition = CVar2;
- pTVar6[iVar9].Parameters[0] = iVar11;
- pTVar6[iVar9].Parameters[1] = iVar3;
- pTVar6[iVar9].Parameters[2] = iVar4;
- pTVar6[iVar9].Parameters[3] = iVar5;
- pTVar6[iVar9].Parameters[4] = iVar10;
- iVar9 = iVar8;
- } while (iVar8 <= this->max);
- }
- if (this->entry != (TMoveUseCondition *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar7;
- iVar9 = this->start;
- iVar11 = this->space + iVar12;
- this->space = iVar11;
- iVar12 = iVar11 + iVar9;
- }
- iVar12 = this->min;
- while (i < iVar12) {
- this->min = iVar12 + -1;
- if (this->initialized != false) {
- iVar9 = (iVar12 + -1) - iVar9;
- pTVar7 = this->entry;
- pTVar7[iVar9].Modifier = (this->init).Modifier;
- pTVar7[iVar9].Condition = (this->init).Condition;
- pTVar7[iVar9].Parameters[0] = (this->init).Parameters[0];
- pTVar7[iVar9].Parameters[1] = (this->init).Parameters[1];
- pTVar7[iVar9].Parameters[2] = (this->init).Parameters[2];
- pTVar7[iVar9].Parameters[3] = (this->init).Parameters[3];
- pTVar7[iVar9].Parameters[4] = (this->init).Parameters[4];
- iVar9 = this->start;
- }
- iVar12 = this->min;
- }
- iVar12 = this->max;
- while (iVar12 < i) {
- this->max = iVar12 + 1;
- if (this->initialized != false) {
- iVar9 = (iVar12 + 1) - iVar9;
- pTVar7 = this->entry;
- pTVar7[iVar9].Modifier = (this->init).Modifier;
- pTVar7[iVar9].Condition = (this->init).Condition;
- pTVar7[iVar9].Parameters[0] = (this->init).Parameters[0];
- pTVar7[iVar9].Parameters[1] = (this->init).Parameters[1];
- pTVar7[iVar9].Parameters[2] = (this->init).Parameters[2];
- pTVar7[iVar9].Parameters[3] = (this->init).Parameters[3];
- pTVar7[iVar9].Parameters[4] = (this->init).Parameters[4];
- iVar9 = this->start;
- }
- iVar12 = this->max;
- }
- return this->entry + (i - iVar9);
-}
-
-
-
-// DWARF original prototype: TMoveUseAction * operator()(vector<TMoveUseAction> * this, int i)
-
-TMoveUseAction * __thiscall vector<>::operator()(vector<> *this,int i)
-
-{
- ActionType AVar1;
- int iVar2;
- int iVar3;
- int iVar4;
- TMoveUseAction *pTVar5;
- TMoveUseAction *pTVar6;
- int iVar7;
- int iVar8;
- int iVar9;
- int iVar10;
- TMoveUseAction *help_1;
- int iVar11;
- TMoveUseAction *help;
- int j;
- int local_40;
- int extend;
- uchar Help [24];
-
- iVar8 = this->start;
- while (i < iVar8) {
- local_40 = this->block;
- if (local_40 == 0) {
- iVar8 = this->space;
- local_40 = iVar8;
- }
- else {
- iVar8 = this->space;
- }
- pTVar6 = (TMoveUseAction *)operator_new__((local_40 + iVar8) * 0x18);
- iVar8 = this->min;
- if (iVar8 <= this->max) {
- do {
- iVar11 = (iVar8 - this->start) + local_40;
- AVar1 = pTVar6[iVar11].Action;
- iVar10 = pTVar6[iVar11].Parameters[0];
- iVar2 = pTVar6[iVar11].Parameters[1];
- iVar3 = pTVar6[iVar11].Parameters[2];
- iVar4 = pTVar6[iVar11].Parameters[3];
- iVar9 = pTVar6[iVar11].Parameters[4];
- iVar7 = iVar8 - this->start;
- iVar11 = local_40 + iVar7;
- pTVar5 = this->entry;
- pTVar6[iVar11].Action = pTVar5[iVar7].Action;
- pTVar6[iVar11].Parameters[0] = pTVar5[iVar7].Parameters[0];
- pTVar6[iVar11].Parameters[1] = pTVar5[iVar7].Parameters[1];
- pTVar6[iVar11].Parameters[2] = pTVar5[iVar7].Parameters[2];
- pTVar6[iVar11].Parameters[3] = pTVar5[iVar7].Parameters[3];
- pTVar6[iVar11].Parameters[4] = pTVar5[iVar7].Parameters[4];
- iVar11 = iVar8 + 1;
- iVar8 = iVar8 - this->start;
- pTVar5 = this->entry;
- pTVar5[iVar8].Action = AVar1;
- pTVar5[iVar8].Parameters[0] = iVar10;
- pTVar5[iVar8].Parameters[1] = iVar2;
- pTVar5[iVar8].Parameters[2] = iVar3;
- pTVar5[iVar8].Parameters[3] = iVar4;
- pTVar5[iVar8].Parameters[4] = iVar9;
- iVar8 = iVar11;
- } while (iVar11 <= this->max);
- }
- if (this->entry != (TMoveUseAction *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar6;
- iVar8 = this->start - local_40;
- this->start = iVar8;
- this->space = this->space + local_40;
- }
- iVar10 = this->space;
- iVar11 = iVar10 + iVar8;
- while (iVar11 <= i) {
- iVar11 = this->block;
- if (this->block == 0) {
- iVar11 = iVar10;
- }
- pTVar6 = (TMoveUseAction *)operator_new__((iVar11 + iVar10) * 0x18);
- iVar8 = this->min;
- if (iVar8 <= this->max) {
- do {
- iVar9 = iVar8 - this->start;
- AVar1 = pTVar6[iVar9].Action;
- iVar10 = pTVar6[iVar9].Parameters[0];
- iVar2 = pTVar6[iVar9].Parameters[1];
- iVar3 = pTVar6[iVar9].Parameters[2];
- iVar4 = pTVar6[iVar9].Parameters[3];
- iVar9 = pTVar6[iVar9].Parameters[4];
- pTVar5 = this->entry;
- iVar7 = iVar8 - this->start;
- pTVar6[iVar7].Action = pTVar5[iVar7].Action;
- pTVar6[iVar7].Parameters[0] = pTVar5[iVar7].Parameters[0];
- pTVar6[iVar7].Parameters[1] = pTVar5[iVar7].Parameters[1];
- pTVar6[iVar7].Parameters[2] = pTVar5[iVar7].Parameters[2];
- pTVar6[iVar7].Parameters[3] = pTVar5[iVar7].Parameters[3];
- pTVar6[iVar7].Parameters[4] = pTVar5[iVar7].Parameters[4];
- iVar7 = iVar8 + 1;
- pTVar5 = this->entry;
- iVar8 = iVar8 - this->start;
- pTVar5[iVar8].Action = AVar1;
- pTVar5[iVar8].Parameters[0] = iVar10;
- pTVar5[iVar8].Parameters[1] = iVar2;
- pTVar5[iVar8].Parameters[2] = iVar3;
- pTVar5[iVar8].Parameters[3] = iVar4;
- pTVar5[iVar8].Parameters[4] = iVar9;
- iVar8 = iVar7;
- } while (iVar7 <= this->max);
- }
- if (this->entry != (TMoveUseAction *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar6;
- iVar8 = this->start;
- iVar10 = this->space + iVar11;
- this->space = iVar10;
- iVar11 = iVar10 + iVar8;
- }
- iVar11 = this->min;
- while (i < iVar11) {
- this->min = iVar11 + -1;
- if (this->initialized != false) {
- iVar8 = (iVar11 + -1) - iVar8;
- pTVar6 = this->entry;
- pTVar6[iVar8].Action = (this->init).Action;
- pTVar6[iVar8].Parameters[0] = (this->init).Parameters[0];
- pTVar6[iVar8].Parameters[1] = (this->init).Parameters[1];
- pTVar6[iVar8].Parameters[2] = (this->init).Parameters[2];
- pTVar6[iVar8].Parameters[3] = (this->init).Parameters[3];
- pTVar6[iVar8].Parameters[4] = (this->init).Parameters[4];
- iVar8 = this->start;
- }
- iVar11 = this->min;
- }
- iVar11 = this->max;
- while (iVar11 < i) {
- this->max = iVar11 + 1;
- if (this->initialized != false) {
- iVar8 = (iVar11 + 1) - iVar8;
- pTVar6 = this->entry;
- pTVar6[iVar8].Action = (this->init).Action;
- pTVar6[iVar8].Parameters[0] = (this->init).Parameters[0];
- pTVar6[iVar8].Parameters[1] = (this->init).Parameters[1];
- pTVar6[iVar8].Parameters[2] = (this->init).Parameters[2];
- pTVar6[iVar8].Parameters[3] = (this->init).Parameters[3];
- pTVar6[iVar8].Parameters[4] = (this->init).Parameters[4];
- iVar8 = this->start;
- }
- iVar11 = this->max;
- }
- return this->entry + (i - iVar8);
-}
-
-
-
void __static_initialization_and_destruction_0(int __initialize_p,int __priority)
{
@@ -44779,82 +34523,6 @@ LAB_0807eb78:
return;
}
-
-
-void CheckMana(TCreature *cr,int Mana,int SoulPoints,int Delay)
-
-{
- TSkill *pTVar1;
- TSkill *this;
- bool bVar2;
- int iVar3;
- undefined4 *puVar4;
- TSkill *mana;
- ulong *puVar5;
- TSkill *soulpoints;
- char *Text;
- uint local_14;
-
- if (cr == (TCreature *)0x0) {
- Text = &DAT_080fa680;
- }
- else {
- if ((cr->Type != PLAYER) || (Mana < 0)) {
- return;
- }
- pTVar1 = (cr->super_TSkillBase).Skills[3];
- this = (cr->super_TSkillBase).Skills[0x16];
- if (pTVar1 == (TSkill *)0x0) {
- Text = "CheckMana: Kein Skill MANA!\n";
- }
- else {
- if (this != (TSkill *)0x0) {
- // try { // try from 0807ec22 to 0807ed0b has its CatchHandler @ 0807ed32
- bVar2 = CheckRight(cr->ID,UNLIMITED_MANA);
- if (bVar2) {
-LAB_0807ec2b:
- if (0 < Mana) {
- pTVar1 = (cr->super_TSkillBase).Skills[1];
- (*pTVar1->_vptr_TSkill[3])(pTVar1,Mana);
- }
- local_14 = Delay + ServerMilliseconds;
- puVar5 = &local_14;
- if (Delay + ServerMilliseconds <= cr->EarliestSpellTime) {
- puVar5 = &cr->EarliestSpellTime;
- }
- cr->EarliestSpellTime = *puVar5;
- return;
- }
- iVar3 = TSkill::Get(pTVar1);
- if (iVar3 < Mana) {
- puVar4 = (undefined4 *)__cxa_allocate_exception(4);
- *puVar4 = 0x23;
- }
- else {
- iVar3 = TSkill::Get(this);
- if (SoulPoints <= iVar3) {
- TSkill::Change(pTVar1,-Mana);
- TSkill::Change(this,-SoulPoints);
- goto LAB_0807ec2b;
- }
- puVar4 = (undefined4 *)__cxa_allocate_exception(4);
- *puVar4 = 0x3b;
- }
- goto LAB_0807ecd1;
- }
- Text = "CheckMana: Kein Skill SOULPOINTS!\n";
- }
- }
- error(Text);
- puVar4 = (undefined4 *)__cxa_allocate_exception(4);
- *puVar4 = 0xffffffff;
-LAB_0807ecd1:
- // WARNING: Subroutine does not return
- __cxa_throw(puVar4,&RESULT::typeinfo,0);
-}
-
-
-
int ComputeDamage(TCreature *cr,int SpellNr,int Damage,int Variation)
{
@@ -61523,334 +51191,6 @@ void __thiscall TParty::TParty(TParty *this)
return;
}
-
-
-// DWARF original prototype: void vector(vector<long_unsigned_int> * this, int min, int max, int
-// block)
-
-void __thiscall vector<>::vector(vector<> *this,int min,int max,int block)
-
-{
- ulong *puVar1;
- int iVar2;
-
- this->min = min;
- iVar2 = (max - min) + 1;
- this->max = max;
- this->start = min;
- this->space = iVar2;
- this->block = block;
- this->initialized = false;
- if (iVar2 < 1) {
- error("vector: Ungueltige Feldgroesse %d bis %d.\n",min,max);
- this->max = max;
- this->space = 1;
- }
- if (block < 0) {
- error("vector: Ungueltige Blockgroesse %d.\n",block);
- this->block = 0;
- }
- puVar1 = (ulong *)operator_new__(this->space << 2);
- this->entry = puVar1;
- return;
-}
-
-
-
-// DWARF original prototype: TChannel * operator()(vector<TChannel> * this, int i)
-
-TChannel * __thiscall vector<TChannel>::operator()(vector<TChannel> *this,int i)
-
-{
- int j;
- int *piVar1;
- int iVar2;
- int iVar3;
- int iVar4;
- TChannel *pTVar5;
- int iVar6;
- ulong *puVar7;
- TChannel *pTVar8;
- TChannel *pTVar9;
- int extend_1;
- int local_90;
- int extend;
- uchar Help [108];
-
- iVar2 = this->start;
- while (i < iVar2) {
- local_90 = this->block;
- if (local_90 == 0) {
- iVar2 = this->space;
- local_90 = iVar2;
- }
- else {
- iVar2 = this->space;
- }
- iVar2 = local_90 + iVar2;
- piVar1 = (int *)operator_new__(iVar2 * 0x6c + 4);
- *piVar1 = iVar2;
- pTVar9 = (TChannel *)(piVar1 + 1);
- pTVar5 = pTVar9;
- while (iVar2 = iVar2 + -1, iVar2 != -1) {
- // try { // try from 0809ceaf to 0809ceb3 has its CatchHandler @ 0809d21b
- TChannel::TChannel(pTVar5);
- pTVar5 = pTVar5 + 1;
- }
- iVar2 = this->min;
- if (iVar2 <= this->max) {
- do {
- pTVar5 = pTVar9 + (iVar2 - this->start) + local_90;
- puVar7 = (ulong *)&extend;
- for (iVar3 = 0x1b; iVar3 != 0; iVar3 = iVar3 + -1) {
- *puVar7 = pTVar5->Moderator;
- pTVar5 = (TChannel *)pTVar5->ModeratorName;
- puVar7 = puVar7 + 1;
- }
- iVar6 = iVar2 - this->start;
- pTVar5 = this->entry + iVar6;
- pTVar8 = pTVar9 + local_90 + iVar6;
- for (iVar3 = 0x1b; iVar3 != 0; iVar3 = iVar3 + -1) {
- pTVar8->Moderator = pTVar5->Moderator;
- pTVar5 = (TChannel *)pTVar5->ModeratorName;
- pTVar8 = (TChannel *)pTVar8->ModeratorName;
- }
- iVar3 = iVar2 + 1;
- puVar7 = (ulong *)&extend;
- pTVar5 = this->entry + (iVar2 - this->start);
- for (iVar6 = 0x1b; iVar6 != 0; iVar6 = iVar6 + -1) {
- pTVar5->Moderator = *puVar7;
- puVar7 = puVar7 + 1;
- pTVar5 = (TChannel *)pTVar5->ModeratorName;
- }
- iVar2 = iVar3;
- } while (iVar3 <= this->max);
- }
- pTVar5 = this->entry;
- if (pTVar5 != (TChannel *)0x0) {
- pTVar8 = pTVar5 + pTVar5[-1].InvitedPlayers;
- while (pTVar5 != pTVar8) {
- puVar7 = pTVar8[-1].InvitedPlayer.entry;
- if (puVar7 != (ulong *)0x0) {
- operator_delete__(puVar7);
- }
- puVar7 = pTVar8[-1].Subscriber.entry;
- if (puVar7 != (ulong *)0x0) {
- operator_delete__(puVar7);
- }
- pTVar8 = pTVar8 + -1;
- pTVar5 = this->entry;
- }
- operator_delete__(&pTVar5[-1].InvitedPlayers);
- }
- this->entry = pTVar9;
- iVar2 = this->start - local_90;
- this->start = iVar2;
- this->space = this->space + local_90;
- }
- iVar6 = this->space;
- iVar3 = iVar6 + iVar2;
- while (iVar3 <= i) {
- iVar3 = iVar6;
- if (this->block != 0) {
- iVar3 = this->block;
- }
- iVar6 = iVar3 + iVar6;
- piVar1 = (int *)operator_new__(iVar6 * 0x6c + 4);
- *piVar1 = iVar6;
- pTVar9 = (TChannel *)(piVar1 + 1);
- pTVar5 = pTVar9;
- while (iVar6 = iVar6 + -1, iVar6 != -1) {
- // try { // try from 0809d04d to 0809d051 has its CatchHandler @ 0809d29c
- TChannel::TChannel(pTVar5);
- pTVar5 = pTVar5 + 1;
- }
- if (this->min <= this->max) {
- iVar2 = this->min;
- do {
- pTVar5 = pTVar9 + (iVar2 - this->start);
- puVar7 = (ulong *)&extend;
- for (iVar6 = 0x1b; iVar6 != 0; iVar6 = iVar6 + -1) {
- *puVar7 = pTVar5->Moderator;
- pTVar5 = (TChannel *)pTVar5->ModeratorName;
- puVar7 = puVar7 + 1;
- }
- iVar6 = iVar2 - this->start;
- pTVar5 = this->entry + iVar6;
- pTVar8 = pTVar9 + iVar6;
- for (iVar4 = 0x1b; iVar4 != 0; iVar4 = iVar4 + -1) {
- pTVar8->Moderator = pTVar5->Moderator;
- pTVar5 = (TChannel *)pTVar5->ModeratorName;
- pTVar8 = (TChannel *)pTVar8->ModeratorName;
- }
- iVar6 = iVar2 + 1;
- puVar7 = (ulong *)&extend;
- pTVar5 = this->entry + (iVar2 - this->start);
- for (iVar4 = 0x1b; iVar4 != 0; iVar4 = iVar4 + -1) {
- pTVar5->Moderator = *puVar7;
- puVar7 = puVar7 + 1;
- pTVar5 = (TChannel *)pTVar5->ModeratorName;
- }
- iVar2 = iVar6;
- } while (iVar6 <= this->max);
- }
- pTVar5 = this->entry;
- if (pTVar5 != (TChannel *)0x0) {
- pTVar8 = pTVar5 + pTVar5[-1].InvitedPlayers;
- while (pTVar5 != pTVar8) {
- puVar7 = pTVar8[-1].InvitedPlayer.entry;
- if (puVar7 != (ulong *)0x0) {
- operator_delete__(puVar7);
- }
- puVar7 = pTVar8[-1].Subscriber.entry;
- if (puVar7 != (ulong *)0x0) {
- operator_delete__(puVar7);
- }
- pTVar8 = pTVar8 + -1;
- pTVar5 = this->entry;
- }
- operator_delete__(&pTVar5[-1].InvitedPlayers);
- }
- iVar2 = this->start;
- this->entry = pTVar9;
- iVar6 = iVar3 + this->space;
- this->space = iVar6;
- iVar3 = iVar6 + iVar2;
- }
- iVar3 = this->min;
- while (i < iVar3) {
- this->min = iVar3 + -1;
- if (this->initialized != false) {
- pTVar9 = &this->init;
- pTVar5 = this->entry + ((iVar3 + -1) - iVar2);
- for (iVar6 = 0x1b; iVar6 != 0; iVar6 = iVar6 + -1) {
- pTVar5->Moderator = pTVar9->Moderator;
- pTVar9 = (TChannel *)pTVar9->ModeratorName;
- pTVar5 = (TChannel *)pTVar5->ModeratorName;
- }
- iVar2 = this->start;
- }
- iVar3 = this->min;
- }
- iVar3 = this->max;
- while (iVar3 < i) {
- this->max = iVar3 + 1;
- if (this->initialized != false) {
- pTVar9 = &this->init;
- pTVar5 = this->entry + ((iVar3 + 1) - iVar2);
- for (iVar6 = 0x1b; iVar6 != 0; iVar6 = iVar6 + -1) {
- pTVar5->Moderator = pTVar9->Moderator;
- pTVar9 = (TChannel *)pTVar9->ModeratorName;
- pTVar5 = (TChannel *)pTVar5->ModeratorName;
- }
- iVar2 = this->start;
- }
- iVar3 = this->max;
- }
- return this->entry + (i - iVar2);
-}
-
-
-
-// WARNING: Variable defined which should be unmapped: extend
-// DWARF original prototype: ulong * operator()(vector<long_unsigned_int> * this, int i)
-
-ulong * __thiscall vector<>::operator()(vector<> *this,int i)
-
-{
- ulong uVar1;
- ulong *puVar2;
- int iVar3;
- int iVar4;
- int j_1;
- int j;
- int iVar5;
- int extend_1;
- ulong *help;
- int extend;
-
- iVar3 = this->start;
- while (i < iVar3) {
- help = (ulong *)this->block;
- if (help == (ulong *)0x0) {
- puVar2 = (ulong *)this->space;
- help = puVar2;
- }
- else {
- puVar2 = (ulong *)this->space;
- }
- puVar2 = (ulong *)operator_new__(((int)help + (int)puVar2) * 4);
- iVar3 = this->min;
- if (this->min <= this->max) {
- do {
- iVar4 = iVar3 - this->start;
- iVar5 = (int)help + iVar4;
- uVar1 = puVar2[iVar5];
- puVar2[iVar5] = this->entry[iVar4];
- iVar5 = iVar3 + 1;
- this->entry[iVar3 - this->start] = uVar1;
- iVar3 = iVar5;
- } while (iVar5 <= this->max);
- }
- if (this->entry != (ulong *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = puVar2;
- iVar3 = this->start - (int)help;
- this->start = iVar3;
- this->space = this->space + (int)help;
- }
- iVar4 = this->space;
- iVar5 = iVar4 + iVar3;
- while (iVar5 <= i) {
- iVar5 = iVar4;
- if (this->block != 0) {
- iVar5 = this->block;
- }
- puVar2 = (ulong *)operator_new__((iVar5 + iVar4) * 4);
- iVar3 = this->min;
- if (iVar3 <= this->max) {
- do {
- iVar4 = iVar3 - this->start;
- uVar1 = puVar2[iVar4];
- puVar2[iVar4] = this->entry[iVar4];
- iVar4 = iVar3 + 1;
- this->entry[iVar3 - this->start] = uVar1;
- iVar3 = iVar4;
- } while (iVar4 <= this->max);
- }
- if (this->entry != (ulong *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = puVar2;
- iVar3 = this->start;
- iVar4 = iVar5 + this->space;
- this->space = iVar4;
- iVar5 = iVar4 + iVar3;
- }
- iVar5 = this->min;
- while (i < iVar5) {
- this->min = iVar5 + -1;
- if (this->initialized != false) {
- this->entry[(iVar5 + -1) - iVar3] = this->init;
- iVar3 = this->start;
- }
- iVar5 = this->min;
- }
- iVar5 = this->max;
- while (iVar5 < i) {
- this->max = iVar5 + 1;
- if (this->initialized != false) {
- this->entry[(iVar5 + 1) - iVar3] = this->init;
- iVar3 = this->start;
- }
- iVar5 = this->max;
- }
- return this->entry + (i - iVar3);
-}
-
-
-
// DWARF original prototype: TStatement * append(fifo<TStatement> * this)
TStatement * __thiscall fifo<TStatement>::append(fifo<TStatement> *this)
@@ -61949,244 +51289,6 @@ TListener * __thiscall fifo<TListener>::append(fifo<TListener> *this)
return this->Entry + (iVar3 + 1) % iVar4;
}
-
-
-// DWARF original prototype: void vector(vector<TReportedStatement> * this, int min, int max, int
-// block)
-
-void __thiscall vector<>::vector(vector<> *this,int min,int max,int block)
-
-{
- TReportedStatement *pTVar1;
- int iVar2;
-
- this->min = min;
- iVar2 = (max - min) + 1;
- this->max = max;
- this->start = min;
- this->space = iVar2;
- this->block = block;
- this->initialized = false;
- if (iVar2 < 1) {
- error("vector: Ungueltige Feldgroesse %d bis %d.\n",min,max);
- this->max = max;
- this->space = 1;
- }
- if (block < 0) {
- error("vector: Ungueltige Blockgroesse %d.\n",block);
- this->block = 0;
- }
- pTVar1 = (TReportedStatement *)operator_new__(this->space * 0x114);
- this->entry = pTVar1;
- return;
-}
-
-
-
-// DWARF original prototype: TParty * operator()(vector<TParty> * this, int i)
-
-TParty * __thiscall vector<TParty>::operator()(vector<TParty> *this,int i)
-
-{
- int *piVar1;
- int iVar2;
- int iVar3;
- int iVar4;
- TParty *pTVar5;
- int j_1;
- int iVar6;
- int j;
- TParty *pTVar7;
- ulong *puVar8;
- TParty *pTVar9;
- int extend_1;
- int local_70;
- int extend;
- uchar Help [76];
-
- iVar2 = this->start;
- while (i < iVar2) {
- local_70 = this->block;
- if (local_70 == 0) {
- iVar2 = this->space;
- local_70 = iVar2;
- }
- else {
- iVar2 = this->space;
- }
- iVar2 = local_70 + iVar2;
- piVar1 = (int *)operator_new__(iVar2 * 0x4c + 4);
- *piVar1 = iVar2;
- pTVar9 = (TParty *)(piVar1 + 1);
- pTVar5 = pTVar9;
- while (iVar2 = iVar2 + -1, iVar2 != -1) {
- // try { // try from 0809d7c5 to 0809d7c9 has its CatchHandler @ 0809db35
- TParty::TParty(pTVar5);
- pTVar5 = pTVar5 + 1;
- }
- iVar2 = this->min;
- if (iVar2 <= this->max) {
- do {
- pTVar5 = pTVar9 + (iVar2 - this->start) + local_70;
- puVar8 = (ulong *)&extend;
- for (iVar3 = 0x13; iVar3 != 0; iVar3 = iVar3 + -1) {
- *puVar8 = pTVar5->Leader;
- pTVar5 = (TParty *)&pTVar5->Member;
- puVar8 = puVar8 + 1;
- }
- iVar6 = iVar2 - this->start;
- pTVar5 = this->entry + iVar6;
- pTVar7 = pTVar9 + local_70 + iVar6;
- for (iVar3 = 0x13; iVar3 != 0; iVar3 = iVar3 + -1) {
- pTVar7->Leader = pTVar5->Leader;
- pTVar5 = (TParty *)&pTVar5->Member;
- pTVar7 = (TParty *)&pTVar7->Member;
- }
- iVar6 = iVar2 + 1;
- puVar8 = (ulong *)&extend;
- pTVar5 = this->entry + (iVar2 - this->start);
- for (iVar3 = 0x13; iVar3 != 0; iVar3 = iVar3 + -1) {
- pTVar5->Leader = *puVar8;
- puVar8 = puVar8 + 1;
- pTVar5 = (TParty *)&pTVar5->Member;
- }
- iVar2 = iVar6;
- } while (iVar6 <= this->max);
- }
- pTVar5 = this->entry;
- if (pTVar5 != (TParty *)0x0) {
- pTVar7 = pTVar5 + pTVar5[-1].InvitedPlayers;
- while (pTVar5 != pTVar7) {
- puVar8 = pTVar7[-1].InvitedPlayer.entry;
- if (puVar8 != (ulong *)0x0) {
- operator_delete__(puVar8);
- }
- puVar8 = pTVar7[-1].Member.entry;
- if (puVar8 == (ulong *)0x0) {
- pTVar5 = this->entry;
- pTVar7 = pTVar7 + -1;
- }
- else {
- operator_delete__(puVar8);
- pTVar5 = this->entry;
- pTVar7 = pTVar7 + -1;
- }
- }
- operator_delete__(&pTVar5[-1].InvitedPlayers);
- }
- this->entry = pTVar9;
- iVar2 = this->start - local_70;
- this->start = iVar2;
- this->space = this->space + local_70;
- }
- iVar6 = this->space;
- iVar3 = iVar6 + iVar2;
- while (iVar3 <= i) {
- iVar3 = iVar6;
- if (this->block != 0) {
- iVar3 = this->block;
- }
- iVar6 = iVar3 + iVar6;
- piVar1 = (int *)operator_new__(iVar6 * 0x4c + 4);
- pTVar9 = (TParty *)(piVar1 + 1);
- *piVar1 = iVar6;
- pTVar5 = pTVar9;
- while (iVar6 = iVar6 + -1, iVar6 != -1) {
- // try { // try from 0809d949 to 0809d94d has its CatchHandler @ 0809dba6
- TParty::TParty(pTVar5);
- pTVar5 = pTVar5 + 1;
- }
- if (this->min <= this->max) {
- iVar2 = this->min;
- do {
- pTVar5 = pTVar9 + (iVar2 - this->start);
- puVar8 = (ulong *)&extend;
- for (iVar6 = 0x13; iVar6 != 0; iVar6 = iVar6 + -1) {
- *puVar8 = pTVar5->Leader;
- pTVar5 = (TParty *)&pTVar5->Member;
- puVar8 = puVar8 + 1;
- }
- iVar6 = iVar2 - this->start;
- pTVar5 = this->entry + iVar6;
- pTVar7 = pTVar9 + iVar6;
- for (iVar4 = 0x13; iVar4 != 0; iVar4 = iVar4 + -1) {
- pTVar7->Leader = pTVar5->Leader;
- pTVar5 = (TParty *)&pTVar5->Member;
- pTVar7 = (TParty *)&pTVar7->Member;
- }
- iVar4 = iVar2 + 1;
- puVar8 = (ulong *)&extend;
- pTVar5 = this->entry + (iVar2 - this->start);
- for (iVar6 = 0x13; iVar6 != 0; iVar6 = iVar6 + -1) {
- pTVar5->Leader = *puVar8;
- puVar8 = puVar8 + 1;
- pTVar5 = (TParty *)&pTVar5->Member;
- }
- iVar2 = iVar4;
- } while (iVar4 <= this->max);
- }
- pTVar5 = this->entry;
- if (pTVar5 != (TParty *)0x0) {
- pTVar7 = pTVar5 + pTVar5[-1].InvitedPlayers;
- while (pTVar5 != pTVar7) {
- puVar8 = pTVar7[-1].InvitedPlayer.entry;
- if (puVar8 != (ulong *)0x0) {
- operator_delete__(puVar8);
- }
- puVar8 = pTVar7[-1].Member.entry;
- if (puVar8 == (ulong *)0x0) {
- pTVar5 = this->entry;
- pTVar7 = pTVar7 + -1;
- }
- else {
- operator_delete__(puVar8);
- pTVar5 = this->entry;
- pTVar7 = pTVar7 + -1;
- }
- }
- operator_delete__(&pTVar5[-1].InvitedPlayers);
- }
- this->entry = pTVar9;
- iVar2 = this->start;
- iVar6 = iVar3 + this->space;
- this->space = iVar6;
- iVar3 = iVar6 + iVar2;
- }
- iVar3 = this->min;
- while (i < iVar3) {
- this->min = iVar3 + -1;
- if (this->initialized != false) {
- pTVar9 = &this->init;
- pTVar5 = this->entry + ((iVar3 + -1) - iVar2);
- for (iVar6 = 0x13; iVar6 != 0; iVar6 = iVar6 + -1) {
- pTVar5->Leader = pTVar9->Leader;
- pTVar9 = (TParty *)&pTVar9->Member;
- pTVar5 = (TParty *)&pTVar5->Member;
- }
- iVar2 = this->start;
- }
- iVar3 = this->min;
- }
- iVar3 = this->max;
- while (iVar3 < i) {
- this->max = iVar3 + 1;
- if (this->initialized != false) {
- pTVar9 = &this->init;
- pTVar5 = this->entry + ((iVar3 + 1) - iVar2);
- for (iVar6 = 0x13; iVar6 != 0; iVar6 = iVar6 + -1) {
- pTVar5->Leader = pTVar9->Leader;
- pTVar9 = (TParty *)&pTVar9->Member;
- pTVar5 = (TParty *)&pTVar5->Member;
- }
- iVar2 = this->start;
- }
- iVar3 = this->max;
- }
- return this->entry + (i - iVar2);
-}
-
-
-
void __static_initialization_and_destruction_0(int __initialize_p,int __priority)
{
@@ -67332,977 +56434,6 @@ void __thiscall TCreature::AttackStimulus(TCreature *this,ulong param_1)
return;
}
-
-
-// WARNING: Variable defined which should be unmapped: extend
-// DWARF original prototype: TCreature * * operator()(vector<TCreature*> * this, int i)
-
-TCreature ** __thiscall vector<TCreature*>::operator()(vector<TCreature*> *this,int i)
-
-{
- TCreature *pTVar1;
- TCreature **ppTVar2;
- int iVar3;
- int iVar4;
- int j_1;
- int j;
- int iVar5;
- int extend_1;
- TCreature **help;
- int extend;
-
- iVar3 = this->start;
- while (i < iVar3) {
- help = (TCreature **)this->block;
- if (help == (TCreature **)0x0) {
- ppTVar2 = (TCreature **)this->space;
- help = ppTVar2;
- }
- else {
- ppTVar2 = (TCreature **)this->space;
- }
- ppTVar2 = (TCreature **)operator_new__(((int)help + (int)ppTVar2) * 4);
- iVar3 = this->min;
- if (this->min <= this->max) {
- do {
- iVar4 = iVar3 - this->start;
- iVar5 = (int)help + iVar4;
- pTVar1 = ppTVar2[iVar5];
- ppTVar2[iVar5] = this->entry[iVar4];
- iVar5 = iVar3 + 1;
- this->entry[iVar3 - this->start] = pTVar1;
- iVar3 = iVar5;
- } while (iVar5 <= this->max);
- }
- if (this->entry != (TCreature **)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = ppTVar2;
- iVar3 = this->start - (int)help;
- this->start = iVar3;
- this->space = this->space + (int)help;
- }
- iVar4 = this->space;
- iVar5 = iVar4 + iVar3;
- while (iVar5 <= i) {
- iVar5 = iVar4;
- if (this->block != 0) {
- iVar5 = this->block;
- }
- ppTVar2 = (TCreature **)operator_new__((iVar5 + iVar4) * 4);
- iVar3 = this->min;
- if (iVar3 <= this->max) {
- do {
- iVar4 = iVar3 - this->start;
- pTVar1 = ppTVar2[iVar4];
- ppTVar2[iVar4] = this->entry[iVar4];
- iVar4 = iVar3 + 1;
- this->entry[iVar3 - this->start] = pTVar1;
- iVar3 = iVar4;
- } while (iVar4 <= this->max);
- }
- if (this->entry != (TCreature **)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = ppTVar2;
- iVar3 = this->start;
- iVar4 = iVar5 + this->space;
- this->space = iVar4;
- iVar5 = iVar4 + iVar3;
- }
- iVar5 = this->min;
- while (i < iVar5) {
- this->min = iVar5 + -1;
- if (this->initialized != false) {
- this->entry[(iVar5 + -1) - iVar3] = this->init;
- iVar3 = this->start;
- }
- iVar5 = this->min;
- }
- iVar5 = this->max;
- while (iVar5 < i) {
- this->max = iVar5 + 1;
- if (this->initialized != false) {
- this->entry[(iVar5 + 1) - iVar3] = this->init;
- iVar3 = this->start;
- }
- iVar5 = this->max;
- }
- return this->entry + (i - iVar3);
-}
-
-
-
-// DWARF original prototype: void deleteMin(priority_queue<long_unsigned_int,long_unsigned_int> *
-// this)
-
-void __thiscall priority_queue<>::deleteMin(priority_queue<> *this)
-
-{
- ulong uVar1;
- ulong uVar2;
- ulong uVar3;
- int iVar4;
- priority_queue_entry<> *ppVar5;
- priority_queue_entry<> *ppVar6;
- int SmallerSon;
- int i;
- int local_18;
- int Position;
-
- iVar4 = this->Entries;
- if (iVar4 == 0) {
- error("priority_queue::deleteMin: Warteschlange ist leer.\n");
- return;
- }
- if (1 < iVar4) {
- ppVar5 = vector<>::operator()(this->Entry,1);
- ppVar6 = vector<>::operator()(this->Entry,this->Entries);
- uVar1 = ppVar6->Key;
- ppVar5->Data = ppVar6->Data;
- ppVar5->Key = uVar1;
- local_18 = 1;
- while( true ) {
- iVar4 = this->Entries;
- i = local_18 * 2;
- if (iVar4 < i) break;
- if (i < iVar4) {
- ppVar5 = vector<>::operator()(this->Entry,i + 1);
- ppVar6 = vector<>::operator()(this->Entry,i);
- if (ppVar5->Key < ppVar6->Key) {
- i = i + 1;
- }
- }
- ppVar5 = vector<>::operator()(this->Entry,local_18);
- ppVar6 = vector<>::operator()(this->Entry,i);
- if (ppVar5->Key <= ppVar6->Key) {
- iVar4 = this->Entries;
- break;
- }
- ppVar5 = vector<>::operator()(this->Entry,local_18);
- uVar1 = ppVar5->Key;
- uVar2 = ppVar5->Data;
- ppVar5 = vector<>::operator()(this->Entry,local_18);
- ppVar6 = vector<>::operator()(this->Entry,i);
- uVar3 = ppVar6->Key;
- ppVar5->Data = ppVar6->Data;
- ppVar5->Key = uVar3;
- ppVar5 = vector<>::operator()(this->Entry,i);
- ppVar5->Data = uVar2;
- ppVar5->Key = uVar1;
- local_18 = i;
- }
- }
- this->Entries = iVar4 + -1;
- return;
-}
-
-
-
-// DWARF original prototype: void vector(vector<TToDoEntry> * this, int min, int max, int block)
-
-void __thiscall vector<TToDoEntry>::vector(vector<TToDoEntry> *this,int min,int max,int block)
-
-{
- TToDoEntry *pTVar1;
- int iVar2;
-
- this->min = min;
- iVar2 = (max - min) + 1;
- this->max = max;
- this->start = min;
- this->space = iVar2;
- this->block = block;
- this->initialized = false;
- if (iVar2 < 1) {
- error("vector: Ungueltige Feldgroesse %d bis %d.\n",min,max);
- this->max = max;
- this->space = 1;
- }
- if (block < 0) {
- error("vector: Ungueltige Blockgroesse %d.\n",block);
- this->block = 0;
- }
- pTVar1 = (TToDoEntry *)operator_new__(this->space * 0x18);
- this->entry = pTVar1;
- return;
-}
-
-
-
-// DWARF original prototype: void vector(vector<TSkillData> * this, int min, int max, int block)
-
-void __thiscall vector<TSkillData>::vector(vector<TSkillData> *this,int min,int max,int block)
-
-{
- TSkillData *pTVar1;
- int iVar2;
-
- this->min = min;
- iVar2 = (max - min) + 1;
- this->max = max;
- this->start = min;
- this->space = iVar2;
- this->block = block;
- this->initialized = false;
- if (iVar2 < 1) {
- error("vector: Ungueltige Feldgroesse %d bis %d.\n",min,max);
- this->max = max;
- this->space = 1;
- }
- if (block < 0) {
- error("vector: Ungueltige Blockgroesse %d.\n",block);
- this->block = 0;
- }
- pTVar1 = (TSkillData *)operator_new__(this->space * 0x1c);
- this->entry = pTVar1;
- return;
-}
-
-
-
-// DWARF original prototype: void vector(vector<long_unsigned_int> * this, int min, int max, int
-// block, ulong init)
-
-void __thiscall vector<>::vector(vector<> *this,int min,int max,int block,ulong init)
-
-{
- int iVar1;
- ulong *puVar2;
-
- this->initialized = true;
- this->min = min;
- iVar1 = (max - min) + 1;
- this->max = max;
- this->start = min;
- this->space = iVar1;
- this->block = block;
- this->init = init;
- if (iVar1 < 1) {
- error("vector: Ungueltige Feldgroesse %d bis %d.\n",min,max);
- this->max = max;
- this->space = 1;
- }
- if (block < 0) {
- error("vector: Ungueltige Blockgroesse %d.\n",block);
- this->block = 0;
- }
- puVar2 = (ulong *)operator_new__(this->space << 2);
- iVar1 = 0;
- this->entry = puVar2;
- if (0 < this->space) {
- do {
- this->entry[iVar1] = init;
- iVar1 = iVar1 + 1;
- } while (iVar1 < this->space);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void vector(vector<TItemData> * this, int min, int max, int block)
-
-void __thiscall vector<TItemData>::vector(vector<TItemData> *this,int min,int max,int block)
-
-{
- TItemData *pTVar1;
- int iVar2;
- TItemData *this_00;
-
- ObjectType::setTypeID(&(this->init).Type,0);
- this->min = min;
- iVar2 = (max - min) + 1;
- this->max = max;
- this->start = min;
- this->space = iVar2;
- this->block = block;
- this->initialized = false;
- if (iVar2 < 1) {
- error("vector: Ungueltige Feldgroesse %d bis %d.\n",min,max);
- this->max = max;
- this->space = 1;
- }
- if (block < 0) {
- error("vector: Ungueltige Blockgroesse %d.\n",block);
- this->block = 0;
- }
- iVar2 = this->space;
- pTVar1 = (TItemData *)operator_new__(iVar2 * 0xc);
- this_00 = pTVar1;
- while (iVar2 = iVar2 + -1, iVar2 != -1) {
- // try { // try from 080a59a1 to 080a59a5 has its CatchHandler @ 080a5a03
- ObjectType::setTypeID(&this_00->Type,0);
- this_00 = this_00 + 1;
- }
- this->entry = pTVar1;
- return;
-}
-
-
-
-// DWARF original prototype: void vector(vector<TSpellData> * this, int min, int max, int block)
-
-void __thiscall vector<TSpellData>::vector(vector<TSpellData> *this,int min,int max,int block)
-
-{
- TSpellData *pTVar1;
- int iVar2;
-
- this->min = min;
- iVar2 = (max - min) + 1;
- this->max = max;
- this->start = min;
- this->space = iVar2;
- this->block = block;
- this->initialized = false;
- if (iVar2 < 1) {
- error("vector: Ungueltige Feldgroesse %d bis %d.\n",min,max);
- this->max = max;
- this->space = 1;
- }
- if (block < 0) {
- error("vector: Ungueltige Blockgroesse %d.\n",block);
- this->block = 0;
- }
- pTVar1 = (TSpellData *)operator_new__(this->space * 0x2c);
- this->entry = pTVar1;
- return;
-}
-
-
-
-// DWARF original prototype: TSkillData * operator()(vector<TSkillData> * this, int i)
-
-TSkillData * __thiscall vector<TSkillData>::operator()(vector<TSkillData> *this,int i)
-
-{
- int iVar1;
- int iVar2;
- int iVar3;
- int iVar4;
- int iVar5;
- TSkillData *pTVar6;
- TSkillData *pTVar7;
- int iVar8;
- int iVar9;
- int iVar10;
- int iVar11;
- TSkillData *help_1;
- int iVar12;
- TSkillData *help;
- int j;
- int iVar13;
- int local_40;
- int extend;
- uchar Help [28];
-
- iVar9 = this->start;
- while (i < iVar9) {
- local_40 = this->block;
- if (local_40 == 0) {
- iVar9 = this->space;
- local_40 = iVar9;
- }
- else {
- iVar9 = this->space;
- }
- pTVar7 = (TSkillData *)operator_new__((iVar9 + local_40) * 0x1c);
- iVar9 = this->min;
- if (iVar9 <= this->max) {
- do {
- iVar12 = (iVar9 - this->start) + local_40;
- iVar11 = pTVar7[iVar12].Nr;
- iVar1 = pTVar7[iVar12].Actual;
- iVar2 = pTVar7[iVar12].Minimum;
- iVar3 = pTVar7[iVar12].Maximum;
- iVar4 = pTVar7[iVar12].NextLevel;
- iVar5 = pTVar7[iVar12].FactorPercent;
- iVar10 = pTVar7[iVar12].AddLevel;
- iVar8 = iVar9 - this->start;
- iVar12 = local_40 + iVar8;
- pTVar6 = this->entry;
- pTVar7[iVar12].Nr = pTVar6[iVar8].Nr;
- pTVar7[iVar12].Actual = pTVar6[iVar8].Actual;
- pTVar7[iVar12].Minimum = pTVar6[iVar8].Minimum;
- pTVar7[iVar12].Maximum = pTVar6[iVar8].Maximum;
- pTVar7[iVar12].NextLevel = pTVar6[iVar8].NextLevel;
- pTVar7[iVar12].FactorPercent = pTVar6[iVar8].FactorPercent;
- iVar13 = iVar9 + 1;
- pTVar7[iVar12].AddLevel = pTVar6[iVar8].AddLevel;
- iVar9 = iVar9 - this->start;
- pTVar6 = this->entry;
- pTVar6[iVar9].Nr = iVar11;
- pTVar6[iVar9].Actual = iVar1;
- pTVar6[iVar9].Minimum = iVar2;
- pTVar6[iVar9].Maximum = iVar3;
- pTVar6[iVar9].NextLevel = iVar4;
- pTVar6[iVar9].FactorPercent = iVar5;
- pTVar6[iVar9].AddLevel = iVar10;
- iVar9 = iVar13;
- } while (iVar13 <= this->max);
- }
- if (this->entry != (TSkillData *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar7;
- iVar9 = this->start - local_40;
- this->start = iVar9;
- this->space = this->space + local_40;
- }
- iVar11 = this->space;
- iVar12 = iVar11 + iVar9;
- while (iVar12 <= i) {
- iVar12 = this->block;
- if (this->block == 0) {
- iVar12 = iVar11;
- }
- pTVar7 = (TSkillData *)operator_new__((iVar11 + iVar12) * 0x1c);
- iVar9 = this->min;
- if (iVar9 <= this->max) {
- do {
- iVar10 = iVar9 - this->start;
- iVar11 = pTVar7[iVar10].Nr;
- iVar1 = pTVar7[iVar10].Actual;
- iVar2 = pTVar7[iVar10].Minimum;
- iVar3 = pTVar7[iVar10].Maximum;
- iVar4 = pTVar7[iVar10].NextLevel;
- iVar5 = pTVar7[iVar10].FactorPercent;
- iVar10 = pTVar7[iVar10].AddLevel;
- pTVar6 = this->entry;
- iVar8 = iVar9 - this->start;
- pTVar7[iVar8].Nr = pTVar6[iVar8].Nr;
- pTVar7[iVar8].Actual = pTVar6[iVar8].Actual;
- pTVar7[iVar8].Minimum = pTVar6[iVar8].Minimum;
- pTVar7[iVar8].Maximum = pTVar6[iVar8].Maximum;
- pTVar7[iVar8].NextLevel = pTVar6[iVar8].NextLevel;
- pTVar7[iVar8].FactorPercent = pTVar6[iVar8].FactorPercent;
- pTVar7[iVar8].AddLevel = pTVar6[iVar8].AddLevel;
- iVar8 = iVar9 + 1;
- pTVar6 = this->entry;
- iVar9 = iVar9 - this->start;
- pTVar6[iVar9].Nr = iVar11;
- pTVar6[iVar9].Actual = iVar1;
- pTVar6[iVar9].Minimum = iVar2;
- pTVar6[iVar9].Maximum = iVar3;
- pTVar6[iVar9].NextLevel = iVar4;
- pTVar6[iVar9].FactorPercent = iVar5;
- pTVar6[iVar9].AddLevel = iVar10;
- iVar9 = iVar8;
- } while (iVar8 <= this->max);
- }
- if (this->entry != (TSkillData *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar7;
- iVar9 = this->start;
- iVar11 = this->space + iVar12;
- this->space = iVar11;
- iVar12 = iVar11 + iVar9;
- }
- iVar12 = this->min;
- while (i < iVar12) {
- this->min = iVar12 + -1;
- if (this->initialized != false) {
- iVar9 = (iVar12 + -1) - iVar9;
- pTVar7 = this->entry;
- pTVar7[iVar9].Nr = (this->init).Nr;
- pTVar7[iVar9].Actual = (this->init).Actual;
- pTVar7[iVar9].Minimum = (this->init).Minimum;
- pTVar7[iVar9].Maximum = (this->init).Maximum;
- pTVar7[iVar9].NextLevel = (this->init).NextLevel;
- pTVar7[iVar9].FactorPercent = (this->init).FactorPercent;
- pTVar7[iVar9].AddLevel = (this->init).AddLevel;
- iVar9 = this->start;
- }
- iVar12 = this->min;
- }
- iVar12 = this->max;
- while (iVar12 < i) {
- this->max = iVar12 + 1;
- if (this->initialized != false) {
- iVar9 = (iVar12 + 1) - iVar9;
- pTVar7 = this->entry;
- pTVar7[iVar9].Nr = (this->init).Nr;
- pTVar7[iVar9].Actual = (this->init).Actual;
- pTVar7[iVar9].Minimum = (this->init).Minimum;
- pTVar7[iVar9].Maximum = (this->init).Maximum;
- pTVar7[iVar9].NextLevel = (this->init).NextLevel;
- pTVar7[iVar9].FactorPercent = (this->init).FactorPercent;
- pTVar7[iVar9].AddLevel = (this->init).AddLevel;
- iVar9 = this->start;
- }
- iVar12 = this->max;
- }
- return this->entry + (i - iVar9);
-}
-
-
-
-// DWARF original prototype: TItemData * operator()(vector<TItemData> * this, int i)
-
-TItemData * __thiscall vector<TItemData>::operator()(vector<TItemData> *this,int i)
-
-{
- TItemData *pTVar1;
- int iVar2;
- int iVar3;
- int j_1;
- int iVar4;
- int iVar5;
- int j;
- TItemData *pTVar6;
- int extend_1;
- int extend;
- ObjectType local_2c;
- uchar Help [12];
-
- iVar3 = this->start;
- while (i < iVar3) {
- extend_1 = this->block;
- if (extend_1 == 0) {
- iVar3 = this->space;
- extend_1 = iVar3;
- }
- else {
- iVar3 = this->space;
- }
- iVar3 = extend_1 + iVar3;
- pTVar1 = (TItemData *)operator_new__(iVar3 * 0xc);
- pTVar6 = pTVar1;
- while (iVar3 = iVar3 + -1, iVar3 != -1) {
- // try { // try from 080a5f5b to 080a5f5f has its CatchHandler @ 080a6292
- ObjectType::setTypeID(&pTVar6->Type,0);
- pTVar6 = pTVar6 + 1;
- }
- iVar3 = this->min;
- if (iVar3 <= this->max) {
- do {
- iVar4 = (iVar3 - this->start) + extend_1;
- local_2c.TypeID = pTVar1[iVar4].Type.TypeID;
- Help._0_4_ = pTVar1[iVar4].Maximum;
- Help._4_4_ = pTVar1[iVar4].Probability;
- iVar2 = iVar3 - this->start;
- iVar4 = extend_1 + iVar2;
- pTVar6 = this->entry;
- pTVar1[iVar4].Type.TypeID = pTVar6[iVar2].Type.TypeID;
- pTVar1[iVar4].Maximum = pTVar6[iVar2].Maximum;
- pTVar1[iVar4].Probability = pTVar6[iVar2].Probability;
- iVar4 = iVar3 + 1;
- iVar3 = iVar3 - this->start;
- pTVar6 = this->entry;
- pTVar6[iVar3].Type.TypeID = local_2c.TypeID;
- pTVar6[iVar3].Maximum = Help._0_4_;
- pTVar6[iVar3].Probability = Help._4_4_;
- iVar3 = iVar4;
- } while (iVar4 <= this->max);
- }
- if (this->entry != (TItemData *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar1;
- iVar3 = this->start - extend_1;
- this->start = iVar3;
- this->space = this->space + extend_1;
- }
- iVar2 = this->space;
- iVar4 = iVar2 + iVar3;
- while (iVar4 <= i) {
- iVar4 = iVar2;
- if (this->block != 0) {
- iVar4 = this->block;
- }
- iVar2 = iVar4 + iVar2;
- pTVar1 = (TItemData *)operator_new__(iVar2 * 0xc);
- pTVar6 = pTVar1;
- while (iVar2 = iVar2 + -1, iVar2 != -1) {
- // try { // try from 080a608d to 080a6091 has its CatchHandler @ 080a62a4
- ObjectType::setTypeID(&pTVar6->Type,0);
- pTVar6 = pTVar6 + 1;
- }
- iVar3 = this->min;
- if (iVar3 <= this->max) {
- do {
- iVar2 = iVar3 - this->start;
- local_2c.TypeID = pTVar1[iVar2].Type.TypeID;
- Help._0_4_ = pTVar1[iVar2].Maximum;
- Help._4_4_ = pTVar1[iVar2].Probability;
- pTVar6 = this->entry;
- iVar2 = iVar3 - this->start;
- iVar5 = iVar3 + 1;
- pTVar1[iVar2].Type.TypeID = pTVar6[iVar2].Type.TypeID;
- pTVar1[iVar2].Maximum = pTVar6[iVar2].Maximum;
- pTVar1[iVar2].Probability = pTVar6[iVar2].Probability;
- pTVar6 = this->entry;
- iVar3 = iVar3 - this->start;
- pTVar6[iVar3].Type.TypeID = local_2c.TypeID;
- pTVar6[iVar3].Maximum = Help._0_4_;
- pTVar6[iVar3].Probability = Help._4_4_;
- iVar3 = iVar5;
- } while (iVar5 <= this->max);
- }
- if (this->entry != (TItemData *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar1;
- iVar3 = this->start;
- iVar2 = iVar4 + this->space;
- this->space = iVar2;
- iVar4 = iVar2 + iVar3;
- }
- iVar4 = this->min;
- while (i < iVar4) {
- this->min = iVar4 + -1;
- if (this->initialized != false) {
- pTVar6 = this->entry + ((iVar4 + -1) - iVar3);
- // try { // try from 080a6231 to 080a6255 has its CatchHandler @ 080a62b1
- ObjectType::setTypeID((ObjectType *)&extend,(this->init).Type.TypeID);
- ObjectType::setTypeID(&pTVar6->Type,extend);
- ObjectType::setTypeID(&local_2c,(pTVar6->Type).TypeID);
- pTVar6->Maximum = (this->init).Maximum;
- pTVar6->Probability = (this->init).Probability;
- iVar3 = this->start;
- }
- iVar4 = this->min;
- }
- iVar4 = this->max;
- while (iVar4 < i) {
- this->max = iVar4 + 1;
- if (this->initialized != false) {
- pTVar6 = this->entry + ((iVar4 + 1) - iVar3);
- // try { // try from 080a61db to 080a61ff has its CatchHandler @ 080a62b1
- ObjectType::setTypeID(&local_2c,(this->init).Type.TypeID);
- ObjectType::setTypeID(&pTVar6->Type,local_2c.TypeID);
- ObjectType::setTypeID((ObjectType *)&extend,(pTVar6->Type).TypeID);
- pTVar6->Maximum = (this->init).Maximum;
- pTVar6->Probability = (this->init).Probability;
- iVar3 = this->start;
- }
- iVar4 = this->max;
- }
- return this->entry + (i - iVar3);
-}
-
-
-
-// DWARF original prototype: TSpellData * operator()(vector<TSpellData> * this, int i)
-
-TSpellData * __thiscall vector<TSpellData>::operator()(vector<TSpellData> *this,int i)
-
-{
- SpellShapeType SVar1;
- int iVar2;
- int iVar3;
- int iVar4;
- SpellImpactType SVar5;
- int iVar6;
- int iVar7;
- int iVar8;
- int iVar9;
- TSpellData *pTVar10;
- TSpellData *pTVar11;
- int iVar12;
- int iVar13;
- int iVar14;
- int iVar15;
- int iVar16;
- TSpellData *help_1;
- TSpellData *help;
- int j;
- int local_50;
- int extend;
- uchar Help [44];
-
- iVar13 = this->start;
- while (i < iVar13) {
- local_50 = this->block;
- if (local_50 == 0) {
- iVar13 = this->space;
- local_50 = iVar13;
- }
- else {
- iVar13 = this->space;
- }
- pTVar11 = (TSpellData *)operator_new__((local_50 + iVar13) * 0x2c);
- iVar13 = this->min;
- if (iVar13 <= this->max) {
- do {
- iVar12 = (iVar13 - this->start) + local_50;
- SVar1 = pTVar11[iVar12].Shape;
- iVar16 = pTVar11[iVar12].ShapeParam1;
- iVar2 = pTVar11[iVar12].ShapeParam2;
- iVar3 = pTVar11[iVar12].ShapeParam3;
- iVar4 = pTVar11[iVar12].ShapeParam4;
- SVar5 = pTVar11[iVar12].Impact;
- iVar6 = pTVar11[iVar12].ImpactParam1;
- iVar7 = pTVar11[iVar12].ImpactParam2;
- iVar8 = pTVar11[iVar12].ImpactParam3;
- iVar9 = pTVar11[iVar12].ImpactParam4;
- iVar14 = pTVar11[iVar12].Delay;
- pTVar10 = this->entry;
- iVar15 = iVar13 - this->start;
- iVar12 = local_50 + iVar15;
- pTVar11[iVar12].Shape = pTVar10[iVar15].Shape;
- pTVar11[iVar12].ShapeParam1 = pTVar10[iVar15].ShapeParam1;
- pTVar11[iVar12].ShapeParam2 = pTVar10[iVar15].ShapeParam2;
- pTVar11[iVar12].ShapeParam3 = pTVar10[iVar15].ShapeParam3;
- pTVar11[iVar12].ShapeParam4 = pTVar10[iVar15].ShapeParam4;
- pTVar11[iVar12].Impact = pTVar10[iVar15].Impact;
- pTVar11[iVar12].ImpactParam1 = pTVar10[iVar15].ImpactParam1;
- pTVar11[iVar12].ImpactParam2 = pTVar10[iVar15].ImpactParam2;
- pTVar11[iVar12].ImpactParam3 = pTVar10[iVar15].ImpactParam3;
- pTVar11[iVar12].ImpactParam4 = pTVar10[iVar15].ImpactParam4;
- pTVar11[iVar12].Delay = pTVar10[iVar15].Delay;
- iVar12 = iVar13 + 1;
- iVar13 = iVar13 - this->start;
- pTVar10 = this->entry;
- pTVar10[iVar13].Shape = SVar1;
- pTVar10[iVar13].ShapeParam1 = iVar16;
- pTVar10[iVar13].ShapeParam2 = iVar2;
- pTVar10[iVar13].ShapeParam3 = iVar3;
- pTVar10[iVar13].ShapeParam4 = iVar4;
- pTVar10[iVar13].Impact = SVar5;
- pTVar10[iVar13].ImpactParam1 = iVar6;
- pTVar10[iVar13].ImpactParam2 = iVar7;
- pTVar10[iVar13].ImpactParam3 = iVar8;
- pTVar10[iVar13].ImpactParam4 = iVar9;
- pTVar10[iVar13].Delay = iVar14;
- iVar13 = iVar12;
- } while (iVar12 <= this->max);
- }
- if (this->entry != (TSpellData *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar11;
- iVar13 = this->start - local_50;
- this->start = iVar13;
- this->space = this->space + local_50;
- }
- iVar16 = this->space;
- iVar12 = iVar16 + iVar13;
- while (iVar12 <= i) {
- iVar13 = this->block;
- if (this->block == 0) {
- iVar13 = iVar16;
- }
- pTVar11 = (TSpellData *)operator_new__((iVar13 + iVar16) * 0x2c);
- iVar12 = this->min;
- if (this->min <= this->max) {
- do {
- iVar14 = iVar12 - this->start;
- SVar1 = pTVar11[iVar14].Shape;
- iVar16 = pTVar11[iVar14].ShapeParam1;
- iVar2 = pTVar11[iVar14].ShapeParam2;
- iVar3 = pTVar11[iVar14].ShapeParam3;
- iVar4 = pTVar11[iVar14].ShapeParam4;
- SVar5 = pTVar11[iVar14].Impact;
- iVar6 = pTVar11[iVar14].ImpactParam1;
- iVar7 = pTVar11[iVar14].ImpactParam2;
- iVar8 = pTVar11[iVar14].ImpactParam3;
- iVar9 = pTVar11[iVar14].ImpactParam4;
- iVar14 = pTVar11[iVar14].Delay;
- pTVar10 = this->entry;
- iVar15 = iVar12 - this->start;
- pTVar11[iVar15].Shape = pTVar10[iVar15].Shape;
- pTVar11[iVar15].ShapeParam1 = pTVar10[iVar15].ShapeParam1;
- pTVar11[iVar15].ShapeParam2 = pTVar10[iVar15].ShapeParam2;
- pTVar11[iVar15].ShapeParam3 = pTVar10[iVar15].ShapeParam3;
- pTVar11[iVar15].ShapeParam4 = pTVar10[iVar15].ShapeParam4;
- pTVar11[iVar15].Impact = pTVar10[iVar15].Impact;
- pTVar11[iVar15].ImpactParam1 = pTVar10[iVar15].ImpactParam1;
- pTVar11[iVar15].ImpactParam2 = pTVar10[iVar15].ImpactParam2;
- pTVar11[iVar15].ImpactParam3 = pTVar10[iVar15].ImpactParam3;
- pTVar11[iVar15].ImpactParam4 = pTVar10[iVar15].ImpactParam4;
- pTVar11[iVar15].Delay = pTVar10[iVar15].Delay;
- iVar15 = iVar12 + 1;
- pTVar10 = this->entry;
- iVar12 = iVar12 - this->start;
- pTVar10[iVar12].Shape = SVar1;
- pTVar10[iVar12].ShapeParam1 = iVar16;
- pTVar10[iVar12].ShapeParam2 = iVar2;
- pTVar10[iVar12].ShapeParam3 = iVar3;
- pTVar10[iVar12].ShapeParam4 = iVar4;
- pTVar10[iVar12].Impact = SVar5;
- pTVar10[iVar12].ImpactParam1 = iVar6;
- pTVar10[iVar12].ImpactParam2 = iVar7;
- pTVar10[iVar12].ImpactParam3 = iVar8;
- pTVar10[iVar12].ImpactParam4 = iVar9;
- pTVar10[iVar12].Delay = iVar14;
- iVar12 = iVar15;
- } while (iVar15 <= this->max);
- }
- if (this->entry != (TSpellData *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar11;
- iVar16 = this->space + iVar13;
- this->space = iVar16;
- iVar13 = this->start;
- iVar12 = iVar16 + iVar13;
- }
- iVar12 = this->min;
- while (i < iVar12) {
- this->min = iVar12 + -1;
- if (this->initialized != false) {
- iVar13 = (iVar12 + -1) - iVar13;
- pTVar11 = this->entry;
- pTVar11[iVar13].Shape = (this->init).Shape;
- pTVar11[iVar13].ShapeParam1 = (this->init).ShapeParam1;
- pTVar11[iVar13].ShapeParam2 = (this->init).ShapeParam2;
- pTVar11[iVar13].ShapeParam3 = (this->init).ShapeParam3;
- pTVar11[iVar13].ShapeParam4 = (this->init).ShapeParam4;
- pTVar11[iVar13].Impact = (this->init).Impact;
- pTVar11[iVar13].ImpactParam1 = (this->init).ImpactParam1;
- pTVar11[iVar13].ImpactParam2 = (this->init).ImpactParam2;
- pTVar11[iVar13].ImpactParam3 = (this->init).ImpactParam3;
- pTVar11[iVar13].ImpactParam4 = (this->init).ImpactParam4;
- pTVar11[iVar13].Delay = (this->init).Delay;
- iVar13 = this->start;
- }
- iVar12 = this->min;
- }
- iVar12 = this->max;
- while (iVar12 < i) {
- this->max = iVar12 + 1;
- if (this->initialized != false) {
- iVar13 = (iVar12 + 1) - iVar13;
- pTVar11 = this->entry;
- pTVar11[iVar13].Shape = (this->init).Shape;
- pTVar11[iVar13].ShapeParam1 = (this->init).ShapeParam1;
- pTVar11[iVar13].ShapeParam2 = (this->init).ShapeParam2;
- pTVar11[iVar13].ShapeParam3 = (this->init).ShapeParam3;
- pTVar11[iVar13].ShapeParam4 = (this->init).ShapeParam4;
- pTVar11[iVar13].Impact = (this->init).Impact;
- pTVar11[iVar13].ImpactParam1 = (this->init).ImpactParam1;
- pTVar11[iVar13].ImpactParam2 = (this->init).ImpactParam2;
- pTVar11[iVar13].ImpactParam3 = (this->init).ImpactParam3;
- pTVar11[iVar13].ImpactParam4 = (this->init).ImpactParam4;
- pTVar11[iVar13].Delay = (this->init).Delay;
- iVar13 = this->start;
- }
- iVar12 = this->max;
- }
- return this->entry + (i - iVar13);
-}
-
-
-
-// DWARF original prototype: void insert(priority_queue<long_unsigned_int,TAttackWave*> * this,
-// ulong Key, TAttackWave * * Data)
-
-void __thiscall priority_queue<>::insert(priority_queue<> *this)
-
-{
- ulong uVar1;
- TAttackWave *pTVar2;
- ulong uVar3;
- int iVar4;
- priority_queue_entry<> *ppVar5;
- priority_queue_entry<> *ppVar6;
- int Father;
- int i;
- int Position;
- ulong in_stack_00000008;
- undefined4 *in_stack_0000000c;
-
- iVar4 = this->Entries + 1;
- this->Entries = iVar4;
- ppVar5 = vector<>::operator()(this->Entry,iVar4);
- ppVar5->Key = in_stack_00000008;
- ppVar5 = vector<>::operator()(this->Entry,this->Entries);
- ppVar5->Data = (TAttackWave *)*in_stack_0000000c;
- iVar4 = this->Entries;
- while( true ) {
- if (iVar4 == 1) {
- return;
- }
- i = iVar4 / 2;
- ppVar5 = vector<>::operator()(this->Entry,iVar4);
- ppVar6 = vector<>::operator()(this->Entry,i);
- if (ppVar6->Key <= ppVar5->Key) break;
- ppVar5 = vector<>::operator()(this->Entry,iVar4);
- uVar1 = ppVar5->Key;
- pTVar2 = ppVar5->Data;
- ppVar5 = vector<>::operator()(this->Entry,iVar4);
- ppVar6 = vector<>::operator()(this->Entry,i);
- uVar3 = ppVar6->Key;
- ppVar5->Data = ppVar6->Data;
- ppVar5->Key = uVar3;
- ppVar5 = vector<>::operator()(this->Entry,i);
- ppVar5->Data = pTVar2;
- ppVar5->Key = uVar1;
- iVar4 = i;
- }
- return;
-}
-
-
-
-// DWARF original prototype: void deleteMin(priority_queue<long_unsigned_int,TAttackWave*> * this)
-
-void __thiscall priority_queue<>::deleteMin(priority_queue<> *this)
-
-{
- ulong uVar1;
- TAttackWave *pTVar2;
- ulong uVar3;
- int iVar4;
- priority_queue_entry<> *ppVar5;
- priority_queue_entry<> *ppVar6;
- int SmallerSon;
- int i;
- int local_18;
- int Position;
-
- iVar4 = this->Entries;
- if (iVar4 == 0) {
- error("priority_queue::deleteMin: Warteschlange ist leer.\n");
- return;
- }
- if (1 < iVar4) {
- ppVar5 = vector<>::operator()(this->Entry,1);
- ppVar6 = vector<>::operator()(this->Entry,this->Entries);
- uVar1 = ppVar6->Key;
- ppVar5->Data = ppVar6->Data;
- ppVar5->Key = uVar1;
- local_18 = 1;
- while( true ) {
- iVar4 = this->Entries;
- i = local_18 * 2;
- if (iVar4 < i) break;
- if (i < iVar4) {
- ppVar5 = vector<>::operator()(this->Entry,i + 1);
- ppVar6 = vector<>::operator()(this->Entry,i);
- if (ppVar5->Key < ppVar6->Key) {
- i = i + 1;
- }
- }
- ppVar5 = vector<>::operator()(this->Entry,local_18);
- ppVar6 = vector<>::operator()(this->Entry,i);
- if (ppVar5->Key <= ppVar6->Key) {
- iVar4 = this->Entries;
- break;
- }
- ppVar5 = vector<>::operator()(this->Entry,local_18);
- uVar1 = ppVar5->Key;
- pTVar2 = ppVar5->Data;
- ppVar5 = vector<>::operator()(this->Entry,local_18);
- ppVar6 = vector<>::operator()(this->Entry,i);
- uVar3 = ppVar6->Key;
- ppVar5->Data = ppVar6->Data;
- ppVar5->Key = uVar3;
- ppVar5 = vector<>::operator()(this->Entry,i);
- ppVar5->Data = pTVar2;
- ppVar5->Key = uVar1;
- local_18 = i;
- }
- }
- this->Entries = iVar4 + -1;
- return;
-}
-
-
-
// DWARF original prototype: void matrix(matrix<long_unsigned_int> * this, int xmin, int xmax, int
// ymin, int ymax, ulong init)
@@ -68337,260 +56468,6 @@ void __thiscall matrix<>::matrix(matrix<> *this,int xmin,int xmax,int ymin,int y
return;
}
-
-
-// DWARF original prototype: priority_queue_entry<long_unsigned_int,long_unsigned_int> *
-// operator()(vector<priority_queue_entry<long_unsigned_int,_long_unsigned_int>_> * this, int i)
-
-priority_queue_entry<> * __thiscall vector<>::operator()(vector<> *this,int i)
-
-{
- ulong uVar1;
- ulong uVar2;
- priority_queue_entry<> *ppVar3;
- priority_queue_entry<> *ppVar4;
- int iVar5;
- int j_1;
- int iVar6;
- int iVar7;
- int j;
- int iVar8;
- int extend_1;
- priority_queue_entry<> *help;
- int extend;
- uchar Help_1 [8];
- uchar Help [8];
-
- iVar5 = this->start;
- while (i < iVar5) {
- help = (priority_queue_entry<> *)this->block;
- if (help == (priority_queue_entry<> *)0x0) {
- ppVar4 = (priority_queue_entry<> *)this->space;
- help = ppVar4;
- }
- else {
- ppVar4 = (priority_queue_entry<> *)this->space;
- }
- ppVar4 = (priority_queue_entry<> *)operator_new__(((int)&ppVar4->Key + (int)&help->Key) * 8)
- ;
- iVar5 = this->min;
- if (this->min <= this->max) {
- do {
- iVar6 = (iVar5 - this->start) + (int)help;
- uVar1 = ppVar4[iVar6].Key;
- uVar2 = ppVar4[iVar6].Data;
- ppVar3 = this->entry;
- iVar6 = iVar5 - this->start;
- ppVar4[(int)help + iVar6].Key = ppVar3[iVar6].Key;
- iVar8 = iVar5 + 1;
- ppVar4[(int)help + iVar6].Data = ppVar3[iVar6].Data;
- ppVar3 = this->entry;
- iVar5 = iVar5 - this->start;
- ppVar3[iVar5].Key = uVar1;
- ppVar3[iVar5].Data = uVar2;
- iVar5 = iVar8;
- } while (iVar8 <= this->max);
- }
- if (this->entry != (priority_queue_entry<> *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = ppVar4;
- iVar5 = this->start - (int)help;
- this->start = iVar5;
- this->space = (int)&help->Key + this->space;
- }
- iVar8 = this->space;
- iVar6 = iVar8 + iVar5;
- while (iVar6 <= i) {
- iVar6 = iVar8;
- if (this->block != 0) {
- iVar6 = this->block;
- }
- ppVar4 = (priority_queue_entry<> *)operator_new__((iVar6 + iVar8) * 8);
- iVar5 = this->min;
- if (iVar5 <= this->max) {
- do {
- iVar8 = iVar5 - this->start;
- uVar1 = ppVar4[iVar8].Key;
- uVar2 = ppVar4[iVar8].Data;
- iVar8 = iVar5 - this->start;
- ppVar3 = this->entry;
- ppVar4[iVar8].Key = ppVar3[iVar8].Key;
- iVar7 = iVar5 + 1;
- ppVar4[iVar8].Data = ppVar3[iVar8].Data;
- ppVar3 = this->entry;
- iVar5 = iVar5 - this->start;
- ppVar3[iVar5].Key = uVar1;
- ppVar3[iVar5].Data = uVar2;
- iVar5 = iVar7;
- } while (iVar7 <= this->max);
- }
- if (this->entry != (priority_queue_entry<> *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = ppVar4;
- iVar5 = this->start;
- iVar8 = iVar6 + this->space;
- this->space = iVar8;
- iVar6 = iVar8 + iVar5;
- }
- iVar6 = this->min;
- while (i < iVar6) {
- this->min = iVar6 + -1;
- if (this->initialized != false) {
- iVar5 = (iVar6 + -1) - iVar5;
- ppVar4 = this->entry;
- uVar1 = (this->init).Data;
- ppVar4[iVar5].Key = (this->init).Key;
- ppVar4[iVar5].Data = uVar1;
- iVar5 = this->start;
- }
- iVar6 = this->min;
- }
- iVar6 = this->max;
- while (iVar6 < i) {
- this->max = iVar6 + 1;
- if (this->initialized != false) {
- iVar5 = (iVar6 + 1) - iVar5;
- ppVar4 = this->entry;
- uVar1 = (this->init).Data;
- ppVar4[iVar5].Key = (this->init).Key;
- ppVar4[iVar5].Data = uVar1;
- iVar5 = this->start;
- }
- iVar6 = this->max;
- }
- return this->entry + (i - iVar5);
-}
-
-
-
-// DWARF original prototype: priority_queue_entry<long_unsigned_int,TAttackWave*> *
-// operator()(vector<priority_queue_entry<long_unsigned_int,_TAttackWave*>_> * this, int i)
-
-priority_queue_entry<> * __thiscall vector<>::operator()(vector<> *this,int i)
-
-{
- ulong uVar1;
- TAttackWave *pTVar2;
- priority_queue_entry<> *ppVar3;
- priority_queue_entry<> *ppVar4;
- int iVar5;
- int j_1;
- int iVar6;
- int iVar7;
- int j;
- int iVar8;
- int extend_1;
- priority_queue_entry<> *help;
- int extend;
- uchar Help_1 [8];
- uchar Help [8];
-
- iVar5 = this->start;
- while (i < iVar5) {
- help = (priority_queue_entry<> *)this->block;
- if (help == (priority_queue_entry<> *)0x0) {
- ppVar4 = (priority_queue_entry<> *)this->space;
- help = ppVar4;
- }
- else {
- ppVar4 = (priority_queue_entry<> *)this->space;
- }
- ppVar4 = (priority_queue_entry<> *)operator_new__(((int)&ppVar4->Key + (int)&help->Key) * 8)
- ;
- iVar5 = this->min;
- if (this->min <= this->max) {
- do {
- iVar6 = (iVar5 - this->start) + (int)help;
- uVar1 = ppVar4[iVar6].Key;
- pTVar2 = ppVar4[iVar6].Data;
- ppVar3 = this->entry;
- iVar6 = iVar5 - this->start;
- ppVar4[(int)help + iVar6].Key = ppVar3[iVar6].Key;
- iVar8 = iVar5 + 1;
- ppVar4[(int)help + iVar6].Data = ppVar3[iVar6].Data;
- ppVar3 = this->entry;
- iVar5 = iVar5 - this->start;
- ppVar3[iVar5].Key = uVar1;
- ppVar3[iVar5].Data = pTVar2;
- iVar5 = iVar8;
- } while (iVar8 <= this->max);
- }
- if (this->entry != (priority_queue_entry<> *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = ppVar4;
- iVar5 = this->start - (int)help;
- this->start = iVar5;
- this->space = (int)&help->Key + this->space;
- }
- iVar8 = this->space;
- iVar6 = iVar8 + iVar5;
- while (iVar6 <= i) {
- iVar5 = iVar8;
- if (this->block != 0) {
- iVar5 = this->block;
- }
- ppVar4 = (priority_queue_entry<> *)operator_new__((iVar5 + iVar8) * 8);
- iVar6 = this->min;
- if (iVar6 <= this->max) {
- do {
- iVar8 = iVar6 - this->start;
- uVar1 = ppVar4[iVar8].Key;
- pTVar2 = ppVar4[iVar8].Data;
- iVar8 = iVar6 - this->start;
- ppVar3 = this->entry;
- ppVar4[iVar8].Key = ppVar3[iVar8].Key;
- iVar7 = iVar6 + 1;
- ppVar4[iVar8].Data = ppVar3[iVar8].Data;
- ppVar3 = this->entry;
- iVar6 = iVar6 - this->start;
- ppVar3[iVar6].Key = uVar1;
- ppVar3[iVar6].Data = pTVar2;
- iVar6 = iVar7;
- } while (iVar7 <= this->max);
- }
- if (this->entry != (priority_queue_entry<> *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = ppVar4;
- iVar8 = iVar5 + this->space;
- iVar5 = this->start;
- this->space = iVar8;
- iVar6 = iVar8 + iVar5;
- }
- iVar6 = this->min;
- while (i < iVar6) {
- this->min = iVar6 + -1;
- if (this->initialized != false) {
- iVar5 = (iVar6 + -1) - iVar5;
- ppVar4 = this->entry;
- pTVar2 = (this->init).Data;
- ppVar4[iVar5].Key = (this->init).Key;
- ppVar4[iVar5].Data = pTVar2;
- iVar5 = this->start;
- }
- iVar6 = this->min;
- }
- iVar6 = this->max;
- while (iVar6 < i) {
- this->max = iVar6 + 1;
- if (this->initialized != false) {
- iVar5 = (iVar6 + 1) - iVar5;
- ppVar4 = this->entry;
- pTVar2 = (this->init).Data;
- ppVar4[iVar5].Key = (this->init).Key;
- ppVar4[iVar5].Data = pTVar2;
- iVar5 = this->start;
- }
- iVar6 = this->max;
- }
- return this->entry + (i - iVar5);
-}
-
-
-
void __static_initialization_and_destruction_0(int __initialize_p,int __priority)
{
@@ -72941,69 +60818,6 @@ void __thiscall TPlayer::CheckOutfit(TPlayer *this)
return;
}
-
-
-// DWARF original prototype: void CheckState(TPlayer * this)
-
-void __thiscall TPlayer::CheckState(TPlayer *this)
-
-{
- TSkill *pTVar1;
- uint uVar2;
- int iVar3;
- int iVar4;
- int NewState;
- uint uVar5;
-
- if ((this->super_TCreature).Connection != (TConnection *)0x0) {
- pTVar1 = (this->super_TCreature).super_TSkillBase.Skills[0x11];
- iVar3 = (*pTVar1->_vptr_TSkill[0xd])(pTVar1);
- pTVar1 = (this->super_TCreature).super_TSkillBase.Skills[0x12];
- iVar4 = (*pTVar1->_vptr_TSkill[0xd])(pTVar1);
- pTVar1 = (this->super_TCreature).super_TSkillBase.Skills[0x13];
- uVar5 = (uint)(0 < iVar3);
- if (0 < iVar4) {
- uVar5 = 0 < iVar3 | 2;
- }
- iVar3 = (*pTVar1->_vptr_TSkill[0xd])(pTVar1);
- pTVar1 = (this->super_TCreature).super_TSkillBase.Skills[0x14];
- if (0 < iVar3) {
- uVar5 = uVar5 | 4;
- }
- iVar3 = (*pTVar1->_vptr_TSkill[0xd])(pTVar1);
- if (0 < iVar3) {
- iVar3 = TSkill::Get((this->super_TCreature).super_TSkillBase.Skills[0x14]);
- if (iVar3 == 0) {
- uVar5 = uVar5 | 8;
- }
- }
- pTVar1 = (this->super_TCreature).super_TSkillBase.Skills[0x15];
- iVar3 = (*pTVar1->_vptr_TSkill[0xd])(pTVar1);
- if ((0 < iVar3) ||
- (iVar3 = TSkill::Get((this->super_TCreature).super_TSkillBase.Skills[0x15]), 0 < iVar3))
- {
- uVar5 = uVar5 | 0x10;
- }
- uVar2 = (this->super_TCreature).super_TSkillBase.Skills[4]->MDAct;
- if (0x7fffffff < uVar2) {
- uVar5 = uVar5 | 0x20;
- }
- if (0 < (int)uVar2) {
- uVar5 = uVar5 | 0x40;
- }
- if (RoundNr < (this->super_TCreature).EarliestLogoutRound) {
- uVar5 = uVar5 | 0x80;
- }
- if (uVar5 != this->OldState) {
- SendPlayerState((this->super_TCreature).Connection,(uchar)uVar5);
- this->OldState = uVar5;
- }
- }
- return;
-}
-
-
-
// WARNING: Variable defined which should be unmapped: Execute_local
// DWARF original prototype: bool MovePossible(TPlayer * this, int x, int y, int z, bool Execute,
// bool Jump)
@@ -74230,107 +62044,6 @@ void _GLOBAL__I_PlayerList(void)
return;
}
-
-
-// WARNING: Variable defined which should be unmapped: extend
-// DWARF original prototype: TPlayer * * operator()(vector<TPlayer*> * this, int i)
-
-TPlayer ** __thiscall vector<TPlayer*>::operator()(vector<TPlayer*> *this,int i)
-
-{
- TPlayer *pTVar1;
- TPlayer **ppTVar2;
- int iVar3;
- int iVar4;
- int j_1;
- int j;
- int iVar5;
- int extend_1;
- TPlayer **help;
- int extend;
-
- iVar3 = this->start;
- while (i < iVar3) {
- help = (TPlayer **)this->block;
- if (help == (TPlayer **)0x0) {
- ppTVar2 = (TPlayer **)this->space;
- help = ppTVar2;
- }
- else {
- ppTVar2 = (TPlayer **)this->space;
- }
- ppTVar2 = (TPlayer **)operator_new__(((int)help + (int)ppTVar2) * 4);
- iVar3 = this->min;
- if (this->min <= this->max) {
- do {
- iVar4 = iVar3 - this->start;
- iVar5 = (int)help + iVar4;
- pTVar1 = ppTVar2[iVar5];
- ppTVar2[iVar5] = this->entry[iVar4];
- iVar5 = iVar3 + 1;
- this->entry[iVar3 - this->start] = pTVar1;
- iVar3 = iVar5;
- } while (iVar5 <= this->max);
- }
- if (this->entry != (TPlayer **)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = ppTVar2;
- iVar3 = this->start - (int)help;
- this->start = iVar3;
- this->space = this->space + (int)help;
- }
- iVar4 = this->space;
- iVar5 = iVar4 + iVar3;
- while (iVar5 <= i) {
- iVar5 = iVar4;
- if (this->block != 0) {
- iVar5 = this->block;
- }
- ppTVar2 = (TPlayer **)operator_new__((iVar5 + iVar4) * 4);
- iVar3 = this->min;
- if (iVar3 <= this->max) {
- do {
- iVar4 = iVar3 - this->start;
- pTVar1 = ppTVar2[iVar4];
- ppTVar2[iVar4] = this->entry[iVar4];
- iVar4 = iVar3 + 1;
- this->entry[iVar3 - this->start] = pTVar1;
- iVar3 = iVar4;
- } while (iVar4 <= this->max);
- }
- if (this->entry != (TPlayer **)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = ppTVar2;
- iVar3 = this->start;
- iVar4 = iVar5 + this->space;
- this->space = iVar4;
- iVar5 = iVar4 + iVar3;
- }
- iVar5 = this->min;
- while (i < iVar5) {
- this->min = iVar5 + -1;
- if (this->initialized != false) {
- this->entry[(iVar5 + -1) - iVar3] = this->init;
- iVar3 = this->start;
- }
- iVar5 = this->min;
- }
- iVar5 = this->max;
- while (iVar5 < i) {
- this->max = iVar5 + 1;
- if (this->initialized != false) {
- this->entry[(iVar5 + 1) - iVar3] = this->init;
- iVar3 = this->start;
- }
- iVar5 = this->max;
- }
- return this->entry + (i - iVar3);
-}
-
-
-
// WARNING: Variable defined which should be unmapped: i
// DWARF original prototype: TPlayerIndexLeafNode * getFreeItem(store<TPlayerIndexLeafNode,100> *
// this)
@@ -82662,928 +70375,6 @@ TNode * __thiscall store<TNode,256>::getFreeItem(store<TNode,256> *this)
return (TNode *)psVar2;
}
-
-
-// DWARF original prototype: void vector(vector<TCondition> * this, int min, int max, int block)
-
-void __thiscall vector<TCondition>::vector(vector<TCondition> *this,int min,int max,int block)
-
-{
- TCondition *pTVar1;
- int iVar2;
- TCondition *pTVar3;
-
- iVar2 = (max - min) + 1;
- (this->init).Type = 0;
- (this->init).Text = 0;
- this->min = min;
- this->max = max;
- this->start = min;
- this->space = iVar2;
- this->block = block;
- this->initialized = false;
- if (iVar2 < 1) {
- error("vector: Ungueltige Feldgroesse %d bis %d.\n",min,max);
- this->max = max;
- this->space = 1;
- }
- if (block < 0) {
- error("vector: Ungueltige Blockgroesse %d.\n",block);
- this->block = 0;
- }
- iVar2 = this->space;
- pTVar1 = (TCondition *)operator_new__(iVar2 * 0x14);
- pTVar3 = pTVar1;
- while (iVar2 = iVar2 + -1, iVar2 != -1) {
- pTVar3->Type = 0;
- pTVar3->Text = 0;
- pTVar3 = pTVar3 + 1;
- }
- this->entry = pTVar1;
- return;
-}
-
-
-
-// DWARF original prototype: void vector(vector<TAction> * this, int min, int max, int block)
-
-void __thiscall vector<TAction>::vector(vector<TAction> *this,int min,int max,int block)
-
-{
- TAction *pTVar1;
- int iVar2;
- TAction *pTVar3;
-
- iVar2 = (max - min) + 1;
- (this->init).Type = 0;
- (this->init).Text = 0;
- this->min = min;
- this->max = max;
- this->start = min;
- this->space = iVar2;
- this->block = block;
- this->initialized = false;
- if (iVar2 < 1) {
- error("vector: Ungueltige Feldgroesse %d bis %d.\n",min,max);
- this->max = max;
- this->space = 1;
- }
- if (block < 0) {
- error("vector: Ungueltige Blockgroesse %d.\n",block);
- this->block = 0;
- }
- iVar2 = this->space;
- pTVar1 = (TAction *)operator_new__(iVar2 * 0x18);
- pTVar3 = pTVar1;
- while (iVar2 = iVar2 + -1, iVar2 != -1) {
- pTVar3->Type = 0;
- pTVar3->Text = 0;
- pTVar3 = pTVar3 + 1;
- }
- this->entry = pTVar1;
- return;
-}
-
-
-
-// DWARF original prototype: TCondition * operator()(vector<TCondition> * this, int i)
-
-TCondition * __thiscall vector<TCondition>::operator()(vector<TCondition> *this,int i)
-
-{
- ulong uVar1;
- TNode *pTVar2;
- int iVar3;
- TCondition *pTVar4;
- TCondition *pTVar5;
- int iVar6;
- int iVar7;
- int iVar8;
- int iVar9;
- int iVar10;
- int j_1;
- int j;
- int local_40;
- int extend;
- uchar Help [20];
-
- iVar8 = this->start;
- while (i < iVar8) {
- local_40 = this->block;
- if (local_40 == 0) {
- iVar8 = this->space;
- local_40 = iVar8;
- }
- else {
- iVar8 = this->space;
- }
- iVar8 = local_40 + iVar8;
- pTVar4 = (TCondition *)operator_new__(iVar8 * 0x14);
- pTVar5 = pTVar4;
- while (iVar8 = iVar8 + -1, iVar8 != -1) {
- pTVar5->Type = 0;
- pTVar5->Text = 0;
- pTVar5 = pTVar5 + 1;
- }
- iVar8 = this->min;
- if (iVar8 <= this->max) {
- do {
- iVar6 = (iVar8 - this->start) + local_40;
- iVar10 = pTVar4[iVar6].Type;
- uVar1 = pTVar4[iVar6].Text;
- pTVar2 = pTVar4[iVar6].Expression;
- iVar3 = pTVar4[iVar6].Property;
- iVar9 = pTVar4[iVar6].Number;
- iVar7 = iVar8 - this->start;
- iVar6 = local_40 + iVar7;
- pTVar5 = this->entry;
- pTVar4[iVar6].Type = pTVar5[iVar7].Type;
- pTVar4[iVar6].Text = pTVar5[iVar7].Text;
- pTVar4[iVar6].Expression = pTVar5[iVar7].Expression;
- pTVar4[iVar6].Property = pTVar5[iVar7].Property;
- pTVar4[iVar6].Number = pTVar5[iVar7].Number;
- iVar6 = iVar8 + 1;
- iVar8 = iVar8 - this->start;
- pTVar5 = this->entry;
- pTVar5[iVar8].Type = iVar10;
- pTVar5[iVar8].Text = uVar1;
- pTVar5[iVar8].Expression = pTVar2;
- pTVar5[iVar8].Property = iVar3;
- pTVar5[iVar8].Number = iVar9;
- iVar8 = iVar6;
- } while (iVar6 <= this->max);
- }
- if (this->entry != (TCondition *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar4;
- iVar8 = this->start - local_40;
- this->start = iVar8;
- this->space = this->space + local_40;
- }
- iVar10 = this->space;
- iVar6 = iVar10 + iVar8;
- while (iVar6 <= i) {
- iVar6 = this->block;
- if (this->block == 0) {
- iVar6 = iVar10;
- }
- iVar10 = iVar6 + iVar10;
- pTVar4 = (TCondition *)operator_new__(iVar10 * 0x14);
- pTVar5 = pTVar4;
- while (iVar10 = iVar10 + -1, iVar10 != -1) {
- pTVar5->Type = 0;
- pTVar5->Text = 0;
- pTVar5 = pTVar5 + 1;
- }
- iVar8 = this->min;
- if (iVar8 <= this->max) {
- do {
- iVar9 = iVar8 - this->start;
- iVar10 = pTVar4[iVar9].Type;
- uVar1 = pTVar4[iVar9].Text;
- pTVar2 = pTVar4[iVar9].Expression;
- iVar3 = pTVar4[iVar9].Property;
- iVar9 = pTVar4[iVar9].Number;
- pTVar5 = this->entry;
- iVar7 = iVar8 - this->start;
- pTVar4[iVar7].Type = pTVar5[iVar7].Type;
- pTVar4[iVar7].Text = pTVar5[iVar7].Text;
- pTVar4[iVar7].Expression = pTVar5[iVar7].Expression;
- pTVar4[iVar7].Property = pTVar5[iVar7].Property;
- pTVar4[iVar7].Number = pTVar5[iVar7].Number;
- iVar7 = iVar8 + 1;
- pTVar5 = this->entry;
- iVar8 = iVar8 - this->start;
- pTVar5[iVar8].Type = iVar10;
- pTVar5[iVar8].Text = uVar1;
- pTVar5[iVar8].Expression = pTVar2;
- pTVar5[iVar8].Property = iVar3;
- pTVar5[iVar8].Number = iVar9;
- iVar8 = iVar7;
- } while (iVar7 <= this->max);
- }
- if (this->entry != (TCondition *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar4;
- iVar8 = this->start;
- iVar10 = this->space + iVar6;
- this->space = iVar10;
- iVar6 = iVar10 + iVar8;
- }
- iVar6 = this->min;
- while (i < iVar6) {
- this->min = iVar6 + -1;
- if (this->initialized != false) {
- iVar8 = (iVar6 + -1) - iVar8;
- pTVar5 = this->entry;
- pTVar5[iVar8].Type = (this->init).Type;
- pTVar5[iVar8].Text = (this->init).Text;
- pTVar5[iVar8].Expression = (this->init).Expression;
- pTVar5[iVar8].Property = (this->init).Property;
- pTVar5[iVar8].Number = (this->init).Number;
- iVar8 = this->start;
- }
- iVar6 = this->min;
- }
- iVar6 = this->max;
- while (iVar6 < i) {
- this->max = iVar6 + 1;
- if (this->initialized != false) {
- iVar8 = (iVar6 + 1) - iVar8;
- pTVar5 = this->entry;
- pTVar5[iVar8].Type = (this->init).Type;
- pTVar5[iVar8].Text = (this->init).Text;
- pTVar5[iVar8].Expression = (this->init).Expression;
- pTVar5[iVar8].Property = (this->init).Property;
- pTVar5[iVar8].Number = (this->init).Number;
- iVar8 = this->start;
- }
- iVar6 = this->max;
- }
- return this->entry + (i - iVar8);
-}
-
-
-
-// DWARF original prototype: TAction * operator()(vector<TAction> * this, int i)
-
-TAction * __thiscall vector<TAction>::operator()(vector<TAction> *this,int i)
-
-{
- ulong uVar1;
- int iVar2;
- TNode *pTVar3;
- TNode *pTVar4;
- TNode *pTVar5;
- TAction *pTVar6;
- TAction *pTVar7;
- int iVar8;
- int iVar9;
- int iVar10;
- int iVar11;
- int j_1;
- int j;
- int local_40;
- int extend;
- uchar Help [24];
-
- iVar10 = this->start;
- while (i < iVar10) {
- local_40 = this->block;
- if (local_40 == 0) {
- iVar10 = this->space;
- local_40 = iVar10;
- }
- else {
- iVar10 = this->space;
- }
- iVar10 = local_40 + iVar10;
- pTVar6 = (TAction *)operator_new__(iVar10 * 0x18);
- pTVar7 = pTVar6;
- while (iVar10 = iVar10 + -1, iVar10 != -1) {
- pTVar7->Type = 0;
- pTVar7->Text = 0;
- pTVar7 = pTVar7 + 1;
- }
- iVar10 = this->min;
- if (iVar10 <= this->max) {
- do {
- iVar8 = (iVar10 - this->start) + local_40;
- iVar11 = pTVar6[iVar8].Type;
- uVar1 = pTVar6[iVar8].Text;
- iVar2 = pTVar6[iVar8].Number;
- pTVar3 = pTVar6[iVar8].Expression;
- pTVar4 = pTVar6[iVar8].Expression2;
- pTVar5 = pTVar6[iVar8].Expression3;
- iVar9 = iVar10 - this->start;
- iVar8 = local_40 + iVar9;
- pTVar7 = this->entry;
- pTVar6[iVar8].Type = pTVar7[iVar9].Type;
- pTVar6[iVar8].Text = pTVar7[iVar9].Text;
- pTVar6[iVar8].Number = pTVar7[iVar9].Number;
- pTVar6[iVar8].Expression = pTVar7[iVar9].Expression;
- pTVar6[iVar8].Expression2 = pTVar7[iVar9].Expression2;
- pTVar6[iVar8].Expression3 = pTVar7[iVar9].Expression3;
- iVar8 = iVar10 + 1;
- iVar10 = iVar10 - this->start;
- pTVar7 = this->entry;
- pTVar7[iVar10].Type = iVar11;
- pTVar7[iVar10].Text = uVar1;
- pTVar7[iVar10].Number = iVar2;
- pTVar7[iVar10].Expression = pTVar3;
- pTVar7[iVar10].Expression2 = pTVar4;
- pTVar7[iVar10].Expression3 = pTVar5;
- iVar10 = iVar8;
- } while (iVar8 <= this->max);
- }
- if (this->entry != (TAction *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar6;
- iVar10 = this->start - local_40;
- this->start = iVar10;
- this->space = this->space + local_40;
- }
- iVar11 = this->space;
- iVar8 = iVar11 + iVar10;
- while (iVar8 <= i) {
- iVar8 = this->block;
- if (this->block == 0) {
- iVar8 = iVar11;
- }
- iVar11 = iVar8 + iVar11;
- pTVar6 = (TAction *)operator_new__(iVar11 * 0x18);
- pTVar7 = pTVar6;
- while (iVar11 = iVar11 + -1, iVar11 != -1) {
- pTVar7->Type = 0;
- pTVar7->Text = 0;
- pTVar7 = pTVar7 + 1;
- }
- iVar10 = this->min;
- if (iVar10 <= this->max) {
- do {
- iVar9 = iVar10 - this->start;
- iVar11 = pTVar6[iVar9].Type;
- uVar1 = pTVar6[iVar9].Text;
- iVar2 = pTVar6[iVar9].Number;
- pTVar3 = pTVar6[iVar9].Expression;
- pTVar4 = pTVar6[iVar9].Expression2;
- pTVar5 = pTVar6[iVar9].Expression3;
- pTVar7 = this->entry;
- iVar9 = iVar10 - this->start;
- pTVar6[iVar9].Type = pTVar7[iVar9].Type;
- pTVar6[iVar9].Text = pTVar7[iVar9].Text;
- pTVar6[iVar9].Number = pTVar7[iVar9].Number;
- pTVar6[iVar9].Expression = pTVar7[iVar9].Expression;
- pTVar6[iVar9].Expression2 = pTVar7[iVar9].Expression2;
- pTVar6[iVar9].Expression3 = pTVar7[iVar9].Expression3;
- iVar9 = iVar10 + 1;
- pTVar7 = this->entry;
- iVar10 = iVar10 - this->start;
- pTVar7[iVar10].Type = iVar11;
- pTVar7[iVar10].Text = uVar1;
- pTVar7[iVar10].Number = iVar2;
- pTVar7[iVar10].Expression = pTVar3;
- pTVar7[iVar10].Expression2 = pTVar4;
- pTVar7[iVar10].Expression3 = pTVar5;
- iVar10 = iVar9;
- } while (iVar9 <= this->max);
- }
- if (this->entry != (TAction *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar6;
- iVar10 = this->start;
- iVar11 = this->space + iVar8;
- this->space = iVar11;
- iVar8 = iVar11 + iVar10;
- }
- iVar8 = this->min;
- while (i < iVar8) {
- this->min = iVar8 + -1;
- if (this->initialized != false) {
- iVar10 = (iVar8 + -1) - iVar10;
- pTVar7 = this->entry;
- pTVar7[iVar10].Type = (this->init).Type;
- pTVar7[iVar10].Text = (this->init).Text;
- pTVar7[iVar10].Number = (this->init).Number;
- pTVar7[iVar10].Expression = (this->init).Expression;
- pTVar7[iVar10].Expression2 = (this->init).Expression2;
- pTVar7[iVar10].Expression3 = (this->init).Expression3;
- iVar10 = this->start;
- }
- iVar8 = this->min;
- }
- iVar8 = this->max;
- while (iVar8 < i) {
- this->max = iVar8 + 1;
- if (this->initialized != false) {
- iVar10 = (iVar8 + 1) - iVar10;
- pTVar7 = this->entry;
- pTVar7[iVar10].Type = (this->init).Type;
- pTVar7[iVar10].Text = (this->init).Text;
- pTVar7[iVar10].Number = (this->init).Number;
- pTVar7[iVar10].Expression = (this->init).Expression;
- pTVar7[iVar10].Expression2 = (this->init).Expression2;
- pTVar7[iVar10].Expression3 = (this->init).Expression3;
- iVar10 = this->start;
- }
- iVar8 = this->max;
- }
- return this->entry + (i - iVar10);
-}
-
-
-
-// DWARF original prototype: void vector(vector<TBehaviour> * this, int min, int max, int block)
-
-void __thiscall vector<TBehaviour>::vector(vector<TBehaviour> *this,int min,int max,int block)
-
-{
- int *piVar1;
- int iVar2;
- TBehaviour *this_00;
-
- TBehaviour::TBehaviour(&this->init);
- this->min = min;
- iVar2 = (max - min) + 1;
- this->max = max;
- this->start = min;
- this->space = iVar2;
- this->block = block;
- this->initialized = false;
- if (iVar2 < 1) {
- error("vector: Ungueltige Feldgroesse %d bis %d.\n",min,max);
- this->max = max;
- this->space = 1;
- }
- if (block < 0) {
- // try { // try from 080bd30f to 080bd330 has its CatchHandler @ 080bd388
- error("vector: Ungueltige Blockgroesse %d.\n",block);
- this->block = 0;
- }
- iVar2 = this->space;
- // try { // try from 080bd2b8 to 080bd2bc has its CatchHandler @ 080bd388
- piVar1 = (int *)operator_new__(iVar2 * 0x6c + 4);
- *piVar1 = iVar2;
- this_00 = (TBehaviour *)(piVar1 + 1);
- while (iVar2 = iVar2 + -1, iVar2 != -1) {
- // try { // try from 080bd2d3 to 080bd2d7 has its CatchHandler @ 080bd340
- TBehaviour::TBehaviour(this_00);
- this_00 = this_00 + 1;
- }
- this->entry = (TBehaviour *)(piVar1 + 1);
- return;
-}
-
-
-
-// DWARF original prototype: TBehaviour * operator()(vector<TBehaviour> * this, int i)
-
-TBehaviour * __thiscall vector<TBehaviour>::operator()(vector<TBehaviour> *this,int i)
-
-{
- int j;
- int *piVar1;
- int iVar2;
- int iVar3;
- int iVar4;
- TBehaviour *pTVar5;
- int iVar6;
- TBehaviour *pTVar7;
- TBehaviour *pTVar8;
- int in_stack_ffffff48;
- int extend_1;
- int local_90;
- int extend;
- uchar Help [108];
-
- iVar2 = this->start;
- while (i < iVar2) {
- local_90 = this->block;
- if (local_90 == 0) {
- iVar2 = this->space;
- local_90 = iVar2;
- }
- else {
- iVar2 = this->space;
- }
- iVar2 = local_90 + iVar2;
- piVar1 = (int *)operator_new__(iVar2 * 0x6c + 4);
- *piVar1 = iVar2;
- pTVar8 = (TBehaviour *)(piVar1 + 1);
- pTVar5 = pTVar8;
- while (iVar2 = iVar2 + -1, iVar2 != -1) {
- // try { // try from 080bd40f to 080bd413 has its CatchHandler @ 080bd750
- TBehaviour::TBehaviour(pTVar5);
- pTVar5 = pTVar5 + 1;
- }
- iVar2 = this->min;
- if (iVar2 <= this->max) {
- do {
- pTVar5 = pTVar8 + (iVar2 - this->start) + local_90;
- piVar1 = &extend;
- for (iVar3 = 0x1b; iVar3 != 0; iVar3 = iVar3 + -1) {
- *piVar1 = (pTVar5->Condition).min;
- pTVar5 = (TBehaviour *)&(pTVar5->Condition).max;
- piVar1 = piVar1 + 1;
- }
- iVar6 = iVar2 - this->start;
- pTVar5 = this->entry + iVar6;
- pTVar7 = pTVar8 + local_90 + iVar6;
- for (iVar3 = 0x1b; iVar3 != 0; iVar3 = iVar3 + -1) {
- (pTVar7->Condition).min = (pTVar5->Condition).min;
- pTVar5 = (TBehaviour *)&(pTVar5->Condition).max;
- pTVar7 = (TBehaviour *)&(pTVar7->Condition).max;
- }
- iVar3 = iVar2 + 1;
- piVar1 = &extend;
- pTVar5 = this->entry + (iVar2 - this->start);
- for (iVar6 = 0x1b; iVar6 != 0; iVar6 = iVar6 + -1) {
- (pTVar5->Condition).min = *piVar1;
- piVar1 = piVar1 + 1;
- pTVar5 = (TBehaviour *)&(pTVar5->Condition).max;
- }
- iVar2 = iVar3;
- } while (iVar3 <= this->max);
- }
- pTVar5 = this->entry;
- if (pTVar5 != (TBehaviour *)0x0) {
- pTVar7 = pTVar5 + pTVar5[-1].Actions;
- while (pTVar5 != pTVar7) {
- pTVar7 = pTVar7 + -1;
- TBehaviour::~TBehaviour(pTVar7,in_stack_ffffff48);
- pTVar5 = this->entry;
- }
- operator_delete__(&pTVar5[-1].Actions);
- }
- this->entry = pTVar8;
- iVar2 = this->start - local_90;
- this->start = iVar2;
- this->space = this->space + local_90;
- }
- iVar6 = this->space;
- iVar3 = iVar6 + iVar2;
- while (iVar3 <= i) {
- iVar3 = iVar6;
- if (this->block != 0) {
- iVar3 = this->block;
- }
- iVar6 = iVar3 + iVar6;
- piVar1 = (int *)operator_new__(iVar6 * 0x6c + 4);
- *piVar1 = iVar6;
- pTVar8 = (TBehaviour *)(piVar1 + 1);
- pTVar5 = pTVar8;
- while (iVar6 = iVar6 + -1, iVar6 != -1) {
- // try { // try from 080bd593 to 080bd597 has its CatchHandler @ 080bd7b4
- TBehaviour::TBehaviour(pTVar5);
- pTVar5 = pTVar5 + 1;
- }
- if (this->min <= this->max) {
- iVar2 = this->min;
- do {
- pTVar5 = pTVar8 + (iVar2 - this->start);
- piVar1 = &extend;
- for (iVar6 = 0x1b; iVar6 != 0; iVar6 = iVar6 + -1) {
- *piVar1 = (pTVar5->Condition).min;
- pTVar5 = (TBehaviour *)&(pTVar5->Condition).max;
- piVar1 = piVar1 + 1;
- }
- iVar6 = iVar2 - this->start;
- pTVar5 = this->entry + iVar6;
- pTVar7 = pTVar8 + iVar6;
- for (iVar4 = 0x1b; iVar4 != 0; iVar4 = iVar4 + -1) {
- (pTVar7->Condition).min = (pTVar5->Condition).min;
- pTVar5 = (TBehaviour *)&(pTVar5->Condition).max;
- pTVar7 = (TBehaviour *)&(pTVar7->Condition).max;
- }
- iVar6 = iVar2 + 1;
- piVar1 = &extend;
- pTVar5 = this->entry + (iVar2 - this->start);
- for (iVar4 = 0x1b; iVar4 != 0; iVar4 = iVar4 + -1) {
- (pTVar5->Condition).min = *piVar1;
- piVar1 = piVar1 + 1;
- pTVar5 = (TBehaviour *)&(pTVar5->Condition).max;
- }
- iVar2 = iVar6;
- } while (iVar6 <= this->max);
- }
- pTVar5 = this->entry;
- if (pTVar5 != (TBehaviour *)0x0) {
- pTVar7 = pTVar5 + pTVar5[-1].Actions;
- while (pTVar5 != pTVar7) {
- pTVar7 = pTVar7 + -1;
- TBehaviour::~TBehaviour(pTVar7,in_stack_ffffff48);
- pTVar5 = this->entry;
- }
- operator_delete__(&pTVar5[-1].Actions);
- }
- iVar2 = this->start;
- this->entry = pTVar8;
- iVar6 = iVar3 + this->space;
- this->space = iVar6;
- iVar3 = iVar6 + iVar2;
- }
- iVar3 = this->min;
- while (i < iVar3) {
- this->min = iVar3 + -1;
- if (this->initialized != false) {
- pTVar8 = &this->init;
- pTVar5 = this->entry + ((iVar3 + -1) - iVar2);
- for (iVar6 = 0x1b; iVar6 != 0; iVar6 = iVar6 + -1) {
- (pTVar5->Condition).min = (pTVar8->Condition).min;
- pTVar8 = (TBehaviour *)&(pTVar8->Condition).max;
- pTVar5 = (TBehaviour *)&(pTVar5->Condition).max;
- }
- iVar2 = this->start;
- }
- iVar3 = this->min;
- }
- iVar3 = this->max;
- while (iVar3 < i) {
- this->max = iVar3 + 1;
- if (this->initialized != false) {
- pTVar8 = &this->init;
- pTVar5 = this->entry + ((iVar3 + 1) - iVar2);
- for (iVar6 = 0x1b; iVar6 != 0; iVar6 = iVar6 + -1) {
- (pTVar5->Condition).min = (pTVar8->Condition).min;
- pTVar8 = (TBehaviour *)&(pTVar8->Condition).max;
- pTVar5 = (TBehaviour *)&(pTVar5->Condition).max;
- }
- iVar2 = this->start;
- }
- iVar3 = this->max;
- }
- return this->entry + (i - iVar2);
-}
-
-
-
-// DWARF original prototype: TMonsterhome * operator()(vector<TMonsterhome> * this, int i)
-
-TMonsterhome * __thiscall vector<>::operator()(vector<> *this,int i)
-
-{
- int iVar1;
- int iVar2;
- int iVar3;
- int iVar4;
- int iVar5;
- int iVar6;
- int iVar7;
- TMonsterhome *pTVar8;
- TMonsterhome *pTVar9;
- int iVar10;
- int iVar11;
- int iVar12;
- int iVar13;
- TMonsterhome *help_1;
- int iVar14;
- TMonsterhome *help;
- int j;
- int local_50;
- int extend;
- uchar Help [36];
-
- iVar11 = this->start;
- while (i < iVar11) {
- local_50 = this->block;
- if (local_50 == 0) {
- iVar11 = this->space;
- local_50 = iVar11;
- }
- else {
- iVar11 = this->space;
- }
- pTVar9 = (TMonsterhome *)operator_new__((local_50 + iVar11) * 0x24);
- iVar11 = this->min;
- if (iVar11 <= this->max) {
- do {
- iVar14 = (iVar11 - this->start) + local_50;
- iVar13 = pTVar9[iVar14].Race;
- iVar1 = pTVar9[iVar14].x;
- iVar2 = pTVar9[iVar14].y;
- iVar3 = pTVar9[iVar14].z;
- iVar4 = pTVar9[iVar14].Radius;
- iVar5 = pTVar9[iVar14].MaxMonsters;
- iVar6 = pTVar9[iVar14].ActMonsters;
- iVar7 = pTVar9[iVar14].RegenerationTime;
- iVar12 = pTVar9[iVar14].Timer;
- iVar10 = iVar11 - this->start;
- iVar14 = local_50 + iVar10;
- pTVar8 = this->entry;
- pTVar9[iVar14].Race = pTVar8[iVar10].Race;
- pTVar9[iVar14].x = pTVar8[iVar10].x;
- pTVar9[iVar14].y = pTVar8[iVar10].y;
- pTVar9[iVar14].z = pTVar8[iVar10].z;
- pTVar9[iVar14].Radius = pTVar8[iVar10].Radius;
- pTVar9[iVar14].MaxMonsters = pTVar8[iVar10].MaxMonsters;
- pTVar9[iVar14].ActMonsters = pTVar8[iVar10].ActMonsters;
- pTVar9[iVar14].RegenerationTime = pTVar8[iVar10].RegenerationTime;
- pTVar9[iVar14].Timer = pTVar8[iVar10].Timer;
- iVar14 = iVar11 + 1;
- iVar11 = iVar11 - this->start;
- pTVar8 = this->entry;
- pTVar8[iVar11].Race = iVar13;
- pTVar8[iVar11].x = iVar1;
- pTVar8[iVar11].y = iVar2;
- pTVar8[iVar11].z = iVar3;
- pTVar8[iVar11].Radius = iVar4;
- pTVar8[iVar11].MaxMonsters = iVar5;
- pTVar8[iVar11].ActMonsters = iVar6;
- pTVar8[iVar11].RegenerationTime = iVar7;
- pTVar8[iVar11].Timer = iVar12;
- iVar11 = iVar14;
- } while (iVar14 <= this->max);
- }
- if (this->entry != (TMonsterhome *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar9;
- iVar11 = this->start - local_50;
- this->start = iVar11;
- this->space = this->space + local_50;
- }
- iVar13 = this->space;
- iVar14 = iVar13 + iVar11;
- while (iVar14 <= i) {
- iVar14 = this->block;
- if (this->block == 0) {
- iVar14 = iVar13;
- }
- pTVar9 = (TMonsterhome *)operator_new__((iVar14 + iVar13) * 0x24);
- iVar11 = this->min;
- if (iVar11 <= this->max) {
- do {
- iVar12 = iVar11 - this->start;
- iVar13 = pTVar9[iVar12].Race;
- iVar1 = pTVar9[iVar12].x;
- iVar2 = pTVar9[iVar12].y;
- iVar3 = pTVar9[iVar12].z;
- iVar4 = pTVar9[iVar12].Radius;
- iVar5 = pTVar9[iVar12].MaxMonsters;
- iVar6 = pTVar9[iVar12].ActMonsters;
- iVar7 = pTVar9[iVar12].RegenerationTime;
- iVar12 = pTVar9[iVar12].Timer;
- pTVar8 = this->entry;
- iVar10 = iVar11 - this->start;
- pTVar9[iVar10].Race = pTVar8[iVar10].Race;
- pTVar9[iVar10].x = pTVar8[iVar10].x;
- pTVar9[iVar10].y = pTVar8[iVar10].y;
- pTVar9[iVar10].z = pTVar8[iVar10].z;
- pTVar9[iVar10].Radius = pTVar8[iVar10].Radius;
- pTVar9[iVar10].MaxMonsters = pTVar8[iVar10].MaxMonsters;
- pTVar9[iVar10].ActMonsters = pTVar8[iVar10].ActMonsters;
- pTVar9[iVar10].RegenerationTime = pTVar8[iVar10].RegenerationTime;
- pTVar9[iVar10].Timer = pTVar8[iVar10].Timer;
- iVar10 = iVar11 + 1;
- pTVar8 = this->entry;
- iVar11 = iVar11 - this->start;
- pTVar8[iVar11].Race = iVar13;
- pTVar8[iVar11].x = iVar1;
- pTVar8[iVar11].y = iVar2;
- pTVar8[iVar11].z = iVar3;
- pTVar8[iVar11].Radius = iVar4;
- pTVar8[iVar11].MaxMonsters = iVar5;
- pTVar8[iVar11].ActMonsters = iVar6;
- pTVar8[iVar11].RegenerationTime = iVar7;
- pTVar8[iVar11].Timer = iVar12;
- iVar11 = iVar10;
- } while (iVar10 <= this->max);
- }
- if (this->entry != (TMonsterhome *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar9;
- iVar11 = this->start;
- iVar13 = this->space + iVar14;
- this->space = iVar13;
- iVar14 = iVar13 + iVar11;
- }
- iVar14 = this->min;
- while (i < iVar14) {
- this->min = iVar14 + -1;
- if (this->initialized != false) {
- iVar11 = (iVar14 + -1) - iVar11;
- pTVar9 = this->entry;
- pTVar9[iVar11].Race = (this->init).Race;
- pTVar9[iVar11].x = (this->init).x;
- pTVar9[iVar11].y = (this->init).y;
- pTVar9[iVar11].z = (this->init).z;
- pTVar9[iVar11].Radius = (this->init).Radius;
- pTVar9[iVar11].MaxMonsters = (this->init).MaxMonsters;
- pTVar9[iVar11].ActMonsters = (this->init).ActMonsters;
- pTVar9[iVar11].RegenerationTime = (this->init).RegenerationTime;
- pTVar9[iVar11].Timer = (this->init).Timer;
- iVar11 = this->start;
- }
- iVar14 = this->min;
- }
- iVar14 = this->max;
- while (iVar14 < i) {
- this->max = iVar14 + 1;
- if (this->initialized != false) {
- iVar11 = (iVar14 + 1) - iVar11;
- pTVar9 = this->entry;
- pTVar9[iVar11].Race = (this->init).Race;
- pTVar9[iVar11].x = (this->init).x;
- pTVar9[iVar11].y = (this->init).y;
- pTVar9[iVar11].z = (this->init).z;
- pTVar9[iVar11].Radius = (this->init).Radius;
- pTVar9[iVar11].MaxMonsters = (this->init).MaxMonsters;
- pTVar9[iVar11].ActMonsters = (this->init).ActMonsters;
- pTVar9[iVar11].RegenerationTime = (this->init).RegenerationTime;
- pTVar9[iVar11].Timer = (this->init).Timer;
- iVar11 = this->start;
- }
- iVar14 = this->max;
- }
- return this->entry + (i - iVar11);
-}
-
-
-
-// WARNING: Variable defined which should be unmapped: extend
-// DWARF original prototype: TNonplayer * * operator()(vector<TNonplayer*> * this, int i)
-
-TNonplayer ** __thiscall vector<>::operator()(vector<> *this,int i)
-
-{
- TNonplayer *pTVar1;
- TNonplayer **ppTVar2;
- int iVar3;
- int iVar4;
- int j_1;
- int j;
- int iVar5;
- int extend_1;
- TNonplayer **help;
- int extend;
-
- iVar3 = this->start;
- while (i < iVar3) {
- help = (TNonplayer **)this->block;
- if (help == (TNonplayer **)0x0) {
- ppTVar2 = (TNonplayer **)this->space;
- help = ppTVar2;
- }
- else {
- ppTVar2 = (TNonplayer **)this->space;
- }
- ppTVar2 = (TNonplayer **)operator_new__(((int)help + (int)ppTVar2) * 4);
- iVar3 = this->min;
- if (this->min <= this->max) {
- do {
- iVar4 = iVar3 - this->start;
- iVar5 = (int)help + iVar4;
- pTVar1 = ppTVar2[iVar5];
- ppTVar2[iVar5] = this->entry[iVar4];
- iVar5 = iVar3 + 1;
- this->entry[iVar3 - this->start] = pTVar1;
- iVar3 = iVar5;
- } while (iVar5 <= this->max);
- }
- if (this->entry != (TNonplayer **)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = ppTVar2;
- iVar3 = this->start - (int)help;
- this->start = iVar3;
- this->space = this->space + (int)help;
- }
- iVar4 = this->space;
- iVar5 = iVar4 + iVar3;
- while (iVar5 <= i) {
- iVar5 = iVar4;
- if (this->block != 0) {
- iVar5 = this->block;
- }
- ppTVar2 = (TNonplayer **)operator_new__((iVar5 + iVar4) * 4);
- iVar3 = this->min;
- if (iVar3 <= this->max) {
- do {
- iVar4 = iVar3 - this->start;
- pTVar1 = ppTVar2[iVar4];
- ppTVar2[iVar4] = this->entry[iVar4];
- iVar4 = iVar3 + 1;
- this->entry[iVar3 - this->start] = pTVar1;
- iVar3 = iVar4;
- } while (iVar4 <= this->max);
- }
- if (this->entry != (TNonplayer **)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = ppTVar2;
- iVar3 = this->start;
- iVar4 = iVar5 + this->space;
- this->space = iVar4;
- iVar5 = iVar4 + iVar3;
- }
- iVar5 = this->min;
- while (i < iVar5) {
- this->min = iVar5 + -1;
- if (this->initialized != false) {
- this->entry[(iVar5 + -1) - iVar3] = this->init;
- iVar3 = this->start;
- }
- iVar5 = this->min;
- }
- iVar5 = this->max;
- while (iVar5 < i) {
- this->max = iVar5 + 1;
- if (this->initialized != false) {
- this->entry[(iVar5 + 1) - iVar3] = this->init;
- iVar3 = this->start;
- }
- iVar5 = this->max;
- }
- return this->entry + (i - iVar3);
-}
-
-
-
// DWARF original prototype: void remove(list<storeunit<TNode,_256>_> * this,
// listnode<storeunit<TNode,_256>_> * node)
@@ -86949,216 +73740,6 @@ void __thiscall matrix<>::matrix(matrix<> *this,int xmin,int xmax,int ymin,int y
return;
}
-
-
-// DWARF original prototype: TToDoEntry * operator()(vector<TToDoEntry> * this, int i)
-
-TToDoEntry * __thiscall vector<TToDoEntry>::operator()(vector<TToDoEntry> *this,int i)
-
-{
- ToDoType TVar1;
- ulong uVar2;
- int iVar3;
- int iVar4;
- TToDoEntry *pTVar5;
- TToDoEntry *pTVar6;
- int iVar7;
- int iVar8;
- int iVar9;
- int iVar10;
- TToDoEntry *help_1;
- int iVar11;
- TToDoEntry *help;
- int j;
- int local_40;
- int extend;
- uchar Help [24];
-
- iVar8 = this->start;
- while (i < iVar8) {
- local_40 = this->block;
- if (local_40 == 0) {
- iVar8 = this->space;
- local_40 = iVar8;
- }
- else {
- iVar8 = this->space;
- }
- pTVar6 = (TToDoEntry *)operator_new__((local_40 + iVar8) * 0x18);
- iVar8 = this->min;
- if (iVar8 <= this->max) {
- do {
- iVar11 = (iVar8 - this->start) + local_40;
- TVar1 = pTVar6[iVar11].Code;
- uVar2 = pTVar6[iVar11].field_1.Wait.Time;
- iVar10 = pTVar6[iVar11].field_1.Go.y;
- iVar3 = pTVar6[iVar11].field_1.Go.z;
- iVar4 = pTVar6[iVar11].field_1.Move.z;
- iVar9 = pTVar6[iVar11].field_1.Move.Count;
- iVar7 = iVar8 - this->start;
- iVar11 = local_40 + iVar7;
- pTVar5 = this->entry;
- pTVar6[iVar11].Code = pTVar5[iVar7].Code;
- pTVar6[iVar11].field_1.Wait.Time = pTVar5[iVar7].field_1.Wait.Time;
- pTVar6[iVar11].field_1.Go.y = pTVar5[iVar7].field_1.Go.y;
- pTVar6[iVar11].field_1.Go.z = pTVar5[iVar7].field_1.Go.z;
- pTVar6[iVar11].field_1.Move.z = pTVar5[iVar7].field_1.Move.z;
- pTVar6[iVar11].field_1.Move.Count = pTVar5[iVar7].field_1.Move.Count;
- iVar11 = iVar8 + 1;
- iVar8 = iVar8 - this->start;
- pTVar5 = this->entry;
- pTVar5[iVar8].Code = TVar1;
- pTVar5[iVar8].field_1.Wait.Time = uVar2;
- pTVar5[iVar8].field_1.Go.y = iVar10;
- pTVar5[iVar8].field_1.Go.z = iVar3;
- pTVar5[iVar8].field_1.Move.z = iVar4;
- pTVar5[iVar8].field_1.Move.Count = iVar9;
- iVar8 = iVar11;
- } while (iVar11 <= this->max);
- }
- if (this->entry != (TToDoEntry *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar6;
- iVar8 = this->start - local_40;
- this->start = iVar8;
- this->space = this->space + local_40;
- }
- iVar10 = this->space;
- iVar11 = iVar10 + iVar8;
- while (iVar11 <= i) {
- iVar11 = this->block;
- if (this->block == 0) {
- iVar11 = iVar10;
- }
- pTVar6 = (TToDoEntry *)operator_new__((iVar11 + iVar10) * 0x18);
- iVar8 = this->min;
- if (iVar8 <= this->max) {
- do {
- iVar9 = iVar8 - this->start;
- TVar1 = pTVar6[iVar9].Code;
- uVar2 = pTVar6[iVar9].field_1.Wait.Time;
- iVar10 = pTVar6[iVar9].field_1.Go.y;
- iVar3 = pTVar6[iVar9].field_1.Go.z;
- iVar4 = pTVar6[iVar9].field_1.Move.z;
- iVar9 = pTVar6[iVar9].field_1.Move.Count;
- pTVar5 = this->entry;
- iVar7 = iVar8 - this->start;
- pTVar6[iVar7].Code = pTVar5[iVar7].Code;
- pTVar6[iVar7].field_1.Wait.Time = pTVar5[iVar7].field_1.Wait.Time;
- pTVar6[iVar7].field_1.Go.y = pTVar5[iVar7].field_1.Go.y;
- pTVar6[iVar7].field_1.Go.z = pTVar5[iVar7].field_1.Go.z;
- pTVar6[iVar7].field_1.Move.z = pTVar5[iVar7].field_1.Move.z;
- pTVar6[iVar7].field_1.Move.Count = pTVar5[iVar7].field_1.Move.Count;
- iVar7 = iVar8 + 1;
- pTVar5 = this->entry;
- iVar8 = iVar8 - this->start;
- pTVar5[iVar8].Code = TVar1;
- pTVar5[iVar8].field_1.Wait.Time = uVar2;
- pTVar5[iVar8].field_1.Go.y = iVar10;
- pTVar5[iVar8].field_1.Go.z = iVar3;
- pTVar5[iVar8].field_1.Move.z = iVar4;
- pTVar5[iVar8].field_1.Move.Count = iVar9;
- iVar8 = iVar7;
- } while (iVar7 <= this->max);
- }
- if (this->entry != (TToDoEntry *)0x0) {
- operator_delete__(this->entry);
- }
- this->entry = pTVar6;
- iVar8 = this->start;
- iVar10 = this->space + iVar11;
- this->space = iVar10;
- iVar11 = iVar10 + iVar8;
- }
- iVar11 = this->min;
- while (i < iVar11) {
- this->min = iVar11 + -1;
- if (this->initialized != false) {
- iVar8 = (iVar11 + -1) - iVar8;
- pTVar6 = this->entry;
- pTVar6[iVar8].Code = (this->init).Code;
- pTVar6[iVar8].field_1.Wait.Time = (this->init).field_1.Wait.Time;
- pTVar6[iVar8].field_1.Go.y = (this->init).field_1.Go.y;
- pTVar6[iVar8].field_1.Go.z = (this->init).field_1.Go.z;
- pTVar6[iVar8].field_1.Move.z = (this->init).field_1.Move.z;
- pTVar6[iVar8].field_1.Move.Count = (this->init).field_1.Move.Count;
- iVar8 = this->start;
- }
- iVar11 = this->min;
- }
- iVar11 = this->max;
- while (iVar11 < i) {
- this->max = iVar11 + 1;
- if (this->initialized != false) {
- iVar8 = (iVar11 + 1) - iVar8;
- pTVar6 = this->entry;
- pTVar6[iVar8].Code = (this->init).Code;
- pTVar6[iVar8].field_1.Wait.Time = (this->init).field_1.Wait.Time;
- pTVar6[iVar8].field_1.Go.y = (this->init).field_1.Go.y;
- pTVar6[iVar8].field_1.Go.z = (this->init).field_1.Go.z;
- pTVar6[iVar8].field_1.Move.z = (this->init).field_1.Move.z;
- pTVar6[iVar8].field_1.Move.Count = (this->init).field_1.Move.Count;
- iVar8 = this->start;
- }
- iVar11 = this->max;
- }
- return this->entry + (i - iVar8);
-}
-
-
-
-// DWARF original prototype: void insert(priority_queue<long_unsigned_int,long_unsigned_int> * this,
-// ulong Key, ulong * Data)
-
-void __thiscall priority_queue<>::insert(priority_queue<> *this)
-
-{
- ulong uVar1;
- ulong uVar2;
- ulong uVar3;
- int iVar4;
- priority_queue_entry<> *ppVar5;
- priority_queue_entry<> *ppVar6;
- int Father;
- int i;
- int Position;
- ulong in_stack_00000008;
- ulong *in_stack_0000000c;
-
- iVar4 = this->Entries + 1;
- this->Entries = iVar4;
- ppVar5 = vector<>::operator()(this->Entry,iVar4);
- ppVar5->Key = in_stack_00000008;
- ppVar5 = vector<>::operator()(this->Entry,this->Entries);
- ppVar5->Data = *in_stack_0000000c;
- iVar4 = this->Entries;
- while( true ) {
- if (iVar4 == 1) {
- return;
- }
- i = iVar4 / 2;
- ppVar5 = vector<>::operator()(this->Entry,iVar4);
- ppVar6 = vector<>::operator()(this->Entry,i);
- if (ppVar6->Key <= ppVar5->Key) break;
- ppVar5 = vector<>::operator()(this->Entry,iVar4);
- uVar1 = ppVar5->Key;
- uVar2 = ppVar5->Data;
- ppVar5 = vector<>::operator()(this->Entry,iVar4);
- ppVar6 = vector<>::operator()(this->Entry,i);
- uVar3 = ppVar6->Key;
- ppVar5->Data = ppVar6->Data;
- ppVar5->Key = uVar3;
- ppVar5 = vector<>::operator()(this->Entry,i);
- ppVar5->Data = uVar2;
- ppVar5->Key = uVar1;
- iVar4 = i;
- }
- return;
-}
-
-
-
void __static_initialization_and_destruction_0(int __initialize_p,int __priority)
{
@@ -89641,2510 +76222,6 @@ int GetSkillByName(char *Name)
return iVar1;
}
-
-
-// DWARF original prototype: void TSkillBase(TSkillBase * this)
-
-void __thiscall TSkillBase::TSkillBase(TSkillBase *this)
-
-{
- int i;
- int iVar1;
-
- iVar1 = 0;
- do {
- this->Skills[iVar1] = (TSkill *)0x0;
- this->TimerList[iVar1] = (TSkill *)0x0;
- iVar1 = iVar1 + 1;
- } while (iVar1 < 0x1a);
- this->FirstFreeTimer = 0;
- return;
-}
-
-
-
-// DWARF original prototype: void TSkillBase(TSkillBase * this)
-
-void __thiscall TSkillBase::TSkillBase(TSkillBase *this)
-
-{
- int i;
- int iVar1;
-
- iVar1 = 0;
- do {
- this->Skills[iVar1] = (TSkill *)0x0;
- this->TimerList[iVar1] = (TSkill *)0x0;
- iVar1 = iVar1 + 1;
- } while (iVar1 < 0x1a);
- this->FirstFreeTimer = 0;
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillBase(TSkillBase * this, int __in_chrg)
-
-void __thiscall TSkillBase::~TSkillBase(TSkillBase *this,int __in_chrg)
-
-{
- TSkill *pTVar1;
- int i;
- int iVar2;
-
- iVar2 = 0;
- do {
- pTVar1 = this->Skills[iVar2];
- if (pTVar1 != (TSkill *)0x0) {
- (*pTVar1->_vptr_TSkill[1])(pTVar1);
- }
- iVar2 = iVar2 + 1;
- } while (iVar2 < 0x19);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillBase(TSkillBase * this, int __in_chrg)
-
-void __thiscall TSkillBase::~TSkillBase(TSkillBase *this,int __in_chrg)
-
-{
- TSkill *pTVar1;
- int i;
- int iVar2;
-
- iVar2 = 0;
- do {
- pTVar1 = this->Skills[iVar2];
- if (pTVar1 != (TSkill *)0x0) {
- (*pTVar1->_vptr_TSkill[1])(pTVar1);
- }
- iVar2 = iVar2 + 1;
- } while (iVar2 < 0x19);
- return;
-}
-
-
-
-// DWARF original prototype: void DelTimer(TSkillBase * this, ushort SkNr)
-
-void __thiscall TSkillBase::DelTimer(TSkillBase *this,ushort SkNr)
-
-{
- ushort uVar1;
- TSkill *pTVar2;
- int i;
- int iVar3;
- TSkill *sk;
-
- if (0x18 < SkNr) {
- error("TSkillBase::DelTimer: Ungueltige SkNr: %d\n");
- return;
- }
- pTVar2 = this->Skills[SkNr];
- if (pTVar2 != (TSkill *)0x0) {
- (*pTVar2->_vptr_TSkill[0xc])(pTVar2);
- iVar3 = 0;
- uVar1 = this->FirstFreeTimer;
- if (uVar1 != 0) {
- do {
- if (this->TimerList[iVar3] == pTVar2) {
- this->TimerList[iVar3] = this->Skills[uVar1 + 0x18];
- this->FirstFreeTimer = uVar1 - 1;
- return;
- }
- iVar3 = iVar3 + 1;
- } while (iVar3 < (int)(uint)uVar1);
- }
- }
- return;
-}
-
-
-
-// DWARF original prototype: bool SetTimer(TSkillBase * this, ushort SkNr, int cyc, int cou, int
-// maxcou, int additionalvalue)
-
-bool __thiscall TSkillBase::SetTimer(TSkillBase *this)
-
-{
- ushort uVar1;
- TSkill *pTVar2;
- int iVar3;
- bool bVar4;
- TSkill *sk;
- ushort in_stack_00000008;
- undefined4 in_stack_0000000c;
- undefined4 in_stack_00000010;
- undefined4 in_stack_00000014;
- undefined4 in_stack_00000018;
-
- if (in_stack_00000008 < 0x19) {
- pTVar2 = this->Skills[in_stack_00000008];
- DelTimer(this,in_stack_00000008);
- iVar3 = (*pTVar2->_vptr_TSkill[0xb])
- (pTVar2,in_stack_0000000c,in_stack_00000010,in_stack_00000014,
- in_stack_00000018);
- bVar4 = false;
- if ((char)iVar3 != '\0') {
- uVar1 = this->FirstFreeTimer;
- bVar4 = true;
- this->TimerList[uVar1] = pTVar2;
- this->FirstFreeTimer = uVar1 + 1;
- }
- }
- else {
- error("TSkillBase::SetTimer: Ungueltige SkNr: %d\n",(uint)in_stack_00000008);
- bVar4 = false;
- }
- return bVar4;
-}
-
-
-
-// DWARF original prototype: void ProcessSkills(TSkillBase * this)
-
-void __thiscall TSkillBase::ProcessSkills(TSkillBase *this)
-
-{
- TSkill *pTVar1;
- ushort uVar2;
- int iVar3;
- TSkill *sk;
- int i;
- int iVar4;
-
- iVar4 = 0;
- uVar2 = this->FirstFreeTimer;
- if (uVar2 != 0) {
- do {
- pTVar1 = this->TimerList[iVar4];
- if (pTVar1 == (TSkill *)0x0) {
- iVar4 = iVar4 + 1;
- }
- else {
- iVar3 = (*pTVar1->_vptr_TSkill[10])(pTVar1);
- if ((char)iVar3 == '\0') {
- uVar2 = this->FirstFreeTimer;
- iVar4 = iVar4 + 1;
- }
- else {
- uVar2 = this->FirstFreeTimer - 1;
- this->FirstFreeTimer = uVar2;
- this->TimerList[iVar4] = this->TimerList[uVar2];
- this->TimerList[uVar2] = (TSkill *)0x0;
- }
- }
- } while (iVar4 < (int)(uint)uVar2);
- }
- return;
-}
-
-
-
-// DWARF original prototype: bool NewSkill(TSkillBase * this, ushort SkillNo, TCreature * cr)
-
-bool __thiscall TSkillBase::NewSkill(TSkillBase *this,ushort SkillNo,TCreature *cr)
-
-{
- bool bVar1;
- TSkill *pTVar2;
- uint uVar3;
-
- uVar3 = (uint)SkillNo;
- if (SkillNo < 0x19) {
- pTVar2 = this->Skills[uVar3];
- if (pTVar2 != (TSkill *)0x0) {
- (*pTVar2->_vptr_TSkill[1])(pTVar2);
- this->Skills[uVar3] = (TSkill *)0x0;
- }
- switch(uVar3) {
- case 0:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkillLevel_08128268;
- break;
- case 1:
- case 6:
- case 7:
- case 8:
- case 9:
- case 10:
- case 0xb:
- case 0xd:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkillProbe_08128208;
- break;
- case 2:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkillHitpoints_08127f08;
- break;
- case 3:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkillMana_08127ea8;
- break;
- case 4:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkillGoStrength_08127de8;
- break;
- case 5:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkillCarryStrength_08127d88;
- break;
- default:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- break;
- case 0xe:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkillFed_08128028;
- break;
- case 0xf:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkillLight_08127f68;
- break;
- case 0x10:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkillIllusion_08127fc8;
- break;
- case 0x11:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkillPoison_08128148;
- break;
- case 0x12:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkillBurning_081280e8;
- break;
- case 0x13:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkillEnergy_08128088;
- break;
- case 0x16:
- pTVar2 = (TSkill *)operator_new(0x48);
- pTVar2->Act = 0;
- pTVar2->Max = 0x7fffffff;
- pTVar2->Min = 0;
- pTVar2->DAct = 0;
- pTVar2->MDAct = 0;
- pTVar2->FactorPercent = 1000;
- pTVar2->LastLevel = 0;
- pTVar2->NextLevel = 0x7fffffff;
- pTVar2->Exp = 0;
- pTVar2->Delta = 0x7fffffff;
- pTVar2->Cycle = 0;
- pTVar2->MaxCycle = 0;
- pTVar2->Count = 0;
- pTVar2->MaxCount = 0;
- pTVar2->AddLevel = 0;
- pTVar2->SkNr = SkillNo;
- pTVar2->Master = cr;
- pTVar2->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkillSoulpoints_08127e48;
- }
- this->Skills[uVar3] = pTVar2;
- bVar1 = true;
- }
- else {
- error("TSkillBase::NewSkill: unbekannte SkillNummer %d\n",uVar3);
- bVar1 = false;
- }
- return bVar1;
-}
-
-
-
-// DWARF original prototype: bool SetSkills(TSkillBase * this, int Race)
-
-bool __thiscall TSkillBase::SetSkills(TSkillBase *this,int Race)
-
-{
- TSkill *pTVar1;
- bool bVar2;
- TSkillData *S;
- TSkillData *pTVar3;
- TSkill *sk;
- int i;
- int iVar4;
- int iVar5;
-
- if (Race - 1U < 0x1ff) {
- if (0 < RaceData[Race].Skills) {
- iVar4 = 1;
- do {
- iVar5 = iVar4 + 1;
- pTVar3 = vector<TSkillData>::operator()(&RaceData[Race].Skill,iVar4);
- pTVar1 = this->Skills[pTVar3->Nr];
- pTVar1->Act = pTVar3->Actual;
- pTVar1->Min = pTVar3->Minimum;
- iVar4 = pTVar3->Maximum;
- pTVar1->LastLevel = 0;
- pTVar1->Max = iVar4;
- pTVar1->NextLevel = pTVar3->NextLevel;
- pTVar1->Delta = pTVar3->NextLevel;
- pTVar1->FactorPercent = pTVar3->FactorPercent;
- iVar4 = pTVar3->AddLevel;
- pTVar1->MaxCount = 0;
- pTVar1->AddLevel = iVar4;
- iVar4 = iVar5;
- } while (iVar5 <= RaceData[Race].Skills);
- }
- bVar2 = true;
- }
- else {
- error(&DAT_081077c0,Race);
- bVar2 = false;
- }
- return bVar2;
-}
-
-
-
-// DWARF original prototype: void TSkill(TSkill * this, int nr, TCreature * cr)
-
-void __thiscall TSkill::TSkill(TSkill *this)
-
-{
- ushort in_stack_00000008;
- TCreature *in_stack_0000000c;
-
- this->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- this->SkNr = in_stack_00000008;
- this->Act = 0;
- this->Max = 0x7fffffff;
- this->Min = 0;
- this->DAct = 0;
- this->MDAct = 0;
- this->FactorPercent = 1000;
- this->LastLevel = 0;
- this->NextLevel = 0x7fffffff;
- this->Exp = 0;
- this->Delta = 0x7fffffff;
- this->Cycle = 0;
- this->MaxCycle = 0;
- this->Count = 0;
- this->MaxCount = 0;
- this->AddLevel = 0;
- this->Master = in_stack_0000000c;
- return;
-}
-
-
-
-// DWARF original prototype: void TSkill(TSkill * this, int nr, TCreature * cr)
-
-void __thiscall TSkill::TSkill(TSkill *this)
-
-{
- ushort in_stack_00000008;
- TCreature *in_stack_0000000c;
-
- this->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- this->SkNr = in_stack_00000008;
- this->Act = 0;
- this->Max = 0x7fffffff;
- this->Min = 0;
- this->DAct = 0;
- this->MDAct = 0;
- this->FactorPercent = 1000;
- this->LastLevel = 0;
- this->NextLevel = 0x7fffffff;
- this->Exp = 0;
- this->Delta = 0x7fffffff;
- this->Cycle = 0;
- this->MaxCycle = 0;
- this->Count = 0;
- this->MaxCount = 0;
- this->AddLevel = 0;
- this->Master = in_stack_0000000c;
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkill(TSkill * this, int __in_chrg)
-
-void __thiscall TSkill::~TSkill(TSkill *this,int __in_chrg)
-
-{
- this->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (this->Master != (TCreature *)0x0) {
- TSkillBase::DelTimer(&this->Master->super_TSkillBase,this->SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkill(TSkill * this, int __in_chrg)
-
-void __thiscall TSkill::~TSkill(TSkill *this,int __in_chrg)
-
-{
- this->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (this->Master != (TCreature *)0x0) {
- TSkillBase::DelTimer(&this->Master->super_TSkillBase,this->SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkill(TSkill * this, int __in_chrg)
-
-void __thiscall TSkill::~TSkill(TSkill *this,int __in_chrg)
-
-{
- this->_vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (this->Master != (TCreature *)0x0) {
- TSkillBase::DelTimer(&this->Master->super_TSkillBase,this->SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void Reset(TSkill * this)
-
-void __thiscall TSkill::Reset(TSkill *this)
-
-{
- this->Act = 0;
- this->Max = 0x7fffffff;
- this->Min = 0;
- this->DAct = 0;
- this->MDAct = 0;
- this->FactorPercent = 1000;
- this->LastLevel = 0;
- this->NextLevel = 0x7fffffff;
- this->Exp = 0;
- this->Delta = 0x7fffffff;
- this->Cycle = 0;
- this->MaxCycle = 0;
- this->Count = 0;
- this->MaxCount = 0;
- this->AddLevel = 0;
- return;
-}
-
-
-
-// DWARF original prototype: void Load(TSkill * this, int act, int max, int min, int dact, int
-// mdact, int cyc, int maxcyc, int cnt, int maxcnt, int addlvl, int exp, int fp, int nextlvl, int
-// delta)
-
-void __thiscall TSkill::Load(TSkill *this)
-
-{
- ushort uVar1;
- TCreature *pTVar2;
- int iVar3;
- int iVar4;
- int iVar5;
- TSkill *pTVar6;
- int iVar7;
- int in_stack_00000008;
- int in_stack_0000000c;
- int in_stack_00000010;
- int in_stack_00000014;
- int in_stack_00000018;
- int in_stack_0000001c;
- int in_stack_00000020;
- int in_stack_00000024;
- int in_stack_00000028;
- int in_stack_0000002c;
- int in_stack_00000030;
- int in_stack_00000034;
- int in_stack_00000038;
- int in_stack_0000003c;
-
- this->Max = in_stack_0000000c;
- this->Act = in_stack_00000008;
- this->Min = in_stack_00000010;
- this->DAct = in_stack_00000014;
- this->MDAct = in_stack_00000018;
- this->Cycle = in_stack_0000001c;
- this->MaxCycle = in_stack_00000020;
- this->Count = in_stack_00000024;
- this->MaxCount = in_stack_00000028;
- this->AddLevel = in_stack_0000002c;
- this->Exp = in_stack_00000030;
- this->FactorPercent = in_stack_00000034;
- this->NextLevel = in_stack_00000038;
- this->Delta = in_stack_0000003c;
- iVar7 = (*this->_vptr_TSkill[5])(this);
- this->LastLevel = iVar7;
- pTVar2 = this->Master;
- if ((pTVar2 != (TCreature *)0x0) && (iVar7 = this->Cycle, iVar7 != 0)) {
- iVar3 = this->Count;
- uVar1 = this->SkNr;
- iVar4 = this->MaxCount;
- iVar5 = this->FactorPercent;
- if (uVar1 < 0x19) {
- pTVar6 = (pTVar2->super_TSkillBase).Skills[uVar1];
- TSkillBase::DelTimer(&pTVar2->super_TSkillBase,uVar1);
- iVar7 = (*pTVar6->_vptr_TSkill[0xb])(pTVar6,iVar7,iVar3,iVar4,iVar5);
- if ((char)iVar7 != '\0') {
- uVar1 = (pTVar2->super_TSkillBase).FirstFreeTimer;
- (pTVar2->super_TSkillBase).TimerList[uVar1] = pTVar6;
- (pTVar2->super_TSkillBase).FirstFreeTimer = uVar1 + 1;
- }
- }
- else {
- error("TSkillBase::SetTimer: Ungueltige SkNr: %d\n",(uint)uVar1);
- }
- }
- return;
-}
-
-
-
-// DWARF original prototype: void Save(TSkill * this, int * act, int * max, int * min, int * dact,
-// int * mdact, int * cyc, int * maxcyc, int * cnt, int * maxcnt, int * addlvl, int * exp, int * fp,
-// int * nextlvl, int * delta)
-
-void __thiscall TSkill::Save(TSkill *this)
-
-{
- int *in_stack_00000008;
- int *in_stack_0000000c;
- int *in_stack_00000010;
- int *in_stack_00000014;
- int *in_stack_00000018;
- int *in_stack_0000001c;
- int *in_stack_00000020;
- int *in_stack_00000024;
- int *in_stack_00000028;
- int *in_stack_0000002c;
- int *in_stack_00000030;
- int *in_stack_00000034;
- int *in_stack_00000038;
- int *in_stack_0000003c;
-
- *in_stack_00000008 = this->Act;
- *in_stack_0000000c = this->Max;
- *in_stack_00000010 = this->Min;
- *in_stack_00000014 = this->DAct;
- *in_stack_00000018 = this->MDAct;
- *in_stack_0000001c = this->Cycle;
- *in_stack_00000020 = this->MaxCycle;
- *in_stack_00000024 = this->Count;
- *in_stack_00000028 = this->MaxCount;
- *in_stack_0000002c = this->AddLevel;
- *in_stack_00000030 = this->Exp;
- *in_stack_00000034 = this->FactorPercent;
- *in_stack_00000038 = this->NextLevel;
- *in_stack_0000003c = this->Delta;
- return;
-}
-
-
-
-// DWARF original prototype: void Event(TSkill * this, int param_1)
-
-void __thiscall TSkill::Event(TSkill *this,int param_1)
-
-{
- return;
-}
-
-
-
-// DWARF original prototype: bool Jump(TSkill * this, int param_1)
-
-bool __thiscall TSkill::Jump(TSkill *this,int param_1)
-
-{
- return true;
-}
-
-
-
-// DWARF original prototype: int Get(TSkill * this)
-
-int __thiscall TSkill::Get(TSkill *this)
-
-{
- int a;
- int iVar1;
-
- iVar1 = this->Act;
- if (this->Act < this->Min) {
- iVar1 = this->Min;
- }
- return iVar1 + this->MDAct + this->DAct;
-}
-
-
-
-// DWARF original prototype: int GetProgress(TSkill * this)
-
-int __thiscall TSkill::GetProgress(TSkill *this)
-
-{
- int iVar1;
- int iVar2;
- bool bVar3;
- int Percent;
- int iVar4;
- uint uVar5;
- char *pcVar6;
- int iVar7;
-
- iVar7 = this->NextLevel;
- iVar1 = this->LastLevel;
- iVar4 = 0;
- if (iVar1 < iVar7) {
- iVar2 = this->Exp;
- uVar5 = iVar2 - iVar1;
- iVar4 = (((int)uVar5 >> 0x1f) << 2 | uVar5 >> 0x1e) + ((int)uVar5 >> 0x1f) +
- (uint)CARRY4(uVar5 * 4,uVar5);
- bVar3 = false;
- iVar4 = __divdi3(uVar5 * 100,
- ((iVar4 * 4 | uVar5 * 5 >> 0x1e) + iVar4 +
- (uint)CARRY4(uVar5 * 0x14,uVar5 * 5)) * 4 | uVar5 * 0x19 >> 0x1e,
- iVar7 - iVar1,iVar7 - iVar1 >> 0x1f);
- if ((-1 < iVar4) && (iVar4 < 100)) {
- bVar3 = true;
- }
- if (!bVar3) {
- error("TSkill::GetProgress: Berechnungsfehler Exp %d, Last %d, Next %d, Prozent %d.\n",
- iVar2,iVar1,iVar7,iVar4);
- pcVar6 = "(Unknown";
- if (this->Master != (TCreature *)0x0) {
- pcVar6 = this->Master->Name;
- }
- error("# Spieler %s - Skill %d\n",pcVar6,(uint)this->SkNr,iVar7,iVar4);
- iVar4 = 0;
- }
- }
- return iVar4;
-}
-
-
-
-// DWARF original prototype: void SetMDAct(TSkill * this, int value)
-
-void __thiscall TSkill::SetMDAct(TSkill *this,int value)
-
-{
- TPlayer *this_00;
-
- this->MDAct = value;
- if (((this->SkNr == 4) && (this_00 = (TPlayer *)this->Master, this_00 != (TPlayer *)0x0)) &&
- ((this_00->super_TCreature).Type == PLAYER)) {
- TPlayer::CheckState(this_00);
- return;
- }
- return;
-}
-
-
-
-// DWARF original prototype: void Set(TSkill * this, int a)
-
-void __thiscall TSkill::Set(TSkill *this,int a)
-
-{
- this->Act = a;
- if (this->Max < a) {
- this->Act = this->Max;
- }
- return;
-}
-
-
-
-// DWARF original prototype: void Change(TSkill * this, int a)
-
-void __thiscall TSkill::Change(TSkill *this,int a)
-
-{
- (*this->_vptr_TSkill[2])(this,this->Act + a);
- if (this->Max < this->Act) {
- this->Act = this->Max;
- }
- return;
-}
-
-
-
-// DWARF original prototype: void Check(TSkill * this)
-
-void __thiscall TSkill::Check(TSkill *this)
-
-{
- if (this->Max < this->Act) {
- this->Act = this->Max;
- }
- return;
-}
-
-
-
-// DWARF original prototype: bool Process(TSkill * this)
-
-bool __thiscall TSkill::Process(TSkill *this)
-
-{
- int iVar1;
- int iVar2;
- TPlayer *this_00;
- bool bVar3;
- int Range;
-
- iVar2 = this->Cycle;
- if (iVar2 == 0) {
- this_00 = (TPlayer *)this->Master;
- if ((this_00 != (TPlayer *)0x0) && ((this_00->super_TCreature).Type == PLAYER)) {
- TPlayer::CheckState(this_00);
- }
- bVar3 = true;
- }
- else {
- if (this->Count < 1) {
- this->Count = this->MaxCount;
- iVar1 = (uint)(iVar2 < 1) * 2 + -1;
- this->Cycle = iVar2 + iVar1;
- (*this->_vptr_TSkill[0xf])(this,iVar1);
- }
- else {
- this->Count = this->Count + -1;
- }
- bVar3 = false;
- }
- return bVar3;
-}
-
-
-
-// DWARF original prototype: bool SetTimer(TSkill * this, int cyc, int cou, int maxcou, int param_4)
-
-bool __thiscall TSkill::SetTimer(TSkill *this)
-
-{
- TPlayer *this_00;
- int in_stack_00000008;
- int in_stack_0000000c;
- int in_stack_00000010;
-
- this->Cycle = in_stack_00000008;
- this->Count = in_stack_0000000c;
- this->MaxCount = in_stack_00000010;
- this_00 = (TPlayer *)this->Master;
- if ((this_00 != (TPlayer *)0x0) && ((this_00->super_TCreature).Type == PLAYER)) {
- TPlayer::CheckState(this_00);
- }
- return true;
-}
-
-
-
-// DWARF original prototype: bool DelTimer(TSkill * this)
-
-bool __thiscall TSkill::DelTimer(TSkill *this)
-
-{
- TPlayer *this_00;
-
- this->Cycle = 0;
- this->Count = 0;
- this->MaxCount = 0;
- this_00 = (TPlayer *)this->Master;
- if ((this_00 != (TPlayer *)0x0) && ((this_00->super_TCreature).Type == PLAYER)) {
- TPlayer::CheckState(this_00);
- }
- return true;
-}
-
-
-
-// DWARF original prototype: int GetExpForLevel(TSkillLevel * this, int Level)
-
-int __thiscall TSkillLevel::GetExpForLevel(TSkillLevel *this,int Level)
-
-{
- int iVar1;
- char *Text;
-
- if (Level < 1) {
- Text = &DAT_08107900;
- }
- else {
- iVar1 = (this->super_TSkill).Delta;
- if (0 < iVar1) {
- if (Level < 0x1f5) {
- return ((((Level + -6) * Level + 0x11) * Level + -0xc) / 6) * iVar1;
- }
- error(&DAT_08107860,Level);
- return -1;
- }
- Text = &DAT_081078c0;
- Level = iVar1;
- }
- error(Text,Level);
- return 0;
-}
-
-
-
-// DWARF original prototype: void Increase(TSkillLevel * this, int Amount)
-
-void __thiscall TSkillLevel::Increase(TSkillLevel *this,int Amount)
-
-{
- TCreature *pTVar1;
- int iVar2;
- int Range;
- int iVar3;
-
- if (Amount < 0) {
- error("TSkillLevel::Increase: Amount negativ (%d).\n");
- return;
- }
- iVar3 = 0;
- iVar2 = Amount + (this->super_TSkill).Exp;
- (this->super_TSkill).Exp = iVar2;
- if ((this->super_TSkill).NextLevel <= iVar2) {
- do {
- iVar2 = (this->super_TSkill).Act;
- (this->super_TSkill).Act = iVar2 + 1;
- iVar2 = (*(this->super_TSkill)._vptr_TSkill[5])(this,iVar2 + 2);
- (this->super_TSkill).NextLevel = iVar2;
- iVar2 = (*(this->super_TSkill)._vptr_TSkill[5])(this,(this->super_TSkill).Act);
- (this->super_TSkill).LastLevel = iVar2;
- iVar2 = (this->super_TSkill).NextLevel;
- if (iVar2 < 0) {
- error(&DAT_08107980,((this->super_TSkill).Master)->Name,
- (uint)(this->super_TSkill).SkNr);
- iVar2 = (this->super_TSkill).Exp;
- (this->super_TSkill).NextLevel = iVar2;
- (this->super_TSkill).Exp = iVar2 + -1000000;
- break;
- }
- iVar3 = iVar3 + 1;
- } while (iVar2 <= (this->super_TSkill).Exp);
- }
- if (iVar3 != 0) {
- (*(this->super_TSkill)._vptr_TSkill[0xe])(this,iVar3);
- }
- pTVar1 = (this->super_TSkill).Master;
- if (pTVar1 == (TCreature *)0x0) {
- error("TSkillLevel::Increase: GetMaster liefert NULL zurueck.\n");
- return;
- }
- if (pTVar1->Type == PLAYER) {
- SendPlayerData(pTVar1->Connection);
- return;
- }
- return;
-}
-
-
-
-// DWARF original prototype: void Decrease(TSkillLevel * this, int Amount)
-
-void __thiscall TSkillLevel::Decrease(TSkillLevel *this,int Amount)
-
-{
- TCreature *pTVar1;
- TCreature *cr;
- int iVar2;
- int Range;
- int iVar3;
-
- if (Amount < 0) {
- this = (TSkillLevel *)s_TSkillLevel__Decrease__Amount_ne_08107a80;
- }
- else {
- iVar2 = (this->super_TSkill).Exp;
- if ((Amount <= iVar2) || (iVar2 < 0x186a1)) {
- iVar3 = 0;
- if (Amount < iVar2) {
- (this->super_TSkill).Exp = iVar2 - Amount;
- }
- else {
- (this->super_TSkill).Exp = 0;
- iVar3 = 0;
- }
- while( true ) {
- iVar2 = (*(this->super_TSkill)._vptr_TSkill[5])(this,(this->super_TSkill).Act);
- if (iVar2 <= (this->super_TSkill).Exp) break;
- (this->super_TSkill).NextLevel = iVar2;
- iVar3 = iVar3 + -1;
- iVar2 = (this->super_TSkill).Act + -1;
- (this->super_TSkill).Act = iVar2;
- iVar2 = (*(this->super_TSkill)._vptr_TSkill[5])(this,iVar2);
- (this->super_TSkill).LastLevel = iVar2;
- }
- if (iVar3 != 0) {
- (*(this->super_TSkill)._vptr_TSkill[0xe])(this,iVar3);
- }
- pTVar1 = (this->super_TSkill).Master;
- if (pTVar1 != (TCreature *)0x0) {
- if (pTVar1->Type != PLAYER) {
- return;
- }
- SendPlayerData(pTVar1->Connection);
- return;
- }
- error("TSkillLevel::Decrease: GetMaster liefert NULL zurueck.\n");
- return;
- }
- this = (TSkillLevel *)s_TSkillLevel__Decrease__Amount_zu_08107a40;
- }
- error((char *)this);
- return;
-}
-
-
-
-// DWARF original prototype: bool Jump(TSkillLevel * this, int Range)
-
-bool __thiscall TSkillLevel::Jump(TSkillLevel *this,int Range)
-
-{
- TCreature *pTVar1;
- TSkill *pTVar2;
- int iVar3;
- int a;
- int iVar4;
- int iVar5;
- TSkill *sk;
- TConnection *Connection;
- TCreature *cr;
- int iVar6;
- char *Text;
-
- pTVar1 = (this->super_TSkill).Master;
- if (pTVar1 == (TCreature *)0x0) {
- error("TSkillLevel::Jump: GetMaster liefert NULL zurueck!\n");
- return false;
- }
- pTVar2 = (pTVar1->super_TSkillBase).Skills[2];
- (*pTVar2->_vptr_TSkill[6])(pTVar2,Range);
- pTVar2 = (pTVar1->super_TSkillBase).Skills[3];
- (*pTVar2->_vptr_TSkill[6])(pTVar2,Range);
- pTVar2 = (pTVar1->super_TSkillBase).Skills[5];
- (*pTVar2->_vptr_TSkill[6])(pTVar2,Range);
- pTVar2 = (pTVar1->super_TSkillBase).Skills[4];
- (*pTVar2->_vptr_TSkill[6])(pTVar2,Range);
- AnnounceChangedCreature(pTVar1->ID,4);
- TCombat::CheckCombatValues(&pTVar1->Combat);
- iVar3 = (this->super_TSkill).Act;
- iVar5 = (this->super_TSkill).Min;
- iVar4 = iVar5;
- if (iVar5 <= iVar3) {
- iVar4 = iVar3;
- }
- iVar6 = (this->super_TSkill).MDAct + (this->super_TSkill).DAct;
- if (Range < 1) {
- if (pTVar1->Type != PLAYER) {
- return true;
- }
- Connection = pTVar1->Connection;
- Text = "You were downgraded from Level %d to Level %d.";
- if (iVar5 <= iVar3) {
- iVar5 = iVar3;
- }
- }
- else {
- if (pTVar1->Type != PLAYER) {
- return true;
- }
- Connection = pTVar1->Connection;
- Text = "You advanced from Level %d to Level %d.";
- if (iVar5 <= iVar3) {
- iVar5 = iVar3;
- }
- }
- SendMessage(Connection,0x13,Text,(iVar6 + iVar4) - Range,iVar5 + iVar6);
- return true;
-}
-
-
-
-// DWARF original prototype: bool SetTimer(TSkillProbe * this, int cyc, int cou, int maxcou, int
-// param_4)
-
-bool __thiscall TSkillProbe::SetTimer(TSkillProbe *this)
-
-{
- TPlayer *this_00;
- int in_stack_00000008;
- int in_stack_0000000c;
- int in_stack_00000010;
-
- (this->super_TSkill).Cycle = in_stack_00000008;
- (this->super_TSkill).Count = in_stack_0000000c;
- (this->super_TSkill).MaxCount = in_stack_00000010;
- this_00 = (TPlayer *)(this->super_TSkill).Master;
- if (this_00 != (TPlayer *)0x0) {
- if ((this_00->super_TCreature).Type == PLAYER) {
- TPlayer::CheckState(this_00);
- this_00 = (TPlayer *)(this->super_TSkill).Master;
- }
- if (this_00 != (TPlayer *)0x0) {
- if ((this_00->super_TCreature).Type == PLAYER) {
- SendPlayerData((this_00->super_TCreature).Connection);
- }
- return true;
- }
- }
- error("TSkillProbe::SetTimer: GetMaster liefert NULL zurueck!\n");
- return false;
-}
-
-
-
-// DWARF original prototype: void Event(TSkillProbe * this, int param_1)
-
-void __thiscall TSkillProbe::Event(TSkillProbe *this,int param_1)
-
-{
- TPlayer *this_00;
- TCreature *cr;
-
- if ((this->super_TSkill).Cycle == 0) {
- this_00 = (TPlayer *)(this->super_TSkill).Master;
- if (this_00 == (TPlayer *)0x0) {
- error("TSkillProbe::Event: GetMaster liefert NULL zurueck!\n");
- return;
- }
- (this->super_TSkill).MDAct = 0;
- if ((this->super_TSkill).SkNr == 4) {
- if ((this_00->super_TCreature).Type != PLAYER) {
- return;
- }
- TPlayer::CheckState(this_00);
- }
- if ((this_00->super_TCreature).Type == PLAYER) {
- SendPlayerSkills((this_00->super_TCreature).Connection);
- return;
- }
- }
- return;
-}
-
-
-
-// DWARF original prototype: bool Jump(TSkillProbe * this, int Range)
-
-bool __thiscall TSkillProbe::Jump(TSkillProbe *this,int Range)
-
-{
- TCreature *pTVar1;
- int iVar2;
- TConnection *Connection;
- int a;
- int iVar3;
- TCreature *cr;
- char *Text;
-
- pTVar1 = (this->super_TSkill).Master;
- if (pTVar1 == (TCreature *)0x0) {
- error("TSkillProbe::Jump: GetMaster liefert NULL zurueck!\n");
- return false;
- }
- if (pTVar1->Type != PLAYER) {
- return true;
- }
- if ((this->super_TSkill).SkNr == 1) {
- SendPlayerData(pTVar1->Connection);
- }
- else {
- SendPlayerSkills(pTVar1->Connection);
- }
- if (Range < 0) {
- return true;
- }
- switch((this->super_TSkill).SkNr) {
- default:
- goto LAB_080c8c45;
- case 1:
- iVar2 = (this->super_TSkill).Min;
- iVar3 = (this->super_TSkill).Act;
- if (iVar3 < iVar2) {
- iVar3 = iVar2;
- }
- SendMessage(pTVar1->Connection,0x13,"You advanced to magic level %d.",
- iVar3 + (this->super_TSkill).MDAct + (this->super_TSkill).DAct);
- return true;
- case 6:
- Connection = pTVar1->Connection;
- Text = "You advanced in shielding.";
- break;
- case 7:
- Connection = pTVar1->Connection;
- Text = "You advanced in distance fighting.";
- break;
- case 8:
- Connection = pTVar1->Connection;
- Text = "You advanced in sword fighting.";
- break;
- case 9:
- Connection = pTVar1->Connection;
- Text = "You advanced in club fighting.";
- break;
- case 10:
- Connection = pTVar1->Connection;
- Text = "You advanced in axe fighting.";
- break;
- case 0xb:
- Connection = pTVar1->Connection;
- Text = "You advanced in fist fighting.";
- break;
- case 0xd:
- Connection = pTVar1->Connection;
- Text = "You advanced in fishing.";
- }
- SendMessage(Connection,0x13,Text);
-LAB_080c8c45:
- return true;
-}
-
-
-
-// DWARF original prototype: int GetExpForLevel(TSkillProbe * this, int Level)
-
-int __thiscall TSkillProbe::GetExpForLevel(TSkillProbe *this,int Level)
-
-{
- double __x;
- uint __n;
- int iVar1;
- longdouble __value;
- double dVar2;
- char *Text;
- double FP;
- ushort __cwtmp;
- ushort __cw;
-
- if ((Level < 0) || (Level < (this->super_TSkill).Min)) {
- Text = &DAT_08107d00;
- }
- else {
- if (0 < (this->super_TSkill).Delta) {
- iVar1 = (this->super_TSkill).FactorPercent;
- if (iVar1 < 1000) {
- error(&DAT_08107da0);
- iVar1 = (this->super_TSkill).FactorPercent;
- }
- if (iVar1 - 0x3e9U < 0x31) {
- error(&DAT_08107d40);
- iVar1 = (this->super_TSkill).FactorPercent;
- }
- if (iVar1 < 0x41a) {
- return (Level - (this->super_TSkill).Min) * (this->super_TSkill).Delta;
- }
- __x = (double)iVar1 / 1000.0;
- __n = Level - (this->super_TSkill).Min;
- if ((int)__n < 0) {
- dVar2 = __cmath_power<double>(__x,-__n);
- dVar2 = 1.0 / dVar2;
- }
- else {
- dVar2 = __cmath_power<double>(__x,__n);
- }
- return (int)ROUND(ROUND((double)(this->super_TSkill).Delta *
- ((dVar2 - 1.0) / (__x - 1.0))));
- }
- Text = &DAT_08107e00;
- }
- error(Text);
- return 0;
-}
-
-
-
-// WARNING: Variable defined which should be unmapped: Amount_local
-// DWARF original prototype: void Increase(TSkillProbe * this, int Amount)
-
-void __thiscall TSkillProbe::Increase(TSkillProbe *this,int Amount)
-
-{
- TCreature *pTVar1;
- int iVar2;
- TCreature *pTVar3;
- bool bVar4;
- int iVar5;
- uint uVar6;
- char *pcVar7;
- int iVar8;
- int Percent;
- int iVar9;
- int local_3c;
- int local_38;
- TCreature *cr;
- int local_1c;
- int local_18;
- int Range;
- int Amount_local;
-
- if (Amount < 0) {
- error("TSkillProbe::Increase: Amount negativ (%d).\n");
- return;
- }
- local_18 = 0;
- local_38 = (this->super_TSkill).NextLevel;
- iVar8 = (this->super_TSkill).LastLevel;
- if (iVar8 < local_38) {
- local_3c = (this->super_TSkill).Exp;
- uVar6 = local_3c - iVar8;
- iVar9 = (((int)uVar6 >> 0x1f) << 2 | uVar6 >> 0x1e) + ((int)uVar6 >> 0x1f) +
- (uint)CARRY4(uVar6 * 4,uVar6);
- bVar4 = false;
- local_1c = __divdi3(uVar6 * 100,
- ((iVar9 * 4 | uVar6 * 5 >> 0x1e) + iVar9 +
- (uint)CARRY4(uVar6 * 0x14,uVar6 * 5)) * 4 | uVar6 * 0x19 >> 0x1e,
- local_38 - iVar8,local_38 - iVar8 >> 0x1f);
- if ((-1 < local_1c) && (bVar4 = true, 99 < local_1c)) {
- bVar4 = false;
- }
- if (bVar4) goto LAB_080c8eaf;
- error("TSkill::GetProgress: Berechnungsfehler Exp %d, Last %d, Next %d, Prozent %d.\n",
- local_3c,iVar8,local_38,local_1c);
- pTVar1 = (this->super_TSkill).Master;
- pcVar7 = "(Unknown";
- if (pTVar1 != (TCreature *)0x0) {
- pcVar7 = pTVar1->Name;
- }
- error("# Spieler %s - Skill %d\n",pcVar7,(uint)(this->super_TSkill).SkNr,local_38,local_1c);
- local_38 = (this->super_TSkill).NextLevel;
- }
- local_1c = 0;
- local_3c = (this->super_TSkill).Exp;
-LAB_080c8eaf:
- (this->super_TSkill).Exp = local_3c + Amount;
- if (local_38 <= local_3c + Amount) {
- do {
- iVar8 = (this->super_TSkill).Act;
- (this->super_TSkill).Act = iVar8 + 1;
- iVar8 = (*(this->super_TSkill)._vptr_TSkill[5])(this,iVar8 + 2);
- (this->super_TSkill).NextLevel = iVar8;
- iVar8 = (*(this->super_TSkill)._vptr_TSkill[5])(this,(this->super_TSkill).Act);
- (this->super_TSkill).LastLevel = iVar8;
- iVar8 = (this->super_TSkill).NextLevel;
- if (iVar8 < 0) {
- error(&DAT_08107e40,((this->super_TSkill).Master)->Name,
- (uint)(this->super_TSkill).SkNr);
- iVar8 = (this->super_TSkill).Exp;
- (this->super_TSkill).NextLevel = iVar8;
- (this->super_TSkill).Exp = iVar8 + -1000;
- break;
- }
- local_18 = local_18 + 1;
- } while (iVar8 <= (this->super_TSkill).Exp);
- }
- if (local_18 == 0) {
- pTVar1 = (this->super_TSkill).Master;
- if ((pTVar1 != (TCreature *)0x0) && (pTVar1->Type == PLAYER)) {
- iVar8 = (this->super_TSkill).NextLevel;
- iVar5 = 0;
- iVar9 = (this->super_TSkill).LastLevel;
- if (iVar9 < iVar8) {
- iVar2 = (this->super_TSkill).Exp;
- uVar6 = iVar2 - iVar9;
- iVar5 = (((int)uVar6 >> 0x1f) << 2 | uVar6 >> 0x1e) + ((int)uVar6 >> 0x1f) +
- (uint)CARRY4(uVar6 * 4,uVar6);
- bVar4 = false;
- iVar5 = __divdi3(uVar6 * 100,
- ((iVar5 * 4 | uVar6 * 5 >> 0x1e) + iVar5 +
- (uint)CARRY4(uVar6 * 0x14,uVar6 * 5)) * 4 | uVar6 * 0x19 >> 0x1e,
- iVar8 - iVar9,iVar8 - iVar9 >> 0x1f);
- if ((-1 < iVar5) && (bVar4 = true, 99 < iVar5)) {
- bVar4 = false;
- }
- if (!bVar4) {
- error("TSkill::GetProgress: Berechnungsfehler Exp %d, Last %d, Next %d, Prozent %d.\n"
- ,iVar2,iVar9,iVar8,iVar5);
- pTVar3 = (this->super_TSkill).Master;
- pcVar7 = "(Unknown";
- if (pTVar3 != (TCreature *)0x0) {
- pcVar7 = pTVar3->Name;
- }
- error("# Spieler %s - Skill %d\n",pcVar7,(uint)(this->super_TSkill).SkNr,iVar8,
- iVar5);
- iVar5 = 0;
- }
- }
- if (iVar5 != local_1c) {
- if ((this->super_TSkill).SkNr == 1) {
- SendPlayerData(pTVar1->Connection);
- return;
- }
- SendPlayerSkills(pTVar1->Connection);
- return;
- }
- }
- }
- else {
- (*(this->super_TSkill)._vptr_TSkill[0xe])(this,local_18);
- }
- return;
-}
-
-
-
-// WARNING: Variable defined which should be unmapped: Amount_local
-// DWARF original prototype: void Decrease(TSkillProbe * this, int Amount)
-
-void __thiscall TSkillProbe::Decrease(TSkillProbe *this,int Amount)
-
-{
- TCreature *pTVar1;
- TCreature *pTVar2;
- bool bVar3;
- int PreviousLevel;
- uint uVar4;
- int iVar5;
- char *pcVar6;
- int iVar7;
- int Percent;
- int iVar8;
- int iVar9;
- TCreature *cr;
- int local_1c;
- int local_18;
- int Range;
- int Amount_local;
-
- if (Amount < 0) {
- error("TSkillProbe::Decrease: Amount negativ (%d).\n");
- return;
- }
- local_18 = 0;
- iVar7 = (this->super_TSkill).NextLevel;
- iVar8 = (this->super_TSkill).LastLevel;
- if (iVar8 < iVar7) {
- iVar5 = (this->super_TSkill).Exp;
- uVar4 = iVar5 - iVar8;
- iVar9 = (((int)uVar4 >> 0x1f) << 2 | uVar4 >> 0x1e) + ((int)uVar4 >> 0x1f) +
- (uint)CARRY4(uVar4 * 4,uVar4);
- bVar3 = false;
- local_1c = __divdi3(uVar4 * 100,
- ((iVar9 * 4 | uVar4 * 5 >> 0x1e) + iVar9 +
- (uint)CARRY4(uVar4 * 0x14,uVar4 * 5)) * 4 | uVar4 * 0x19 >> 0x1e,
- iVar7 - iVar8,iVar7 - iVar8 >> 0x1f);
- if ((-1 < local_1c) && (bVar3 = true, 99 < local_1c)) {
- bVar3 = false;
- }
- if (bVar3) goto LAB_080c922c;
- error("TSkill::GetProgress: Berechnungsfehler Exp %d, Last %d, Next %d, Prozent %d.\n",iVar5
- ,iVar8,iVar7,local_1c);
- pTVar1 = (this->super_TSkill).Master;
- pcVar6 = "(Unknown";
- if (pTVar1 != (TCreature *)0x0) {
- pcVar6 = pTVar1->Name;
- }
- error("# Spieler %s - Skill %d\n",pcVar6,(uint)(this->super_TSkill).SkNr,iVar7,local_1c);
- }
- local_1c = 0;
- iVar5 = (this->super_TSkill).Exp;
-LAB_080c922c:
- if (Amount < iVar5) {
- (this->super_TSkill).Exp = iVar5 - Amount;
- }
- else {
- (this->super_TSkill).Exp = 0;
- }
- iVar7 = (this->super_TSkill).Act;
- if ((this->super_TSkill).Min < iVar7) {
- do {
- iVar7 = (*(this->super_TSkill)._vptr_TSkill[5])(this,iVar7);
- if (iVar7 <= (this->super_TSkill).Exp) break;
- iVar8 = (this->super_TSkill).Act + -1;
- (this->super_TSkill).Act = iVar8;
- local_18 = local_18 + -1;
- (this->super_TSkill).NextLevel = iVar7;
- iVar8 = (*(this->super_TSkill)._vptr_TSkill[5])(this,iVar8);
- iVar7 = (this->super_TSkill).Act;
- (this->super_TSkill).LastLevel = iVar8;
- } while ((this->super_TSkill).Min < iVar7);
- }
- if (local_18 == 0) {
- pTVar1 = (this->super_TSkill).Master;
- if ((pTVar1 != (TCreature *)0x0) && (pTVar1->Type == PLAYER)) {
- iVar7 = (this->super_TSkill).NextLevel;
- iVar5 = 0;
- iVar8 = (this->super_TSkill).LastLevel;
- if (iVar8 < iVar7) {
- iVar9 = (this->super_TSkill).Exp;
- uVar4 = iVar9 - iVar8;
- iVar5 = (((int)uVar4 >> 0x1f) << 2 | uVar4 >> 0x1e) + ((int)uVar4 >> 0x1f) +
- (uint)CARRY4(uVar4 * 4,uVar4);
- bVar3 = false;
- iVar5 = __divdi3(uVar4 * 100,
- ((iVar5 * 4 | uVar4 * 5 >> 0x1e) + iVar5 +
- (uint)CARRY4(uVar4 * 0x14,uVar4 * 5)) * 4 | uVar4 * 0x19 >> 0x1e,
- iVar7 - iVar8,iVar7 - iVar8 >> 0x1f);
- if ((-1 < iVar5) && (bVar3 = true, 99 < iVar5)) {
- bVar3 = false;
- }
- if (!bVar3) {
- error("TSkill::GetProgress: Berechnungsfehler Exp %d, Last %d, Next %d, Prozent %d.\n"
- ,iVar9,iVar8,iVar7,iVar5);
- pTVar2 = (this->super_TSkill).Master;
- pcVar6 = "(Unknown";
- if (pTVar2 != (TCreature *)0x0) {
- pcVar6 = pTVar2->Name;
- }
- error("# Spieler %s - Skill %d\n",pcVar6,(uint)(this->super_TSkill).SkNr,iVar7,
- iVar5);
- iVar5 = 0;
- }
- }
- if (iVar5 != local_1c) {
- if ((this->super_TSkill).SkNr == 1) {
- SendPlayerData(pTVar1->Connection);
- return;
- }
- SendPlayerSkills(pTVar1->Connection);
- return;
- }
- }
- }
- else {
- (*(this->super_TSkill)._vptr_TSkill[0xe])(this,local_18);
- }
- return;
-}
-
-
-
-// DWARF original prototype: bool Probe(TSkillProbe * this, int Diff, int Prob, bool _Increase)
-
-bool __thiscall TSkillProbe::Probe(TSkillProbe *this,int Diff,int Prob,bool _Increase)
-
-{
- bool bVar1;
- int iVar2;
- int Result;
-
- if (_Increase) {
- (*(this->super_TSkill)._vptr_TSkill[3])(this,1);
- }
- bVar1 = true;
- if (Diff != 0) {
- iVar2 = rand();
- if ((this->super_TSkill).Act < iVar2 % Diff) {
- bVar1 = false;
- }
- else {
- iVar2 = rand();
- bVar1 = iVar2 % 100 <= Prob;
- }
- }
- return bVar1;
-}
-
-
-
-// DWARF original prototype: int ProbeValue(TSkillProbe * this, int max, bool _Increase)
-
-int __thiscall TSkillProbe::ProbeValue(TSkillProbe *this,int max,bool _Increase)
-
-{
- int iVar1;
- int iVar2;
- int a;
- int iVar3;
- int iVar4;
- int iVar5;
- int Result;
- undefined8 local_1c;
- int iStack_18;
-
- if (_Increase) {
- (*(this->super_TSkill)._vptr_TSkill[3])(this,1);
- }
- iVar4 = (this->super_TSkill).Min;
- iVar3 = (this->super_TSkill).Act;
- iVar1 = (this->super_TSkill).DAct;
- iVar2 = (this->super_TSkill).MDAct;
- if (iVar3 < iVar4) {
- iVar3 = iVar4;
- }
- iVar4 = rand();
- iVar5 = rand();
- return (((iVar5 % 100 + iVar4 + ((iStack_18 >> 5) - (iVar4 >> 0x1f)) * -100) / 2) *
- max * ((iVar3 + iVar2 + iVar1) * 5 + 0x32)) / 10000;
-}
-
-
-
-// DWARF original prototype: void ChangeSkill(TSkillProbe * this, int fp, int delta)
-
-void __thiscall TSkillProbe::ChangeSkill(TSkillProbe *this,int fp,int delta)
-
-{
- int iVar1;
- int iVar2;
- TCreature *pTVar3;
- double __x;
- uint uVar4;
- TCreature *cr;
- double ExpNecessary;
- longdouble __value;
- double dVar5;
- double FP;
- double Progress;
- ushort __cwtmp;
- ushort __cw;
-
- stack0xffffffc4 = 0.0;
- iVar1 = (this->super_TSkill).NextLevel;
- iVar2 = (this->super_TSkill).LastLevel;
- if (iVar2 < iVar1) {
- unique0x100000a4 = (double)((this->super_TSkill).Exp - iVar2) / (double)(iVar1 - iVar2);
- }
- (this->super_TSkill).FactorPercent = fp;
- (this->super_TSkill).Delta = delta;
- __x = (double)fp / 1000.0;
- uVar4 = ((this->super_TSkill).Act - (this->super_TSkill).Min) + 1;
- if ((int)uVar4 < 0) {
- dVar5 = __cmath_power<double>(__x,-uVar4);
- dVar5 = 1.0 / dVar5;
- }
- else {
- dVar5 = __cmath_power<double>(__x,uVar4);
- }
- uVar4 = (this->super_TSkill).Act - (this->super_TSkill).Min;
- (this->super_TSkill).NextLevel =
- (int)ROUND(ROUND(((dVar5 - 1.0) / (__x - 1.0)) * (double)delta));
- if ((int)uVar4 < 0) {
- dVar5 = __cmath_power<double>(__x,-uVar4);
- dVar5 = 1.0 / dVar5;
- }
- else {
- dVar5 = __cmath_power<double>(__x,uVar4);
- }
- iVar1 = (int)ROUND(ROUND(((dVar5 - 1.0) / (__x - 1.0)) * (double)delta));
- (this->super_TSkill).LastLevel = iVar1;
- pTVar3 = (this->super_TSkill).Master;
- (this->super_TSkill).Exp =
- (int)ROUND(ROUND((double)((this->super_TSkill).NextLevel - iVar1) * stack0xffffffc4)) +
- (this->super_TSkill).LastLevel;
- if ((pTVar3 != (TCreature *)0x0) && (pTVar3->Type == PLAYER)) {
- if ((this->super_TSkill).SkNr == 1) {
- SendPlayerData(pTVar3->Connection);
- }
- else {
- SendPlayerSkills(pTVar3->Connection);
- }
- }
- return;
-}
-
-
-
-// DWARF original prototype: void Advance(TSkillAdd * this, int Range)
-
-void __thiscall TSkillAdd::Advance(TSkillAdd *this,int Range)
-
-{
- int iVar1;
- int iVar2;
-
- iVar2 = (this->super_TSkill).AddLevel * Range;
- iVar1 = (this->super_TSkill).Max + iVar2;
- iVar2 = iVar2 + (this->super_TSkill).Act;
- (this->super_TSkill).Max = iVar1;
- if (iVar2 <= iVar1) {
- iVar1 = iVar2;
- }
- (this->super_TSkill).Act = iVar1;
- return;
-}
-
-
-
-// DWARF original prototype: void Reset(TSkillPoison * this)
-
-void __thiscall TSkillPoison::Reset(TSkillPoison *this)
-
-{
- (this->super_TSkill).Act = 0;
- (this->super_TSkill).Max = 0x7fffffff;
- (this->super_TSkill).Min = 0;
- (this->super_TSkill).DAct = 0;
- (this->super_TSkill).MDAct = 0;
- (this->super_TSkill).LastLevel = 0;
- (this->super_TSkill).NextLevel = 0x7fffffff;
- (this->super_TSkill).Exp = 0;
- (this->super_TSkill).Delta = 0x7fffffff;
- (this->super_TSkill).Cycle = 0;
- (this->super_TSkill).MaxCycle = 0;
- (this->super_TSkill).Count = 0;
- (this->super_TSkill).MaxCount = 0;
- (this->super_TSkill).AddLevel = 0;
- (this->super_TSkill).FactorPercent = 0x32;
- return;
-}
-
-
-
-// DWARF original prototype: bool SetTimer(TSkillPoison * this, int cyc, int cou, int maxcou, int
-// additionalvalue)
-
-bool __thiscall TSkillPoison::SetTimer(TSkillPoison *this)
-
-{
- TPlayer *this_00;
- int in_stack_00000008;
- int in_stack_0000000c;
- int in_stack_00000010;
- int in_stack_00000014;
-
- (this->super_TSkill).Cycle = in_stack_00000008;
- (this->super_TSkill).Count = in_stack_0000000c;
- (this->super_TSkill).MaxCount = in_stack_00000010;
- this_00 = (TPlayer *)(this->super_TSkill).Master;
- if ((this_00 != (TPlayer *)0x0) && ((this_00->super_TCreature).Type == PLAYER)) {
- TPlayer::CheckState(this_00);
- }
- if (in_stack_00000014 == -1) {
- in_stack_00000014 = 0x32;
- }
- if (in_stack_00000014 < 10) {
- in_stack_00000014 = 10;
- }
- if (1000 < in_stack_00000014) {
- in_stack_00000014 = 1000;
- }
- (this->super_TSkill).FactorPercent = in_stack_00000014;
- return true;
-}
-
-
-
-// DWARF original prototype: bool Process(TSkillPoison * this)
-
-bool __thiscall TSkillPoison::Process(TSkillPoison *this)
-
-{
- int iVar1;
- TPlayer *this_00;
- bool bVar2;
- int Range;
- int iVar3;
-
- iVar1 = (this->super_TSkill).Cycle;
- if (iVar1 == 0) {
- this_00 = (TPlayer *)(this->super_TSkill).Master;
- if ((this_00 != (TPlayer *)0x0) && ((this_00->super_TCreature).Type == PLAYER)) {
- TPlayer::CheckState(this_00);
- }
- bVar2 = true;
- }
- else {
- iVar3 = (this->super_TSkill).Count;
- if (iVar3 < 1) {
- (this->super_TSkill).Count = (this->super_TSkill).MaxCount;
- iVar3 = (iVar1 * (this->super_TSkill).FactorPercent) / 1000;
- if (iVar3 == 0) {
- iVar3 = (uint)(0 < iVar1) * 2 + -1;
- }
- (this->super_TSkill).Cycle = iVar1 - iVar3;
- (*(this->super_TSkill)._vptr_TSkill[0xf])(this,iVar3);
- }
- else {
- (this->super_TSkill).Count = iVar3 + -1;
- }
- bVar2 = false;
- }
- return bVar2;
-}
-
-
-
-// DWARF original prototype: void Event(TSkillPoison * this, int Range)
-
-void __thiscall TSkillPoison::Event(TSkillPoison *this,int Range)
-
-{
- int *piVar1;
- TCreature *this_00;
- bool bVar2;
- TCreature *atk;
- ulong uVar3;
- TCreature *cr;
- Object local_4c [4];
- Object local_3c [4];
- ulong local_2c;
- Object Obj;
-
- this_00 = (this->super_TSkill).Master;
- if (this_00 == (TCreature *)0x0) {
- error("TSkillPoison::Event: GetMaster liefert NULL zurueck!\n");
- }
- else {
- if (0x7fffffff < (uint)Range) {
- Range = -Range;
- }
- atk = GetCreature(this_00->PoisonDamageOrigin);
- TCreature::Damage(this_00,atk,Range,2);
- GetFirstObject();
- if (local_2c != ::NONE.ObjectID) {
- do {
- local_4c[0].ObjectID = ::NONE.ObjectID;
- local_3c[0].ObjectID = ::NONE.ObjectID;
- Object::getObjectType(local_4c);
- bVar2 = ObjectType::getFlag((ObjectType *)local_4c,AVOID);
- if (bVar2) {
- Object::getObjectType(local_4c);
- uVar3 = ObjectType::getAttribute((ObjectType *)local_4c,AVOIDDAMAGETYPES);
- if (uVar3 == 2) {
- piVar1 = &(this->super_TSkill).Cycle;
- *piVar1 = *piVar1 + 1;
- return;
- }
- }
- Object::getNextObject(local_3c);
- local_2c = local_3c[0].ObjectID;
- } while (local_3c[0].ObjectID != ::NONE.ObjectID);
- }
- }
- return;
-}
-
-
-
-// DWARF original prototype: void Event(TSkillBurning * this, int param_1)
-
-void __thiscall TSkillBurning::Event(TSkillBurning *this,int param_1)
-
-{
- int *piVar1;
- TCreature *this_00;
- bool bVar2;
- TCreature *atk;
- ulong uVar3;
- TCreature *cr;
- Object local_4c [4];
- Object local_3c [4];
- ulong local_2c;
- Object Obj;
-
- this_00 = (this->super_TSkill).Master;
- if (this_00 == (TCreature *)0x0) {
- error("TSkillBurning::Event: GetMaster liefert NULL zurueck!\n");
- }
- else {
- atk = GetCreature(this_00->FireDamageOrigin);
- TCreature::Damage(this_00,atk,10,4);
- GetFirstObject();
- if (local_2c != ::NONE.ObjectID) {
- do {
- local_4c[0].ObjectID = ::NONE.ObjectID;
- local_3c[0].ObjectID = ::NONE.ObjectID;
- Object::getObjectType(local_4c);
- bVar2 = ObjectType::getFlag((ObjectType *)local_4c,AVOID);
- if (bVar2) {
- Object::getObjectType(local_4c);
- uVar3 = ObjectType::getAttribute((ObjectType *)local_4c,AVOIDDAMAGETYPES);
- if (uVar3 == 4) {
- piVar1 = &(this->super_TSkill).Cycle;
- *piVar1 = *piVar1 + 1;
- return;
- }
- }
- Object::getNextObject(local_3c);
- local_2c = local_3c[0].ObjectID;
- } while (local_3c[0].ObjectID != ::NONE.ObjectID);
- }
- }
- return;
-}
-
-
-
-// DWARF original prototype: void Event(TSkillEnergy * this, int param_1)
-
-void __thiscall TSkillEnergy::Event(TSkillEnergy *this,int param_1)
-
-{
- int *piVar1;
- TCreature *this_00;
- bool bVar2;
- TCreature *atk;
- ulong uVar3;
- TCreature *cr;
- Object local_4c [4];
- Object local_3c [4];
- ulong local_2c;
- Object Obj;
-
- this_00 = (this->super_TSkill).Master;
- if (this_00 == (TCreature *)0x0) {
- error("TSkillEnergy::Event: GetMaster liefert NULL zurueck!\n");
- }
- else {
- atk = GetCreature(this_00->EnergyDamageOrigin);
- TCreature::Damage(this_00,atk,0x19,8);
- GetFirstObject();
- if (local_2c != ::NONE.ObjectID) {
- do {
- local_4c[0].ObjectID = ::NONE.ObjectID;
- local_3c[0].ObjectID = ::NONE.ObjectID;
- Object::getObjectType(local_4c);
- bVar2 = ObjectType::getFlag((ObjectType *)local_4c,AVOID);
- if (bVar2) {
- Object::getObjectType(local_4c);
- uVar3 = ObjectType::getAttribute((ObjectType *)local_4c,AVOIDDAMAGETYPES);
- if (uVar3 == 8) {
- piVar1 = &(this->super_TSkill).Cycle;
- *piVar1 = *piVar1 + 1;
- return;
- }
- }
- Object::getNextObject(local_3c);
- local_2c = local_3c[0].ObjectID;
- } while (local_3c[0].ObjectID != ::NONE.ObjectID);
- }
- }
- return;
-}
-
-
-
-// WARNING: Variable defined which should be unmapped: SecsPerMana
-// DWARF original prototype: void Event(TSkillFed * this, int param_1)
-
-void __thiscall TSkillFed::Event(TSkillFed *this,int param_1)
-
-{
- TPlayer *this_00;
- TSkill *pTVar1;
- bool bVar2;
- byte bVar3;
- int Profession;
- uint uVar4;
- int iVar5;
- TCreature *cr;
- int SecsPerHP;
- int iVar6;
- uint uVar7;
- int local_14;
- int SecsPerMana;
-
- this_00 = (TPlayer *)(this->super_TSkill).Master;
- if (this_00 == (TPlayer *)0x0) {
- error("TSkillFed::Event: GetMaster liefert NULL zurueck!\n");
- return;
- }
- if ((this_00->super_TCreature).IsDead != false) {
- return;
- }
- iVar5 = (this_00->super_TCreature).posz;
- uVar7 = (this_00->super_TCreature).posy;
- bVar2 = IsProtectionZone();
- if (bVar2) {
- return;
- }
- local_14 = 6;
- uVar4 = 0;
- iVar6 = 0xc;
- if ((this_00->super_TCreature).Type == PLAYER) {
- bVar3 = TPlayer::GetActiveProfession(this_00);
- uVar4 = (uint)bVar3;
- }
- switch(uVar4) {
- case 0:
- case 1:
- iVar6 = 6;
- goto LAB_080c9d9a;
- case 2:
- local_14 = 4;
- iVar6 = 8;
- break;
- case 3:
- case 4:
- iVar6 = 0xc;
- goto LAB_080c9e20;
- default:
- error("TSkillFed::Event: Unbekannter Beruf %d.\n",uVar4,iVar5);
- uVar7 = uVar4;
- break;
- case 0xb:
- iVar6 = 4;
-LAB_080c9d9a:
- local_14 = 6;
- break;
- case 0xc:
- iVar6 = 6;
-LAB_080c9e20:
- local_14 = 3;
- break;
- case 0xd:
- case 0xe:
- local_14 = 2;
- iVar6 = 0xc;
- }
- iVar5 = (*(this->super_TSkill)._vptr_TSkill[0xd])(this,uVar7);
- if (iVar5 % iVar6 == 0) {
- pTVar1 = (this_00->super_TCreature).super_TSkillBase.Skills[2];
- (*pTVar1->_vptr_TSkill[2])(pTVar1,pTVar1->Act + 1);
- if (pTVar1->Max < pTVar1->Act) {
- pTVar1->Act = pTVar1->Max;
- }
- }
- iVar5 = (*(this->super_TSkill)._vptr_TSkill[0xd])(this);
- if (iVar5 % local_14 == 0) {
- pTVar1 = (this_00->super_TCreature).super_TSkillBase.Skills[3];
- (*pTVar1->_vptr_TSkill[2])(pTVar1,pTVar1->Act + 2);
- if (pTVar1->Max < pTVar1->Act) {
- pTVar1->Act = pTVar1->Max;
- }
- }
- return;
-}
-
-
-
-// DWARF original prototype: void Event(TSkillIllusion * this, int param_1)
-
-void __thiscall TSkillIllusion::Event(TSkillIllusion *this,int param_1)
-
-{
- TCreature *pTVar1;
- int iVar2;
- anon_union_4_2_730cd3ca_for_TOutfit_2 aVar3;
- int a;
- int iVar4;
- TCreature *cr;
- Object local_2c [4];
- Object local_1c [5];
-
- if ((this->super_TSkill).Cycle == 0) {
- pTVar1 = (this->super_TSkill).Master;
- if (pTVar1 == (TCreature *)0x0) {
- error("TSkillIllusion::Event: GetMaster liefert NULL zurueck!\n");
- }
- else {
- iVar2 = (this->super_TSkill).Min;
- iVar4 = (this->super_TSkill).Act;
- if (iVar4 < iVar2) {
- iVar4 = iVar2;
- }
- if (iVar4 + (this->super_TSkill).MDAct + (this->super_TSkill).DAct < 1) {
- aVar3 = (pTVar1->OrgOutfit).field_1;
- (pTVar1->Outfit).OutfitID = (pTVar1->OrgOutfit).OutfitID;
- (pTVar1->Outfit).field_1 = aVar3;
- AnnounceChangedCreature(pTVar1->ID,3);
- local_1c[0].ObjectID = ::NONE.ObjectID;
- local_2c[0].ObjectID = (pTVar1->CrObject).ObjectID;
- NotifyAllCreatures(local_2c,2,local_1c);
- }
- }
- }
- return;
-}
-
-
-
-// DWARF original prototype: bool SetTimer(TSkillIllusion * this, int cyc, int cou, int maxcou, int
-// param_4)
-
-bool __thiscall TSkillIllusion::SetTimer(TSkillIllusion *this)
-
-{
- TCreature *pTVar1;
- TPlayer *this_00;
- int in_stack_00000008;
- int in_stack_0000000c;
- int in_stack_00000010;
-
- this_00 = (TPlayer *)(this->super_TSkill).Master;
- (this->super_TSkill).Cycle = in_stack_00000008;
- (this->super_TSkill).Count = in_stack_0000000c;
- (this->super_TSkill).MaxCount = in_stack_00000010;
- if (this_00 != (TPlayer *)0x0) {
- if ((this_00->super_TCreature).Type == PLAYER) {
- TPlayer::CheckState(this_00);
- this_00 = (TPlayer *)(this->super_TSkill).Master;
- }
- if (this_00 != (TPlayer *)0x0) {
- pTVar1 = GetCreature((this_00->super_TCreature).ID);
- if (pTVar1 == (TCreature *)0x0) {
- return true;
- }
- AnnounceChangedCreature((this_00->super_TCreature).ID,3);
- return true;
- }
- }
- error("TSkillIllusion::SetTimer: GetMaster liefert NULL zurueck!\n");
- return false;
-}
-
-
-
-// DWARF original prototype: void Event(TSkillLight * this, int param_1)
-
-void __thiscall TSkillLight::Event(TSkillLight *this,int param_1)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- if (pTVar1 != (TCreature *)0x0) {
- AnnounceChangedCreature(pTVar1->ID,2);
- return;
- }
- error("TSkillLight::Event: GetMaster liefert NULL zurueck!\n");
- return;
-}
-
-
-
-// DWARF original prototype: bool SetTimer(TSkillLight * this, int cyc, int cou, int maxcou, int
-// param_4)
-
-bool __thiscall TSkillLight::SetTimer(TSkillLight *this)
-
-{
- TCreature *pTVar1;
- TPlayer *this_00;
- int in_stack_00000008;
- int in_stack_0000000c;
- int in_stack_00000010;
-
- this_00 = (TPlayer *)(this->super_TSkill).Master;
- (this->super_TSkill).Cycle = in_stack_00000008;
- (this->super_TSkill).Count = in_stack_0000000c;
- (this->super_TSkill).MaxCount = in_stack_00000010;
- if (this_00 != (TPlayer *)0x0) {
- if ((this_00->super_TCreature).Type == PLAYER) {
- TPlayer::CheckState(this_00);
- this_00 = (TPlayer *)(this->super_TSkill).Master;
- }
- if (this_00 != (TPlayer *)0x0) {
- pTVar1 = GetCreature((this_00->super_TCreature).ID);
- if (pTVar1 == (TCreature *)0x0) {
- return true;
- }
- AnnounceChangedCreature((this_00->super_TCreature).ID,2);
- return true;
- }
- }
- error("TSkillLight::SetTimer: GetMaster liefert NULL zurueck!\n");
- return false;
-}
-
-
-
-// DWARF original prototype: void Set(TSkillHitpoints * this, int a)
-
-void __thiscall TSkillHitpoints::Set(TSkillHitpoints *this,int a)
-
-{
- TCreature *pTVar1;
- int iVar2;
-
- pTVar1 = (this->super_TSkillAdd).super_TSkill.Master;
- if (((pTVar1 != (TCreature *)0x0) && (pTVar1->IsDead != false)) && (0 < a)) {
- error(&DAT_08108140);
- return;
- }
- (this->super_TSkillAdd).super_TSkill.Act = a;
- iVar2 = (this->super_TSkillAdd).super_TSkill.Max;
- if (iVar2 < a) {
- (this->super_TSkillAdd).super_TSkill.Act = iVar2;
- }
- if (pTVar1 != (TCreature *)0x0) {
- if (pTVar1->Type == PLAYER) {
- SendPlayerData(pTVar1->Connection);
- }
- AnnounceChangedCreature(pTVar1->ID,1);
- return;
- }
- return;
-}
-
-
-
-// DWARF original prototype: void Set(TSkillMana * this, int a)
-
-void __thiscall TSkillMana::Set(TSkillMana *this,int a)
-
-{
- int iVar1;
- TCreature *pTVar2;
-
- iVar1 = (this->super_TSkillAdd).super_TSkill.Max;
- (this->super_TSkillAdd).super_TSkill.Act = a;
- if (iVar1 < a) {
- (this->super_TSkillAdd).super_TSkill.Act = iVar1;
- }
- pTVar2 = (this->super_TSkillAdd).super_TSkill.Master;
- if ((pTVar2 != (TCreature *)0x0) && (pTVar2->Type == PLAYER)) {
- SendPlayerData(pTVar2->Connection);
- return;
- }
- return;
-}
-
-
-
-// DWARF original prototype: void Set(TSkillSoulpoints * this, int a)
-
-void __thiscall TSkillSoulpoints::Set(TSkillSoulpoints *this,int a)
-
-{
- int iVar1;
- TCreature *pTVar2;
-
- iVar1 = (this->super_TSkillAdd).super_TSkill.Max;
- (this->super_TSkillAdd).super_TSkill.Act = a;
- if (iVar1 < a) {
- (this->super_TSkillAdd).super_TSkill.Act = iVar1;
- }
- pTVar2 = (this->super_TSkillAdd).super_TSkill.Master;
- if ((pTVar2 != (TCreature *)0x0) && (pTVar2->Type == PLAYER)) {
- SendPlayerData(pTVar2->Connection);
- return;
- }
- return;
-}
-
-
-
-// DWARF original prototype: void Event(TSkillSoulpoints * this, int param_1)
-
-void __thiscall TSkillSoulpoints::Event(TSkillSoulpoints *this,int param_1)
-
-{
- TCreature *pTVar1;
- TSkill *pTVar2;
-
- pTVar1 = (this->super_TSkillAdd).super_TSkill.Master;
- if (pTVar1 != (TCreature *)0x0) {
- if (pTVar1->IsDead == false) {
- pTVar2 = (pTVar1->super_TSkillBase).Skills[0x16];
- (*pTVar2->_vptr_TSkill[2])(pTVar2,pTVar2->Act + 1);
- if (pTVar2->Max < pTVar2->Act) {
- pTVar2->Act = pTVar2->Max;
- }
- }
- return;
- }
- error("TSkillSoulpoints::Event: GetMaster liefert NULL zurueck!\n");
- return;
-}
-
-
-
-// DWARF original prototype: bool SetTimer(TSkillGoStrength * this, int cyc, int cou, int maxcou,
-// int param_4)
-
-bool __thiscall TSkillGoStrength::SetTimer(TSkillGoStrength *this)
-
-{
- ushort uVar1;
- TPlayer *this_00;
- int in_stack_00000008;
- int in_stack_0000000c;
- int in_stack_00000010;
-
- (this->super_TSkillAdd).super_TSkill.Count = in_stack_0000000c;
- (this->super_TSkillAdd).super_TSkill.Cycle = in_stack_00000008;
- (this->super_TSkillAdd).super_TSkill.MaxCount = in_stack_00000010;
- this_00 = (TPlayer *)(this->super_TSkillAdd).super_TSkill.Master;
- if ((this_00 != (TPlayer *)0x0) && ((this_00->super_TCreature).Type == PLAYER)) {
- TPlayer::CheckState(this_00);
- this_00 = (TPlayer *)(this->super_TSkillAdd).super_TSkill.Master;
- }
- if ((in_stack_00000008 == 0) &&
- (uVar1 = (this->super_TSkillAdd).super_TSkill.SkNr,
- (this->super_TSkillAdd).super_TSkill.MDAct = 0, uVar1 == 4)) {
- if (this_00 == (TPlayer *)0x0) goto LAB_080ca268;
- if ((this_00->super_TCreature).Type == PLAYER) {
- TPlayer::CheckState(this_00);
- this_00 = (TPlayer *)(this->super_TSkillAdd).super_TSkill.Master;
- }
- }
- if (this_00 != (TPlayer *)0x0) {
- AnnounceChangedCreature((this_00->super_TCreature).ID,4);
- return true;
- }
-LAB_080ca268:
- error("TSkillGoStrength::SetTimer: GetMaster liefert NULL zurueck!\n");
- return false;
-}
-
-
-
-// DWARF original prototype: void Event(TSkillGoStrength * this, int param_1)
-
-void __thiscall TSkillGoStrength::Event(TSkillGoStrength *this,int param_1)
-
-{
- ushort uVar1;
- TPlayer *this_00;
- TCreature *cr;
-
- if ((this->super_TSkillAdd).super_TSkill.Cycle != 0) {
- return;
- }
- this_00 = (TPlayer *)(this->super_TSkillAdd).super_TSkill.Master;
- if (this_00 != (TPlayer *)0x0) {
- uVar1 = (this->super_TSkillAdd).super_TSkill.SkNr;
- (this->super_TSkillAdd).super_TSkill.MDAct = 0;
- if ((uVar1 == 4) && ((this_00->super_TCreature).Type == PLAYER)) {
- TPlayer::CheckState(this_00);
- }
- AnnounceChangedCreature((this_00->super_TCreature).ID,4);
- return;
- }
- error("TSkillGoStrength::Event: GetMaster liefert NULL zurueck!\n");
- return;
-}
-
-
-
-// DWARF original prototype: void Set(TSkillCarryStrength * this, int a)
-
-void __thiscall TSkillCarryStrength::Set(TSkillCarryStrength *this,int a)
-
-{
- int iVar1;
- TCreature *pTVar2;
-
- iVar1 = (this->super_TSkillAdd).super_TSkill.Max;
- (this->super_TSkillAdd).super_TSkill.Act = a;
- if (iVar1 < a) {
- (this->super_TSkillAdd).super_TSkill.Act = iVar1;
- }
- pTVar2 = (this->super_TSkillAdd).super_TSkill.Master;
- if ((pTVar2 != (TCreature *)0x0) && (pTVar2->Type == PLAYER)) {
- SendPlayerData(pTVar2->Connection);
- return;
- }
- return;
-}
-
-
-
// WARNING: Unknown calling convention -- yet parameter storage is locked
void InitCrskill(void)
@@ -92174,590 +76251,6 @@ void _GLOBAL__I__Z14GetSkillByNamePc(void)
return;
}
-
-
-// DWARF original prototype: void ~TSkillLevel(TSkillLevel * this, int __in_chrg)
-
-void __thiscall TSkillLevel::~TSkillLevel(TSkillLevel *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillLevel(TSkillLevel * this, int __in_chrg)
-
-void __thiscall TSkillLevel::~TSkillLevel(TSkillLevel *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillProbe(TSkillProbe * this, int __in_chrg)
-
-void __thiscall TSkillProbe::~TSkillProbe(TSkillProbe *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillProbe(TSkillProbe * this, int __in_chrg)
-
-void __thiscall TSkillProbe::~TSkillProbe(TSkillProbe *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillPoison(TSkillPoison * this, int __in_chrg)
-
-void __thiscall TSkillPoison::~TSkillPoison(TSkillPoison *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillPoison(TSkillPoison * this, int __in_chrg)
-
-void __thiscall TSkillPoison::~TSkillPoison(TSkillPoison *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillBurning(TSkillBurning * this, int __in_chrg)
-
-void __thiscall TSkillBurning::~TSkillBurning(TSkillBurning *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillBurning(TSkillBurning * this, int __in_chrg)
-
-void __thiscall TSkillBurning::~TSkillBurning(TSkillBurning *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillEnergy(TSkillEnergy * this, int __in_chrg)
-
-void __thiscall TSkillEnergy::~TSkillEnergy(TSkillEnergy *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillEnergy(TSkillEnergy * this, int __in_chrg)
-
-void __thiscall TSkillEnergy::~TSkillEnergy(TSkillEnergy *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillFed(TSkillFed * this, int __in_chrg)
-
-void __thiscall TSkillFed::~TSkillFed(TSkillFed *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillFed(TSkillFed * this, int __in_chrg)
-
-void __thiscall TSkillFed::~TSkillFed(TSkillFed *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillIllusion(TSkillIllusion * this, int __in_chrg)
-
-void __thiscall TSkillIllusion::~TSkillIllusion(TSkillIllusion *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillIllusion(TSkillIllusion * this, int __in_chrg)
-
-void __thiscall TSkillIllusion::~TSkillIllusion(TSkillIllusion *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillLight(TSkillLight * this, int __in_chrg)
-
-void __thiscall TSkillLight::~TSkillLight(TSkillLight *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillLight(TSkillLight * this, int __in_chrg)
-
-void __thiscall TSkillLight::~TSkillLight(TSkillLight *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillHitpoints(TSkillHitpoints * this, int __in_chrg)
-
-void __thiscall TSkillHitpoints::~TSkillHitpoints(TSkillHitpoints *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkillAdd).super_TSkill.Master;
- (this->super_TSkillAdd).super_TSkill._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkillAdd).super_TSkill.SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillHitpoints(TSkillHitpoints * this, int __in_chrg)
-
-void __thiscall TSkillHitpoints::~TSkillHitpoints(TSkillHitpoints *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkillAdd).super_TSkill.Master;
- (this->super_TSkillAdd).super_TSkill._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkillAdd).super_TSkill.SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillMana(TSkillMana * this, int __in_chrg)
-
-void __thiscall TSkillMana::~TSkillMana(TSkillMana *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkillAdd).super_TSkill.Master;
- (this->super_TSkillAdd).super_TSkill._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkillAdd).super_TSkill.SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillMana(TSkillMana * this, int __in_chrg)
-
-void __thiscall TSkillMana::~TSkillMana(TSkillMana *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkillAdd).super_TSkill.Master;
- (this->super_TSkillAdd).super_TSkill._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkillAdd).super_TSkill.SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillSoulpoints(TSkillSoulpoints * this, int __in_chrg)
-
-void __thiscall TSkillSoulpoints::~TSkillSoulpoints(TSkillSoulpoints *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkillAdd).super_TSkill.Master;
- (this->super_TSkillAdd).super_TSkill._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkillAdd).super_TSkill.SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillSoulpoints(TSkillSoulpoints * this, int __in_chrg)
-
-void __thiscall TSkillSoulpoints::~TSkillSoulpoints(TSkillSoulpoints *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkillAdd).super_TSkill.Master;
- (this->super_TSkillAdd).super_TSkill._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkillAdd).super_TSkill.SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillGoStrength(TSkillGoStrength * this, int __in_chrg)
-
-void __thiscall TSkillGoStrength::~TSkillGoStrength(TSkillGoStrength *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkillAdd).super_TSkill.Master;
- (this->super_TSkillAdd).super_TSkill._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkillAdd).super_TSkill.SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillGoStrength(TSkillGoStrength * this, int __in_chrg)
-
-void __thiscall TSkillGoStrength::~TSkillGoStrength(TSkillGoStrength *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkillAdd).super_TSkill.Master;
- (this->super_TSkillAdd).super_TSkill._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkillAdd).super_TSkill.SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillCarryStrength(TSkillCarryStrength * this, int __in_chrg)
-
-void __thiscall TSkillCarryStrength::~TSkillCarryStrength(TSkillCarryStrength *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkillAdd).super_TSkill.Master;
- (this->super_TSkillAdd).super_TSkill._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkillAdd).super_TSkill.SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillCarryStrength(TSkillCarryStrength * this, int __in_chrg)
-
-void __thiscall TSkillCarryStrength::~TSkillCarryStrength(TSkillCarryStrength *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkillAdd).super_TSkill.Master;
- (this->super_TSkillAdd).super_TSkill._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkillAdd).super_TSkill.SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void Increase(TSkill * this, int param_1)
-
-void __thiscall TSkill::Increase(TSkill *this,int param_1)
-
-{
- return;
-}
-
-
-
-// DWARF original prototype: void Decrease(TSkill * this, int param_1)
-
-void __thiscall TSkill::Decrease(TSkill *this,int param_1)
-
-{
- return;
-}
-
-
-
-// DWARF original prototype: int GetExpForLevel(TSkill * this, int param_1)
-
-int __thiscall TSkill::GetExpForLevel(TSkill *this,int param_1)
-
-{
- return 0;
-}
-
-
-
-// DWARF original prototype: void Advance(TSkill * this, int param_1)
-
-void __thiscall TSkill::Advance(TSkill *this,int param_1)
-
-{
- return;
-}
-
-
-
-// DWARF original prototype: void ChangeSkill(TSkill * this, int param_1, int param_2)
-
-void __thiscall TSkill::ChangeSkill(TSkill *this,int param_1,int param_2)
-
-{
- return;
-}
-
-
-
-// DWARF original prototype: int ProbeValue(TSkill * this, int param_1, bool param_2)
-
-int __thiscall TSkill::ProbeValue(TSkill *this,int param_1,bool param_2)
-
-{
- return 0;
-}
-
-
-
-// DWARF original prototype: bool Probe(TSkill * this, int param_1, int param_2, bool param_3)
-
-bool __thiscall TSkill::Probe(TSkill *this,int param_1,int param_2,bool param_3)
-
-{
- return false;
-}
-
-
-
-// DWARF original prototype: int TimerValue(TSkill * this)
-
-int __thiscall TSkill::TimerValue(TSkill *this)
-
-{
- return this->Cycle;
-}
-
-
-
-// DWARF original prototype: void ~TSkillAdd(TSkillAdd * this, int __in_chrg)
-
-void __thiscall TSkillAdd::~TSkillAdd(TSkillAdd *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- operator_delete(this);
- return;
-}
-
-
-
-// DWARF original prototype: void ~TSkillAdd(TSkillAdd * this, int __in_chrg)
-
-void __thiscall TSkillAdd::~TSkillAdd(TSkillAdd *this,int __in_chrg)
-
-{
- TCreature *pTVar1;
-
- pTVar1 = (this->super_TSkill).Master;
- (this->super_TSkill)._vptr_TSkill = (_func_int_varargs **)&PTR__TSkill_081282c8;
- if (pTVar1 != (TCreature *)0x0) {
- TSkillBase::DelTimer(&pTVar1->super_TSkillBase,(this->super_TSkill).SkNr);
- }
- return;
-}
-
-
-
-// DWARF original prototype: int TimerValue(TSkillSoulpoints * this)
-
-int __thiscall TSkillSoulpoints::TimerValue(TSkillSoulpoints *this)
-
-{
- return ((this->super_TSkillAdd).super_TSkill.Cycle + -1) *
- (this->super_TSkillAdd).super_TSkill.MaxCount +
- (this->super_TSkillAdd).super_TSkill.Count;
-}
-
-
-
double __cmath_power<double>(double __x,uint __n)
{
diff --git a/reference/types.hh b/reference/types.hh
index 5b493d2..82d001b 100644
--- a/reference/types.hh
+++ b/reference/types.hh
@@ -353,18 +353,6 @@ struct TToDoEntry {
};
};
-// TODO(fusion): The storage per creature of TToDoEntry's?
-struct vector<TToDoEntry> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- TToDoEntry init;
- TToDoEntry *entry;
-};
-
struct TXTEASymmetricKey {
int (**_vptr.TXTEASymmetricKey)(...); // VTABLE?
uint8 m_SymmetricKey[16];
@@ -497,26 +485,10 @@ struct list<storeunit<TPlayerIndexInternalNode,_100>_> { // Original name: list<
struct listnode<storeunit<TPlayerIndexInternalNode,_100>_> *lastNode;
};
-struct priority_queue_entry<long_unsigned_int,long_unsigned_int> { // Original name: priority_queue_entry<long unsigned int,long unsigned int>
- ulong Key;
- ulong Data;
-};
-
struct THouseGuest {
char Name[60];
};
-struct vector<THouseGuest> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct THouseGuest init;
- struct THouseGuest *entry;
-};
-
struct THouse {
ushort ID;
char Name[50];
@@ -543,17 +515,6 @@ struct THouse {
int Help;
};
-struct vector<THouse> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct THouse init;
- struct THouse *entry;
-};
-
struct matrix<long_unsigned_int> { // Original name: matrix<long unsigned int>
int xmin;
int ymin;
@@ -586,43 +547,16 @@ struct listnode<storeunit<TWaitinglistEntry,_100>_> { // Original name: listnode
struct storeunit<TWaitinglistEntry,100> data;
};
-struct vector<TCreature*> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TCreature *init;
- struct TCreature **entry;
-};
-
struct ObjectType {
int TypeID;
};
-struct priority_queue_entry<long_unsigned_int,TAttackWave*> { // Original name: priority_queue_entry<long unsigned int,TAttackWave*>
- ulong Key;
- struct TAttackWave *Data;
-};
-
struct TItemData {
struct ObjectType Type;
int Maximum;
int Probability;
};
-struct vector<TItemData> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TItemData init;
- struct TItemData *entry;
-};
-
struct TAttackWave {
int x;
int y;
@@ -648,17 +582,6 @@ struct TSkillData {
int AddLevel;
};
-struct vector<TSkillData> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TSkillData init;
- struct TSkillData *entry;
-};
-
struct store<TWaitinglistEntry,100> {
struct list<storeunit<TWaitinglistEntry,_100>_> *Units;
union storeitem<TWaitinglistEntry> *firstFreeItem;
@@ -688,18 +611,6 @@ struct listIterator<TDynamicStringTableBlock> {
struct listnode<TDynamicStringTableBlock> *actNode;
};
-
-struct vector<TNonplayer*> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TNonplayer *init;
- struct TNonplayer **entry;
-};
-
struct TNonplayer {
struct TCreature super_TCreature; // INHERITANCE?
enum STATE State;
@@ -714,18 +625,6 @@ struct TReportedStatement {
char Text[256];
};
-struct vector<TReportedStatement> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TReportedStatement init;
- struct TReportedStatement *entry;
-};
-
-
struct TListener {
ulong StatementID;
ulong CharacterID;
@@ -745,17 +644,6 @@ struct TDelayedMail {
int PacketSize;
};
-struct vector<TDelayedMail> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TDelayedMail init;
- struct TDelayedMail *entry;
-};
-
struct list<storeunit<TPlayerIndexLeafNode,_100>_> { // Original name: list<storeunit<TPlayerIndexLeafNode, 100> >
struct listnode<storeunit<TPlayerIndexLeafNode,_100>_> *firstNode;
struct listnode<storeunit<TPlayerIndexLeafNode,_100>_> *lastNode;
@@ -776,17 +664,6 @@ struct listIterator<storeunit<TWaitinglistEntry,_100>_> { // Original name: list
struct listnode<storeunit<TWaitinglistEntry,_100>_> *actNode;
};
-struct vector<priority_queue_entry<long_unsigned_int,_long_unsigned_int>_> { // Original name: vector<priority_queue_entry<long unsigned int, long unsigned int> >
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct priority_queue_entry<long_unsigned_int,long_unsigned_int> init;
- struct priority_queue_entry<long_unsigned_int,long_unsigned_int> *entry;
-};
-
struct TSpellData {
enum SpellShapeType Shape;
int ShapeParam1;
@@ -801,17 +678,6 @@ struct TSpellData {
int Delay;
};
-struct vector<TSpellData> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TSpellData init;
- struct TSpellData *entry;
-};
-
struct storeunit<TNode,256> {
union storeitem<TNode> item[256];
};
@@ -847,17 +713,6 @@ struct TCronEntry {
int Next;
};
-struct vector<TCronEntry> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TCronEntry init;
- struct TCronEntry *entry;
-};
-
struct TMonsterhome {
int Race;
int x;
@@ -870,17 +725,6 @@ struct TMonsterhome {
int Timer;
};
-struct vector<TMonsterhome> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TMonsterhome init;
- struct TMonsterhome *entry;
-};
-
struct TStaticStringTableBlock {
int TotalTextLength;
char Text[65536];
@@ -897,17 +741,6 @@ struct list<TStaticStringTableBlock> {
struct listnode<TStaticStringTableBlock> *lastNode;
};
-struct vector<priority_queue_entry<long_unsigned_int,_TAttackWave*>_> { // Original name: vector<priority_queue_entry<long unsigned int, TAttackWave*> >
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct priority_queue_entry<long_unsigned_int,TAttackWave*> init;
- struct priority_queue_entry<long_unsigned_int,TAttackWave*> *entry;
-};
-
struct listIterator<TStaticStringTableBlock> {
struct listnode<TStaticStringTableBlock> *actNode;
};
@@ -925,17 +758,6 @@ struct TObjectType {
int AttributeOffsets[18];
};
-struct vector<TObjectType> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TObjectType init;
- struct TObjectType *entry;
-};
-
struct TCondition {
int Type;
ulong Text;
@@ -944,22 +766,6 @@ struct TCondition {
int Number;
};
-struct vector<TCondition> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TCondition init;
- struct TCondition *entry;
-};
-
-struct priority_queue<long_unsigned_int,TAttackWave*> { // Original name: priority_queue<long unsigned int,TAttackWave*>
- struct vector<priority_queue_entry<long_unsigned_int,_TAttackWave*>_> *Entry;
- int Entries;
-};
-
struct matrix3d<TSector*> {
int xmin;
int ymin;
@@ -977,17 +783,6 @@ struct TSector {
uchar MapFlags;
};
-struct vector<long_unsigned_int> { // Original name: vector<long unsigned int>
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- ulong init;
- ulong *entry;
-};
-
struct TChannel {
ulong Moderator;
char ModeratorName[30];
@@ -997,34 +792,12 @@ struct TChannel {
int InvitedPlayers;
};
-struct vector<TChannel> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TChannel init;
- struct TChannel *entry;
-};
-
struct THelpDepot {
ulong CharacterID;
struct Object Box;
int DepotNr;
};
-struct vector<THelpDepot> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct THelpDepot init;
- struct THelpDepot *entry;
-};
-
struct matrix<int> {
int xmin;
int ymin;
@@ -1097,17 +870,6 @@ struct TPlayerData {
int NumberOfMutings;
};
-struct vector<TPlayer*> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TPlayer *init;
- struct TPlayer **entry;
-};
-
struct TPlayer {
struct TCreature super_TCreature;
ulong AccountID;
@@ -1156,17 +918,6 @@ struct TParty {
int InvitedPlayers;
};
-struct vector<TParty> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TParty init;
- struct TParty *entry;
-};
-
struct listIterator<storeunit<TNode,_256>_> { // Original name: listIterator<storeunit<TNode, 256> >
struct listnode<storeunit<TNode,_256>_> *actNode;
};
@@ -1178,17 +929,6 @@ struct TMark {
int z;
};
-struct vector<TMark> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TMark init;
- struct TMark *entry;
-};
-
struct store<TNode,256> {
struct list<storeunit<TNode,_256>_> *Units;
union storeitem<TNode> *firstFreeItem;
@@ -1199,17 +939,6 @@ struct TMoveUseAction {
int Parameters[5];
};
-struct vector<TMoveUseAction> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TMoveUseAction init;
- struct TMoveUseAction *entry;
-};
-
struct list<TDynamicStringTableBlock> {
struct listnode<TDynamicStringTableBlock> *firstNode;
struct listnode<TDynamicStringTableBlock> *lastNode;
@@ -1222,34 +951,12 @@ struct TMoveUseRule {
int LastAction;
};
-struct vector<TMoveUseRule> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TMoveUseRule init;
- struct TMoveUseRule *entry;
-};
-
struct TMoveUseCondition {
enum ModifierType Modifier;
enum ConditionType Condition;
int Parameters[5];
};
-struct vector<TMoveUseCondition> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TMoveUseCondition init;
- struct TMoveUseCondition *entry;
-};
-
struct TAction {
int Type;
ulong Text;
@@ -1259,17 +966,6 @@ struct TAction {
struct TNode *Expression3;
};
-struct vector<TAction> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TAction init;
- struct TAction *entry;
-};
-
struct TBehaviour {
struct vector<TCondition> Condition;
struct vector<TAction> Action;
@@ -1277,39 +973,12 @@ struct TBehaviour {
int Actions;
};
-struct vector<TBehaviour> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TBehaviour init;
- struct TBehaviour *entry;
-};
-
struct THouseArea {
ushort ID;
int SQMPrice;
int DepotNr;
};
-struct vector<THouseArea> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct THouseArea init;
- struct THouseArea *entry;
-};
-
-struct priority_queue<long_unsigned_int,long_unsigned_int> { // Original name: priority_queue<long unsigned int,long unsigned int>
- struct vector<priority_queue_entry<long_unsigned_int,_long_unsigned_int>_> *Entry;
- int Entries;
-};
-
struct listIterator<storeunit<TPlayerIndexInternalNode,_100>_> { // Original name: listIterator<storeunit<TPlayerIndexInternalNode, 100> >
struct listnode<storeunit<TPlayerIndexInternalNode,_100>_> *actNode;
};
@@ -1320,17 +989,6 @@ struct TDepotInfo {
int Size;
};
-struct vector<TDepotInfo> {
- int min;
- int max;
- int start;
- int space;
- int block;
- bool initialized;
- struct TDepotInfo init;
- struct TDepotInfo *entry;
-};
-
struct fifoIterator<TStatement> {
struct fifo<TStatement> *Fifo;
int Position;
diff --git a/src/skill.cc b/src/skill.cc
index 909c787..629d935 100644
--- a/src/skill.cc
+++ b/src/skill.cc
@@ -66,7 +66,7 @@ void TSkill::Change(int Amount){
void TSkill::SetMDAct(int MDAct){
this->MDAct = MDAct;
- if(this->SkNr == 4 && this->Master && this->Master->Type == PLAYER){
+ if(this->SkNr == SKILL_GO_STRENGTH && this->Master && this->Master->Type == PLAYER){
// TODO(fusion): Same as `TSkill::Process`.
((TPlayer*)this->Master)->CheckState();
}