Martin Kiewitz
a800855bf4
SCI: added new SciGui32 class, Gfx class needs some work though and hopefully i didnt overlook some kernel function that is also used by sci32. now using plane left/top
...
svn-id: r47679
2010-01-29 21:30:46 +00:00
Max Horn
b124a0c1cd
SCI: Reduce header interdependencies a bit
...
svn-id: r47666
2010-01-29 11:05:06 +00:00
Walter van Niftrik
52ef12547f
SCI: Added OnStartup debug flag to start the debugger at the start of the game.
...
svn-id: r47663
2010-01-29 01:31:05 +00:00
Martin Kiewitz
a35e1a2100
SCI: removed upscaled hires switch for sci2.1+ games (not needed anymore), added #ifdef SCI32 for gk1 upscaled hires switch
...
svn-id: r47657
2010-01-28 21:59:05 +00:00
Martin Kiewitz
81a0d7d20d
SCI: changing to upscaled hires for gk1 and kq6 when being on platform windows, added comment explaining the situation about gk1/dos
...
svn-id: r47656
2010-01-28 21:53:07 +00:00
Martin Kiewitz
8653f62b15
SCI: added todo for upscaled hires on sci2
...
svn-id: r47655
2010-01-28 21:24:28 +00:00
Martin Kiewitz
e85e045851
SCI: removed obsolete SCI2 upscaledHires
...
svn-id: r47654
2010-01-28 21:12:39 +00:00
Martin Kiewitz
9e511e0751
SCI: detecting hires for SCI2+ games, qfg4cd is sci2.1 but still 320x200
...
svn-id: r47651
2010-01-28 21:01:57 +00:00
Matthew Hoops
d883b6215f
Detect whether to use the modified SCI2 or SCI2.1 kernel table based on the kDoSound call used in Sound::play(), which fixes at least my version of KQ7 - probably others. The kernel table initialization now occurs after the script signatures are adjusted as we need it adjusted before checking through Sound::play for the kDoSound call.
...
svn-id: r47645
2010-01-28 18:57:31 +00:00
Walter van Niftrik
9861b04b93
SCI: Add driver for Yamaha FB-01. Cleanup.
...
svn-id: r47571
2010-01-26 19:25:33 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Filippos Karapetis
722233fd0d
- Moved all of the parser-related variables inside the Vocabulary class
...
- Moved the kSetSynonyms() function inside kscripts (as it's for script synonyms, not parser word synonyms)
- The parser vocabulary is now only initialized for SCI0 and SCI01 games, which had a parser
svn-id: r47483
2010-01-23 19:10:56 +00:00
Martin Kiewitz
bab35a3991
SCI: dont set dataInc selector inside updateCues when dataInc is not available
...
svn-id: r47362
2010-01-18 22:39:56 +00:00
Walter van Niftrik
1a570df5dc
SCI: Handle master volume inside music drivers
...
svn-id: r47261
2010-01-12 00:51:37 +00:00
Martin Kiewitz
30d787a829
SCI: adding audio support to kPortrait, audio is now playing when portraits are shown
...
svn-id: r47202
2010-01-09 18:18:52 +00:00
Martin Kiewitz
72ecf8b61e
SCI: add robot/.rbt files to resourcemanager class
...
svn-id: r47096
2010-01-06 20:54:18 +00:00
Martin Kiewitz
11d9f15010
SCI: search for %J in text resources to identify japanese games, switch to upscaled hires when japanese games are started, removed TODO
...
svn-id: r47088
2010-01-06 18:25:43 +00:00
Filippos Karapetis
3d3d0dee1b
SCI2.1 and newer games always run at 640x480
...
svn-id: r47073
2010-01-06 12:21:27 +00:00
Filippos Karapetis
d99aa0f126
More renaming
...
svn-id: r47009
2010-01-05 01:37:57 +00:00
Filippos Karapetis
84cd8d2dc7
Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purpose
...
svn-id: r47007
2010-01-05 01:22:16 +00:00
Filippos Karapetis
f66d5a7f53
SCI: Removed the old graphics code
...
svn-id: r47005
2010-01-05 00:54:53 +00:00
Filippos Karapetis
c25f24efc7
Removed the now unused GuiDummy class
...
svn-id: r46967
2010-01-04 08:34:07 +00:00
Martin Kiewitz
ca83c13ec9
SCI: switch to previous gameid, when importing character data in qfg series
...
svn-id: r46813
2010-01-01 09:40:28 +00:00
Martin Kiewitz
3ce017cc2d
SCI: fixed typo in unwrapFilename
...
svn-id: r46807
2009-12-31 23:43:10 +00:00
Matthew Hoops
5382aa1ab0
SCI32:
...
- Set signature for Array/String
- Add the kernel table differences for the GK2 demo
- Implement kMessage changes in SCI32
- Use an empty string as the default path for all games now (and modify kValidPath to accept that only as valid)
- Add dereferencing for Arrays
svn-id: r46756
2009-12-30 16:00:56 +00:00
Matthew Hoops
420ab43066
Add support for external wave files used as audio resources in the ResourceManager. The GK1 CD main menu music now works.
...
svn-id: r46660
2009-12-27 22:34:12 +00:00
Filippos Karapetis
4f02900890
Kernel function 0x26 is empty in SCI1.1 games, and it has been set to kPortrait in KQ6CD only
...
svn-id: r46585
2009-12-26 13:53:59 +00:00
Filippos Karapetis
ab2a5429f5
Set the save game directory to something in pre-SCI32 games, as games like SQ4CD complain that it's invalid if it's empty
...
svn-id: r46570
2009-12-26 01:20:12 +00:00
Filippos Karapetis
12b6d4ab03
Some more work on the new music code
...
svn-id: r46569
2009-12-26 00:50:09 +00:00
Martin Kiewitz
2f5f625b98
SCI/newmusic: added filter support for kq4early and adlib
...
svn-id: r46563
2009-12-25 18:59:15 +00:00
Filippos Karapetis
c8a3d163d1
Added a hack in kAddScreenItem to display the view in question on screen. Some parts of the main menu can be seen now in GK1
...
svn-id: r46528
2009-12-24 14:18:16 +00:00
Matthew Hoops
65dcc0b2a3
SCI32:
...
- Fix dup for kArray/kString
- Implement kFileIO::rename (SCI1.1)
- Implement part of the SCI32 additions to kFileIO
- Implement the GetSaveDir part of kSave (SCI2.1)
- Torin (SCI2.1!) now shows signs of life -- it will create the torin.prf file with correct data!
svn-id: r46521
2009-12-24 02:43:07 +00:00
Matthew Hoops
ef79d7f017
SCI32:
...
- Fully implement kArray and kIsHiRes and mostly implement kString (printf and atoi subfunctions still missing).
- Add a dummy SciGui class for SCI32 to bypass the views. Gabriel Knight 1 will now play the Sierra logo music and the main menu music.
- Some other minor SCI32 changes.
svn-id: r46462
2009-12-21 14:32:54 +00:00
Filippos Karapetis
980b8bb899
Moved all of the sound iterator code in its own directory, and added a slight hack to the SoundCommandParser constructor
...
svn-id: r46430
2009-12-20 13:38:13 +00:00
Martin Kiewitz
84b910f755
SCI: new USE_OLDGFX for switching to oldgui, fixes loading of savedgames under oldgui, oldgui doesn't like calling of setPortPic during loading
...
svn-id: r46294
2009-12-08 21:22:22 +00:00
Martin Kiewitz
a5f1808c83
SCI: SciEvent created, kernel_sleep() created
...
svn-id: r46252
2009-12-04 17:38:24 +00:00
Filippos Karapetis
fbfafb576e
Started objectifying kDoSound()
...
svn-id: r45862
2009-11-12 15:24:11 +00:00
Martin Kiewitz
958ad94d8c
SCI/newgui: setting as default
...
svn-id: r45842
2009-11-11 21:06:06 +00:00
Filippos Karapetis
2aeb892e06
Cleanup
...
svn-id: r45667
2009-11-04 14:27:03 +00:00
Filippos Karapetis
c8fbac1517
- Changed the segment manager to be a static part of the engine, and stopped deleting and recreating it when restoring games
...
- Merged game_exit(), script_free_vm_memory() and script_free_engine()
- Cleanup
svn-id: r45666
2009-11-04 14:22:17 +00:00
Filippos Karapetis
12e3375f3b
Removed the reference to SciGuiCursor from EngineState
...
svn-id: r45660
2009-11-04 12:19:05 +00:00
Filippos Karapetis
f755311114
priority_first and priority_last are not used by the new drawing code, thus the new code didn't handle priority changes by kGraph()
...
svn-id: r45658
2009-11-04 11:52:11 +00:00
Filippos Karapetis
597524b255
Moved most of the code for playing sound effects and speech into a separate class
...
svn-id: r45653
2009-11-04 09:36:18 +00:00
Filippos Karapetis
9450661f72
Added some default directories
...
svn-id: r45568
2009-10-31 17:55:03 +00:00
Martin Kiewitz
4b9066ef69
SCI: accidentally set newgui to default, reverting
...
svn-id: r45563
2009-10-31 14:41:28 +00:00
Martin Kiewitz
f36e9cbe4d
SCI/newgui: UpscaledHires implemented including undithering support, cleanup
...
svn-id: r45562
2009-10-31 14:38:25 +00:00
Filippos Karapetis
71db8b851b
Some more work on KQ6 hi res version - screen scaling should be done now, but other methods haven't been updated yet
...
svn-id: r45555
2009-10-31 10:54:19 +00:00
Filippos Karapetis
ff284c9f5b
Remove unused includes when INCLUDE_OLDGFX is not set. Implemented the full screen updates that the current menu code is doing using new graphics functions (still unfinished). Some cleanup.
...
svn-id: r45536
2009-10-30 12:33:05 +00:00
Martin Kiewitz
8178d548eb
SCI/newgui: Defining color white and others in SciGuiScreen and using that. Also clears screen with 0 on sci1.1 games (needs further investigation), fixes pictures
...
svn-id: r45500
2009-10-29 14:16:20 +00:00
Filippos Karapetis
04ab6bc9fc
Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard (defined in sci.h)
...
svn-id: r45459
2009-10-28 13:20:30 +00:00