Commit Graph
21 Commits
Author SHA1 Message Date
Matthew Hoops d3717c1274 MOHAWK: Fix tMOV resources at the end of a file
Thanks to fuzzie for noticing
2011-06-30 15:51:15 -04:00
Matthew Hoops ddd83da48b MOHAWK: Add archive functions to get type/id lists
This will be needed for CarmenTQ
2011-06-28 13:54:14 -04:00
Matthew Hoops cc818b444c MOHAWK: Use matchString instead of equalsIgnoreCase for resource names
A regression from 71c4329
2011-06-28 13:51:03 -04:00
Matthew Hoops 71c4329d86 MOHAWK: Rework archive handling
A new base class has been introduced (aptly named "Archive"), which is much cleaner than inheriting from MohawkArchive. In addition, the underlying resource retrieving code has been merged to reduce dupliplication.
2011-06-28 12:10:28 -04:00
Max Horn 88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion 9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Alyssa Milburn 7e5ffb2bcf MOHAWK: Remove sound.h include from resource.h
svn-id: r54988
2010-12-21 18:16:20 +00:00
Matthew Hoops 0c677aacde MOHAWK: Add support for DOS v2 archives (CSWorld Deluxe)
svn-id: r54912
2010-12-14 22:58:51 +00:00
Matthew Hoops 9a8539e1d8 MOHAWK: Fix tMOV resources at the end of the file list (thanks, fuzzie)
svn-id: r54774
2010-12-05 00:45:21 +00:00
Bastien Bouclet 6a4ff1a9b5 MOHAWK : Finished implementing Selenitic sound receiver
svn-id: r54593
2010-11-29 20:49:42 +00:00
Max Horn 121056c12f MOHAWK: Pass objs by const ref not by value
svn-id: r54443
2010-11-23 22:32:39 +00:00
Matthew Hoops cb843daec0 MOHAWK: Have MohawkResource::open() return a bool for success/failure
svn-id: r54418
2010-11-22 18:07:33 +00:00
Matthew Hoops cc6c7e33bf MOHAWK: Switch slider bitmap ID's to matching via string; fixes some versions
svn-id: r54416
2010-11-22 17:50:30 +00:00
Matthew Hoops 5616bde4e7 MOHAWK: Fix Living Books v1 sound (courtesy of fuzzie)
svn-id: r54397
2010-11-21 00:02:25 +00:00
Matthew Hoops 0f2bcd2f9f MOHAWK: Cleanup resource handling
- Renamed getRawData() to getResource()
- Add a getResource() and hasResource() function for named resources
- Other minor formatting changes

svn-id: r54396
2010-11-20 23:53:14 +00:00
Max Horn 2180b2d6b5 COMMON: Split common/stream.h into several headers
svn-id: r54385
2010-11-19 17:03:07 +00:00
Matthew Hoops 554640ee8a Fix saving while viewing the inventory in Riven and cleanup the save/load code.
svn-id: r50333
2010-06-26 17:21:50 +00:00
Matthew Hoops d4f08cbe81 Correct our interpretation of the first four bytes of the RSRC section in Mohawk archives.
svn-id: r47583
2010-01-26 23:05:52 +00:00
Johannes Schickel aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Matthew Hoops c04f8d00b1 Rename MohawkFile to MohawkArchive and OldMohawkFile to LivingBooksArchive_v1 (the latter originally having an ambiguous meaning) and move them to resource.* Also, renaming the Living Books game types to remove the ambiguous old/new.
svn-id: r47429
2010-01-22 03:43:57 +00:00