Changeset 260 for trunk/src/game/Map.h

Show
Ignore:
Timestamp:
11/21/08 08:47:55 (17 years ago)
Author:
yumileroy
Message:

*DB script table stucture change. Source Mangos. Also fix some bugs. Hopefully this rev will make program usable again.

Original author: megamage
Date: 2008-11-20 10:43:20-06:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Map.h

    r257 r260  
    106106    float startLocZ; 
    107107    float startLocO; 
    108     char const* script; 
     108    uint32 script_id; 
    109109}; 
    110110 
     
    344344        void CreateInstanceData(bool load); 
    345345        bool Reset(uint8 method); 
    346         std::string GetScript() { return i_script; } 
     346        uint32 GetScriptId() { return i_script_id; } 
    347347        InstanceData* GetInstanceData() { return i_data; } 
    348348        void PermBindAllPlayers(Player *player); 
     
    356356        bool m_unloadWhenEmpty; 
    357357        InstanceData* i_data; 
    358         std::string i_script; 
    359         // only online players that are inside the instance currently 
    360         // TODO ? - use the grid instead to access the players 
    361         PlayerList i_Players; 
     358        uint32 i_script_id; 
    362359}; 
    363360