Commit Graph

50755 Commits

Author SHA1 Message Date
Willem Jan Palenstijn
99b7fce611 DREAMWEB: Fix regression in sparky 2011-12-23 17:09:46 +01:00
Paul Gilbert
1b98cd5686 TSAGE: Implemented R2R Scene 825 - Autodoc 2011-12-23 20:52:27 +11:00
Max Horn
c9e9e5d6d8 DREAMWEB: Add titles.cpp, move some methods to titles.cpp and talk.cpp 2011-12-23 10:18:02 +01:00
Max Horn
b2fcdd6c86 DREAMWEB: Move rest of saveload.cpp to DreamBase 2011-12-23 10:18:02 +01:00
Max Horn
b6e139d112 DREAMWEB: Convert resetLocation and purgeALocation to C++ 2011-12-23 10:18:01 +01:00
Max Horn
f41412186b DREAMWEB: Add newplace.cpp 2011-12-23 10:18:01 +01:00
Max Horn
ef98df5895 DREAMWEB: cleanup 2011-12-23 03:43:19 +02:00
Max Horn
cdc6bc421b DREAMWEB: Turn RectWithCallback into template
Also moves checkCoords to DreamBase, adding a nasty cast to it. This is a
temporary HACK, which allows moving functions that use checkCoords to
DreamBase one at a time, instead of all at once (and at the same time as
checkCoords). This can be undone once everything using checkCoords has been
moved to DreamBase.
2011-12-23 03:39:44 +02:00
Max Horn
a4ffb8fe54 DREAMWEB: Convert fadeDownMon, fadeUpMon, initialMonCols to C++
Note that the two fade methods are currently unused; the only calls to them
are commented out in the asm version of the code.
This change also removes showGroup()
2011-12-23 03:32:50 +02:00
Max Horn
d033566f6d DREAMWEB: Move most of saveload.cpp to DreamBase 2011-12-23 03:31:01 +02:00
Max Horn
2bdcbadbfe DREAMWEB: Yet more things to DreamBase 2011-12-23 03:30:59 +02:00
Filippos Karapetis
c7dbbc8606 DREAMWEB: Ported 'reminders' to C++ and renamed it to edensFlatReminders() 2011-12-23 03:27:27 +02:00
Travis Howell
3241d34a32 Add patch #3463338 - Detect Macintosh demo of Pajama Sam 1. 2011-12-23 10:39:42 +11:00
Willem Jan Palenstijn
4a1c516b98 README: Add Win7 config file location 2011-12-22 22:01:37 +01:00
Strangerke
014536cf3f TSAGE: R2R - Fix a couple of bugs in scene 2000, Fix calls to disableControl() with parameters
Also remove several obsolete warnings
2011-12-22 20:23:48 +01:00
Strangerke
2811d83670 TSAGE: Give a default value to the second parameter of disableControl(), as for enableControl() 2011-12-22 20:21:23 +01:00
Strangerke
0234bb5be2 TSAGE: R2R - Remove obsolete warning 2011-12-22 19:45:44 +01:00
Strangerke
086b0e5057 TSAGE: R2R - Scene 3100 (space port): Fix cursor used in signal(), rename an object 2011-12-22 19:42:13 +01:00
Strangerke
cdd9ab3b70 TSAGE: R2R - Implement scene 3245 2011-12-22 18:35:30 +01:00
Strangerke
e6a671b555 TSAGE: R2R - Implement scene 3240 2011-12-22 18:35:28 +01:00
Strangerke
fc671351cf TSAGE: R2R - Implement scene 3230 2011-12-22 18:35:27 +01:00
Strangerke
e10060f262 TSAGE: R2R - Implement scene 3220 2011-12-22 18:35:25 +01:00
Paul Gilbert
5f89ef2094 TSAGE: R2R look/use/talk fields are more appropriate in the SceneHotspot class 2011-12-22 22:26:08 +11:00
Tobias Gunkel
8b77f18c9e SCUMM: Revert now obsolete separation of state variables in player_appleII 2011-12-22 12:08:30 +01:00
Tobias Gunkel
12103981b7 SCUMM: Remove player_appleII logging 2011-12-22 12:08:29 +01:00
Tobias Gunkel
f7a869ccc5 SCUMM: Optimize player_appleII sample buffer
The AppleII sound player works in two phases: writing samples to the
sample buffer (sample
generation) or reading samples from the buffer and passing it to ScummVM's
output callback.
The sample buffer is read completely in the reading phase so the entries
of the already read samples of the buffer can be reused again during the
next write phase.
2011-12-22 12:08:28 +01:00
Tobias Gunkel
3a9f2c5f5b SCUMM: Use finer grained sound updates for player_appleII
This reduces the needed buffer size for the biggest type4 sound from 170kB to only 2 bytes
2011-12-22 12:08:28 +01:00
Tobias Gunkel
7d551c9e6e SCUMM: Wrap player_appleII sound generation functions in classes 2011-12-22 12:08:27 +01:00
Tobias Gunkel
ffc88c5ced SCUMM: Reduce sound buffer size for player_appleII
Sound generation functions are now called incrementally instead of just
once to generate the sound data. This reduces the max. buffer size
from 1.7MB to just ~100KB (piano, sound 50).
2011-12-22 12:08:26 +01:00
Tobias Gunkel
375047b729 SCUMM: Increase precision of player_appleII
Use fixed precision instead of integral numbers for sample conversion
2011-12-22 12:08:26 +01:00
Tobias Gunkel
8b7ad559c1 SCUMM: Aggregate speaker states of CPU cycles in between samples
- formerly only two sample levels were possible: 32767 or -32767. Now the
  speaker states (0/1) between two samples are aggregated by the new
  SampleConverter class to allow more accurate sample values between -32767
  and 32767.
- the player's state is moved into a separate state struct
2011-12-22 12:08:25 +01:00
Tobias Gunkel
e56d5df295 SCUMM: Fix error in player_appleII when both voices are triggered at the same time 2011-12-22 12:08:24 +01:00
Tobias Gunkel
109ba212c6 SCUMM: Add initial support for AppleII sound player 2011-12-22 12:08:23 +01:00
Paul Gilbert
a4934fe05a TSAGE: Moved look/use/talk descriptions to SceneItem class, and implemented R2R SceneExt::display 2011-12-22 21:55:46 +11:00
Paul Gilbert
b5e5328184 TSAGE: Implement R2R 2 parameter versions of Player disableControl and enableControl 2011-12-22 21:12:08 +11:00
Paul Gilbert
0319cd06ef CGE: Added explicit 'PACKED_STRUCT' macro to the HideDesc structure 2011-12-22 19:30:47 +11:00
Strangerke
877b6e9b1d TSAGE: R2R - Implement scene 3210 2011-12-22 07:44:58 +01:00
Strangerke
c40df9a6ed TSAGE: Work around a data issue in R2R.
The character name doesn't seem case sensitive in R2R
2011-12-22 00:33:18 +01:00
Strangerke
d49ffde8ea TSAGE: R2R - Implement scene 3200 2011-12-22 00:30:49 +01:00
Strangerke
53929044a6 TSAGE: R2R - Implement scene 3175 2011-12-21 22:42:16 +01:00
Strangerke
62f4bb6ac1 TSAGE: R2R - Implement scene 3150 2011-12-20 23:56:26 +01:00
Willem Jan Palenstijn
341a2d6874 DREAMWEB: Fix regression in deleteExObject
(thanks to Fingolfin)
2011-12-20 14:07:01 +01:00
Matthew Hoops
8a22c2d65e MOHAWK: Add another lilmonster demo 2011-12-19 19:06:57 -05:00
Willem Jan Palenstijn
f5e8b3257e DREAMWEB: Fix regressions in intoInv, outOfInv; cleanup selectOb 2011-12-20 00:06:49 +01:00
Willem Jan Palenstijn
d2375c86eb SKY: Fix warning 2011-12-19 23:58:55 +01:00
Strangerke
9a40cd8fd7 TSAGE: R2R - Implement scene 3125 2011-12-19 23:15:42 +01:00
Filippos Karapetis
5a3deea58e DREAMWEB: More work on inToInv and outOfInv 2011-12-19 23:48:13 +02:00
Matthew Hoops
bdf14ed598 GRAPHICS: Fix PICT lines with large pitches 2011-12-19 15:21:35 -05:00
Tarek Soliman
96face8ba8 TSAGE: Blue Force is now ready for testing 2011-12-19 10:52:44 -06:00
Paul Gilbert
7d580ee37e TSAGE: Implemented R2R Scene 800 - Sickbay 2011-12-19 22:28:25 +11:00