|
| Palette (NeverhoodEngine *vm) |
|
| Palette (NeverhoodEngine *vm, byte *palette) |
|
| Palette (NeverhoodEngine *vm, const char *filename) |
|
| Palette (NeverhoodEngine *vm, uint32 fileHash) |
|
void | init () |
|
void | usePalette () |
|
void | addPalette (const char *filename, int toIndex, int count, int fromIndex) |
|
void | addPalette (uint32 fileHash, int toIndex, int count, int fromIndex) |
|
void | addBasePalette (uint32 fileHash, int toIndex, int count, int fromIndex) |
|
void | copyPalette (const byte *palette, int toIndex, int count, int fromIndex) |
|
void | copyBasePalette (int toIndex, int count, int fromIndex) |
|
void | startFadeToBlack (int counter) |
|
void | startFadeToWhite (int counter) |
|
void | startFadeToPalette (int counter) |
|
void | fillBaseWhite (int index, int count) |
|
void | fillBaseBlack (int index, int count) |
|
void | copyToBasePalette (byte *palette) |
|
| Entity (NeverhoodEngine *vm, int priority) |
|
virtual void | draw () |
|
void | handleUpdate () |
|
uint32 | receiveMessage (int messageNum, const MessageParam ¶m, Entity *sender) |
|
uint32 | sendMessage (Entity *receiver, int messageNum, const MessageParam ¶m) |
|
uint32 | sendMessage (Entity *receiver, int messageNum, uint32 param) |
|
uint32 | sendPointMessage (Entity *receiver, int messageNum, const NPoint ¶m) |
|
uint32 | sendEntityMessage (Entity *receiver, int messageNum, Entity *param) |
|
uint32 | getGlobalVar (uint32 nameHash) |
|
void | setGlobalVar (uint32 nameHash, uint32 value) |
|
uint32 | getSubVar (uint32 nameHash, uint32 subNameHash) |
|
void | setSubVar (uint32 nameHash, uint32 subNameHash, uint32 value) |
|
void | incGlobalVar (uint32 nameHash, int incrValue) |
|
void | incSubVar (uint32 nameHash, uint32 subNameHash, int incrValue) |
|
int | getPriority () const |
|
bool | hasMessageHandler () const |
|
|
void | update () |
|
void | fadeColor (byte *rgb, byte toR, byte toG, byte toB) |
|
int | calculateFadeStep (int counter) |
|
SoundResource * | getSoundResource (uint index) |
|
void | loadSound (uint index, uint32 fileHash) |
|
void | playSound (uint index, uint32 fileHash=0) |
|
void | stopSound (uint index) |
|
bool | isSoundPlaying (uint index) |
|
void | setSoundVolume (uint index, int volume) |
|
void | setSoundPan (uint index, int pan) |
|
void | deleteSoundResources () |
|