Max Horn
fe48378eb2
Remove unnecessary #include errno.h
...
svn-id: r46109
2009-11-23 23:15:44 +00:00
Max Horn
6b8dd7ab7a
COMMON: Remove various variants of the md5_file / md5_file_string funcs; turned the (disabled) MD5 test code into a working unit test
...
svn-id: r46108
2009-11-23 22:30:22 +00:00
Max Horn
3d342bec3c
PS2 & NDS: Remove ps2_fprintf and some useless typedefs and #defines; use fputs instead of fprintf
...
svn-id: r46107
2009-11-23 22:29:39 +00:00
Max Horn
f3c6e07feb
Fix bug #2901669 : AMIGAOS4: Compiler error
...
svn-id: r46106
2009-11-23 22:29:02 +00:00
Max Horn
6312da6d13
PS2: cleanup
...
svn-id: r46105
2009-11-23 22:28:44 +00:00
Max Horn
68ebbf9022
Remove obsolete OSX & NDS specific stuff from StdioStream code
...
svn-id: r46104
2009-11-23 22:28:14 +00:00
Max Horn
016f343ca7
Remove SCUMMVM_USE_LONG_INT
...
svn-id: r46103
2009-11-23 22:27:52 +00:00
Benjamin Haisch
ecbd0a0d53
Optimized object property access speed
...
svn-id: r46102
2009-11-23 15:31:58 +00:00
Robert Špalek
95d4c62efb
Fixed breaking long lines instead of using smaller font (which is sometimes not enough)
...
svn-id: r46101
2009-11-23 06:44:40 +00:00
Matthew Hoops
a7e6745ba4
Some PCE BIOSROM's have a 0x200 byte header. We need to skip that if it's present to get to the correct font data.
...
svn-id: r46100
2009-11-22 23:33:58 +00:00
Robert Špalek
604ed73b87
Move setIsReloaded(false) in enterNewRoom() to the right place.
...
Last commit moved it below, but that cancelled GPL2 programs run right
after loading the game.
svn-id: r46099
2009-11-22 21:27:30 +00:00
Robert Špalek
f6f8b66d45
Remove obsolete and unneeded logic bypassing reloading a location.
...
I have tested that this could only possibly happen when the game has been
loaded with last location being the map. Then pressing Escape calls
enterNewRoom() and this superfluous optimization takes place. It is harmless
to simply reload the map. After having removed it, enterNewRoom() needs not
return any return value, because the test at the tail can be done by the
caller. I have then restructured the code a little to make it cleaner.
svn-id: r46098
2009-11-22 21:12:23 +00:00
Robert Špalek
d3d16422e0
Further cleaned up the hack with removing old animations.
...
Now only a long-term (complete rewrite) TODO is left in the code, but nothing
urgent to solve.
svn-id: r46097
2009-11-22 20:44:37 +00:00
Robert Špalek
772b89682d
Make sure hands are empty after loading the game
...
(otherwise we could have in our hands an unreachable object). This works
thanks to moving clearing _currentItem into putItem(), which gets called
in inventoryReload().
svn-id: r46096
2009-11-22 20:25:27 +00:00
Robert Špalek
00063b1423
Clearing object animations in a cleaner way
...
Verified that we really do not need object animations even if they are in
a different location, and clearing them thus regardless of their location.
Although the game was not crashing due to previous work-arounds at this
moment, this cleanup obliterates the most horrible hack and makes sure
animations will never get stale.
svn-id: r46095
2009-11-22 20:17:39 +00:00
Robert Špalek
3d687d07f5
Fixed assert() on already loaded animation
...
Now the game seems fully playable with crazy loading all the time, even
though it is a hacky solution. Updated the TODOs
svn-id: r46094
2009-11-22 20:02:13 +00:00
Johannes Schickel
485159f0dc
Slight simplification.
...
svn-id: r46093
2009-11-22 18:21:40 +00:00
Johannes Schickel
fa84949479
Remove dead code.
...
svn-id: r46092
2009-11-22 18:17:05 +00:00
Johannes Schickel
d2d3a9a9eb
- Store ID map for static resources in kyra.dat instead of hardcoding it in the main KYRA source
...
- Changed how static resource types are specified
- Rebuilt kyra.dat
svn-id: r46091
2009-11-22 18:16:25 +00:00
Johannes Schickel
45856206e6
Little cleanup.
...
svn-id: r46090
2009-11-22 18:15:07 +00:00
Oystein Eftevaag
a89fbc0fa5
Added a codesigning step to the iphonebundle make target
...
svn-id: r46089
2009-11-22 15:58:34 +00:00
Filippos Karapetis
09f7df09e6
Added a sanity check to the setCursor detection
...
svn-id: r46087
2009-11-22 15:22:23 +00:00
Filippos Karapetis
054dd568a4
Check which DoSound method is actually invoked from Sound::play, to remove a hack for Jones CD. Added code to handle games which don't actually call SetCursor inside Game::setCursor (like KQ5CD)
...
svn-id: r46086
2009-11-22 15:06:32 +00:00
Travis Howell
0edf7332b2
Remove obsolete check, since HE72+ uses separate function.
...
svn-id: r46085
2009-11-22 13:38:18 +00:00
Travis Howell
faceb8d41f
Remove obsolete check, since HE72+ uses separate function.
...
svn-id: r46084
2009-11-22 13:37:33 +00:00
Travis Howell
7b4771bd9f
Add mapping of TM and (C) characters in PCE version of Loom, based on information from Tobias.
...
svn-id: r46083
2009-11-22 13:34:58 +00:00
Travis Howell
40504d7810
Add patch #2876221 - FBEAR: Fix for MIDI piano notes (DOS version), with minor change.
...
svn-id: r46081
2009-11-22 11:58:14 +00:00
Travis Howell
bb0c765731
Exclude Loom PCE engine specific code, from non-16bit color build.
...
svn-id: r46080
2009-11-22 11:43:12 +00:00
Travis Howell
6c2cc3e1bb
Removed the incorrect line in CharsetRendererPCE::drawBits1().
...
svn-id: r46079
2009-11-22 11:36:30 +00:00
Jordi Vilalta Prat
00d1143268
Fixes to the NEWS file:
...
- Fixed a typo
- Marked some GSoC tasks
- Fixed entries' alignment and line length
- Fixed punctuation
svn-id: r46077
2009-11-22 11:13:59 +00:00
Travis Howell
1d948f1012
Virtualise drawBits1().
...
svn-id: r46076
2009-11-22 11:12:26 +00:00
Torbjörn Andersson
55c03b9aab
Better make sure that cursorPCE[] has 16 elements, like some of the other
...
hard-coded cursors.
svn-id: r46075
2009-11-22 11:00:14 +00:00
Torbjörn Andersson
00708d056a
Added hard-coded cursor, and adjusted the colours slightly, for the PC-Engine
...
version of Loom, based on information from hennymcc.
svn-id: r46074
2009-11-22 10:56:49 +00:00
Travis Howell
326eb2230b
Update game details for Japanese PCE version of Loom.
...
svn-id: r46072
2009-11-22 09:31:07 +00:00
Travis Howell
354ddd8bc6
Update.
...
svn-id: r46071
2009-11-22 09:23:15 +00:00
Robert Špalek
4bd395a1ee
Updated an urgent TODO to make the game playable
...
svn-id: r46070
2009-11-22 09:21:40 +00:00
Travis Howell
5ab550da20
Update game details for English PCE version of Loom.
...
svn-id: r46069
2009-11-22 09:17:33 +00:00
Robert Špalek
2397efd730
Fix SIGSEGV by an absolutely brutally horrible hack
...
I have thoroughly documented why this hack is needed and added ideas how to
fix it properly.
svn-id: r46068
2009-11-22 09:13:05 +00:00
Travis Howell
d81bb78053
Add patch for Tobias, for cursor palette in PCE version of Loom.
...
svn-id: r46066
2009-11-22 08:55:36 +00:00
Travis Howell
d5d3ca66ce
Add patch for Tobias, for more accurate palette in PCE version of Loom.
...
svn-id: r46065
2009-11-22 08:49:19 +00:00
Travis Howell
94e75b8b6d
Fix charset palette in PCE version of Loom, based on information from Tobias.
...
svn-id: r46064
2009-11-22 08:36:14 +00:00
Vladimir Menshakov
4b3e3d5601
minor callback fixes
...
svn-id: r46063
2009-11-22 08:36:05 +00:00
Vladimir Menshakov
9b20e622d9
do not decrement timer while scene is busy
...
svn-id: r46062
2009-11-22 08:27:41 +00:00
Travis Howell
2d31fc3af8
Add patch for Tobias, for Kanji support in Japanese PCE version of Loom, with minor changes.
...
svn-id: r46061
2009-11-22 08:20:20 +00:00
Vladimir Menshakov
9886c8fb91
fixed first mansion attempt animations
...
svn-id: r46060
2009-11-22 08:02:27 +00:00
Robert Špalek
3ddf90a872
Only enable changing rooms by left/right arrows when debugging
...
svn-id: r46059
2009-11-22 05:42:46 +00:00
Robert Špalek
5b9bfaee2b
Opening the inventory stops hero walking
...
(otherwise the relative animation would repeat itself unhandled until the
hero disappears from the screen.)
svn-id: r46058
2009-11-22 05:35:36 +00:00
Robert Špalek
0ee8f879fa
Fix positioning of one-time hero animations.
...
With the previous code, the position of the animation was doubled (due to
counting the position twice, the second time being a relative shift), which
put it mostly outside the screen. This is because one-time hero animations
are actually stored using absolute coordinates.
svn-id: r46057
2009-11-22 05:10:31 +00:00
Robert Špalek
509444cc91
Fixed Animation::getTopAnimation()
...
It does not return kTitleText and others. This caused flickering of speech
texts on/off when the title got displayed under the mouse.
svn-id: r46056
2009-11-22 02:42:15 +00:00
Johannes Schickel
a2b056c288
More cleanup.
...
svn-id: r46055
2009-11-21 23:44:52 +00:00