Paul Gilbert
919d79f091
SWORD25: Added a hack to allow the new English voice pack to be detected
...
svn-id: r53937
2010-10-30 04:30:42 +00:00
Max Horn
a783285625
SWORD25: Simplify FS 'wrapper' code a bit, add FIXME comments
...
The save system of this engine currently partially bypasses the
SaveFileManager API, by (abusing) the fact that the Lua engine allows
creating files in arbitrary places (it exposes fopen, fread, fwrite
etc.). This is used to create a 'config.lua' configuration file. This makes it non-portable.
In addition, the filenames used for the savestates ("0.b25s") do not
comply with our naming conventions for engine savestates.
It should be possible to overcome all this, but it might require hacking
the Lua engine; or we could try to replace some of the BS2.5 script
functions with our own, dynamically.
svn-id: r53838
2010-10-25 23:19:39 +00:00
Max Horn
e761f76653
SWORD25: Get rid of most of the 'kernel service/superclass' code
...
svn-id: r53835
2010-10-25 22:41:25 +00:00
Eugene Sandulenko
6629efc676
SWORD25: Enforced code formatting rules in rest of the engine
...
svn-id: r53626
2010-10-19 21:03:33 +00:00
Torbjörn Andersson
c1a3689a5d
SWORD25: Fix cppcheck warning
...
svn-id: r53600
2010-10-19 04:59:45 +00:00
Eugene Sandulenko
3feac393b0
SWORD25: Renamed Lua .c files to .cpp and make it compilable
...
svn-id: r53568
2010-10-18 17:12:00 +00:00
Paul Gilbert
ae63e20661
SWORD25: Fix for Valgrind identified errors
...
svn-id: r53563
2010-10-18 10:26:27 +00:00
Max Horn
550073ee04
SWORD25: Do not use Kernel::GetService directly anymore
...
svn-id: r53477
2010-10-15 12:18:19 +00:00
Eugene Sandulenko
54ccc8f4c9
SWORD25: Enforced code naming conventions in script/*
...
svn-id: r53391
2010-10-13 00:08:28 +00:00
Eugene Sandulenko
1855cee5e3
SWORD25: Loading >200kb file in memory is no more ugly
...
svn-id: r53381
2010-10-13 00:03:10 +00:00
Eugene Sandulenko
8582c1ad57
SWORD25: Enforse code naming conventions in PackageManager and Sword25Engine
...
svn-id: r53380
2010-10-13 00:02:51 +00:00
Eugene Sandulenko
2143afde6c
SWORD25: Add support for language patch
...
svn-id: r53377
2010-10-13 00:01:04 +00:00
Paul Gilbert
3e84d4fe73
SWORD25: Implemented thumbnail loading for savegame list
...
svn-id: r53374
2010-10-12 23:59:49 +00:00
Eugene Sandulenko
ccb1644568
SWORD25: Got rid of ScummVMPackageManager
...
svn-id: r53353
2010-10-12 23:49:42 +00:00
Paul Gilbert
49decb9dc5
SWORD25: Another memory leak fix
...
svn-id: r53327
2010-10-12 23:39:15 +00:00
Paul Gilbert
5d7922d052
SWORD25: Fix memory leak
...
svn-id: r53326
2010-10-12 23:38:55 +00:00
Paul Gilbert
3fc518cd0c
SWORD25: Replaced some free's with delete[]
...
svn-id: r53325
2010-10-12 23:38:37 +00:00
Eugene Sandulenko
086f5961b6
SWORD25: unsigned int -> uint
...
svn-id: r53309
2010-10-12 23:30:00 +00:00
Eugene Sandulenko
384468c014
SWORD25: Started to hook TheoraDecoder. Crashes at startup.
...
svn-id: r53297
2010-10-12 23:22:01 +00:00
Paul Gilbert
2c62016838
SWORD25: Added GetXmlFile helper function
...
The XML files included with the game don't include an XML header line, which is required by the ScummVM XML parser. This helper function encapsulates the GetFile method to return a buffer that includes the required line at the start.
svn-id: r53276
2010-10-12 23:13:03 +00:00
Eugene Sandulenko
b01994a53b
SWORD25: removed BS_ prefix from rest of the classes.
...
The things which are intentionally left with the prefix:
BS_LOG, BS_ASSERT, BS_Rect, BS_String.
svn-id: r53261
2010-10-12 22:59:01 +00:00
Eugene Sandulenko
be44216e5c
SWORD25: eliminated BS_ prefix in all but kernel/
...
svn-id: r53259
2010-10-12 22:55:59 +00:00
Eugene Sandulenko
a1d22a063b
SWORD25: Fix warnings
...
svn-id: r53254
2010-10-12 22:50:28 +00:00
Eugene Sandulenko
f95da5e3ee
SWORD25: Made game run with extracted data
...
svn-id: r53252
2010-10-12 22:49:08 +00:00
Eugene Sandulenko
a21b148a9b
SWORD25: Added possibility to run from extracted game.
...
Still doesn't start though
svn-id: r53251
2010-10-12 22:48:45 +00:00
Eugene Sandulenko
24db2ad739
SWORD25: Implement BS_ScummVMPackageManager::doSearch.
...
Now all scripts run.
svn-id: r53249
2010-10-12 22:47:57 +00:00
Eugene Sandulenko
0cdab788ae
SWORD25: Changed signature of FS searching method. Cleanup.
...
svn-id: r53248
2010-10-12 22:47:38 +00:00
Eugene Sandulenko
28d81a2a1c
SWORD25: package manager. Style fixes. Cleanup
...
svn-id: r53247
2010-10-12 22:47:15 +00:00
Eugene Sandulenko
eb191e3590
SWORD25: Fix loading files with relative paths.
...
svn-id: r53246
2010-10-12 22:46:54 +00:00
Eugene Sandulenko
f4024d7d14
SWORD25: Fix initialization.
...
svn-id: r53245
2010-10-12 22:46:35 +00:00
Eugene Sandulenko
fbdbc089e0
SWORD25: Fix package manager. Now scripts run.
...
svn-id: r53244
2010-10-12 22:46:13 +00:00
Eugene Sandulenko
992c504968
SWORD25: Further fixes for package manager
...
svn-id: r53243
2010-10-12 22:45:53 +00:00
Eugene Sandulenko
8977f88834
SWORD25: started fixing pakage manager
...
svn-id: r53239
2010-10-12 22:44:29 +00:00
Eugene Sandulenko
72130c284d
SWORD25: Fix couple more warnings
...
svn-id: r53236
2010-10-12 22:43:36 +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
Paul Gilbert
a5819c1e0a
SWORD25: Converted remainder of package/ folder
...
svn-id: r53220
2010-10-12 22:31:18 +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
293bf95c01
SWORD25: Replacing headers with ScummVM ones plus original (C)
...
svn-id: r53188
2010-10-12 22:13:00 +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
65da804f58
SWORD25: Path fixes for includes
...
svn-id: r53180
2010-10-12 21:49:51 +00:00
Eugene Sandulenko
804cf1c4c7
SWORD25: Fix some includes
...
svn-id: r53175
2010-10-12 21:40:00 +00:00
Eugene Sandulenko
a683a420a9
SWORD25: Importing original sources
...
svn-id: r53171
2010-10-12 21:38:20 +00:00