Scene change support
This commit is contained in:
@ -14,7 +14,7 @@ namespace Dawn {
|
||||
AssetManager *assetManager;
|
||||
std::string name;
|
||||
uint8_t state = 0x00;
|
||||
bool loaded = false;
|
||||
bool_t loaded = false;
|
||||
Event<> eventLoaded;
|
||||
StateEvent<> event2Loaded;
|
||||
|
||||
|
@ -95,11 +95,11 @@ namespace Dawn {
|
||||
* @return The count of bytes read.
|
||||
*/
|
||||
template<class T>
|
||||
size_t loadBufferedCallback(T *instance, bool (T::*callback)(uint8_t n)) {
|
||||
size_t loadBufferedCallback(T *instance, bool_t (T::*callback)(uint8_t n)) {
|
||||
uint8_t buffer[1024];
|
||||
size_t read, length;
|
||||
int32_t i;
|
||||
bool result;
|
||||
bool_t result;
|
||||
|
||||
assertNotNull(instance);
|
||||
assertNotNull(callback);
|
||||
|
Reference in New Issue
Block a user