MQ2 EQADDR_* Replacement list

General announcements relating to the modularized MacroQuest2 system.

Moderator: MacroQuest Developers

Lax
We're not worthy!
We're not worthy!
Posts: 3524
Joined: Thu Oct 17, 2002 1:01 pm
Location: ISBoxer
Contact:

MQ2 EQADDR_* Replacement list

Post by Lax » Wed Nov 19, 2003 9:26 pm

This will be going in the API documentation but until that's distributed, here you go.

All of these have been replaced using the actual classes. You can cast directly to the old structs using the replacements. Most of these are double pointers, denoted by ppWhatever. pWhatever is automatically defined as (*ppWhatever). In other words, if you previously used (!EQADDR_TARGET || !*EQADDR_TARGET), this is now (!ppTarget || !pTarget). Then, to cast to PSPAWNINFO from pTarget do this: ((PSPAWNINFO)pTarget)->whatever.

Here is a direct comparison list. Note that some old offsets were duplicates of others and/or incorrectly named
EQADDR_ACTIVECORPSE - unused
EQADDR_ACTIVEMERCHANT - EQPlayer **ppActiveMerchant - EQPlayer *pActiveMerchant
EQADDR_CASTINGWND - CCastingWnd **ppCastingWnd - CCastingWnd *pCastingWnd
EQADDR_CHAR - EQPlayer **ppCharSpawn - EQPlayer *pCharSpawn
EQADDR_CHAR_INFO - EQ_Character **ppCharData - EQ_Character *pCharData
EQADDR_CLASSBANKWND - CBankWnd **ppBankWnd - CBankWnd *pBankWnd
EQADDR_CLASSCASTSPELLWND - CCastSpellWnd **ppCastSpellWnd - CCastSpellWnd *pCastSpellWnd
EQADDR_CLASSCONTAINERMGR - CContainerMgr **ppContainerMgr - CContainerMgr *pContainerMgr
EQADDR_CLASSDISPLAYOBJECT - CDisplay **ppDisplay - CDisplay *pDisplay
EQADDR_CLASSGIVEWND - CGiveWnd **ppGiveWnd - CGiveWnd *pGiveWnd
EQADDR_CLASSHOTBUTTONWND - CHotButtonWnd **ppHotButtonWnd - CHotButtonWnd *pHotButtonWnd
EQADDR_CLASSMAPWND - CMapViewWnd **ppMapViewWnd - CMapViewWnd *pMapViewWnd
EQADDR_CLASSMERCHWND - CMerchantWnd **ppMerchantWnd - CMerchantWnd *pMerchantWnd
EQADDR_CLASSNOTESWND - CNoteWnd **ppNoteWnd - CNoteWnd *pNoteWnd
EQADDR_CLASSTEXTUREANIMATION - CInvSlot **ppSelectedItem - CInvSlot *pSelectedItem
EQADDR_CLSITEMS - CDisplay **ppDisplay - CDisplay *pDisplay
EQADDR_CLSMAINNEWUI - CEverQuest **ppEverQuest - CEverQuest *pEverQuest
EQADDR_CLSSPAWNS - unused
EQADDR_DOORS - EqSwitchManager **ppSwitchMgr - EqSwitchManager *pSwitchMgr
EQADDR_GROUP - EQPlayer **ppGroup - EQPlayer *pGroup
EQADDR_INVENTORYWND - CInventoryWnd **ppInventoryWnd - CInventoryWnd *pInventoryWnd
EQADDR_ITEMS - EQItemList **ppItemList - EQItemList *pItemList
EQADDR_LOOTWND - CLootWnd **ppLootWnd - CLootWnd *pLootWnd
EQADDR_PACKLOCS - unused
EQADDR_SPAWNLIST - EQPlayer **ppSpawnList - EQPlayer *pSpawnList
EQADDR_SPAWNTAIL - EQPlayer **ppSpawnListTail - EQPlayer *pSpawnListTail
EQADDR_SPELLBOOKWND - CSpellBookWnd **ppSpellBookWnd - CSpellBookWnd *pSpellBookWnd
EQADDR_SPELLFAVORITES - SPELLFAVORITE *pSpellSets
EQADDR_SPELLS - SpellManager **ppSpellMgr - SpellManager *pSpellMgr
EQADDR_TARGET - EQPlayer **ppTarget - EQPlayer *pTarget
EQADDR_ZONEINFO - EQZoneInfo *pZoneInfo
EQADDR_ZONELIST - EQWorldData **ppWorldData - EQWorldData *pWorldData
Lax Lacks
Master of MQ2 Disaster
Purveyor of premium, EULA-safe MMORPG Multiboxing Software
* Multiboxing with ISBoxer: Quick Start Video
* EQPlayNice, WinEQ 2.0

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Wed Nov 19, 2003 10:18 pm

Thanks Lax, that will help a bunch.
MQ2: Think of it as Evolution in action.