Max Horn
4f8665fc83
COMMON: Move isFoo functions to namespace Common, add doxygen comments
2012-02-20 16:18:27 +01:00
Max Horn
658080deed
ALL: Avoid using is* macros from ctype.h
...
On some systems, passing signed chars to macros like isspace() etc. lead
to a runtime error. Hence, mark these macros as forbidden by default,
and introduce otherwise equivalent alternatives for them.
2012-02-15 16:51:37 +01:00
Filippos Karapetis
b71123ef4f
SAGA: properly remove the save reminder callback on engine exit
...
This fixes an error when exiting to the launcher and restarting a game
2011-08-30 12:59:35 +03:00
Eugene Sandulenko
78f1ea7690
OSYSTEM: extended installTimerProc() with timer ID parameter
2011-08-06 11:28:35 +01:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
md5
c06dd90142
SAGA: Removed unused variables
...
Thanks to LordHoto and the trusty -Wunused-but-set-variable option :)
2011-04-27 13:13:36 +03:00
Eugene Sandulenko
64c3332138
SAGA: Fixed bug #3276033 : IHNM: Savegame reminder not reset
2011-04-17 14:10:46 +03:00
Max Horn
2d1c8a3533
ALL: Fix whitespaces / indention
...
svn-id: r55818
2011-02-07 23:01:06 +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
Torbjörn Andersson
28a98c7416
SAGA: Silence warning
...
svn-id: r53632
2010-10-20 03:54:33 +00:00
Andrew Kurushin
e4029f6f0e
SAGA: SAGA: replace SpriteList "::realloc" with Common::Array
...
svn-id: r53628
2010-10-19 22:29:53 +00:00
Andrew Kurushin
bfb0986cd4
SAGA: replace Actors "::realloc" with Common::Array
...
svn-id: r53627
2010-10-19 21:40:24 +00:00
Torbjörn Andersson
54b2a8c98d
JANITORIAL: Cleanup (mostly whitespace)
...
svn-id: r53161
2010-10-12 04:19:58 +00:00
Eugene Sandulenko
7746321ed6
SAGA: Fix bug #1970191 .
...
Bug #1970191 : "IHNM: Psychic Profile problem". Still there is a
slight artefact. When the profile has 2 pages and is skipped,
there are two fade-ins in a row. It could be checked by analysing
event queue.
svn-id: r49698
2010-06-15 10:16:53 +00:00
Eugene Sandulenko
723cb6c0f0
SAGA: Moved more code under ENABLE_IHNM
...
svn-id: r49696
2010-06-15 10:16:13 +00:00
Filippos Karapetis
80acb21a56
Added automatic detection of the IHNM demo
...
svn-id: r49047
2010-05-16 10:36:21 +00:00
Filippos Karapetis
b57bab8e3b
Added automatic detection for the non-interactive ITE demos
...
svn-id: r49046
2010-05-16 10:23:44 +00:00
Yotam Barnoy
ef330ed9b4
Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
...
svn-id: r48101
2010-02-21 04:04:13 +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
d0876b06ed
Remove some unused variables
...
svn-id: r44853
2009-10-09 22:21:45 +00:00
Torbjörn Andersson
a784e6ab98
When dragging the save/load dialog's scrollbar handle past the top of the
...
scrollbar, stay at the top. Don't jump to the bottom.
svn-id: r39939
2009-04-11 20:16:37 +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
Max Horn
f9ecd95d69
Whitespace cleanup: Convert space followed by tab to just tab
...
svn-id: r39203
2009-03-07 19:24:31 +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
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
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
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
Filippos Karapetis
52f464534c
Cleanup
...
svn-id: r35538
2008-12-25 15:16:53 +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
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
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
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