Commit Graph

20 Commits

Author SHA1 Message Date
Max Horn
8f4f0d16fc SWORD25: Renamed getInstance() -> instance()
svn-id: r53430
2010-10-13 15:41:00 +00:00
Eugene Sandulenko
063cb5d84c SWORD25: Enforced code naming conventions in math/*
svn-id: r53392
2010-10-13 00:09:32 +00:00
Paul Gilbert
80521ed5dd SWORD25: Further savegame work, including savegame screenshots
This handles saving (but not yet re-loaded display) of screenshots into savegame files. It also changes the original engine behaviour of temporarily saving the screenshots in a file 'tmp.png' to keeping the raw PNG file data in a memory block.

svn-id: r53373
2010-10-12 23:59:23 +00:00
Eugene Sandulenko
2a918b794a SWORD25: Fix warning
svn-id: r53368
2010-10-12 23:56:47 +00:00
Paul Gilbert
5c228cea0b SWORD25: Fixes to the savegame saving code
svn-id: r53351
2010-10-12 23:48:50 +00:00
Eugene Sandulenko
06bce68860 SWORD25: Comply to the code conventions for several classes
svn-id: r53310
2010-10-12 23:32:32 +00:00
Eugene Sandulenko
086f5961b6 SWORD25: unsigned int -> uint
svn-id: r53309
2010-10-12 23:30:00 +00:00
Paul Gilbert
9efd8bac26 SWORD25: Removed now redundant 'using namespace std' lines
svn-id: r53263
2010-10-12 23:07:55 +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
3f69477b44 SWORD25: Portability fixes. Now compiles and runs under Linux.
svn-id: r53240
2010-10-12 22:44:55 +00:00
Eugene Sandulenko
47904bc7b2 SWORD25: Mass-astyle.
svn-id: r53222
2010-10-12 22:35:55 +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
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
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
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
a683a420a9 SWORD25: Importing original sources
svn-id: r53171
2010-10-12 21:38:20 +00:00