aboutsummaryrefslogtreecommitdiff
path: root/reference
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2025-06-05 12:33:58 -0300
committerfusion32 <marcopuzziello@gmail.com>2025-06-05 12:33:58 -0300
commit850fa1c0e128a4fe05ffdbdabc9dad25a7530a3f (patch)
tree7a0664af11f587ba123d77f8c3c90e148b2e0bd9 /reference
parentf080f1e4bc9475500c0b5ef3c559c0e105290137 (diff)
downloadgame-850fa1c0e128a4fe05ffdbdabc9dad25a7530a3f.tar.gz
game-850fa1c0e128a4fe05ffdbdabc9dad25a7530a3f.zip
declare all creature types
Diffstat (limited to 'reference')
-rw-r--r--reference/enums.hh10
-rw-r--r--reference/types.hh56
2 files changed, 1 insertions, 65 deletions
diff --git a/reference/enums.hh b/reference/enums.hh
index ed42c26..7707e73 100644
--- a/reference/enums.hh
+++ b/reference/enums.hh
@@ -1,14 +1,4 @@
-enum STATE: int {
- SLEEPING=0,
- IDLE=1,
- UNDERATTACK=2,
- TALKING=3,
- LEAVING=4,
- ATTACKING=5,
- PANIC=6
-};
-
enum ActionType: int {
ACTION_CREATEONMAP=0,
ACTION_CREATE=1,
diff --git a/reference/types.hh b/reference/types.hh
index c970e35..6840fc3 100644
--- a/reference/types.hh
+++ b/reference/types.hh
@@ -56,13 +56,6 @@ struct TPlayerIndexLeafNode {
struct TPlayerIndexEntry Entry[10];
};
-struct TNode {
- int Type;
- int Data;
- struct TNode *Left;
- struct TNode *Right;
-};
-
struct THouseGuest {
char Name[60];
};
@@ -117,11 +110,6 @@ struct TAttackWave {
struct vector<TItemData> ExtraItem;
};
-struct TNonplayer {
- struct TCreature super_TCreature; // INHERITANCE?
- enum STATE State;
-};
-
struct TReportedStatement {
ulong StatementID;
ulong TimeStamp;
@@ -165,13 +153,7 @@ struct TMonsterhome {
int Timer;
};
-struct TCondition {
- int Type;
- ulong Text;
- struct TNode *Expression;
- int Property;
- int Number;
-};
+
struct TChannel {
ulong Moderator;
@@ -214,22 +196,6 @@ struct TMoveUseCondition {
int Parameters[5];
};
-struct TAction {
- int Type;
- ulong Text;
- int Number;
- struct TNode *Expression;
- struct TNode *Expression2;
- struct TNode *Expression3;
-};
-
-struct TBehaviour {
- struct vector<TCondition> Condition;
- struct vector<TAction> Action;
- int Conditions;
- int Actions;
-};
-
struct THouseArea {
ushort ID;
int SQMPrice;
@@ -366,26 +332,6 @@ struct TReaderThreadReply {
int Size;
};
-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;
-};
-
-struct TBehaviourDatabase {
- struct vector<TBehaviour> Behaviour;
- int Behaviours;
-};
-
struct TQueryManagerConnection {
int BufferSize;
uchar *Buffer;