25885 Commits

Author SHA1 Message Date
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 #1979989 - "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 #32636, 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
Eugene Sandulenko
5bdcec23d8 Preparations for optimal memory allocation on reading.
svn-id: r32606
2008-06-07 21:10:19 +00:00
Eugene Sandulenko
8a0566de14 Add stubs for .dat file loading
svn-id: r32605
2008-06-07 21:02:03 +00:00
Eugene Sandulenko
09597d028c WIP of drascula.dat loading.
DISCLAIMER: this is too far from finished. From now drascula.dat is required to
run the game, but in the meantime you have to make it by yourself. Do not 
update DRASCULA_DAT_VER as I want it to be version 1 once all loading will
be implemented, but that may lead to some changes similar to r32602.

svn-id: r32603
2008-06-07 20:47:52 +00:00
Eugene Sandulenko
9fc94f8cca Make .dat file a bit smaller.
svn-id: r32602
2008-06-07 20:40:59 +00:00
Kari Salminen
6225e8e416 Update Drascula's MSVC project files for r32599.
svn-id: r32601
2008-06-07 20:00:51 +00:00
Eugene Sandulenko
7a0feca9e2 Add new files to makefile.
svn-id: r32600
2008-06-07 19:44:00 +00:00
Eugene Sandulenko
e14f81391c Shuffled around more code. Now the files look more manageable.
svn-id: r32599
2008-06-07 19:40:43 +00:00
Eugene Sandulenko
3723afc268 create_drascula tool, courtsey of md5. Not yet used by the engine.
svn-id: r32598
2008-06-07 18:59:12 +00:00
Eugene Sandulenko
681f331895 Another fix, now to German texts.
svn-id: r32597
2008-06-07 18:43:20 +00:00
Eugene Sandulenko
a78c2251ca Ooops. Several missing colons in the texts which lead to wrong messages were spotted and fixed.
svn-id: r32596
2008-06-07 18:38:44 +00:00
Andre Heider
b17d9f4fb0 -Wno-multichar slipped in twice
svn-id: r32594
2008-06-07 15:39:25 +00:00
Andre Heider
1217f0a42b added support for reset and power buttons
svn-id: r32593
2008-06-07 15:37:17 +00:00
Eugene Sandulenko
f6a1a89d04 Patch #1986992: "DRASCULA: correcting errors"
svn-id: r32592
2008-06-07 14:45:01 +00:00