Eugene Sandulenko
a17ec87b7d
SWORD25: Number of compilation and warning fixes
...
svn-id: r53219
2010-10-12 22:30:57 +00:00
Eugene Sandulenko
6dcf9f0ee5
SWORD25: std::string -> Common::String in gfx/
...
svn-id: r53218
2010-10-12 22:29:37 +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
Eugene Sandulenko
de0fe1db49
SWORD25: Mass-putting of all files in gfx/ into Sword25 namespace
...
svn-id: r53214
2010-10-12 22:27:03 +00:00
Eugene Sandulenko
eb30ebde2a
SWORD25: Finish preliminary implementation of Theora decoder
...
svn-id: r53213
2010-10-12 22:25:18 +00:00
Paul Gilbert
6b755174bd
SWORD25: Fixed some potentially uninitialised variable warnings
...
svn-id: r53212
2010-10-12 22:24:58 +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
7bc8cd284a
SWORD25: Fixed string comparisons against pointers rather than contents
...
svn-id: r53210
2010-10-12 22:24:03 +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
Eugene Sandulenko
1e3b3af5c0
SWORD25: Start of plugging audio to Theora decoder
...
svn-id: r53207
2010-10-12 22:22:56 +00:00
Eugene Sandulenko
9b3e26e7a2
SWORD25: Start for VideoDecoder-compatible Theora player.
...
svn-id: r53206
2010-10-12 22:22:33 +00:00
Paul Gilbert
8533538c83
SWORD25: Mostly converted input/inputengine_script.cpp
...
I have the same problem with this file as inputengine.cpp.. I'm getting errors converting between 'void *' and CommandCallback function pointers.
svn-id: r53205
2010-10-12 22:22:03 +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
56d82aade1
SWORD25: Converted inputengine.cpp
...
svn-id: r53200
2010-10-12 22:19:03 +00:00
Sylvain Dupont
8061d8cac9
TOON: Fixed bug #3086025 with bad inventory behavior
...
Bug #3086025 "TOON: Inventory not working correctly with butter"
svn-id: r53199
2010-10-12 22:18:43 +00:00
Paul Gilbert
2006e564a1
SWORD25: Moved the Lua library into it's own namespace
...
Previously with some of the files I was leaving the #include references to the library inside the global namespace. However, since the engine itself is now inside a namespace, I had to do a lot of changes, such as lua_State to ::lua_State. This way is cleaner, and I just need to add a 'using namespace Lua' where needed.
svn-id: r53198
2010-10-12 22:18:35 +00:00
Paul Gilbert
53a9d2d0a1
SWORD25: Converted the math folder files
...
svn-id: r53197
2010-10-12 22:17:11 +00:00
Florian Kagerer
2f86c7a45c
SCUMM/FM-TOWNS: start fixing japanese font drawing
...
svn-id: r53196
2010-10-12 22:17:00 +00:00
Paul Gilbert
2d8e94e4ff
SWORD25: Converted Lua interface classes
...
svn-id: r53195
2010-10-12 22:16:21 +00:00
Paul Gilbert
ea29e41b86
SWORD25: Reimplemented package manager for ScummVM using Common::Archive
...
svn-id: r53194
2010-10-12 22:15:42 +00:00
Eugene Sandulenko
bed623b11e
SWORD25: Fix compilation
...
svn-id: r53193
2010-10-12 22:15:10 +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
cb35fc3497
SWORD25: Update GUIO
...
svn-id: r53190
2010-10-12 22:13:43 +00:00
Eugene Sandulenko
023b970480
SWORD25: Update detection to modern state
...
svn-id: r53189
2010-10-12 22:13:26 +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
Johannes Schickel
1842de4b00
COMMON: Let --list-targets output all targets in an alphabetical list again.
...
svn-id: r53183
2010-10-12 21:54:43 +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
221fc150c6
SWORD25: Moving Lua one level up
...
svn-id: r53178
2010-10-12 21:47:06 +00:00
Eugene Sandulenko
1af6e17b0e
SWORD25: Remove main_win.cpp
...
svn-id: r53177
2010-10-12 21:40:43 +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
7e2e168470
SWORD25: Added module.mk
...
svn-id: r53172
2010-10-12 21:38:54 +00:00
Eugene Sandulenko
a683a420a9
SWORD25: Importing original sources
...
svn-id: r53171
2010-10-12 21:38:20 +00:00
Arnaud Boutonné
7723d91c95
HUGO: Add lineHandler for v3 Dos, fix/add comments
...
svn-id: r53170
2010-10-12 21:12:54 +00:00