Torbjörn Andersson
b3b0118292
The resource and memory managers are now created dynamically.
...
Renamed the resource manager's open/close methods openResource() and
closeResource() to avoid confusion. (It was I who originally shortened
their names to open() and close(), but I've changed my mind now.)
Moved more stuff into Sword2Engine.
svn-id: r11088
2003-11-03 07:47:42 +00:00
Max Horn
2fef2dcb84
bs2 -> sword2
...
svn-id: r10997
2003-10-28 19:51:30 +00:00
Torbjörn Andersson
4fad04846a
Changed to use #include "bs2/..." and removed the inclusion of standard C
...
headers. Most (all?) of the ones we need should probably come from stdafx.h
instead.
svn-id: r10588
2003-10-04 08:07:03 +00:00
Max Horn
5a074e6137
added namespace Sword2
...
svn-id: r10581
2003-10-04 00:52:27 +00:00
Torbjörn Andersson
da1b4f1e36
Moved the memory manager functions into an object of its own (and enabled
...
debugging levels). This needs further cleanups, but I believe I have
reached a stable point where I can commit it without too much anxiety.
svn-id: r10502
2003-09-30 14:37:42 +00:00
Torbjörn Andersson
8ad28e3a7e
More cleanup, and I've replaced most - not quite all - of BS2's debug
...
message functions with our own.
We still need to go through them and assign sensible debug levels to them.
svn-id: r10422
2003-09-27 11:02:58 +00:00
Torbjörn Andersson
b21208e6a9
Some more reformatting / cleanup, and removal of comments that did nothing
...
but say who added what when. (No disrespect intended, but this information
means very little to us.)
svn-id: r10413
2003-09-26 10:07:18 +00:00
Max Horn
468275bb94
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
...
svn-id: r10278
2003-09-17 21:06:16 +00:00
Torbjörn Andersson
27b734a044
Rewrote Read_file() to use our File class, and removed the unused functions
...
Direct_read_file() and Direct_write_file().
This change is completely untested, but that should be ok since Read_file()
(which is now the only function left in tony_gsdk.cpp) only seems to be
used in debug builds.
Perhaps we should remove these files completely?
svn-id: r10272
2003-09-17 14:33:47 +00:00
Marcus Comstedt
c3c9fac55b
Don't use level 1 I/O, it's not part of the C++ standard...
...
svn-id: r9432
2003-08-03 15:38:27 +00:00
Paweł Kołodziejski
e5e117006a
back disable warnings into stdafx.h, vc6 is lack of warnings support
...
svn-id: r9337
2003-07-31 18:35:01 +00:00
Paweł Kołodziejski
83940e1867
fix vc compilation
...
svn-id: r9263
2003-07-28 21:55:09 +00:00
Travis Howell
ccc40eecc9
Compiles on mingw now
...
svn-id: r9222
2003-07-28 03:12:49 +00:00
Max Horn
544168e96b
fixed yet more warnings
...
svn-id: r9220
2003-07-28 02:37:47 +00:00
Jonathan Gray
f020d28b5e
bs2
...
svn-id: r9211
2003-07-28 01:44:38 +00:00