Commit Graph

737 Commits

Author SHA1 Message Date
Filippos Karapetis
7915b91720 ACCESS: Remove unused class member variable (CID 1312757) 2015-07-27 14:51:51 +03:00
Filippos Karapetis
089a79de85 ACCESS: Remove leading underscore from non-class member variable 2015-07-27 14:51:17 +03:00
Filippos Karapetis
8be83948b1 ACCESS: Use our formatting conventions for variable and function names 2015-07-24 23:03:22 +03:00
Torbjörn Andersson
08bef96073 ACCESS: Use VGA_COLOR_TRANS() in setManPalette()
This fixes the palette for Tex in Martian Memorandum.
2015-07-24 10:14:28 +02:00
Torbjörn Andersson
c01aa956b9 ACCESS: Use VGA_COLOR_TRANS() in setIconPalette()
This fixes the palette for Martian Memorandum's command icons and
mouse cursor.
2015-07-24 10:08:08 +02:00
Torbjörn Andersson
15d6495755 ACCESS: Fix misleading comment 2015-07-24 09:44:00 +02:00
Torbjörn Andersson
df31113222 ACCESS: Rename local variable to silence GCC warning 2015-07-24 09:14:25 +02:00
Torbjörn Andersson
7734cea9c8 ACCESS: Remove unnecessary variable to fix GCC warning
We already have 'events' declared earlier in the function.
2015-07-23 23:34:32 +02:00
Filippos Karapetis
ad0fc5787f ACCESS: MM doesn't use Miles Audio 2015-07-22 22:51:10 +02:00
Filippos Karapetis
b4c15c674d ACCESS: Comment out unused variables 2015-07-22 22:51:06 +02:00
Willem Jan Palenstijn
6ec9c81b57 Merge branch 'master' into mm
Conflicts:
	engines/access/access.cpp
	engines/access/asurface.h
	engines/access/bubble_box.cpp
	engines/access/bubble_box.h
	engines/access/martian/martian_game.cpp
	engines/access/player.cpp
	engines/access/player.h
	engines/access/resources.cpp
	engines/access/screen.cpp
	engines/access/screen.h
	engines/access/sound.cpp
	engines/access/sound.h
2015-07-22 22:43:42 +02:00
Max Horn
4887796888 ACCESS: Avoid use of global constructors 2015-07-19 17:11:36 +02:00
Torbjörn Andersson
becac8f570 ACCESS: Remove workaround delay from Amazon intro
The delay is no longer needed, now that fade-in works. I don't get
any noticeable delay after the fade-in in DOSBox either.
2015-07-09 23:45:12 +02:00
Torbjörn Andersson
4f56167d6b ACCESS: Fix bug in forceFadeIn()
The bug caused the fade-in to be instantaneous, not gradual.
2015-07-09 23:45:12 +02:00
Torbjörn Andersson
5de5a7afaa ACCESS: Use looping audio stream for Amazon intro's projector sound
This is less prone to glitches than playing manually triggering the
playing of the short non-looping version of the sound.
2015-07-09 23:45:12 +02:00
Filippos Karapetis
a620632a5f ACCESS: Fix sound stream handling
Fixes stopSound(), and changes all sound streams to be deleted on the
next call of checkSoundQueue(), or when clearSounds() is called. This
avoids ending up with invalidated sound streams in the sound queue
2015-07-09 11:53:08 +03:00
Torbjörn Andersson
396d6f2839 ACCESS: Increase delay in Amazon intro to allow fanfare to finish
There's probably a better way of handling this, but as long as we
hard-code a delay, we may as well try to make it fit.
2015-07-05 19:55:33 +02:00
Martin Kiewitz
83f4565fe2 ACCESS: fix valgrind errors in decompressor 2015-07-05 11:29:35 +02:00
Martin Kiewitz
96005c7da9 AUDIO: Miles Audio AdLib instrument stream support
- not using byte pointer + size and instead now a
  SeekableReadStream for factory
- adjusted ACCESS + AGOS engines accordingly
2015-07-04 12:55:49 +02:00
Paul Gilbert
9634e185d2 ACCESS: Fix compiler warning 2015-07-03 09:56:52 -04:00
Martin Kiewitz
1a954398fe ACCESS: update comment about music drivers
Amazon Guardians of Eden (demo) and Martian Memorandum both use
another type of driver, possibly written by Access software
2015-07-03 10:24:49 +02:00
Martin Kiewitz
44676d02f4 ACCESS/AMAZON: music: no driver = ignore calls
ignore music calls when midi driver wasn't created
2015-07-01 01:37:12 +02:00
Martin Kiewitz
b6cf04bb0e AMAZON: implement proper AdLib support (Miles)
implement proper AdLib support
game uses MIDPAK, which seems to be basically Miles Audio too
instrument data was hidden inside MIDIDRV.AP
thanks to dreammaster for extracting the files
2015-07-01 01:30:12 +02:00
Strangerke
5ec05f6b64 ACCESS: MM - use PRINTSTR in several places, remove related TODOs 2015-02-14 15:19:40 +01:00
Strangerke
2fe58fac48 ACCESS: MM - Fix a bug in doBox_v1, implement some TYPE_3 code 2015-02-13 07:20:31 +01:00
Strangerke
232775c5b3 ACCESS: MM - Implement cmdPushLocation 2015-02-11 07:23:30 +01:00
Strangerke
a54bb5e351 ACCESS: MM - Implement cmdSpecial0 2015-02-10 07:53:31 +01:00
Strangerke
bdf3042174 ACCESS: MM - Implement cmdSpecial7 2015-02-09 19:34:32 +01:00
Strangerke
a81fbda3da ACCESS: MM - Start implementing PRINTCHR and SPRINTCHR 2015-02-06 08:25:22 +01:00
Strangerke
ef9c9b78a3 ACCESS: MM - Fix a crash 2015-02-06 08:24:44 +01:00
Strangerke
a05e8625cc ACCESS: Remove an unused function 2015-02-05 07:36:17 +01:00
Strangerke
fb78a6f465 ACCESS: MM - Add an optional variable to scroll functions 2015-02-05 06:59:53 +01:00
Strangerke
852a6b3e81 ACCESS: MM - Hook scroll functions in takePicture 2015-02-05 06:42:58 +01:00
Strangerke
452c5e59c5 ACCESS: Tex2 - Start implementing takePicture() 2015-02-04 22:22:50 +01:00
Strangerke
bb640a85a5 ACCESS: MM - Fix compilation 2015-02-04 07:36:24 +01:00
Strangerke
dd4028db05 ACCESS: MM - Hook displayInv 2015-02-03 07:33:35 +01:00
Strangerke
af664130da ACCESS: MM - Remove combine item feature and table 2015-02-03 07:32:43 +01:00
Strangerke
4ab79fa060 ACCESS: MM - Hook cmdSpecial6 2015-02-03 07:05:14 +01:00
Strangerke
798733c15a ACCESS: MM - Remove a useless function, rename showDeathText 2015-02-03 07:00:32 +01:00
Strangerke
26d86017c7 ACCESS: MM - Implement dead function 2015-02-01 07:59:18 +01:00
Strangerke
631277e486 ACCESS: MM - Implement cmdSpecial6 2015-02-01 07:31:34 +01:00
Strangerke
e0a9c92ccd ACCESS: Split setVideo into 2 functions to allow the loading of files out of a container 2015-01-31 22:42:46 +01:00
Strangerke
4cd155c9a8 ACCESS: MM - Implement cmdSpecial1 2015-01-31 22:37:16 +01:00
Strangerke
490eb341fa ACCESS: MM - Reduce the scope of a variable, some renaming 2015-01-30 07:28:57 +01:00
Strangerke
5159a3851b ACCESS: Clarify calculation precedence for '+' and '?' 2015-01-30 07:26:39 +01:00
Strangerke
38f7aba414 ACCESS: MM - Remove a couple of useless variables 2015-01-30 07:24:22 +01:00
Strangerke
576ad394f3 ACCESS: Remove a useless variable 2015-01-30 07:15:46 +01:00
Strangerke
49d06c1398 ACCESS: Silent a MSVC warning 2015-01-30 07:15:14 +01:00
Strangerke
4176601718 ACCESS: MM - Add MM specific code in doEstablish 2015-01-30 07:11:55 +01:00
Strangerke
817730c360 ACCESS: MM - Implement missing bits of CharEntry 2015-01-30 07:10:54 +01:00
Strangerke
77302c406f ACCESS: Initialize some variables 2015-01-27 07:04:18 +01:00
Strangerke
e85788ffdc ACCESS: MM - Some work on bubble_box 2015-01-26 07:58:59 +01:00
Strangerke
ed4a3565a1 ACCESS: MM - Rename cmdSpecial5, implement cmdSpecial3 2015-01-25 23:30:04 +01:00
Paul Gilbert
587aad7d46 ACCESS: Fix moonwalking in MM 2015-01-25 17:19:19 -05:00
Strangerke
ca0bef9595 ACCESS: MM - Split cmdHelp for MM 2015-01-25 22:05:10 +01:00
Strangerke
b6b5a520d4 ACCESS: MM - Add menu case 8 2015-01-25 01:37:37 +01:00
Strangerke
e4710aedfa ACCESS: MM - Fix the coordinates of the last menu icon 2015-01-25 01:36:18 +01:00
Strangerke
1d100589ab ACCESS: MM - Implement cmdDispAbout, initialize some variables 2015-01-21 23:43:45 +01:00
Strangerke
eed5116fef ACCESS: MM - Fix the travel box 2015-01-21 22:26:23 +01:00
Strangerke
290ea5dfa2 ACCESS: MM - Implement loading of cells00 in intro, some renaming 2015-01-21 07:54:11 +01:00
Torbjörn Andersson
dfe04491c1 JANITORIAL: Remove unnecessary semicolons 2015-01-21 01:29:22 +01:00
Strangerke
d7f37d213c ACCESS: MM - Implement printWatch and clearWatch 2015-01-21 01:10:37 +01:00
Strangerke
f60a4d3e71 ACCESS: MM - Fix the "android" watch dialog and animation 2015-01-21 00:26:11 +01:00
Strangerke
c810ee9a5a ACCESS: MM - Make CharEntry version-dependent 2015-01-19 20:53:53 +01:00
Strangerke
6ba81a9749 ACCESS: MM - Implement printBubble_v1 2015-01-19 00:11:05 +01:00
Strangerke
b1477438bb ACCESS: MM - Implement displayInv 2015-01-18 15:26:05 +01:00
Strangerke
c4e8460ba2 ACCESS: MM - Fix a bug related to the down arrow, some refactoring and renaming 2015-01-17 14:26:56 +01:00
Strangerke
27a9a04615 ACCESS: MM - Fix crash in cmdDoTravel, some renaming 2015-01-17 09:42:41 +01:00
Strangerke
82027ef325 ACCESS: MM - Finish the implementation of doBox_v1 2015-01-16 23:24:13 +01:00
Strangerke
6f2b648b08 ACCESS: MM - Implement drawSelectBox 2015-01-16 08:09:57 +01:00
Strangerke
519ecbb7be ACCESS: MM - Initial string display in doBox_v1 2015-01-16 01:32:01 +01:00
Strangerke
0c14e42bd2 ACCESS: MM - Implement up and down arrows in BubbleBox 2015-01-15 08:23:55 +01:00
Strangerke
f1aa191f8c ACCESS: MM - Implement getList 2015-01-15 00:40:43 +01:00
Strangerke
3a57f20816 ACCESS: MM - Implement displayBoxData 2015-01-14 23:44:24 +01:00
Strangerke
93e8b47e13 ACCESS: MM - Some more work on BubbleBox class 2015-01-13 21:52:40 +01:00
Strangerke
6a288bc476 ACCESS: MM - Work some more on doBox_v1 2015-01-13 00:46:45 +01:00
Strangerke
eacc0e085a ACCESS: MM - Add resource _byte1EEB5[] 2015-01-12 00:23:28 +01:00
Strangerke
ec381ae364 ACCESS: MM - Start implementing MM dialog box, split cmdConverse in two (WIP) 2015-01-12 00:04:38 +01:00
Strangerke
8249de3d44 ACCESS: MM - Make Bubble Box variable, add MM bubble boxes 2015-01-09 08:20:59 +01:00
Strangerke
69952c5ff5 ACCESS: MM - Add Death arrays 2015-01-08 01:53:05 +01:00
Strangerke
dfffeef077 ACCESS: MM - Add Two arrays of strings 2015-01-07 23:01:46 +01:00
Strangerke
e4f7a899d3 ACCESS: MM - Implement mainAreaClick 2015-01-07 00:22:25 +01:00
Strangerke
10e3a4c0bb ACCESS: MM - Split Display Inventory in 2 versions 2015-01-06 07:29:39 +01:00
Strangerke
48ff7ca276 ACCESS: MM - Fix some variable initialization 2015-01-06 07:28:02 +01:00
Strangerke
7323140847 ACCESS: MM - Fix cmdSaveRect, implement cmdCheckTravel 2015-01-06 00:41:10 +01:00
Strangerke
cc75fb5fe0 ACCESS: MM - Fix TRAVEL array size 2015-01-06 00:40:13 +01:00
Strangerke
64d8d49b88 ACCESS: MM - Format CURSOR data 2015-01-06 00:39:33 +01:00
Strangerke
e1ded539ea ACCESS: MM - Implement some game specific opcodes 2015-01-05 22:43:21 +01:00
Strangerke
0f9174fca7 ACCESS: MM - Split some more opcodes 2015-01-05 19:36:38 +01:00
Strangerke
76f681efdf ACCESS: Make opcodes dependant to game versions 2015-01-05 18:15:12 +01:00
Strangerke
fa07048bc4 ACCESS: Improve the use of _establishTable as a boolean 2015-01-04 21:38:37 +01:00
Strangerke
7e45ce9096 ACCESS: MM - Make cmdTexSpeak game-dependent 2015-01-03 10:25:05 +01:00
Strangerke
022b81bbc3 ACCESS: MM - Fix charMenu 2015-01-02 22:49:36 +01:00
Strangerke
56754c2a9d ACCESS: MM - Make RMOUSE game-specific 2015-01-02 22:34:45 +01:00
Strangerke
f11032eb4e ACCESS: MM - Fix menu position 2015-01-02 21:34:48 +01:00
Strangerke
b2a4999f3c ACCESS: MM - Fix mouse cursor when y between 177 and 184, add a call to takePicture (not yet implemented) 2015-01-02 11:05:21 +01:00
Strangerke
900dc7ffc0 ACCESS: MM - Implement setIconPalette for MM 2015-01-02 01:46:58 +01:00
Strangerke
539497f009 ACCESS: MM - Implement setManPalette 2015-01-02 01:21:34 +01:00
Strangerke
ef1165e8b5 ACCESS: MM - More renaming 2015-01-02 00:44:34 +01:00
Strangerke
c3e20acdf2 ACCESS: MM - Some renaming 2015-01-02 00:22:54 +01:00
Strangerke
0f11287b74 ACCESS: MM - Fix the color of notes 2015-01-02 00:16:46 +01:00
Strangerke
e83e55e7be ACCESS: MM - Implement the display of notes at the beginning of chapters (WIP) 2015-01-01 15:35:20 +01:00
Strangerke
f6fb26ea66 ACCESS: MM - Remove unused intro functions, fix display in showCredits 2014-12-31 13:13:47 +01:00
Strangerke
3ac8a26cb9 ACCESS: MM - Start implementing intro 2014-12-31 10:11:15 +01:00
Strangerke
f96dbd52c7 ACCESS: MM - Implement some more tex palette handling 2014-12-31 10:10:32 +01:00
Strangerke
d192d0b60c ACCESS: MM - Load TEXPAL 2014-12-29 22:51:15 +01:00
Strangerke
053fe65b68 ACCESS: MM - Fix Sprite Frame loading 2014-12-29 21:19:14 +01:00
Strangerke
88cca7c97b ACCESS: MM - Fix Sprite Frame loading 2014-12-29 21:01:38 +01:00
Strangerke
a33a9ae2e8 ACCESS: Split a bit more Player class, add some MM specific code 2014-12-29 07:22:51 +01:00
Strangerke
f1d6ba7085 ACCESS: Remove useless variable 2014-12-28 23:36:51 +01:00
Strangerke
c0a8a36083 ACCESS: MM - Implement some game logic 2014-12-28 17:21:16 +01:00
Strangerke
6590898e6c ACCESS: MM - Fix character loading by using a dummy character to replace missing ones 2014-12-28 17:08:07 +01:00
Strangerke
7e62eb4261 ACCESS: MM - Load character table 2014-12-28 16:35:02 +01:00
Strangerke
39ab507b86 ACCESS: MM - Change detection for the floppy version, add detection for the demo 2014-12-28 16:15:03 +01:00
Strangerke
46cd10c525 ACCESS: Fix DisposeAfterUse flags in sound code (thanks to fuzzie) 2014-12-28 11:38:10 +01:00
Strangerke
576bab349c ACCESS: Use loadSoundTable instead of push_back in several places 2014-12-27 17:21:04 +01:00
Strangerke
6a7834a05e ACCESS: Rename loadSoundTable 2014-12-27 16:55:07 +01:00
Strangerke
3c3ff0a3aa ACCESS: Remove two useless variables 2014-12-27 16:46:33 +01:00
Strangerke
6fe9bdf6c6 ACCESS: Fix speech 2014-12-27 16:06:32 +01:00
Strangerke
39eab59388 ACCESS: Rewrite sound queueing (WIP) 2014-12-27 15:31:43 +01:00
Strangerke
d1bc69426e ACCESS: Move variable from Room manager to local function 2014-12-22 19:41:40 +01:00
Strangerke
fc9595efdc ACCESS: Remove an unused variable in Animation manager 2014-12-22 19:16:11 +01:00
Strangerke
04bc635dc7 ACCESS: Remove a couple of unused variables in CharManager 2014-12-22 19:06:56 +01:00
Strangerke
99087c7f45 ACCESS: Use enum instead of int to initialize video flag 2014-12-21 22:55:24 +01:00
Strangerke
8bc30d0dfb ACCESS: Initialize header in videoPlayer constructor 2014-12-21 22:53:20 +01:00
Strangerke
4a1ddd5d0c ACCESS: Remove unused variable 2014-12-21 22:49:18 +01:00
Strangerke
24f0cce9c6 ACCESS: Fix bug in setHorizontalCode() 2014-12-21 22:43:12 +01:00
Paul Gilbert
7cb18f8e7a ACCESS: Fix crash in the introduction sequence 2014-12-20 10:59:16 -05:00
Paul Gilbert
a7bfa55aa8 ACCESS: Fix compiler warnings 2014-12-20 10:01:52 -05:00
Paul Gilbert
18df28f74d ACCESS: Extra initialization for various classes 2014-12-19 23:36:53 -05:00
Paul Gilbert
37b5ee24f5 ACCESS: Rename ASurface copyFrom methods to avoid clash with Graphics::Surface 2014-12-19 22:45:00 -05:00
Paul Gilbert
93bbe3a45e ACCESS: Manually implement ASurface::copyFrom for performance
The original called Surface::copyFrom, which keeps recreating the
dest surface with each copy. This version simply copies the image
2014-12-18 21:52:59 -05:00
Paul Gilbert
95aa9a13a6 ACCESS: Refactor most of ASurface statics to instance variables 2014-12-18 21:45:55 -05:00
Strangerke
864cab5e47 ACCESS: Fix issue related to demo-only (and unused afawk) opcodes 2014-12-19 01:35:33 +01:00
Strangerke
3fca9d42f3 ACCESS: Use Common::String to display bubble box text 2014-12-18 07:23:18 +01:00
Strangerke
7895c5408c ACCESS: Constify general messages 2014-12-18 07:14:21 +01:00
Strangerke
20bcc7f7aa ACCESS: Rename CMDPUSHLOCATION 2014-12-17 23:45:41 +01:00
Strangerke
8fe8cf8e43 ACCESS: Use AD_ENTRY1s in detection tables 2014-12-17 23:35:12 +01:00
Strangerke
c11b6e3eb3 ACCESS: Add original engine dates 2014-12-17 23:27:55 +01:00
Strangerke
beba3cd3f2 ACCESS: Fix indentation issue pointed out by _sev 2014-12-17 23:22:50 +01:00
Strangerke
a990323703 ACCESS: Format the definition of ImagerFlag
and fix a comment
2014-12-17 23:21:13 +01:00
Strangerke
cd4183a463 ACCESS: Fix indentation of METHODS in animate() 2014-12-17 23:15:13 +01:00
Strangerke
79b51f20e4 ACCESS: Use clear to empty Common::String variables 2014-12-17 23:08:54 +01:00
Strangerke
207c4012ad ACCESS: replace an assert by an error as suggested by LordHoto 2014-12-17 23:05:22 +01:00
Strangerke
240b9dcaeb ACCESS: Format Direction enum as suggested by LordHoto 2014-12-17 22:54:29 +01:00
Strangerke
223038924b ACCESS: Get rid of a goto 2014-12-17 22:49:01 +01:00
Strangerke
c57f191960 ACCESS: Constify some resources in MM too 2014-12-17 22:38:01 +01:00
Strangerke
bb01fa31f8 ACCESS: Constify some resources 2014-12-17 22:31:29 +01:00
Strangerke
e141da25e8 ACCESS: Use a uint instead of a int in a loop based on size() 2014-12-17 21:39:26 +01:00
Strangerke
fe627c5ce1 ACCESS: Fix spacing around semicolumn in class definitions 2014-12-17 21:31:26 +01:00