minor changes in source structure
svn-id: r4949
This commit is contained in:
parent
29811c5fad
commit
ae871cd4a6
6 changed files with 16 additions and 42 deletions
|
@ -21,7 +21,7 @@ SCUMM_OBJS = scumm/actor.o scumm/akos.o scumm/boxes.o scumm/bundle.o \
|
||||||
scumm/object.o scumm/resource.o scumm/resource_v2.o scumm/resource_v3.o \
|
scumm/object.o scumm/resource.o scumm/resource_v2.o scumm/resource_v3.o \
|
||||||
scumm/resource_v4.o scumm/saveload.o scumm/script.o \
|
scumm/resource_v4.o scumm/saveload.o scumm/script.o \
|
||||||
scumm/script_v1.o scumm/script_v2.o scumm/scummvm.o scumm/sound.o \
|
scumm/script_v1.o scumm/script_v2.o scumm/scummvm.o scumm/sound.o \
|
||||||
scumm/string.o scumm/sys.o scumm/vars.o scumm/verbs.o \
|
scumm/string.o scumm/vars.o scumm/verbs.o \
|
||||||
# scumm/insane.o
|
# scumm/insane.o
|
||||||
|
|
||||||
SIMON_OBJS = simon/debug.o simon/items.o simon/midi.o simon/res.o simon/simon.o \
|
SIMON_OBJS = simon/debug.o simon/items.o simon/midi.o simon/res.o simon/simon.o \
|
||||||
|
|
|
@ -144,3 +144,12 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void *operator new(size_t size) {
|
||||||
|
return calloc(size, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
void operator delete(void *ptr) {
|
||||||
|
free(ptr);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -365,4 +365,6 @@ char *strdup(const char *s);
|
||||||
/* Initialized operator new */
|
/* Initialized operator new */
|
||||||
void * operator new(size_t size);
|
void * operator new(size_t size);
|
||||||
|
|
||||||
|
void operator delete(void *ptr);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -412,10 +412,6 @@ SOURCE=.\scumm\string.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\scumm\sys.cpp
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\scumm\vars.cpp
|
SOURCE=.\scumm\vars.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
|
@ -1561,3 +1561,7 @@ void Scumm::setupGUIColors() {
|
||||||
_newgui->_shadowcolor = _gui->_shadowcolor;
|
_newgui->_shadowcolor = _gui->_shadowcolor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Scumm::checkFixedDisk() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
|
@ -1,37 +0,0 @@
|
||||||
/* ScummVM - Scumm Interpreter
|
|
||||||
* Copyright (C) 2001 Ludvig Strigeus
|
|
||||||
* Copyright (C) 2001/2002 The ScummVM project
|
|
||||||
*
|
|
||||||
* This program is free software; you can redistribute it and/or
|
|
||||||
* modify it under the terms of the GNU General Public License
|
|
||||||
* as published by the Free Software Foundation; either version 2
|
|
||||||
* of the License, or (at your option) any later version.
|
|
||||||
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
|
|
||||||
* You should have received a copy of the GNU General Public License
|
|
||||||
* along with this program; if not, write to the Free Software
|
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
*
|
|
||||||
* $Header$
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "stdafx.h"
|
|
||||||
#include "scumm.h"
|
|
||||||
|
|
||||||
bool Scumm::checkFixedDisk()
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
void *operator new(size_t size) {
|
|
||||||
return calloc(size, 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
void operator delete(void *ptr) {
|
|
||||||
free(ptr);
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue