Commit Graph

686 Commits

Author SHA1 Message Date
Filippos Karapetis
90d762c261 Wrapped more engine-specific code around appropriate ifdefs
svn-id: r35679
2009-01-02 19:10:51 +00:00
Filippos Karapetis
7c629b5f6a Wrapped SAGA 2 game entries around appropriate defines
svn-id: r35678
2009-01-02 18:44:15 +00:00
Eugene Sandulenko
007c39a84d Let compiled subengines be visible in About dialog.
svn-id: r35677
2009-01-02 18:20:15 +00:00
Filippos Karapetis
d5b6996c45 - Split the IHNM script functions into a different file
- Added two new defines, ENABLE_IHNM and ENABLE_SAGA2 (enabled by default), which can be used to remove the parts of the SAGA engine which are specific to IHNM and SAGA 2 games. Hopefully, this will reduce the size of the engine even more for platforms with little memory (e.g. the Nintendo DS)

svn-id: r35672
2009-01-02 16:52:38 +00:00
Filippos Karapetis
32f73fd34c Rewrote the SAGA script system to use an opcode table, like in other engines
svn-id: r35670
2009-01-02 13:59:34 +00:00
Filippos Karapetis
41dce61a30 Simplified sound resource loading
svn-id: r35649
2009-01-01 16:02:43 +00:00
Eugene Sandulenko
696897b058 Whoa! Removing trailing spaces.
svn-id: r35648
2009-01-01 15:06:43 +00:00
Filippos Karapetis
220af87112 Proper fix for non-interactive ITE demos (the previous one was affecting sprites for other games)
svn-id: r35645
2008-12-31 22:11:20 +00:00
Filippos Karapetis
94548ed27c Several fixes and cleanup for sound resource loading. Sound information for sound types that are detected automatically is read from the files themselves
svn-id: r35644
2008-12-31 22:10:09 +00:00
Filippos Karapetis
cae6bdac08 Preliminary Shorten audio support for SAGA 2 games. It's still very wrong and needs further work, but it's a start
svn-id: r35626
2008-12-31 11:46:21 +00:00
Filippos Karapetis
14434659bc - Removed game sound information for sound types that it can be determined automatically. The game sound information left is now used as override info for certain sound types (e.g. PCM)
- Added stubs for Shorten audio type, used in SAGA2 games

svn-id: r35616
2008-12-29 18:35:18 +00:00
Filippos Karapetis
9a5f45a40c - IHNM Mac loads correctly again
- Removed isBigEndian from GameSoundInfo
- Removed GF_BIG_ENDIAN_DATA
- Stopped loading the options panel for non-interactive ITE demos (it doesn't exist)
- Fixed crash when exiting from non-interactive ITE demos

svn-id: r35615
2008-12-29 17:30:29 +00:00
Filippos Karapetis
3e06872001 Silenced MSVC warning
svn-id: r35610
2008-12-29 15:04:46 +00:00
Johannes Schickel
a621158cee Added const keyword to static data.
svn-id: r35563
2008-12-26 14:38:45 +00:00
Filippos Karapetis
dec4f1d084 The verb<->textId assignment is needed only for ITE
svn-id: r35562
2008-12-26 13:50:12 +00:00
Max Horn
6837416556 Made Engine::_timer protected
svn-id: r35543
2008-12-25 20:53:59 +00:00
Max Horn
df20d264fd Pushing down some header deps (on common/system.h, mostly)
svn-id: r35542
2008-12-25 20:40:00 +00:00
Max Horn
f4fc0a9176 Fixed warning
svn-id: r35541
2008-12-25 20:36:58 +00:00
Filippos Karapetis
4d249cde76 Slight cleanup
svn-id: r35540
2008-12-25 18:10:21 +00:00
Filippos Karapetis
dd7ea11ac4 SAGA2 HRS resources should be loaded correctly now
svn-id: r35539
2008-12-25 15:19:33 +00:00
Filippos Karapetis
52f464534c Cleanup
svn-id: r35538
2008-12-25 15:16:53 +00:00
Filippos Karapetis
a9a91de3cd Oops
svn-id: r35537
2008-12-25 12:11:38 +00:00
Filippos Karapetis
c8ca4d59bc - Implemented the SAGA2 resource loader
- Some cleanup

svn-id: r35536
2008-12-25 12:09:24 +00:00
Filippos Karapetis
c2c439b53d Slight cleanup
svn-id: r35523
2008-12-24 09:59:18 +00:00
Johannes Schickel
a150aea638 Fixed warning.
svn-id: r35511
2008-12-23 22:01:47 +00:00
Filippos Karapetis
e27c463595 Some initial code for HRS resource loading
svn-id: r35497
2008-12-23 16:29:26 +00:00
Filippos Karapetis
350943f291 Enumerated the different actor directions and fixed spelling
svn-id: r35496
2008-12-23 15:26:55 +00:00
Filippos Karapetis
4d7a43734e Fixed bug #1970191 - "IHNM: Psychic Profile problem"
svn-id: r35495
2008-12-23 11:18:01 +00:00
Filippos Karapetis
9a57f42399 logicalWidth -> width
logicalHeight -> height

svn-id: r35488
2008-12-22 14:36:58 +00:00
Torbjörn Andersson
3e0b81a99e Fixed GCC warning.
svn-id: r35487
2008-12-22 14:34:32 +00:00
Filippos Karapetis
38f7fa6f4a Added game ID checks for the ITE puzzle in some places that I've missed
svn-id: r35486
2008-12-22 14:30:00 +00:00
Filippos Karapetis
437384a838 - Split the SAGA resource manager in 3 different ones, depending on the resource type (RSC for ITE, RES for IHNM and HRS for DINO/FTA2). The SAGA 2 HRS resource manager is still a stub
- Added detection for the voice file of FTA2

svn-id: r35484
2008-12-22 14:13:15 +00:00
Travis Howell
1f669687a3 Correct comment.
svn-id: r35483
2008-12-22 11:49:49 +00:00
Filippos Karapetis
c3bbc4b279 Added Smacker support for the introduction and ending videos of FTA2
svn-id: r35482
2008-12-22 11:26:29 +00:00
Filippos Karapetis
f3db2bf1c3 Added some more stubs for FTA2
svn-id: r35475
2008-12-21 23:43:12 +00:00
Filippos Karapetis
2257db88d3 - Added some stubs for the SAGA2 games dino and fta2
- Stopped loading the isomap and puzzle game modules for IHNM, as they are not used for that game (this saves some memory for IHNM)
- Removed getDisplayWidth() and getDisplayHeight()

svn-id: r35473
2008-12-21 22:52:44 +00:00
Filippos Karapetis
d0f4f97ea9 Cleaned up the mess with game IDs and game types: removed game types, reduced the game IDs and added game features where necessary
svn-id: r35467
2008-12-21 15:59:05 +00:00
Filippos Karapetis
3c01f4f0e1 Partial fix for bug #2453189 - "ITE: mass adding results in incorrect targets" (the Italian multiplatform fan translated version is still missing)
svn-id: r35449
2008-12-20 12:05:35 +00:00
Filippos Karapetis
d28478e545 Fixed bug #2453183 - "IHNM: mass adding results in incorrect targets"
svn-id: r35448
2008-12-20 10:59:29 +00:00
Filippos Karapetis
6baa803dff Removed defaults which are set in base/commandLine.cpp
svn-id: r35444
2008-12-19 19:12:29 +00:00
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
2911aa04c1 Fixed bug #2424530 - "IHNM: SFX are no longer played", by assigning correct default values for missing config manager settings
svn-id: r35436
2008-12-19 10:54:05 +00:00
Filippos Karapetis
c6947285d2 Fixed a regression of commit #34458. Sound data for compressed sounds was read incorrectly. Fixes bugs #2422371 - "ITE: Talk animation takes longer than speaking" and #2111496 - "IHNM: Speech is garbled"
svn-id: r35320
2008-12-12 22:56:56 +00:00
Filippos Karapetis
dcca0c9f66 Fixed a regression in my last commit where some sprites were not clipped correctly
svn-id: r35318
2008-12-12 20:10:00 +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
Torbjörn Andersson
e26f1391fa Fixed detection of voice files.
svn-id: r35305
2008-12-11 18:09:45 +00:00
Filippos Karapetis
39871b84de Some more dirty rectangle fixes, only 2 known glitches are left
svn-id: r35296
2008-12-10 19:39:26 +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
e27c494371 Some more dirty rectangle changes (still incomplete)
svn-id: r35288
2008-12-08 22:07:14 +00:00
Filippos Karapetis
4c62b50921 More dirty rectangle related changes
svn-id: r35285
2008-12-08 17:48:39 +00:00