scummvm/sword2
Torbjörn Andersson 23373b0123 The usual cleanup. Removed the "run from CD" check.
This pretty much concludes the first stage of the engine cleanup. All of
the files, except for console/debugging stuff and possibly some header
files, have been changed to use the ScummVM brace style.

As for the console, that one could probably do with some rewriting, in
which case cleaning it up first would just be unnecessary work.

The next stages of the cleanup should include renaming of variables and
functions to follow the ScummVM coding standards, and turning everything
into C++ classes. And so on.

Of course, the driver directory should go through a similar cleanup as
well.

This has all been enormously tedious, so don't count on me doing any of
these things at the moment. Particularly not turning everything into C++
classes. I'm really not that familiar with C++. :-)

svn-id: r10340
2003-09-20 18:33:24 +00:00
..
driver cleanup 2003-09-19 06:42:22 +00:00
.cvsignore bs2 2003-07-28 01:44:38 +00:00
anims.cpp Cleanup. Apart from reformatting, I've also removed the #ifdef blocks to 2003-09-19 06:41:41 +00:00
anims.h Cleanup. Apart from reformatting, I've also removed the #ifdef blocks to 2003-09-19 06:41:41 +00:00
build_display.cpp cleanup 2003-09-19 06:42:22 +00:00
build_display.h rename bs2 to sword2 to have the same name as the original engine. 2003-07-30 19:25:31 +00:00
console.cpp Our ServiceWindows() never returns RDERR_APPCLOSED, and we always behave as 2003-09-09 12:45:33 +00:00
console.h rename bs2 to sword2 to have the same name as the original engine. 2003-07-30 19:25:31 +00:00
controls.cpp cleanup 2003-09-20 16:39:17 +00:00
controls.h cleanup 2003-09-20 16:39:17 +00:00
credits.h added sfx support, increased speech support, and music code(streaming works fine but you don't hear anything) newStream, and appendStream doesn't work but playRaw works for music 2003-08-30 18:06:08 +00:00
debug.cpp Added a WaitForFade() function, to replace numerous while-loops scattered 2003-09-09 12:14:08 +00:00
debug.h rename bs2 to sword2 to have the same name as the original engine. 2003-07-30 19:25:31 +00:00
defs.h Cleanup. 2003-09-17 09:03:40 +00:00
events.cpp cleanup 2003-09-20 13:11:15 +00:00
events.h bs2 2003-07-28 01:44:38 +00:00
function.cpp added a static method setDefaultDirectory to class File; used this to simplify some code; added a global g_sound pointer in bs2, this cuts down on uses of g_sword2 (of course both should be removed on the long run); some other minor tweaks/fixes 2003-09-17 21:06:16 +00:00
function.h cleanup 2003-09-17 13:03:13 +00:00
header.h bs2 2003-07-28 01:44:38 +00:00
icons.cpp cleanup 2003-09-17 16:59:12 +00:00
icons.h cleanup 2003-09-17 16:59:12 +00:00
interpreter.cpp Clarified comment 2003-09-20 12:51:55 +00:00
interpreter.h cleanup 2003-09-20 12:43:52 +00:00
layers.cpp cleanup 2003-09-17 06:28:27 +00:00
layers.h cleanup 2003-09-17 06:28:27 +00:00
logic.cpp Minor cleanup 2003-09-20 12:24:53 +00:00
logic.h cleanup 2003-09-17 17:34:04 +00:00
maketext.cpp cleanup 2003-09-19 06:42:22 +00:00
maketext.h cleanup 2003-09-19 06:42:22 +00:00
mem_view.cpp cleanup 2003-09-17 06:28:27 +00:00
mem_view.h cleanup 2003-09-17 06:28:27 +00:00
memory.cpp cleanup 2003-09-17 06:28:27 +00:00
memory.h cleanup 2003-09-17 06:28:27 +00:00
module.mk plugin work: right now, only with build rules for OS X. Once I can get it to work here, I'll add more build rules. Work in progress, a lot ain't work, but the plugin stuff is disabled by default, so no harm should arise 2003-09-18 13:03:56 +00:00
mouse.cpp cleanup 2003-09-19 16:08:54 +00:00
mouse.h cleanup 2003-09-19 16:08:54 +00:00
object.h cleanup 2003-09-20 12:43:52 +00:00
protocol.cpp cleanup 2003-09-19 13:55:19 +00:00
protocol.h cleanup 2003-09-19 13:55:19 +00:00
resman.cpp cleanup 2003-09-19 06:42:22 +00:00
resman.h No need to have convertEndian member of class resMan 2003-09-12 20:46:12 +00:00
router.cpp Cleanup. I removed the PLOT_PATHS blocks since they depended on some 2003-09-20 15:34:53 +00:00
router.h Cleanup. I removed the PLOT_PATHS blocks since they depended on some 2003-09-20 15:34:53 +00:00
save_rest.cpp The usual cleanup, plus make sure to delete SaveFileManager if 2003-09-20 17:48:53 +00:00
save_rest.h The usual cleanup, plus make sure to delete SaveFileManager if 2003-09-20 17:48:53 +00:00
scroll.cpp cleanup 2003-09-20 12:43:52 +00:00
scroll.h cleanup 2003-09-20 12:43:52 +00:00
sound.cpp cleanup 2003-09-20 12:43:52 +00:00
sound.h cleanup 2003-09-20 12:43:52 +00:00
speech.cpp cleanup 2003-09-20 12:43:52 +00:00
speech.h cleanup 2003-09-20 12:43:52 +00:00
startup.cpp cleanup 2003-09-20 17:00:14 +00:00
startup.h cleanup 2003-09-20 17:00:14 +00:00
sword2.cpp The usual cleanup. Removed the "run from CD" check. 2003-09-20 18:33:24 +00:00
sword2.h The usual cleanup. Removed the "run from CD" check. 2003-09-20 18:33:24 +00:00
sync.cpp cleanup 2003-09-17 06:28:27 +00:00
sync.h cleanup 2003-09-17 06:28:27 +00:00
tony_gsdk.cpp added a static method setDefaultDirectory to class File; used this to simplify some code; added a global g_sound pointer in bs2, this cuts down on uses of g_sword2 (of course both should be removed on the long run); some other minor tweaks/fixes 2003-09-17 21:06:16 +00:00
tony_gsdk.h Rewrote Read_file() to use our File class, and removed the unused functions 2003-09-17 14:33:47 +00:00
walker.cpp cleanup 2003-09-20 12:43:52 +00:00
walker.h cleanup 2003-09-20 12:43:52 +00:00