Eugene Sandulenko
485ff15d23
SWORD25: Mass-eliminating of BS_ prefix in fmv/ and gfx/
...
svn-id: r53258
2010-10-12 22:53:49 +00:00
Eugene Sandulenko
e71337861f
SWORD25: brought CallBackRegisry class to our naming standards
...
svn-id: r53257
2010-10-12 22:51:37 +00:00
Eugene Sandulenko
a1d22a063b
SWORD25: Fix warnings
...
svn-id: r53254
2010-10-12 22:50:28 +00:00
Eugene Sandulenko
3f69477b44
SWORD25: Portability fixes. Now compiles and runs under Linux.
...
svn-id: r53240
2010-10-12 22:44:55 +00:00
Eugene Sandulenko
72130c284d
SWORD25: Fix couple more warnings
...
svn-id: r53236
2010-10-12 22:43:36 +00:00
Eugene Sandulenko
43959cc6bd
SWORD25: Turn on debugging by default
...
svn-id: r53235
2010-10-12 22:43:05 +00:00
Eugene Sandulenko
f010c4e2ad
SWORD25: Fix linking
...
svn-id: r53228
2010-10-12 22:39:41 +00:00
Eugene Sandulenko
ad5b74c9de
SWORD25: Clean compile!
...
Under MinGW, with OpenGL and tinyxml.
svn-id: r53225
2010-10-12 22:38:23 +00:00
Eugene Sandulenko
47904bc7b2
SWORD25: Mass-astyle.
...
svn-id: r53222
2010-10-12 22:35:55 +00:00
Eugene Sandulenko
ca17def625
SWORD25: Fix callbackregistry.h compilation
...
svn-id: r53221
2010-10-12 22:31:38 +00:00
Eugene Sandulenko
c1b5e5acb8
SWORD25: Fix warnings and compilation
...
svn-id: r53217
2010-10-12 22:28:54 +00:00
Paul Gilbert
87553862d9
SWORD25: Converted remainder of Kernel/ folder
...
svn-id: r53216
2010-10-12 22:28:21 +00:00
Eugene Sandulenko
bf53914c2a
SWORD25: Fix compilation and several warnings
...
svn-id: r53215
2010-10-12 22:27:32 +00:00
Paul Gilbert
ccba0891fd
SWORD25: Converted further files from old hashmap.h to Common::HashMap
...
This commit includes a class pointer hash function added in objectregistry.h that should be double-checked to see if it's correct.
svn-id: r53211
2010-10-12 22:24:37 +00:00
Paul Gilbert
6984d24d06
SWORD25: Removed redundant kernel/hashmap.h
...
This was only used by the callbackregistery file, which is being converted to use the Common::HashMap class
svn-id: r53209
2010-10-12 22:23:43 +00:00
Paul Gilbert
49ea23c532
SWORD25: Fix for void * conversion errors
...
It turns out that strict C++ doesn't allow function pointers to be converted to void pointers and vice versa. Since there are two callback function pointer types - one with a KEY_COMMANDS enum parameter, and the other with an unsigned char type, I changed all void * occurances to a function pointer type with an 'int' parameter, and changed all implementation methods to take in an int parameter.
svn-id: r53208
2010-10-12 22:23:24 +00:00
Paul Gilbert
f0b1aa92c2
SWORD25: Mostly converted callbackregistry.cpp
...
There is still one reference to 'It->second' that I haven't changed to 'It->value'.. if I do it, I start getting errors in ScummVM's hashmap.h, which I'm not sure how to resolve
svn-id: r53204
2010-10-12 22:21:43 +00:00
Paul Gilbert
86bef1508c
SWORD25: Converted the input engine to use the ScummVM event manager
...
svn-id: r53203
2010-10-12 22:21:24 +00:00
Paul Gilbert
fab86ba222
SWORD25: Converted Savegame Load/Save code
...
In addition to converting the loading/saving of savefiles to use the SaveFileManager interface, also converted the date/time code to use the ScummVM TimeDate structure.
svn-id: r53202
2010-10-12 22:20:41 +00:00
Paul Gilbert
b9044a6a27
SWORD25: Changing service registration to use replacement ScummVM Package Manager
...
svn-id: r53201
2010-10-12 22:20:11 +00:00
Paul Gilbert
53a9d2d0a1
SWORD25: Converted the math folder files
...
svn-id: r53197
2010-10-12 22:17:11 +00:00
Paul Gilbert
2d8e94e4ff
SWORD25: Converted Lua interface classes
...
svn-id: r53195
2010-10-12 22:16:21 +00:00
Eugene Sandulenko
6a55700935
SWORD25: Removed leftover include references
...
svn-id: r53192
2010-10-12 22:14:33 +00:00
Eugene Sandulenko
11b485122c
SWORD25: get rid of custom md5.cpp and Windows-specific debug stuff
...
All version ID generation is useless for ScummVM as we have our own clear
versions. Thus removing all of that.
svn-id: r53191
2010-10-12 22:14:14 +00:00
Eugene Sandulenko
293bf95c01
SWORD25: Replacing headers with ScummVM ones plus original (C)
...
svn-id: r53188
2010-10-12 22:13:00 +00:00
Paul Gilbert
5cad3bcf02
SWORD25: Converted the Resource Manager
...
svn-id: r53187
2010-10-12 22:01:35 +00:00
Paul Gilbert
878f5a49f7
SWORD25: Implemented ScummVM version of BS_FileSystemUtil interface
...
svn-id: r53186
2010-10-12 22:01:08 +00:00
Paul Gilbert
ee24f79ca1
SWORD25: Added and fixed the remaining engine setup/execution/free code
...
svn-id: r53185
2010-10-12 22:00:10 +00:00
Paul Gilbert
e78b19a650
SWORD25: Converted kernel/kernel.cpp to compile under ScummVM
...
This commit creates a skeleton detection and engine class, as well as code necessary to call the kernel initiation.
The kernel/kernel.cpp has been converted to compile under ScummVM, along with all dependant header files.
svn-id: r53184
2010-10-12 21:55:38 +00:00
Eugene Sandulenko
69b618a8f5
SWORD25: Compilation fixes
...
Majority of files now compile under Windoze.
svn-id: r53182
2010-10-12 21:54:21 +00:00
Eugene Sandulenko
e8bca8b8fe
SWORD25: Fixed rest of the include paths
...
svn-id: r53181
2010-10-12 21:52:41 +00:00
Eugene Sandulenko
65da804f58
SWORD25: Path fixes for includes
...
svn-id: r53180
2010-10-12 21:49:51 +00:00
Eugene Sandulenko
7b964a2823
SWORD25: Make couple file compilable
...
svn-id: r53179
2010-10-12 21:47:48 +00:00
Eugene Sandulenko
c939bc753e
SWORD25: Remove memorydumper which is Windows-specific
...
svn-id: r53176
2010-10-12 21:40:24 +00:00
Eugene Sandulenko
804cf1c4c7
SWORD25: Fix some includes
...
svn-id: r53175
2010-10-12 21:40:00 +00:00
Eugene Sandulenko
385e494439
SWORD25: removed ASM usage
...
svn-id: r53174
2010-10-12 21:39:36 +00:00
Eugene Sandulenko
2cbeeb1e97
SWORD25: Removed cpuinfo.cpp file
...
svn-id: r53173
2010-10-12 21:39:16 +00:00
Eugene Sandulenko
a683a420a9
SWORD25: Importing original sources
...
svn-id: r53171
2010-10-12 21:38:20 +00:00