Crossfire Server, Trunk
|
#include <string>
#include <unordered_map>
#include <set>
#include <vector>
#include <algorithm>
#include <functional>
Go to the source code of this file.
Data Structures | |
class | AssetsCollection< T, Key > |
Functions | |
template<class T , class Key > | |
T * | asset_create (const Key &key) |
template<class T > | |
void | asset_destroy (T *asset) |
T* asset_create | ( | const Key & | key | ) |
Create an asset with the specified key.
key | unique asset key. |
void asset_destroy | ( | T * | asset | ) |
Destroy an asset.
asset | asset to destroy. |
Referenced by AssetsCollection< Animations >::clear().