mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 04:43:26 +00:00
HOPKINS: Remove an unused Catalog mode
This commit is contained in:
parent
1952a47787
commit
75b5753b61
@ -64,7 +64,7 @@ EventsManager::~EventsManager() {
|
||||
}
|
||||
|
||||
void EventsManager::clearAll() {
|
||||
_objectBuf = _vm->_globals->freeMemory(_objectBuf);
|
||||
_vm->_globals->freeMemory(_objectBuf);
|
||||
_objectBuf = _vm->_globals->allocMemory(2500);
|
||||
}
|
||||
|
||||
|
@ -126,14 +126,6 @@ byte *FileManager::searchCat(const Common::String &file, CatMode mode) {
|
||||
secondaryFilename = "RES_LIN.RES";
|
||||
break;
|
||||
|
||||
case RES_ANI:
|
||||
if (!f.exists("RES_ANI.CAT"))
|
||||
return g_PTRNUL;
|
||||
|
||||
ptr = loadFile("RES_ANI.CAT");
|
||||
secondaryFilename = "RES_ANI.RES";
|
||||
break;
|
||||
|
||||
case RES_PER:
|
||||
if (!f.exists("RES_PER.CAT"))
|
||||
return g_PTRNUL;
|
||||
|
@ -32,10 +32,9 @@ namespace Hopkins {
|
||||
|
||||
class HopkinsEngine;
|
||||
|
||||
// CHECKME: RES_ANI looks unused
|
||||
enum CatMode { RES_INI = 1, RES_REP = 2, RES_LIN = 3, RES_ANI = 4,
|
||||
RES_PER = 5, RES_PIC = 6, RES_SAN = 7, RES_SLI = 8,
|
||||
RES_VOI = 9 };
|
||||
// RES_ANI = 4 has been removed because it's not used
|
||||
enum CatMode { RES_INI = 1, RES_REP = 2, RES_LIN = 3, RES_PER = 5,
|
||||
RES_PIC = 6, RES_SAN = 7, RES_SLI = 8, RES_VOI = 9 };
|
||||
|
||||
class FileManager {
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user