OK well here is my first attempt at a unified diff. I'm not sure why some
options in Project Settings were set like they were, so if there's a good
reason - perhaps change them back! My improvements should speed up
compilation and execution, as well as make things easier to debug.

I also knocked up a little batch file to allow us to easily profile the app
in Win32 and see what's happening. It's cool!

Regarding optimisation changes particularly in the release build, refer to
this MS document:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvc60/html
/optcode.asp
(Sorry about the hyperlink wrap.)
Under minimize size, sciv.exe was 108K, freesci.dll was 716K;
under maximize speed, sciv.exe was 101K, freesci.dll was 541K; so not a big
difference when you really want performance (I hope).

(On a side note, this MS document should help us with memory leaks:
( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvc60/ht
ml/memleaks.asp

I also changed to SDL-1.2.1 which is available from the libsdl.org (look for
the file SDL-devel-1.2.1-VC6.zip - contains pre-compiled sdl.lib and
sdl.dll).

Matt - why do you never have a problem with MOD_WAVETABLE in
midiout_win32.c? I always need to change it to MOD_SQSYNTH to
compile. Also, are all of the sleeps high-resolution ones now? scriptdebug.c
needs one #defined at the top I think. Do a rebuild all and hopefully you'll
see what I mean.

Cheers,
Alex.






-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream
-- File: ChangeLog.dat


-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream
-- File: win32_profiler.bat


-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream
-- File: freesci.dsp


-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream
-- File: sciv.dsp


-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream
-- File: sciv.dsp-patch


-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream
-- File: freesci.dsp-patch



Reply via email to