Commit Graph
86814 Commits
Author SHA1 Message Date
Filippos Karapetis 529af0fc3e Extended the "version" console command to also show the game version found in the VERSION file
svn-id: r51150
2010-07-22 16:22:48 +00:00
David Turner 34c8f5dcc5 SCI: Added another workaround to SQ4 Skate-o-rama area.
svn-id: r51149
2010-07-22 16:12:04 +00:00
Filippos Karapetis b587bf35c8 SCI: changed the comment about the palette merging (it's not a workaround anymore). Also, changed the warning when a picture has a broken palette into debug output - these pictures (which can be found in other games too) are usually meant to be blank, thus don't have a palette
svn-id: r51148
2010-07-22 16:01:32 +00:00
Filippos Karapetis 28bc31a139 When modifying variable selectors with argc > 1, don't throw a warning, but use a debugC instead. These are usually typos in the original scripts, and aren't fatal
svn-id: r51147
2010-07-22 15:56:26 +00:00
Alejandro Marzini ef880dd5da OPENGL: Add antialiasing, hotkey: ctrl+alt+f. Fixed minor bugs.
svn-id: r51146
2010-07-22 15:36:50 +00:00
Martin Kiewitz 6c41ca4405 SCI: Adding workaround for sq4 room 411
kGraph(RestoreBox) is called with an additional parameter

svn-id: r51145
2010-07-22 14:43:19 +00:00
Matthew Hoops c1ad4a1110 Use new[]/delete[] instead of malloc/free
svn-id: r51144
2010-07-22 14:33:14 +00:00
Matthew Hoops ede85a539a Silence gcc warning
svn-id: r51143
2010-07-22 14:29:00 +00:00
David Turner debe58cd38 SCI: Added workaround for Engine Abort when rummaging in Software Excess bargain bin.
svn-id: r51142
2010-07-22 13:19:59 +00:00
Filippos Karapetis 8eca9d6acb SCI: Fixed a bug when loading some saved games (sometimes, the execution stack wasn't cleared properly when loading and you couldn't save or restore)
svn-id: r51140
2010-07-22 12:38:48 +00:00
Martin Kiewitz a01152a3ba SCI: some more work on priority sci32
svn-id: r51139
2010-07-22 12:36:58 +00:00
Yotam Barnoy 68783fa01c MADE: fixed bug 3029750 caused by caching from commit 46102.
Cache needed to be cleared every time we load a game. Otherwise, those platforms that happen to use the exact same addresses (PC) were ok, but those platforms that had different addresses (PSP for example) would get messed up.

svn-id: r51138
2010-07-22 11:20:16 +00:00
Martin Kiewitz ed1ae39e46 SCI: removing priority hack for gk1hires
also fixing base picture drawing

svn-id: r51137
2010-07-22 11:11:31 +00:00
Martin Kiewitz 15ef4b23a0 SCI: some work on priority in sci32
svn-id: r51134
2010-07-22 10:24:08 +00:00
Max Horn 66115d697e SCI: Remove '#define FAKE', make SCI_WORKAROUNDENTRY_TERMINATOR 'private'
svn-id: r51133
2010-07-22 09:36:04 +00:00
Filippos Karapetis 87e4823c75 SCI: Moved the actual workaround arrays inside a cpp file
svn-id: r51132
2010-07-22 08:58:59 +00:00
Filippos Karapetis 093800dc1c Silenced a known warning in SQ5, after the intro
svn-id: r51131
2010-07-22 08:57:25 +00:00
Tony Puccinelli 8d946ab847 Added code for relocation R_ARM_TARGET1 (untested)
svn-id: r51130
2010-07-22 01:44:45 +00:00
Filippos Karapetis e20288fd4f SCI: Fixed signature of kFileIO subop 19 for Torin (full version)
svn-id: r51112
2010-07-21 21:52:15 +00:00
Filippos Karapetis a1dab5f923 SCI: Moved all the video related functions in a separate file
svn-id: r51110
2010-07-21 21:37:30 +00:00
Filippos Karapetis 9862f3fe24 SCI: Moved the SCI32 kernel functions out of kernel32.cpp and into their respective files
svn-id: r51108
2010-07-21 21:18:21 +00:00
Johannes Schickel 41190f8a7b GUI: Properly show external MIDI devices.
Formerly in case a game only specified GUIO_MIDIMT32, only the MT-32 Emulator
was shown, since that is the only device which is of type MT_MT32. All
external MIDI devices are currently only flagged with MT_GM.

svn-id: r51107
2010-07-21 20:37:46 +00:00
Martin Kiewitz 781aee909b SCI: r51104 adding #ifdef and check for hires
pq4cd is probably low-res, so adding check for hires and adding #ifdef as well

svn-id: r51106
2010-07-21 20:28:53 +00:00
Johannes Schickel 44aab95eb9 KYRA: Fix mute setting with MIDI and FM-Towns/PC98 output.
svn-id: r51105
2010-07-21 20:26:40 +00:00
Martin Kiewitz 0d1c44301a SCI: halfing kCelWide for sci2.1
fixes lsl6 inventory icon placement, ffs. see comments

svn-id: r51104
2010-07-21 20:22:24 +00:00
Martin Kiewitz ab655ba01f SCI: terminating at another resource of sq4cd
contains broken data as well, room 35

svn-id: r51103
2010-07-21 20:13:24 +00:00
Johannes Schickel 97870a220d AGOS: Make the "m" hotkey respect the mute setting.
svn-id: r51102
2010-07-21 20:12:57 +00:00
Johannes Schickel e3d1ec482c LURE: Make LURE respect the mute settings.
svn-id: r51101
2010-07-21 20:12:35 +00:00
Johannes Schickel 4d437bafd8 AGOS: Make AGOS respect the mute setting.
svn-id: r51100
2010-07-21 20:12:09 +00:00
Willem Jan Palenstijn a97d8875f5 SCI: Rewrite said spec handling.
We now use a manual parser instead of a bison-generated one, and the
new code to match said trees with parse trees matches sierra's more
closely.

Also change the parse/spec tree nodes to use direct pointers to
their child nodes to make it more convenient to manipulate the trees.

This has a high potential for regressions.

svn-id: r51099
2010-07-21 19:59:33 +00:00
Johannes Schickel e95ef4f5f8 KYRA: Respect mute setting on engine startup.
svn-id: r51098
2010-07-21 19:20:10 +00:00
Martin Kiewitz 472dbc9f7d SCI: fix initializing script 99 of sq3
svn-id: r51097
2010-07-21 19:19:33 +00:00
Torbjörn Andersson 780b043677 Janitorial: Removed extra semi-colon.
svn-id: r51096
2010-07-21 18:59:23 +00:00
Johannes Schickel e5e94d4511 Strip trailing whitespaces in our common code base.
svn-id: r51094
2010-07-21 18:17:51 +00:00
Johannes Schickel fcc9de35e2 Strip trailing whitespaces.
svn-id: r51093
2010-07-21 18:15:39 +00:00
Martin Kiewitz bb1c722a0b SCI: adding workaround for sq3
fixing off-by-one error when initializing script 93

svn-id: r51091
2010-07-21 17:42:51 +00:00
Max Horn 175d6e297d SCI: More rest of the workaround defs to workarounds.h
svn-id: r51090
2010-07-21 14:54:06 +00:00
Filippos Karapetis 2ed45d3719 SCI: Moved all the static kernel-related tables in a separate file. Also, moved kStub, kStubNull and kDummy inside kmisc.cpp, together with the other misc kernel calls
svn-id: r51089
2010-07-21 14:50:31 +00:00
Filippos Karapetis 3184aac398 SCI: Moved all the workaround tables in a separate file, to keep them apart from the actual code
svn-id: r51088
2010-07-21 14:18:26 +00:00
Martin Kiewitz 51258a723c SCI: adding lsl6hires uninit workaround
svn-id: r51087
2010-07-21 13:52:41 +00:00
Martin Kiewitz e1bc084547 SCI: fixing hires background pictures sci2.1
svn-id: r51086
2010-07-21 13:13:55 +00:00
Martin Kiewitz 54c516b3bf SCI: kSetNowSeen sci2.1
fixes hotspots

svn-id: r51085
2010-07-21 12:41:17 +00:00
Martin Kiewitz 15fc39589d SCI: more work on coordadjustment sci32
svn-id: r51084
2010-07-21 12:05:10 +00:00
Tony Puccinelli da414e62b8 switched out linker script for plugin linking on ds, added in check for RELA type relocations in ARM loader and coded for REL type relocations (DS now runs many games with Dynamic Plugins enabled)
svn-id: r51083
2010-07-21 08:50:30 +00:00
Filippos Karapetis d53e5fbfb7 SCI: Removed the restoring parameter of the run_vm() function
svn-id: r51076
2010-07-20 23:15:07 +00:00
Filippos Karapetis e7abc6da4f SCI: Fixed an off-by-one error in the resource manager - it tried to load patches of type kResourceTypeInvalid
svn-id: r51075
2010-07-20 21:53:58 +00:00
Martin Kiewitz 2a47f573dd SCI: some sci32 fixes
kOnMe, kLocal2Global, kGlobal2Local now hires capable, hotspots seem to work in lsl6 and sq6, although pressing on start in sq6 doesn't work yet, you need to click on the rightmost/bottom area

svn-id: r51074
2010-07-20 21:22:39 +00:00
Neeraj Kumar f6be0274df TESTBED: added preface to tests, can skip tests now.
svn-id: r51073
2010-07-20 20:20:44 +00:00
Martin Kiewitz 8e24b7930c SCI: adding lsl6hires uninit workaround
svn-id: r51072
2010-07-20 20:17:23 +00:00
Martin Kiewitz c2577da7e0 SCI: fixed jones/ega/vga port issue
getPortById() error was caused by us remembering port when going interactive, restoring it and restoring it all the time afterwards as well

svn-id: r51071
2010-07-20 19:42:48 +00:00