diff options
Diffstat (limited to 'engines/cryo/clhnm.cpp')
-rw-r--r-- | engines/cryo/clhnm.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/engines/cryo/clhnm.cpp b/engines/cryo/clhnm.cpp index 1e67001d30..e980341d5d 100644 --- a/engines/cryo/clhnm.cpp +++ b/engines/cryo/clhnm.cpp @@ -31,37 +31,10 @@ static bool use_mono = false; void CLHNM_Done() { } -hnm_t *CLHNM_New(int preload_size) { - hnm_t *hnm = (hnm_t *)malloc(sizeof(*hnm)); - - hnm->_frameNum = 0; - hnm->ff_4 = 0; - hnm->_file = nullptr; - hnm->tmpBuffer[0] = nullptr; - hnm->tmpBuffer[1] = nullptr; - hnm->finalBuffer = nullptr; - hnm->_readBuffer = nullptr; - hnm->ff_896 = 0; - hnm->_totalRead = 0; - for (int i = 0; i < 256; i++) { - hnm->_palette[i].a = 0; - hnm->_palette[i].r = 0; - hnm->_palette[i].g = 0; - hnm->_palette[i].b = 0; - } - - return hnm; -} - void CLHNM_Dispose(hnm_t *hnm) { free(hnm); } - -void CLHNM_SetFile(hnm_t *hnm, file_t *file) { - hnm->_file = file; -} - void CLHNM_GiveTime(hnm_t *hnm) { } |