o Make GAME_GetFileContext() more object-like

o Font::loadFont() now normally survives zero-length fonts as used in demos
o Removed unused SndRes::ITEVOC_Resample()
o Fixed playing of voice #4 on old DOS targets
o Implemented playing voices in VOX (Oki ADPCM) format
o Support of Win32 and Linux demos. There was old-style Win32 demo, which
  is not supported yet, same is with DOS demo.

svn-id: r15814
This commit is contained in:
Eugene Sandulenko 2004-11-15 03:03:48 +00:00
parent 183a11153e
commit 4295a17c23
18 changed files with 292 additions and 154 deletions

View file

@ -177,8 +177,8 @@ Interface::Interface(SagaEngine *vm) : _vm(vm), _initialized(false) {
}
// Load interface module resource file context
result = GAME_GetFileContext(&_interfaceContext, GAME_RESOURCEFILE, 0);
if (result != SUCCESS) {
_interfaceContext = GAME_GetFileContext(GAME_RESOURCEFILE, 0);
if (_interfaceContext == NULL) {
return;
}