Bertrand Augereau
f7fdb0d4b7
DREAMWEB: 'disablepath' is not needed
2011-11-26 16:41:40 +01:00
Bertrand Augereau
842184d5c5
DREAMWEB: 'usetempcharset' and 'usecharset1' ported to C++
2011-11-26 16:37:11 +01:00
Bertrand Augereau
b10c473214
DREAMWEB: A few debugging functions are not needed
2011-11-26 12:42:01 +01:00
Bertrand Augereau
21d787d065
DREAMWEB: Ceaning in 'startloading'
2011-11-26 12:29:09 +01:00
Alyssa Milburn
61bac6ed15
MOHAWK: Convert between rects/points in LB code (thanks clone2727).
2011-11-25 23:03:18 +01:00
Alyssa Milburn
d070d11c30
MOHAWK: Name/stub some unknown LB item flags.
2011-11-25 23:00:22 +01:00
Alyssa Milburn
4d4c84fd82
MOHAWK: Load/unload LB proxies properly.
2011-11-25 22:59:30 +01:00
D G Turner
d5c50fe0b3
TOLTECS: Add detection for Hungarian variant from bug #3440641 .
2011-11-25 13:50:48 +00:00
D G Turner
a0dbe45a45
DRASCULA: Add fix for crash/OOB memory accesses in bug #3440895
...
This bug is "DRASCULA-IT: Crash/graphic glitch at castle towers".
The crash was due to width and height values being passed to
copyBackground() being invalid due to out of bounds read from
the factor_red array. This adds debugging statements and fixes
the crash by clipping accesses to the maximum index of factor_red.
This doesn't however fix the observed GFX glitch, but stops it being
a segfault.
2011-11-25 06:30:10 +00:00
Joost Peters
8b9b777397
TOLTECS: findPath() endian fixes.
2011-11-24 23:28:12 +01:00
Johannes Schickel
5669016225
TOUCHE: Fix playback of simultaneous sfx.
...
Since we stream the VOC files from disk now, we can not use the global
resource file handle for playback but instead need to open a new handle for
every SFX started.
Fixes odd noises at the beginning of the Touche demo.
2011-11-24 23:10:51 +01:00
Joost Peters
672e981b17
TOLTECS: Fix crash on Big Endian
2011-11-24 22:18:05 +01:00
athrxx
fe21e5b0a9
SCUMM: paranoia "fix" for ae5192c5d3
...
(change sizeof check to use int16 instead of Common::Rect)
2011-11-24 22:00:09 +01:00
athrxx
ae5192c5d3
SCUMM: make FM-Towns save files compatible between DS and other platforms
...
(only applies to new save files)
2011-11-24 21:29:14 +01:00
Strangerke
7c78fe0d22
TSAGE: R2R - Partial implementation of scene 2000
2011-11-24 08:17:37 +01:00
athrxx
f19401b14c
KYRA: (HOF CD Demo) - check shouldQuit() during ending text loop
2011-11-24 00:50:00 +01:00
Filippos Karapetis
0b4a022018
TOLTECS: Save music in saved games
...
Also, move all music resource related code into its own class
2011-11-24 00:03:01 +02:00
athrxx
0565d7dc20
KYRA: (HOF) - fix ending text in the playable demo
2011-11-23 22:39:43 +01:00
Bertrand Augereau
5d5249e1d9
DREAMWEB: 'dolook' ported to C++
2011-11-23 23:23:37 +01:00
Bertrand Augereau
658fe0aa10
DREAMWEB: 'look' ported to C++
2011-11-23 16:25:38 +01:00
Bertrand Augereau
7843073c0e
DREAMWEB: 'autolook' ported to C++
2011-11-23 15:25:52 +01:00
Bertrand Augereau
7d5ced1579
DREAMWEB: 'blockget' is not needed
2011-11-23 12:58:03 +01:00
Bertrand Augereau
c50384bbf5
DREAMWEB: 'reconstruct' ported to C++
2011-11-23 12:26:33 +01:00
Strangerke
8a2500cd64
TSAGE: R2R - Replace oldSceneNumber by an array, as each character has its own
2011-11-23 10:52:36 +01:00
Bertrand Augereau
54fc8e5563
DREAMWEB: 'reelsonscreen' ported to C++
2011-11-23 11:14:38 +01:00
Strangerke
233b4541a9
TSAGE: Blue Force - Rename another variable, add a comment about a useless (?) variable
2011-11-23 08:56:00 +01:00
Bertrand Augereau
01edcbf963
Merge pull request #121 from digitall/dreamweb_removeDispatchCall
...
DREAMWEB: Remove the now unused dispatch_call function from dreamgen.*
2011-11-22 23:53:28 -08:00
Paul Gilbert
d92650294f
TSAGE: Implemented R2RW Scene 325 - Ship Corridor
2011-11-23 17:56:20 +11:00
Paul Gilbert
afc92983be
TSAGE: Bugfixes for R2RW SceneExit class
2011-11-23 17:55:15 +11:00
D G Turner
0b6a7de44f
DREAMWEB: Regenerate dreamgen.* omitting unused dispatch_call function.
2011-11-23 02:29:50 +00:00
Strangerke
e01a188df4
TSAGE: Blue Force - Cleanup : rename unknown variables and functions in scene 930
2011-11-23 00:13:34 +01:00
Bertrand Augereau
32f86ce834
DREAMWEB: 'findroominloc' ported to C++
2011-11-23 00:15:03 +01:00
Strangerke
4b931446ee
TSAGE: Blue Force - Clean up: Replace some magic numbers by enum
2011-11-22 18:56:50 +01:00
Bertrand Augereau
e51bcdbb53
DREAMWEB: Sound structure
2011-11-22 17:00:22 +01:00
Bertrand Augereau
ab41e41b0f
DREAMWEB: 'playchannel0' and 'playchannel1' ported to C++
2011-11-22 15:36:46 +01:00
Alyssa Milburn
0599145ecf
SKY: Map the floppy intro track.
2011-11-22 14:57:25 +01:00
Alyssa Milburn
9abc601e53
SKY: Don't loop the floppy intro track.
...
This isn't relevant at present, so this is "just in case".
2011-11-22 14:21:47 +01:00
Strangerke
f66828a462
TSAGE: Blue Force - Cleanup: Rename some more functions and variables
2011-11-22 08:12:59 +01:00
Filippos Karapetis
18fd59939f
TOLTECS: Sync scene sounds when saving/loading
2011-11-21 23:47:47 +02:00
Filippos Karapetis
e2bc38ea91
TOLTECS: Change deltaValue to be an int8, as char isn't always signed
2011-11-21 23:08:10 +02:00
Filippos Karapetis
1eeb852902
TOLTECS: Remove empty implementation of syncSoundSettings()
2011-11-21 23:04:48 +02:00
Filippos Karapetis
41ba66b59c
TOLTECS: Cleanup, removed an obsolete TODO
2011-11-21 22:46:33 +02:00
Filippos Karapetis
7c5f55912c
TOLTECS: Add missing namespace comment
2011-11-21 22:32:03 +02:00
Filippos Karapetis
8880c7c94c
TOLTECS: Savegame changes
...
- Add support for savegame removal
- Remove kyra-specific code
- Add save play time and creation date
2011-11-21 22:29:44 +02:00
Bertrand Augereau
51c30303a8
DREAMWEB: 'createpanel' and 'createpanel2' ported to C++
2011-11-21 21:53:20 +01:00
Bertrand Augereau
397761c2c1
DREAMWEB: 'showmainops' ported to C++
2011-11-21 18:10:19 +01:00
Bertrand Augereau
9141df3bec
DREAMWEB: Misc cleanings in saveload.cpp
2011-11-21 17:56:49 +01:00
Bertrand Augereau
44a3522e4a
DREAMWEB: Removed STACK_CHECKs in saveload.cpp
2011-11-21 17:54:51 +01:00
Bertrand Augereau
f7fd8e0d0a
DREAMWEB: 'saveload' ported to C++
2011-11-21 17:52:50 +01:00
Christoph Mallon
e578cb8976
ALL: Remove unnecessary forward declarations.
2011-11-21 15:59:19 +01:00
Christoph Mallon
d9bcf1a3bf
SAGA: Simply use a Graphics::Surface instead of a Saga::Surface.
2011-11-21 15:59:00 +01:00
Christoph Mallon
d485b36b45
GROOVIE: Use SWAP().
2011-11-21 15:58:31 +01:00
Bertrand Augereau
34d85734e6
DREAMWEB: Stub wrappers with a better signature for 'playchannel[0|1]'
2011-11-21 14:33:36 +01:00
Paul Gilbert
1e80ac0885
CRUISE: Added explicit freeing of thumbnail surface pixels
2011-11-21 19:38:52 +11:00
Paul Gilbert
e8aa812608
TSAGE: Added explicit freeing of thumbnail surface pixels
2011-11-21 19:38:32 +11:00
D G Turner
5a868a4008
TOLTECS: Removed TODO.txt. Contents now on Wiki Toltecs Engine Page.
2011-11-21 04:03:32 +00:00
Torbjörn Andersson
9f5f240e90
TOLTECS: Change the updateScreen() logic a bit
...
Updating the screen when getMillis() % 10 is 0 seems sub-optimal
to me. It could be true several iterations in a row (shouldn't be
harmful, since updateScreen is assumed to be cheap if the screen
hasn't changed) or we could miss it every single time. Let's
measure the time between updates instead, just to be safer.
2011-11-20 23:45:29 +01:00
Alex Bevilacqua
b592d73e62
TOLTECS: silence a couple gcc warnings
2011-11-20 22:43:12 +01:00
Alex Bevilacqua
4c60382604
TOLTECS: integrate engine
2011-11-20 22:43:12 +01:00
Filippos Karapetis
579c47b717
TOLTECS: Removed duplicate assignment
2011-11-20 22:43:12 +01:00
Filippos Karapetis
e4d5320e7f
TOLTECS: Fixed typo in logic
2011-11-20 22:43:12 +01:00
Filippos Karapetis
8b503f558e
TOLTECS: Fixed compilation after the latest changes to GUI options
2011-11-20 22:43:12 +01:00
Filippos Karapetis
c119cbda90
TOLTECS: Slight cleanup of the audio code
2011-11-20 22:43:12 +01:00
Filippos Karapetis
94f5b8b190
TOLTECS: Always hide the game interface when showing a movie
2011-11-20 22:43:12 +01:00
Filippos Karapetis
8b4c082f6d
TOLTECS: Stop all sounds when exiting
2011-11-20 22:43:12 +01:00
Filippos Karapetis
a8112121b2
TOLTECS: Cleanup
2011-11-20 22:43:12 +01:00
Filippos Karapetis
f3fdcad214
TOLTECS: Updated TODO
2011-11-20 22:43:12 +01:00
Filippos Karapetis
fee561c039
TOLTECS: Updated TODO
2011-11-20 22:43:12 +01:00
Filippos Karapetis
b6c3232ea3
TOLTECS: Updated TODO
...
- Updated locations where the animation hack is necessary
- Fixed crashes on scene changes (with a TODO)
- MIDI Music is always XMIDI
- sfClearScreen() doesn't seem to be necessary
2011-11-20 22:43:12 +01:00
Filippos Karapetis
1bddee1e73
TOLTECS: Fixed music looping
2011-11-20 22:43:12 +01:00
Filippos Karapetis
14cbfd4607
TOLTECS: Fixed typo
2011-11-20 22:43:12 +01:00
Filippos Karapetis
5c3c9f4e6c
TOLTECS: Added a hack to fix a crash when smoking the peace pipe
2011-11-20 22:43:12 +01:00
Filippos Karapetis
9841ce6b9f
TOLTECS: Code cleanup
2011-11-20 22:43:12 +01:00
Filippos Karapetis
360bd6edd3
TOLTECS: Initial implementation for music
2011-11-20 22:43:12 +01:00
Filippos Karapetis
8940d7348a
TOLTECS: Add finalize() calls to file output code
2011-11-20 22:43:12 +01:00
Filippos Karapetis
9f8ceaace2
TOLTECS: Implemented Quit game functionality in the menu
2011-11-20 22:43:11 +01:00
Filippos Karapetis
5298859cba
TOLTECS: The resource cache is now purged when changing rooms
2011-11-20 22:43:11 +01:00
Filippos Karapetis
2b29dfe0c7
TOLTECS: Added the ability to skip the current dialog line with the escape key
2011-11-20 22:43:11 +01:00
Filippos Karapetis
6fc40c7c24
TOLTECS: Updated TODO
2011-11-20 22:43:11 +01:00
Filippos Karapetis
48e0238ed0
TOLTECS: Updated the TODO, after talking with johndoe
2011-11-20 22:43:11 +01:00
Filippos Karapetis
4a03bb3e43
TOLTECS: Disabled some leftover unnecessary debug output
2011-11-20 22:43:11 +01:00
Filippos Karapetis
84e6ceafbf
TOLTECS: Initialize mouse cursor when loading a saved game from the launcher
2011-11-20 22:43:11 +01:00
Filippos Karapetis
1eed5caff5
TOLTECS: Some cleanup of the menu code
2011-11-20 22:43:11 +01:00
Filippos Karapetis
522c1ca32b
TOLTECS: Bugfixes for the game menu
...
- The game's background is now restored when the menu closes
- Fixed a memory leak
- Removed dead code
2011-11-20 22:43:11 +01:00
David Turner
9b487e917d
TOLTECS: Switch to initGraphics() call, rather than separate calls.
2011-11-20 22:43:11 +01:00
David Turner
86e6ec89ef
TOLTECS: Fix Compilation due to Graphics::loadThumbnail() API change.
2011-11-20 22:43:11 +01:00
David Turner
9b885d0c50
TOLTECS: Removed now uneeded c_str() call.
2011-11-20 22:43:11 +01:00
David Turner
c545a8b176
TOLTECS: Fix saveGameState signature to match Engine's virtual method.
2011-11-20 22:43:11 +01:00
David Turner
4ba1f78dc5
TOLTECS: Fix Detection For ADParams Removal From AdvancedMetaEngine.
2011-11-20 22:43:11 +01:00
David Turner
eb0b7c957f
TOLTECS: Update AdvancedMetaEngine For Removal of ADParams.
2011-11-20 22:43:11 +01:00
David Turner
3967da03ef
TOLTECS: Fix Compilation With Latest Git Master.
2011-11-20 22:43:11 +01:00
David Turner
8a34de2c45
TOLTECS: Replace snprintf() usage with Common::String::format()
...
Safer and less portability issues.
2011-11-20 22:43:11 +01:00
David Turner
ddaf38bdcd
TOLTECS: Fix Compilation After Common::RandomSource Changes in Latest master.
2011-11-20 22:43:11 +01:00
Benjamin Haisch
ae4437aea4
TOLTECS: Fix compilation
2011-11-20 22:43:10 +01:00
David Turner
9f3cc261c2
TOLTECS: Fix Compilation After Graphics::Surface PixelFormat changes.
2011-11-20 22:43:10 +01:00
David Turner
a3007d6e2a
TOLTECS: Fix Compilation After Base Code Header Changes.
2011-11-20 22:43:10 +01:00
Benjamin Haisch
acd4d4098f
TOLTECS: Fix bugs
...
- Save scene parameters before playing a movie and restore them afterwards (fixes crash)
- Fix text disappearing too fast
- Implement script function sfGetCameraChanged
- Replace nop script functions with stubs which print debug info when called
- Some cleanup, remove obsolete TODOs
2011-11-20 22:43:10 +01:00
David Turner
e1fefefff2
TOLTECS: Updated For OSystem Palette RGBA->RGB Change.
2011-11-20 22:43:10 +01:00
David Turner
e4005ae927
TOLTECS: Fix compilation after sound->audio directory rename.
2011-11-20 22:43:10 +01:00
Filippos Karapetis
02514db64f
TOLTECS: Sync with the latest changes in trunk
2011-11-20 22:43:10 +01:00
Benjamin Haisch
581f0ba8b5
TOLTECS: Use CursorMan instead of OSystem for showMouse
2011-11-20 22:43:10 +01:00
Filippos Karapetis
3f78e1c8d9
TOLTECS: Rewrote ArchiveReader::dump() to use Common::DumpFile()
2011-11-20 22:43:10 +01:00
Filippos Karapetis
75842b031f
TOLTECS: Added comments on main game loop, and added a FIXME
2011-11-20 22:43:10 +01:00
Filippos Karapetis
e1abe47fbe
TOLTECS: Reduced header dependencies and removed a TODO
2011-11-20 22:43:10 +01:00
Filippos Karapetis
4cc5934d84
TOLTECS: Reduced header dependencies
2011-11-20 22:43:10 +01:00
Filippos Karapetis
e1f795fb6d
TOLTECS: Added ScummVM headers
2011-11-20 22:43:10 +01:00
Filippos Karapetis
26a7bf4eb5
TOLTECS: Reduced header dependencies
2011-11-20 22:43:10 +01:00
Filippos Karapetis
7746fbc543
TOLTECS: Reduced header dependencies
2011-11-20 22:43:10 +01:00
Filippos Karapetis
a9f7094a68
TOLTECS: Reduced header dependencies
2011-11-20 22:43:10 +01:00
Filippos Karapetis
e9dc055089
TOLTECS: Reduced header dependencies
2011-11-20 22:43:10 +01:00
Filippos Karapetis
febda31f50
TOLTECS: Reduced header dependencies
2011-11-20 22:43:10 +01:00
Filippos Karapetis
c52aa31a18
TOLTECS: Added some FIXME comments
2011-11-20 22:43:10 +01:00
Filippos Karapetis
d3811422f8
TOLTECS: Fixed compilation and reduced header dependencies a bit
2011-11-20 22:43:10 +01:00
Benjamin Haisch
dde75d709e
TOLTECS: Fix compilation
2011-11-20 22:43:10 +01:00
Benjamin Haisch
8203563c69
TOLTECS: - New constant kMaxChannels instead of number for clarity
2011-11-20 22:43:10 +01:00
Benjamin Haisch
661ce95478
TOLTECS: - Fix regression in movie player (use drawScreen instead of updateScreen)
2011-11-20 22:43:10 +01:00
Benjamin Haisch
1cb95f36e7
TOLTECS: - More work on the menu system, saving and loading from there is now possible
...
- Add blastSprite method which draws a sprite directly to the frontScreen without the renderQueue
- Add F10 scancode in sfHandleInput to open the menu
2011-11-20 22:43:10 +01:00
Benjamin Haisch
9698127c5d
TOLTECS: - Undef menu test code (oops)
...
- Rename updateScreen to drawScreen
- Move code from sfUpdateScreen to engine updateScreen
- Use better screen sync code to get closer to the original game's speed
2011-11-20 22:43:10 +01:00
Benjamin Haisch
ce7f9a088c
TOLTECS: - Work on the menu system (use strings from resources instead of hardcoded ones)
...
- ...and load the system strings from the resource on startup
- Only redraw menu screen when required
- Change parameters for some text functions from byte* to const byte*
- Rename some mouse vars
2011-11-20 22:43:10 +01:00
Filippos Karapetis
5e154f634a
TOLTECS: Fixed compilation
2011-11-20 22:43:10 +01:00
Benjamin Haisch
9c3a4bc055
TOLTECS: - Implement kSupportsLoadingDuringStartup
2011-11-20 22:43:10 +01:00
Benjamin Haisch
8f3b287db1
TOLTECS: Update todo (no real fixes, though)
2011-11-20 22:43:09 +01:00
Benjamin Haisch
6034e4ffb4
TOLTECS: - Don't add test entries to the save/loadgame menu
2011-11-20 22:43:09 +01:00
Filippos Karapetis
99bd410cb3
TOLTECS: Sync with the latest ScummVM changes (renamed skipThumbnailHeader to skipThumbnail)
2011-11-20 22:43:09 +01:00
Benjamin Haisch
2acf1bf6f5
TOLTECS: - Hopefully fixed a bug in findRectAtPoint which causes the game to crash before the first scene
...
- sfHandleInput
2011-11-20 22:43:09 +01:00
Benjamin Haisch
8ea6831825
TOLTECS: Fix warning
2011-11-20 22:43:09 +01:00
Benjamin Haisch
39b8bda921
TOLTECS: Fix warning
2011-11-20 22:43:09 +01:00
Benjamin Haisch
2e06f4b088
TOLTECS: Added detection entries for French and Spanish versions
2011-11-20 22:43:09 +01:00
Benjamin Haisch
d885aedd48
TOLTECS: Fix compilation with trunk
2011-11-20 22:43:09 +01:00
Benjamin Haisch
fc324073d5
TOLTECS: Rename savegame version define
2011-11-20 22:43:09 +01:00
Benjamin Haisch
7f78f62467
TOLTECS: Fixed compilation with current SVN changes
2011-11-20 22:43:09 +01:00
Benjamin Haisch
34eb899b25
TOLTECS: Fixed compilation
2011-11-20 22:43:09 +01:00
Benjamin Haisch
0d1a9148f3
TOLTECS: Fix bug caused by most recent revision (don't free the audio data in makeRawStream)
2011-11-20 22:43:09 +01:00
Filippos Karapetis
e8ec5148a2
TOLTECS: Fixed compilation
2011-11-20 22:43:09 +01:00
Filippos Karapetis
89a5208a58
TOLTECS: Fixed compilation with the latest trunk changes.
...
This change also unveiled a serious problem: the same include files are used EVERYWHERE (e.g. code manipulating the screen is using sound includes). Added a FIXME concerning this
2011-11-20 22:43:09 +01:00
Filippos Karapetis
16baa44a2f
TOLTECS: Fixed compilation with the latest trunk
2011-11-20 22:43:09 +01:00
Filippos Karapetis
baf4218b05
TOLTECS: Fixed compilation with the latest trunk changes
2011-11-20 22:43:08 +01:00
Benjamin Haisch
69f35c8709
TOLTECS: Fixed compilation
2011-11-20 22:43:08 +01:00
Filippos Karapetis
5948672be5
TOLTECS: Fixed compilation with the latest sound changes in the trunk
2011-11-20 22:43:08 +01:00
Filippos Karapetis
ac97b441ec
TOLTECS: Silenced warning
2011-11-20 22:43:08 +01:00
Benjamin Haisch
a0432fd546
TOLTECS: Fixed compilation
2011-11-20 22:43:08 +01:00
Filippos Karapetis
cb5c0e6986
TOLTECS: Sync with ScummVM rev. 46379
2011-11-20 22:43:08 +01:00
Benjamin Haisch
b038d2e4f2
TOLTECS: Added GUI options to detection entries
2011-11-20 22:43:08 +01:00
Benjamin Haisch
4c7cef996a
TOLTECS: Misc fixes in the menu system
2011-11-20 22:43:08 +01:00
Benjamin Haisch
54cb86950c
TOLTECS: Fixed odd bug in drawChar (I subtracted 2 from the font height before, though I don't recall why exactly I did that; now I use the font height as-is)
2011-11-20 22:43:08 +01:00
Benjamin Haisch
145a696fe0
TOLTECS: Implemented scrolling in the savegame list
2011-11-20 22:43:08 +01:00
Benjamin Haisch
d80cc85347
TOLTECS: More work on the menu; started the savegame page and implemented editing of the savegame description
2011-11-20 22:43:08 +01:00
Benjamin Haisch
28c74ff3b4
TOLTECS: More work on the menu; started with the saveload menu page and fixed some early bugs
2011-11-20 22:43:08 +01:00
Benjamin Haisch
3d0775bd89
TOLTECS: More work on the menu
2011-11-20 22:43:08 +01:00
Benjamin Haisch
284c358f7c
TOLTECS: Started implementing the menu from scratch
2011-11-20 22:43:08 +01:00
Filippos Karapetis
d93bd3c01c
TOLTECS: Silenced some warnings
2011-11-20 22:43:08 +01:00
Benjamin Haisch
eb04f85673
TOLTECS: - Added detection entry for the German demo version
2011-11-20 22:43:08 +01:00
Benjamin Haisch
3c49d36d5f
TOLTECS: Fix compilation.
2011-11-20 22:43:08 +01:00
Benjamin Haisch
d6edbe97c9
TOLTECS: Oops, forgot to disable the debug path drawing.
2011-11-20 22:43:08 +01:00
Benjamin Haisch
22db6b1558
TOLTECS: - Fixed clipping bugs (in 256-color sprites and scaled sprites)
...
- Minor cleanup
2011-11-20 22:43:08 +01:00
Benjamin Haisch
9a84c13bef
TOLTECS: - Implemented playSoundAtPos and fixed sound panning (0 is center, not 64 like in the original)
...
- Minor cleanup
2011-11-20 22:43:08 +01:00
Benjamin Haisch
ce7febcd70
TOLTECS: Reworked the ArchiveReader and ResourceCache classes.
...
ResourceCache needs more work since resources are never freed (which is bad).
2011-11-20 22:43:07 +01:00
Benjamin Haisch
af7e1c1683
TOLTECS: - Fixed sound playing
...
- Renaming
2011-11-20 22:43:07 +01:00
Benjamin Haisch
eab360f3e7
TOLTECS: - Moved script functions out of the switch statement and into an array
2011-11-20 22:43:07 +01:00
Benjamin Haisch
041fe21417
TOLTECS: - Added enum for sound channel type
...
- Added isPointInside
2011-11-20 22:43:07 +01:00
Benjamin Haisch
170b66b2cb
TOLTECS: Updated TODO (nothing new, just syncing local copy with the repo)
2011-11-20 22:43:07 +01:00
Benjamin Haisch
5c481dd116
TOLTECS: - Removed TODO, external resources aren't explicitly used (the original game extracts resources from WESTERN to HD to increase access speed)
2011-11-20 22:43:07 +01:00
Filippos Karapetis
b9de8beb6e
TOLTECS: Fixed compilation
2011-11-20 22:43:07 +01:00
Filippos Karapetis
edefa37a45
TOLTECS: Fixed compilation
2011-11-20 22:43:07 +01:00
Benjamin Haisch
2156fecf53
TOLTECS: Added German version
2011-11-20 22:43:07 +01:00
Benjamin Haisch
2eb6482b06
TOLTECS: - Fixed compilation after Fingolfin's latest series of commits
...
- Added a warning for the yet unimplemented palette transparency code
- Removed "debug" calls from script, they weren't that useful
- Removed unneccessary delete in the MoviePlayer
- Fixed the renderer (hopefully?)
2011-11-20 22:43:07 +01:00
Filippos Karapetis
46257f7bb4
TOLTECS: Silenced MSVC warnings
2011-11-20 22:43:07 +01:00
Benjamin Haisch
1f4764ad1c
TOLTECS: - Implemented RTL
...
- Fixed return values in savegame/loadgame
- Some minor cleanup
2011-11-20 22:43:07 +01:00
Benjamin Haisch
ec6f0d23a7
TOLTECS: Very very minor cleanup.
2011-11-20 22:43:07 +01:00
Benjamin Haisch
9e78b5d393
TOLTECS: - Listing savestates via command line or Launcher
...
- Loading/Saving during run time
Other savestate functions yet todo.
I'll probably remove the "original" in-game menu and move everything to the GMM.
2011-11-20 22:43:07 +01:00
Benjamin Haisch
47ae908589
TOLTECS: - Fixed Screen::updateTalkText (text x position was read incorrectly and font color wasn't nibble-swapped)
...
- Hooked up the movie player; movies can be aborted with Escape (not with mouse clicks at the moment because I was too lazy to implement it; funny, writing this explanation probably took longer :))
2011-11-20 22:43:07 +01:00
Benjamin Haisch
4b13982116
TOLTECS: Implemented preliminary sound playback; some stuff is still missing (correct volumes etc.)
2011-11-20 22:43:07 +01:00
Benjamin Haisch
f77960e81b
TOLTECS: Removed unused functions.
2011-11-20 22:43:07 +01:00
Eugene Sandulenko
beab4e3ca5
TOLTECS: Correct initialization for graphics. Since the game is 640x480, it should be
...
default to 1x scaler.
2011-11-20 22:43:07 +01:00
Benjamin Haisch
02e2b78e5c
TOLTECS: Added sound to the movie player (finally). Still TODO: Ability to abort movies.
2011-11-20 22:43:07 +01:00
Benjamin Haisch
3acd787145
TOLTECS: Updated TODO.txt
2011-11-20 22:43:06 +01:00
Benjamin Haisch
7b97e8cd93
TOLTECS: A lot of changes in the graphics code:
...
- Optimized drawing code; now only items (sprites, text, screen masks) which have changed from the previous frame are redrawn, this speeds up things a lot
- Implemented dirty rectangles using a microtile array
- The previously committed Microtile Array implementation from SEL seemed buggy so I wrote my own version which works nicely so far (and is less code and GPL), only MicroTileArray::getRectangles uses parts from the old version, this will be changed later
- One known bug related to dirty rectangles remains: Sometimes the background isn't restored correctly and gfx artifacts are visible
2011-11-20 22:43:06 +01:00
Benjamin Haisch
37a5f9e9ef
TOLTECS: Switched quicksave key from F6 to F5.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
8f3e598f85
TOLTECS: Cleanup.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
d299bbba01
TOLTECS: Changed how screen masks are handled.
...
At load time, a Surface is created for each screen mask, in which the gfx data from the background is copied.
This is the first step towards more optimized gfx rendering (more to come later).
2011-11-20 22:43:06 +01:00
Benjamin Haisch
150e555953
TOLTECS: Renamed ybottom to priority
2011-11-20 22:43:06 +01:00
Benjamin Haisch
ade8eec8cf
TOLTECS: Moved sprite drawing code to sprite.cpp
2011-11-20 22:43:06 +01:00
Benjamin Haisch
ca49ded9b3
TOLTECS: More changes to wrapGuiText
2011-11-20 22:43:06 +01:00
Benjamin Haisch
3c47914648
TOLTECS: Removed _tempString etc. and replaced it with GuiTextWrapState
2011-11-20 22:43:06 +01:00
Benjamin Haisch
3b89304dd9
TOLTECS: Forgot script.cpp.
...
And some tests for menu & movie player in toltecs.cpp.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
d09fbbabe6
TOLTECS: - Added menu system prototype (may change later)
...
- Added movie player (still incomplete, sound is not yet implemented)
Both are not yet hooked to the engine.
- Added code for microtile arrays (from the SEL - Simple DirectMedia Layer Extension Library project), under the LGPL
This will be used as dirty rectangle "manager". This is experimental for now, it may be removed later.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
20d60e6286
TOLTECS: Renamed some functions.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
398d0daac0
TOLTECS: Adjust y position of talk text lines.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
aaded0f546
TOLTECS: Added Screen::getTextWidth
2011-11-20 22:43:06 +01:00
Eugene Sandulenko
3eb449f236
TOLTECS: Add Russian version detection which works great.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
be69bb986f
TOLTECS: Added TODO/NOTES/BUGS text
...
Also: The game is completable with this revision! (yay!:)
2011-11-20 22:43:06 +01:00
Benjamin Haisch
a94503765d
TOLTECS: - Fixed setDeltaPalette (sprites at night now look correct)
...
- Renamed TalkTextItem.rects/rectCount to lines/lineCount
- Workaround for font glitch in updateTalkText (text sets invalid font number)
2011-11-20 22:43:06 +01:00
Benjamin Haisch
6a83d7d851
TOLTECS: Cancel all talkText items when camera position is changed (fixes some crashes and odd behaviour)
2011-11-20 22:43:06 +01:00
Benjamin Haisch
367be5b345
TOLTECS: Merged text drawing routines into drawString
2011-11-20 22:43:06 +01:00
Benjamin Haisch
3c326b5c40
TOLTECS: Fixed bug in anim frame displaying.
2011-11-20 22:43:06 +01:00
Benjamin Haisch
bbf882016a
TOLTECS: Fixed text command parsing in updateVerbLine
2011-11-20 22:43:05 +01:00
Benjamin Haisch
b287588149
TOLTECS: Clear the text duration first in updateTalkText before adding text lines (else the durations add up and the text stays on screen a really long time)
2011-11-20 22:43:05 +01:00
Benjamin Haisch
2930003864
TOLTECS: Fixed a script bug (compare opcodes work on unsigned values). So far this caused one error I noticed when climbing up the ladder in the barn where the camera didn't scroll up properly, but now it's all fine.
2011-11-20 22:43:05 +01:00
Benjamin Haisch
e2b3a35486
TOLTECS: Corrected debug output.
2011-11-20 22:43:05 +01:00
Benjamin Haisch
59bbad2ac8
TOLTECS: Fixed clipping (the clipping of the right border with flipped sprites was buggy)
2011-11-20 22:43:05 +01:00
Benjamin Haisch
c82349c1b8
TOLTECS: Finished sprite clipping.
2011-11-20 22:43:05 +01:00
Benjamin Haisch
32d958508b
TOLTECS: Deleted obsolete files.
2011-11-20 22:43:05 +01:00
Benjamin Haisch
74c05f6aa8
TOLTECS: - Merged input.cpp with toltecs.cpp
...
- Kernel function 5 returns a random value; use ScummVM's RNG
2011-11-20 22:43:05 +01:00
Benjamin Haisch
5660ff5148
TOLTECS: Implemented buildColorTransTable (still TODO) and shadow sprite drawing.
2011-11-20 22:43:05 +01:00
Benjamin Haisch
98ac7885ac
TOLTECS: Merged drawChar and drawChar2
2011-11-20 22:43:05 +01:00
Benjamin Haisch
f0c9e489fe
TOLTECS: Minor cleanup.
2011-11-20 22:43:05 +01:00
Benjamin Haisch
d561cb7ae3
TOLTECS: Fixed tabs.
2011-11-20 22:43:05 +01:00
Benjamin Haisch
03cae51129
TOLTECS: - Made game "quittable"
...
- Save/load mouse position and if the cursor is enabled
2011-11-20 22:43:05 +01:00
Benjamin Haisch
51214a461a
TOLTECS: Saving/loading is working; it still needs work but will suffice to make debugging somewhat easier.
2011-11-20 22:43:05 +01:00
Benjamin Haisch
dd5567613f
TOLTECS: - Renamed stuff and cleanups
...
- Beginnings of the saveload system (incomplete)
2011-11-20 22:43:05 +01:00
Benjamin Haisch
21f6dad09a
TOLTECS: - Renamed some variables & functions
...
- Mouse cursor is hidden/shown when _mouseDisabled variable is set via script
2011-11-20 22:43:05 +01:00
Benjamin Haisch
0c3f2ab5d5
TOLTECS: Some cleanup of the pathfinding code.
2011-11-20 22:43:05 +01:00
Benjamin Haisch
f4e156b3b3
TOLTECS: Fixed tabs and formatting.
2011-11-20 22:43:05 +01:00
Eugene Sandulenko
7c2835313e
TOLTECS: Initial checkin
2011-11-20 22:43:05 +01:00
Alyssa Milburn
528c1173d7
MOHAWK: Implement kLBOpLoad, kLBOpUnload.
2011-11-20 20:24:51 +01:00
Alyssa Milburn
383b307f69
MOHAWK: Replace _neverEnabled with basic _loaded logic.
2011-11-20 20:24:31 +01:00
Filippos Karapetis
38dc6640dc
SCI: Reset parameters for all channels used by a song when it starts
2011-11-20 20:59:31 +02:00
Willem Jan Palenstijn
b7eb5eff38
DREAMWEB: Reduce code duplication
2011-11-20 19:57:06 +01:00
Bertrand Augereau
6cab17c832
DREAMWEB: Accessor for kQuitrequested
2011-11-20 21:26:18 +01:00
Bertrand Augereau
57fc322992
DREAMWEB: 'screenupdate' ported to C++
2011-11-20 21:22:16 +01:00
Bertrand Augereau
2d4197381e
DREAMWEB: 'switchryanon' and 'switchryanoff' ported to C++
2011-11-20 19:58:05 +01:00
Bertrand Augereau
ea4c2acae9
DREAMWEB: 'startup' and 'startup1' ported to C++
2011-11-20 19:53:58 +01:00
Bertrand Augereau
02cc2003c6
DREAMWEB: dochange(void) is not needed anymore
2011-11-20 19:50:04 +01:00
Bertrand Augereau
d1d34f2e78
DREAMWEB: 'dumpwatch' ported to C++
2011-11-20 19:37:51 +01:00
Bertrand Augereau
ea62c23256
DREAMWEB: 'turnonpower' ported to C++
2011-11-20 18:44:39 +01:00
Bertrand Augereau
36c4bafdc1
DREAMWEB: 'powerlighton' and 'powerlightoff' ported to C++
2011-11-20 18:44:39 +01:00
Alyssa Milburn
c74b364b21
MOHAWK: Implement LB's makePt.
2011-11-20 16:32:23 +01:00
Alyssa Milburn
40474f0bc6
MOHAWK: Draw LB items in sorted order.
2011-11-20 16:30:33 +01:00
Bertrand Augereau
98c3f7991e
DREAMWEB: 'neterror' ported to C++
2011-11-20 17:08:41 +01:00
Bertrand Augereau
721b828354
DREAMWEB:'monmessage' ported to C++
2011-11-20 16:44:24 +01:00
Bertrand Augereau
428beb7f34
DREAMWEB: 'randomaccess' ported to C++
2011-11-20 14:45:37 +01:00
Bertrand Augereau
7190f1374e
DREAMWEB: Accessor for kTempcharset
2011-11-20 14:18:27 +01:00
Bertrand Augereau
3d16344e99
DREAMWEB: Accessors for kTempGraphics
2011-11-20 14:18:27 +01:00
Bertrand Augereau
f0ccf111f2
DREAMWEB: 'accesslighton' and 'accesslightoff' ported to C++
2011-11-20 14:18:26 +01:00
Torbjörn Andersson
055260769c
QUEEN: Remove unused variable
...
As far as I can tell, this 'canQuit' variable (originally 'CANTQUIT')
has been replaced by the _vm->input->canQuit() method in all other
cases. However, I'm not at all sure what effect this change will have.
2011-11-20 10:37:44 +01:00
Johannes Schickel
4ed7d392a8
ALL: More m4 removal.
...
Thanks to digitall for spotting the occurance in engines.mk.
2011-11-20 05:18:42 +01:00
Paul Gilbert
b0611f3189
M4: Removed the M4/MADS engine from trunk
2011-11-20 12:14:10 +11:00
Willem Jan Palenstijn
90ecc195c1
DREAMWEB: Clean up loop
2011-11-19 19:17:04 +01:00
Willem Jan Palenstijn
049a0c25d7
DREAMWEB: Minor cleanup
2011-11-19 18:47:54 +01:00
Bertrand Augereau
2701439250
DREAMWEB: 'monprint' ported to C++
2011-11-19 16:54:28 +01:00
Travis Howell
105c90b9d5
AGOS: Fix using saved games from the CD versions of Simon the Sorcerer 2, on the floppy disk versions of Simon the Sorcerer 2.
2011-11-19 17:05:23 +11:00
Paul Gilbert
04ae8dbf20
TSAGE: Properly update user interface when switching between characters in R2RW
2011-11-19 16:28:47 +11:00
Willem Jan Palenstijn
65dec085b3
DREAMWEB: Remove assert when assigning an invalid segmentRef
...
This is a valid operation when it is performed by a push/pop pair
to save/restore an invalidated segment register, which happens when you die.
Actually dereferencing this invalid segmentRef will still trigger
other existing asserts.
2011-11-18 23:24:41 +01:00
Willem Jan Palenstijn
e59e2e4b19
DREAMWEB: Fix compile error/typo
2011-11-18 22:48:34 +01:00
Willem Jan Palenstijn
f4be01b1c1
DREAMWEB: Add some sprite-related comments and names
2011-11-18 22:34:46 +01:00
Willem Jan Palenstijn
13b2e89378
DREAMWEB: Clean up loop
2011-11-18 19:04:25 +01:00
Bertrand Augereau
351be2d19d
DREAMWEB: Comment in 'showcurrentfile' about the file not being displayed in the frame in te upper right corner when you do a LIST
2011-11-18 17:51:26 +01:00
Bertrand Augereau
42c9e24e69
DREAMWEB: Remove now unnecessary push/pop sequence in 'scrollmonitor'
2011-11-18 17:47:55 +01:00
Bertrand Augereau
a09a39794c
DREAMWEB: 'showcurrentfile' ported to C++
...
NB: This commit doesn't change the (wrong) layout of the file text
2011-11-18 17:38:19 +01:00
Bertrand Augereau
29ff93e257
DREAMWEB: 'scrollmonitor' ported to C++
2011-11-18 16:57:37 +01:00