142 Commits

Author SHA1 Message Date
Filippos Karapetis
0410d6dfae Removed the hasKey() hackery of my previous commit and used ConfMan.registerDefault() instead. Changed sound_volume back to sfx_volume, which got changed with the GSoC merge and was the actual cause that the sound effects were off by default
svn-id: r35437
2008-12-19 12:03:22 +00:00
Filippos Karapetis
cfa939d151 - Stop passing the scene clip rectangle around for no reason
- More changes for dirty rectangle handling
- Stop adding dirty rectangles that cover the whole screen for no reason
- Dirty rectangle handling is still very buggy, so it's still disabled

svn-id: r35314
2008-12-12 14:23:02 +00:00
Filippos Karapetis
5f4518a2ad Some more dirty rectangle fixes (some glitches still remain)
svn-id: r35294
2008-12-09 21:09:45 +00:00
Filippos Karapetis
78fd335a42 More dirty rectangle related changes (dirty rectangle handling is still broken)
svn-id: r35281
2008-12-07 18:49:35 +00:00
Filippos Karapetis
065694dbb1 - Prevented direct reference to the back buffer in many cases (apart from a few, where it's modified directly)
- Added skeleton code for dirty rectangle handling (still unfinished and non-working)
- Added wrapper functions to access the back buffer, which add the appropriate dirty rectangles automatically

svn-id: r35264
2008-12-06 18:23:34 +00:00
Filippos Karapetis
5f2cd3c4a7 Cleanup
svn-id: r35263
2008-12-06 14:44:09 +00:00
Filippos Karapetis
9c04b0c229 All the screen drawing functions draw to the back buffer, so there is no point in passing it everywhere
svn-id: r35260
2008-12-06 14:24:40 +00:00
Filippos Karapetis
f3a60a8c96 Cleanup
svn-id: r35259
2008-12-06 13:35:27 +00:00
Robin Watts
8f3b2e9b4d Remove warnings from NDS build.
svn-id: r35172
2008-11-29 18:01:16 +00:00
Eugene Sandulenko
84379f1124 Fix bugs #1981081: "ITE: No blinking disk icon" and #1971729: "IHNM: No Animation of Disk Icon"
svn-id: r34645
2008-09-24 22:44:01 +00:00
Filippos Karapetis
6d4900ad06 Hopefully fixed the chaos with the SAGA volume values. This also fixes the broken volume introduced with the introduction of the RTL code in the engine
svn-id: r34349
2008-09-05 13:02:03 +00:00
Christopher Page
370cc6615e Fixed volume change after loading a game in Saga
svn-id: r33952
2008-08-16 22:30:19 +00:00
Christopher Page
4198ee9623 Merged revisions 33188-33189,33191-33193,33196,33198,33202-33203,33206,33210,33212,33218-33220,33222,33224-33226,33229-33243,33246,33248-33250,33252,33258-33261,33263,33266,33270,33272-33283,33285,33287-33290,33295-33298,33321,33325-33330,33332-33335,33337-33340,33342,33345,33347,33349-33350,33352-33357,33359-33367,33369-33371,33373,33375-33377,33379-33380,33383-33385,33387-33389,33392-33394,33400-33402,33404-33405,33407-33410,33412-33416,33418-33419,33425-33427,33432,33436-33438,33444,33446,33452-33453,33455-33459,33463-33464,33466-33471,33473-33474,33478,33490,33492,33495-33496,33509-33512,33518-33519,33522-33527,33529-33530,33537,33541,33544,33546,33550,33552-33554,33556,33558,33561-33562,33565,33568,33570,33574,33576,33578-33581,33584-33587,33590,33596,33604-33611,33614-33615,33617-33618,33620-33621 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
 

svn-id: r33624
2008-08-04 22:34:07 +00:00
Filippos Karapetis
0145dd38d9 Added load confirmation dialog for IHNM, like in the original.
Fixes bug #1971699 - "IHNM: No Load Game Confirmation"

svn-id: r33490
2008-08-01 14:03:20 +00:00
Christopher Page
9560a4c3d3 Separated Speech from SFX in SAGA, improved configuration of SAGA sound settings through the GMM
svn-id: r33176
2008-07-21 19:15:28 +00:00
Christopher Page
cbadb51ce7 SAGA works with new GMM implementation
svn-id: r33000
2008-07-11 01:09:48 +00:00
Christopher Page
dd423f803b SAGA: Fixed memory leaks in the SAGA engine
svn-id: r32673
2008-06-12 16:58:02 +00:00
Filippos Karapetis
4b5ed050f1 Initial WIP and still non-working code for the blinking save reminder icon (bug reports #1981081 and #1971729)
svn-id: r32521
2008-06-03 21:20:55 +00:00
Filippos Karapetis
966239fc52 Code cleanup:
- Removed sagaresnames.h
- Moved all special scenes to scene.h, and named them consistently (e.g. RID_ITE_OVERMAP_SCENE -> ITE_SCENE_OVERMAP)
- Moved all resources which were used by the ITE intro into ite_introproc.cpp
- Removed several defines which were only used once (e.g. the SFX names)
- Reordered the GameResourceDescription resources so that ITE and IHNM specific resources are placed in the end
- Updated the comment about the IHNM Mac music
- Changed the callocs in loadPalAnim to mallocs, like in the rest of the code
- Removed the MEM error

svn-id: r32282
2008-05-26 11:10:46 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Filippos Karapetis
29d1749db5 Added handling of home/end keys in input dialogs and properly filtered out non-alphanumeric keys
svn-id: r30358
2008-01-09 21:26:38 +00:00
Paul Gilbert
6eb64102a4 Fix to remove a tab character from the GPL header
svn-id: r30238
2008-01-05 12:45:14 +00:00
Filippos Karapetis
5b74b676ce Disable voices when voice files do not exist (like the original interpreter does), instead of exiting with an error. This is necessary for devices with little space
svn-id: r29956
2007-12-23 02:33:58 +00:00
Filippos Karapetis
aac7886ac9 Fix for bug #1851030 - "IHNM Spanish CD - Wrong Dialogs color"
svn-id: r29929
2007-12-20 19:17:00 +00:00
Filippos Karapetis
335e9da41d Removed clamp() and used the common CLIP template instead
svn-id: r29927
2007-12-20 19:00:10 +00:00
Filippos Karapetis
9ec7588e49 Fix for bug #1848016 - "IHNM: Wrong Subtitles Color (Spanish)". The colors of the default palette in the Spanish version of the game are shifted by 1.
svn-id: r29828
2007-12-11 22:40:39 +00:00
Filippos Karapetis
00e9ed51d9 The palette of the boss screen (F9 key) in IHNM is set correctly now
svn-id: r29279
2007-10-28 04:42:22 +00:00
Filippos Karapetis
01e88f1fbf The options panel in IHNM is now shown and functioning correctly when it's opened during a character's speech
svn-id: r29266
2007-10-27 17:55:50 +00:00
Filippos Karapetis
8ced5d58df Show the cursor when opening the options screen. Also, fixed a regression with some strings in the game interface
svn-id: r29151
2007-09-30 14:46:49 +00:00
Filippos Karapetis
f002fcf98a IHNM does not have excuse texts
svn-id: r29145
2007-09-30 13:19:31 +00:00
Filippos Karapetis
e065980581 The sales info video for the IHNM demo is now shown when quitting the demo
svn-id: r28906
2007-09-15 12:57:11 +00:00
Filippos Karapetis
5fa2b1a3c5 Palette fade in when a cutaway starts in IHNM is working now. Also, the fade mode is properly set in all cases where palette fadeout is used. Some code formatting
svn-id: r28904
2007-09-15 12:09:56 +00:00
Filippos Karapetis
c84ff65720 Removed the RF_PLACARD flag. Also, simplified sfPlaceActor and removed a non needed check
svn-id: r28901
2007-09-14 12:42:47 +00:00
Max Horn
4a4fc235f2 Change SAGA engine to properly use KeyState structs for handling keyboard input
svn-id: r28889
2007-09-11 09:19:23 +00:00
Max Horn
4a302b25ad Lots of source code formatting corrections
svn-id: r28887
2007-09-10 13:17:20 +00:00
Filippos Karapetis
3ce737eb2a Cleanup
svn-id: r28748
2007-08-26 15:57:30 +00:00
Filippos Karapetis
5e8a4a1425 The character selection screen shown when all the 5 protagonist chapters are completed is now functional
svn-id: r28742
2007-08-26 03:22:52 +00:00
Filippos Karapetis
30a82f1879 When sfMainMode is set, overwrite the stored panel mode
svn-id: r28731
2007-08-25 19:21:43 +00:00
Filippos Karapetis
3d823b250b Properly limit the save title size in IHNM
svn-id: r28728
2007-08-25 17:10:31 +00:00
Filippos Karapetis
b68f2532c5 Converse arrows scroll the conversation options correctly now
svn-id: r28720
2007-08-25 12:49:03 +00:00
Filippos Karapetis
41ee693710 Inventory arrows scroll the inventory correctly now
svn-id: r28719
2007-08-25 12:38:35 +00:00
Filippos Karapetis
3a761c8acd Oops, fixed a regression introduced with the latest code cleanup
svn-id: r28708
2007-08-24 12:43:56 +00:00
Filippos Karapetis
84d2dda5ed Code cleanup for the IHNM demo
svn-id: r28707
2007-08-24 12:05:05 +00:00
Filippos Karapetis
300ea0184a The colors of the input text widgets are correct now in IHNM
svn-id: r28701
2007-08-23 13:34:28 +00:00
Filippos Karapetis
bd4a289493 The height of the save file list slider is calculated correctly now for IHNM
svn-id: r28691
2007-08-21 18:23:48 +00:00
Filippos Karapetis
296080e44f The button sprites of the warnings dialogs of IHNM are loaded correctly now. Also, the save file slider is shown correctly now (although it still needs some tweaking, as its virtual height is still the same as in ITE)
svn-id: r28690
2007-08-21 18:07:17 +00:00
Filippos Karapetis
c50c20b2c2 Cleanup: Removed obsolete TODOs
svn-id: r28682
2007-08-20 20:00:40 +00:00
Filippos Karapetis
0566bef991 Corrected some of the colors in the save/load dialogs in IHNM
svn-id: r28648
2007-08-18 01:59:18 +00:00
Filippos Karapetis
769dd1d7a2 Several bugfixes:
- The spiritual barometer display in IHNM is now updated only when necessary, to speed drawing up. This also corrects an issue where the spiritual barometer display was updated only after changing a scene
- sf92 is sfDemoSetInteractive
- It's now possible to use dashes and underscores in savegames
- Screen fading when changing scenes is now done correctly: the interface will no longer be incorrectly briefly shown while the screen is fading to black
- The interface mode is now correctly set in the non-interactive part of the IHNM demo
- sfScriptGotoScene does not have a transition parameter, therefore that parameter has been removed

svn-id: r28643
2007-08-17 06:08:18 +00:00
Filippos Karapetis
3e9c4be280 The help screen in the IHNM demo is shown correctly now
svn-id: r28406
2007-08-02 14:43:10 +00:00