From 1378f2c7ddbdc0e5f3b1b9adc68b6e53eb3e5bfd Mon Sep 17 00:00:00 2001 From: fusion32 Date: Sun, 18 May 2025 18:03:45 -0300 Subject: remove code from reference files to get an idea of the progress --- reference/types.hh | 342 ----------------------------------------------------- 1 file changed, 342 deletions(-) (limited to 'reference/types.hh') 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 { - 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_> { // Original name: list< struct listnode_> *lastNode; }; -struct priority_queue_entry { // Original name: priority_queue_entry - ulong Key; - ulong Data; -}; - struct THouseGuest { char Name[60]; }; -struct vector { - 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 { - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct THouse init; - struct THouse *entry; -}; - struct matrix { // Original name: matrix int xmin; int ymin; @@ -586,43 +547,16 @@ struct listnode_> { // Original name: listnode struct storeunit data; }; -struct vector { - 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 { // Original name: priority_queue_entry - ulong Key; - struct TAttackWave *Data; -}; - struct TItemData { struct ObjectType Type; int Maximum; int Probability; }; -struct vector { - 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 { - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct TSkillData init; - struct TSkillData *entry; -}; - struct store { struct list_> *Units; union storeitem *firstFreeItem; @@ -688,18 +611,6 @@ struct listIterator { struct listnode *actNode; }; - -struct vector { - 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 { - 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 { - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct TDelayedMail init; - struct TDelayedMail *entry; -}; - struct list_> { // Original name: list > struct listnode_> *firstNode; struct listnode_> *lastNode; @@ -776,17 +664,6 @@ struct listIterator_> { // Original name: list struct listnode_> *actNode; }; -struct vector_> { // Original name: vector > - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct priority_queue_entry init; - struct priority_queue_entry *entry; -}; - struct TSpellData { enum SpellShapeType Shape; int ShapeParam1; @@ -801,17 +678,6 @@ struct TSpellData { int Delay; }; -struct vector { - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct TSpellData init; - struct TSpellData *entry; -}; - struct storeunit { union storeitem item[256]; }; @@ -847,17 +713,6 @@ struct TCronEntry { int Next; }; -struct vector { - 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 { - 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 { struct listnode *lastNode; }; -struct vector_> { // Original name: vector > - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct priority_queue_entry init; - struct priority_queue_entry *entry; -}; - struct listIterator { struct listnode *actNode; }; @@ -925,17 +758,6 @@ struct TObjectType { int AttributeOffsets[18]; }; -struct vector { - 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 { - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct TCondition init; - struct TCondition *entry; -}; - -struct priority_queue { // Original name: priority_queue - struct vector_> *Entry; - int Entries; -}; - struct matrix3d { int xmin; int ymin; @@ -977,17 +783,6 @@ struct TSector { uchar MapFlags; }; -struct vector { // Original name: vector - 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 { - 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 { - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct THelpDepot init; - struct THelpDepot *entry; -}; - struct matrix { int xmin; int ymin; @@ -1097,17 +870,6 @@ struct TPlayerData { int NumberOfMutings; }; -struct vector { - 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 { - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct TParty init; - struct TParty *entry; -}; - struct listIterator_> { // Original name: listIterator > struct listnode_> *actNode; }; @@ -1178,17 +929,6 @@ struct TMark { int z; }; -struct vector { - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct TMark init; - struct TMark *entry; -}; - struct store { struct list_> *Units; union storeitem *firstFreeItem; @@ -1199,17 +939,6 @@ struct TMoveUseAction { int Parameters[5]; }; -struct vector { - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct TMoveUseAction init; - struct TMoveUseAction *entry; -}; - struct list { struct listnode *firstNode; struct listnode *lastNode; @@ -1222,34 +951,12 @@ struct TMoveUseRule { int LastAction; }; -struct vector { - 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 { - 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 { - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct TAction init; - struct TAction *entry; -}; - struct TBehaviour { struct vector Condition; struct vector Action; @@ -1277,39 +973,12 @@ struct TBehaviour { int Actions; }; -struct vector { - 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 { - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct THouseArea init; - struct THouseArea *entry; -}; - -struct priority_queue { // Original name: priority_queue - struct vector_> *Entry; - int Entries; -}; - struct listIterator_> { // Original name: listIterator > struct listnode_> *actNode; }; @@ -1320,17 +989,6 @@ struct TDepotInfo { int Size; }; -struct vector { - int min; - int max; - int start; - int space; - int block; - bool initialized; - struct TDepotInfo init; - struct TDepotInfo *entry; -}; - struct fifoIterator { struct fifo *Fifo; int Position; -- cgit v1.2.3