Commit Graph

45 Commits

Author SHA1 Message Date
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Filippos Karapetis
e0314f9ecd SAGA: Turned several unnecessarily inherited classes into typedefs
svn-id: r55677
2011-01-31 11:36:14 +00:00
Andrew Kurushin
0970cdf5e5 SAGA: reduce memory usage
svn-id: r53782
2010-10-24 22:52:57 +00:00
Andrew Kurushin
67cc1b8a84 SAGA: replace Resource:loadResource malloc with ByteArray class
svn-id: r53779
2010-10-24 22:17:44 +00:00
Andrew Kurushin
e3ea3b5b7e SAGA: replace Scene::_resourceList, Interface::_inventory malloc arrays with Common::Array
svn-id: r53773
2010-10-24 20:22:21 +00:00
Andrew Kurushin
b10cd22d51 SAGA: replace Events malloc base linked list with Common::List
svn-id: r53751
2010-10-23 23:07:10 +00:00
Andrew Kurushin
405c523bbb SAGA: replace decodeBGImage malloc with ByteArray
svn-id: r53748
2010-10-23 21:56:16 +00:00
Andrew Kurushin
f24394b85f SAGA: replace Actor::_pathCell, Anim::*, Converse::text, IsoMap::*, Music::_songTable, ObjectMap::*, PalAnim::*, Scene::sceneLut, SndRes::_fxTable* malloc based arrays with Common::Array implementation
add ByteArray type
fix debug Tile Hittest frame drawing
debug 0x%x => 0x%X

svn-id: r53719
2010-10-22 23:13:17 +00:00
Matthew Hoops
11cbdd0318 Committing the rest of the VideoDecoder Rewrite from patch #2963496.
svn-id: r49079
2010-05-18 14:17:24 +00:00
Filippos Karapetis
80acb21a56 Added automatic detection of the IHNM demo
svn-id: r49047
2010-05-16 10:36:21 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Max Horn
82f862c6b2 SAGA: Simplified Scene::skipScene, changed loadScene to take a LoadSceneParams ref instead of a ptr
svn-id: r39943
2009-04-11 21:38:14 +00:00
Filippos Karapetis
7287457672 Got rid of SortedList
svn-id: r39928
2009-04-11 09:54:55 +00:00
Filippos Karapetis
9d7111006d - Reworked the different file types a bit
- Some initial work on Dinotopia's intro sequence

svn-id: r39234
2009-03-08 15:39:19 +00:00
Filippos Karapetis
c2c439b53d Slight cleanup
svn-id: r35523
2008-12-24 09:59:18 +00:00
Filippos Karapetis
9a57f42399 logicalWidth -> width
logicalHeight -> height

svn-id: r35488
2008-12-22 14:36:58 +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
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
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
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
d6c34bdc4b Fixed the spaces before tabs.
svn-id: r30667
2008-01-28 00:14:17 +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
18dd1881c5 Added some hard coded strings for the Italian fan translation of ITE (still not supported). Merged those strings with the hard coded strings for the Italian fan translation of IHNM
svn-id: r29933
2007-12-21 02:08:30 +00:00
Eugene Sandulenko
83802f795b Several subtitles-related IHNM fixes. Still not perfect.
svn-id: r29427
2007-11-05 23:40:30 +00:00
Eugene Sandulenko
66ccbb97d1 Proper implementation of intro and credits in IHNM
svn-id: r28763
2007-08-30 17:55:19 +00:00
Filippos Karapetis
b39c4cbdba Added some skeleton code for the IHNM credits movie. Also, changed the location of the RF_DISABLE_ACTORS is set from loadScene to endScene
svn-id: r28757
2007-08-27 13:04:35 +00:00
Filippos Karapetis
84d2dda5ed Code cleanup for the IHNM demo
svn-id: r28707
2007-08-24 12:05:05 +00:00
Filippos Karapetis
63f3d5b253 Partially implemented opcodes 87, 88 and 89, used in the help system of the IHNM demo. It's still buggy, though
svn-id: r28398
2007-08-02 01:04:44 +00:00
Filippos Karapetis
889d1a4aee The interactive part of the IHNM demo fully works now. Also, made the options screen work in the non-interactive part of the demo
svn-id: r28344
2007-07-30 23:37:18 +00:00
Filippos Karapetis
7498c6b43e It's now possible to exit from the psychic profile screen in IHNM
svn-id: r28325
2007-07-30 14:22:53 +00:00
Filippos Karapetis
b888c08581 The credits of the IHNM demo are displayed correctly now
svn-id: r28320
2007-07-30 09:14:15 +00:00
Filippos Karapetis
4ffd38a199 When saving the game in IHNM after a chapter point change, the chapter point change music will no longer be incorrectly saved, and the normal chapter music will be saved instead
svn-id: r27545
2007-06-19 11:23:20 +00:00
Filippos Karapetis
8bc226b0e5 The correct music track is now played when loading a game in IHNM. The save/load mechanism in IHNM seems to be working correctly now (although it needs testing), however there are still some graphical glitches with the save/load dialogs. Also, moved some unfinished code for returning to the chapter selection screen to a more appropriate place
svn-id: r27542
2007-06-19 02:42:59 +00:00
Filippos Karapetis
153f325004 More updates for the save/load system in IHNM
svn-id: r27540
2007-06-19 01:37:48 +00:00
Filippos Karapetis
3f5202ea38 Change some regular integers to short integers
svn-id: r27538
2007-06-18 19:56:36 +00:00
Filippos Karapetis
6dc0a1b234 Some more updates for saving/loading in IHNM
svn-id: r27512
2007-06-17 15:45:09 +00:00
Filippos Karapetis
9b14f5faed Implemented the sfGetMouseClicks and sfResetMouseClicks opcodes and created the skeleton for sfScriptStartVideo, sfScriptReturnFromVideo and sfScriptEndVideo opcodes
svn-id: r27145
2007-06-06 19:46:10 +00:00
Filippos Karapetis
66f9032d01 Simplified check for scene height in IHNM
svn-id: r27067
2007-06-03 16:14:57 +00:00
Filippos Karapetis
89b80a3f8b Opcode 11 is sfLockUser. Also updated Scene::getHeight() for this change. Now, the interface is locked when the scripts lock it. This prevents erroneous actor movement when skipping speech by left clicking, and other incorrect behavior. Special thanks to h00ligan for all his help
svn-id: r27064
2007-06-03 15:50:25 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Filippos Karapetis
a8ab2c7cff Moved functions getDoorState, setDoorState, getBGMaskType and validBGMaskPoint to scene.h and disabled some sanity checks to improve the speed of the pathfinding algorithm, after discussing with h00ligan
svn-id: r26789
2007-05-08 17:32:31 +00:00
Max Horn
60aec5b9f1 SAGA: Moved displayinfo stuff into its own header file
svn-id: r26635
2007-04-27 23:11:12 +00:00
Max Horn
26ee630756 Moved engines to the new engines/ directory
svn-id: r20582
2006-02-11 22:45:04 +00:00