Commit Graph

25898 Commits

Author SHA1 Message Date
Filippos Karapetis
6fa6a2fbca Pressing enter when entering the name of a save game should save that game
svn-id: r32661
2008-06-10 22:41:41 +00:00
Kari Salminen
efc4fd7ae0 A little Delphine unpacker documentation addition and variable renaming.
svn-id: r32660
2008-06-10 22:37:55 +00:00
Filippos Karapetis
235504e600 New version of drascula.dat, fixing the problem in the pendulum room
svn-id: r32659
2008-06-10 22:16:10 +00:00
Filippos Karapetis
d7007361f7 New version of create_drascula, fixing the problem in the pendulum room
svn-id: r32658
2008-06-10 22:15:47 +00:00
Filippos Karapetis
b652c20114 Fixed regression in the pendulum room, preventing the player from selecting John's hands (new version of drascula.dat needed)
svn-id: r32657
2008-06-10 22:14:47 +00:00
Max Horn
52747ff694 Re-enabled default Hash<String> template
svn-id: r32656
2008-06-10 21:50:07 +00:00
Kari Salminen
009e26f813 Changed unpackHelper1(numBits, addCount) to unpackBytes(numBytes).
svn-id: r32655
2008-06-10 21:44:59 +00:00
Max Horn
8b56010712 Removed unneeded #include
svn-id: r32654
2008-06-10 21:40:53 +00:00
Kari Salminen
420d29932b unpackerHelper2(numBits) -> copyRelocatesBytes(offset, numBytes) and some revising of the unpacking routine.
svn-id: r32653
2008-06-10 21:34:26 +00:00
Filippos Karapetis
7453cf8b0b Write signed values as signed (the actual contents of drascula.dat remain unchanged)
svn-id: r32652
2008-06-10 21:14:38 +00:00
Filippos Karapetis
bdfdf0e7b3 The static arrays in drascula.dat contain signed integers as well
svn-id: r32651
2008-06-10 21:07:11 +00:00
Filippos Karapetis
985903a071 Use the array sizes loaded from drascula.dat, instead of ARRAYSIZE
svn-id: r32650
2008-06-10 21:06:39 +00:00
Kari Salminen
fdf3f36bc6 Properly renamed some of the functions in the Delphine unpacker after understanding what they really do.
svn-id: r32649
2008-06-10 20:57:22 +00:00
Filippos Karapetis
e03bd801d6 Fixed character walking in room 14 (the bar, right after BJ is kidnapped). This should fix the issues with the pianist in bug report - "DRASCULA : Lip sync error when talking to pianist"
svn-id: r32648
2008-06-10 20:19:44 +00:00
Kari Salminen
3823a23b70 Objectified the Delphine decompression routine (i.e. delphineUnpack).
svn-id: r32646
2008-06-10 19:08:53 +00:00
Filippos Karapetis
c51b11e862 verbo -> verb
svn-id: r32645
2008-06-10 18:56:59 +00:00
Filippos Karapetis
930ba6d02d drawSurface1 -> bgSurface
svn-id: r32644
2008-06-10 18:54:32 +00:00
Filippos Karapetis
aac3270de1 endianess fixes
svn-id: r32639
2008-06-09 18:03:11 +00:00
Filippos Karapetis
a9c93a4be9 Fixed regression from commit , leading to a crash
svn-id: r32638
2008-06-09 18:02:09 +00:00
Torbjörn Andersson
339874f6c0 Fixed warnings. (Mainly, GCC 4.3 doesn't want you to use "char" as an array
index. Probably because it's undefined whether or not it's signed.)

svn-id: r32637
2008-06-09 17:50:52 +00:00
Eugene Sandulenko
50c62c7eac Properly initialize and free memory for texts
svn-id: r32636
2008-06-09 14:45:45 +00:00
Filippos Karapetis
661e507772 Properly initialize and destroy the different arrays read from drascula.dat. Also, fixed a crash that occurred from the last commit
svn-id: r32635
2008-06-09 14:36:58 +00:00
Filippos Karapetis
9e9c38c689 Bugfix to read the first array element correctly by sev
svn-id: r32634
2008-06-09 14:23:04 +00:00
Filippos Karapetis
32edf673a4 Slight code revamp to create_drascula.cpp by sev (drascula.dat remains unchanged)
svn-id: r32633
2008-06-09 14:21:32 +00:00
Travis Howell
62248a0011 Add drascula.dat.
svn-id: r32632
2008-06-09 12:23:56 +00:00
Filippos Karapetis
c9b2382e7a Initial version of drascula.dat
svn-id: r32631
2008-06-09 11:49:32 +00:00
Filippos Karapetis
756c7a76f7 Moved the MSVC solution files to /dists, added two MSVC project conversion tools (MSVC8 <-> MSVC9) and added project files for MSVC8 as well
svn-id: r32630
2008-06-09 10:22:11 +00:00
Filippos Karapetis
3daf09c922 Updated the MSVC project files of the drascula engine (removed staticdata.h)
svn-id: r32629
2008-06-09 10:13:44 +00:00
Filippos Karapetis
a353776f2f - drascula.dat is now read completely
- Removed the rest of the game static data (staticdata.h)
- Some naming convention fixes (added underscore to some shared variables)
- Renamed objeto -> object

svn-id: r32628
2008-06-09 10:11:42 +00:00
Jordi Vilalta Prat
280a7c4c22 Show warnings when a plugin couldn't be loaded
svn-id: r32627
2008-06-09 03:59:16 +00:00
Jordi Vilalta Prat
3308e6558b Added some missing $EXEEXT which would make some tests to fail
svn-id: r32626
2008-06-09 03:20:53 +00:00
Jordi Vilalta Prat
5937fde1c7 Use mktemp when available
svn-id: r32625
2008-06-09 03:09:44 +00:00
Jordi Vilalta Prat
d218badb6b Ignore superfluous --enable/--disable flags for existing engines
svn-id: r32624
2008-06-09 02:36:34 +00:00
Eugene Sandulenko
5c44c48dd0 Restore apostrophe hack.
svn-id: r32623
2008-06-08 22:11:18 +00:00
Eugene Sandulenko
e20617966c Load all texts from drascula.dat
svn-id: r32622
2008-06-08 21:59:12 +00:00
Eugene Sandulenko
e62b1ed9d8 Proper texts alignment.
svn-id: r32621
2008-06-08 21:58:20 +00:00
Filippos Karapetis
458c7185d9 quitGame() -> endChapter()
svn-id: r32620
2008-06-08 16:42:12 +00:00
Filippos Karapetis
069ffd4b70 Removed the MiVideoSSN buffer, using screenSurface instead. Added a FIXME for decodeOffset (as it can incorrectly write beyond 64000 bytes, up to 64256)
svn-id: r32619
2008-06-08 15:56:48 +00:00
Kari Salminen
e2e4c90bb3 Fixed readVolCnf() filename length detection and converted fixVolCnfFileName-function to something easier to understand.
svn-id: r32618
2008-06-08 15:22:04 +00:00
Filippos Karapetis
c37c19a8cf pointer -> memPtr
Des_RLE -> decodeRLE
Des_OFF -> decodeOffset
Lenght -> length

Removed duplicate code for RLE decoding

svn-id: r32617
2008-06-08 14:59:52 +00:00
Filippos Karapetis
f45939a90a Use mixVideo() in showFrame() and some capitalization fixes
svn-id: r32616
2008-06-08 14:17:35 +00:00
Filippos Karapetis
1b233db851 - Removed the AuxBuffOrg and AuxBuffDes buffers
- Renamed loadPCX -> showFrame
- Removed WaitForNext()
- Cleaned up the PCX frame loading code

svn-id: r32615
2008-06-08 14:11:22 +00:00
Filippos Karapetis
dcde2f7a96 The pendulumSurface pointer is only used in update_102()
svn-id: r32614
2008-06-08 11:26:48 +00:00
Filippos Karapetis
5880defea4 Removed the useless pcxBuffer buffer and auxPun pointer and fixed an off-by-one error in the PCX decoding routine
svn-id: r32613
2008-06-08 11:10:00 +00:00
Filippos Karapetis
af74726420 Grouped all the different draw buffers/pointers together
svn-id: r32612
2008-06-08 10:56:44 +00:00
Torbjörn Andersson
99b7c8eb43 Use _system->quit() instead of exit(0).
svn-id: r32611
2008-06-08 07:05:22 +00:00
Eugene Sandulenko
cd0683e8d5 Implement data padding
svn-id: r32610
2008-06-08 05:42:21 +00:00
Filippos Karapetis
6c5d005edc Cleanup
svn-id: r32609
2008-06-08 03:09:21 +00:00
Filippos Karapetis
b050430b41 Don't attempt to close the arj file if it hasn't been opened
svn-id: r32608
2008-06-08 02:02:06 +00:00
Filippos Karapetis
ee1dfa3f3d Initialize _charMap to avoid crash when drascula.dat doesn't exist
svn-id: r32607
2008-06-08 02:00:34 +00:00