spring: develop eed36335 | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
tvo | tvo | develop | 2007-07-05 23:30:21 | develop c7e18d90 |
Changeset | * Refactor std::list<CFeature*> (that was std::set<CFeature*>) to CFeatureSet, like CUnitSet. * Remove MAX_FEATURES define and 3 MB feature->id lookup table since CFeatureSet handles that. * Don't fill freeIDs with 3 MB of (mostly unused) IDs, just generate new ones on the fly. * Delete old LoadSaveHandler code from CFeatureHandler (not needed anymore) * Delete CFeatureHandler::Serialize() function body (not needed anymore) * Add find(int id) methods to CUnitSet, CFeatureSet. * Refactor CFeatureHandler::updateFeatures from a SPRING_HASH_SET<int> to a CFeatureSet. git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@3878 37977431-3df6-0310-b722-df95706aa16b |
|||
mod - rts/ExternalAI/AICallback.cpp | [ Diff ] [ File ] | |||
mod - rts/Lua/LuaSyncedCtrl.cpp | [ Diff ] [ File ] | |||
mod - rts/Lua/LuaSyncedRead.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Misc/Feature.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Misc/FeatureHandler.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Misc/FeatureHandler.h | [ Diff ] [ File ] | |||
add - rts/Sim/Misc/FeatureSet.cpp | [ Diff ] [ File ] | |||
add - rts/Sim/Misc/FeatureSet.h | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/CommandAI/BuilderCAI.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/CommandAI/CommandAI.cpp | [ Diff ] [ File ] | |||
mod - rts/Sim/Units/UnitSet.h | [ Diff ] [ File ] |