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
Filippos Karapetis
1a4b617398
- Removed graphics options code from the old GUI. Almost all of them are not supposed to be modified by the user (e.g. the way lines and brushes are drawn), and we can implement any of them again if needed in the new GUI (but they shouldn't really be needed).
...
- Added a config option to disable dithering in the new GUI if requested, called "undither", which is set to true by default and can be changed to false if needed per game
- The per-resource palette code has been removed for now, to be replaced by regular hashmaps (once the FreeSCI scifx reading code has been converted)
svn-id: r45378
2009-10-25 20:53:07 +00:00
Filippos Karapetis
410c298757
Cleanup
...
svn-id: r45368
2009-10-25 08:10:57 +00:00
Filippos Karapetis
452ae8a576
Cleanup
...
svn-id: r45366
2009-10-25 02:36:51 +00:00
Filippos Karapetis
f5b7f85593
Removed unused references to operations.h
...
svn-id: r45217
2009-10-18 10:50:07 +00:00
Filippos Karapetis
a6445d602d
Reverted an accidental change in the last commit
...
svn-id: r45177
2009-10-16 23:31:31 +00:00
Filippos Karapetis
e4c23834dd
Moved sci_ffs() inside iterator.cpp, the only place where it's actually used, and removed tools.*. Also, removed all the unused includes to tools.h from several places
...
svn-id: r45176
2009-10-16 23:29:00 +00:00
Filippos Karapetis
da7652deb3
Changed the KQ6 floppy SEQ decoder to use the common VideoPlayer interface. Some cleanup
...
svn-id: r45124
2009-10-15 15:17:54 +00:00
Filippos Karapetis
5aa1415397
Merged the cursor manipulation code - cursor views are still not done
...
svn-id: r45028
2009-10-13 16:22:07 +00:00
Filippos Karapetis
9b97f21486
Reset the EngineState pointer in the SciGuiGfx class when loading. Fixes loading with the new GUI
...
svn-id: r44934
2009-10-11 16:47:01 +00:00
Filippos Karapetis
8ae4206373
Introduced a new debug level, kDebugLevelResMan, and reduced some of the messages printed to the console
...
svn-id: r44858
2009-10-10 00:07:19 +00:00
Filippos Karapetis
9bb73a8457
Removed the unused _flags variable from EngineState
...
svn-id: r44857
2009-10-09 23:53:37 +00:00
Filippos Karapetis
b91ae69ad2
Removed the now unused GF_SCI0_OLDGETTIME flag and simplified all of the game entries in the detector
...
svn-id: r44856
2009-10-09 23:19:53 +00:00