Strangerke
af76409408
HOPKINS: Fix 2 glitches reported by greencis in win95 demos
2013-06-05 08:24:11 +02:00
Torbjörn Andersson
08be916049
SCUMM: Verify sample width in Digital iMUSE callback. CID 1002112
...
Verify that 'bits' really is one of 8, 12 or 16 before decoding
the data. It's probably always the case (unless the data files are
damaged) but if it isn't we'll either try to queue NULL to the
audio stream, or queue the same buffer more than once, or free the
buffer more than once. All of which are bad, though Coverity only
noticed the last of these cases.
2013-06-04 06:11:41 +02:00
Torbjörn Andersson
1cc0e9cb88
TONY: Fix memory leak on save game failure (CID 1003579)
...
Though shouldn't it also alert the user to the failure?
2013-06-02 22:13:59 +02:00
Torbjörn Andersson
9d28a6f531
TONY: Fix potential memory leak
...
Unfortunately, I'm not sure where and when this function is called.
But this should be correct. CID 1003575
2013-06-02 22:00:25 +02:00
Torbjörn Andersson
52be12830b
NEVERHOOD: Fix crash in scene 1105 (teddy bear panel)
...
Leaving the panel in scene 1105 only worked if the panel was open.
If the panel was closed, nothing would happen on the first click,
and on the second it would crash. If I understood this correctly,
it was because trying to leave while the panel was closed would
(incorrectly) mark it as open, and then it would crash when trying
to remove the objects behind the panel from the scene.
2013-06-02 10:54:37 +02:00
Torbjörn Andersson
f8c0d354af
SCUMM: Remove unused variable _quit
...
CID 1003018
2013-06-02 09:43:59 +02:00
Johannes Schickel
0e5bcd207b
Merge pull request #332 from bluegr/roland_gs_cleanup
...
SCUMM: iMuse - Clean-up of Roland GS code (updated)
2013-06-01 19:40:27 -07:00
Torbjörn Andersson
86721390d2
LURE: Add missing va_end()
...
CID 1002106
2013-06-01 22:39:31 +02:00
Torbjörn Andersson
c4b3f113d3
SAGA: Add missing "break"s
...
It seems pretty clear to me that these fallthroughs were not
intentional, seeing how one of them could cause ITE to fall through
to IHNM-specific code.
CID 1003744, 1003745
2013-06-01 22:16:32 +02:00
Torbjörn Andersson
251b760b99
NEVERHOOD: Removed debug (?) code that bypassed puzzle
...
The effect of the removed code was to bypass the potion-mixing
puzzle while shrunken. The puzzle works fine for me, so there's
no reason to keep this bypass. Also, it caused a dead code
warning, CID 1022345.
2013-06-01 16:47:56 +02:00
Torbjörn Andersson
f7099c57d1
NEVERHOOD: Made multi-line function-line macros safer
...
Wrapped the code in the SetUpdateHandler(), SetMessageHandler(),
SetSpriteUpdate(), SetFilterX(), SetFilterY() and NextState()
macros in "do { ... } while (0)". Otherwise you may fool yourself
because in "if (condition) macro();" the "if" will only cover the
first statement of the macro.
CID 1022340, 1022341, 1022342, 1022343
2013-05-31 19:30:36 +02:00
Filippos Karapetis
f38c7d76ef
SCI: Add a workaround for a script bug in SQ5, room 800 - bug #3614145
2013-05-31 05:59:25 +03:00
Alyssa Milburn
b16f2d8405
SKY: Try to avoid deadlocks with the mixer mutex.
...
See bug #3512069 .
2013-05-29 09:05:20 +02:00
Strangerke
f055512f17
HOPKINS: Fix crash in Polish demo - Bug #3613954
2013-05-28 08:21:59 +02:00
D G Turner
d11a1eea94
NEVERHOOD: Silence two compiler warnings about set but unused variables.
2013-05-28 02:07:02 +01:00
Filippos Karapetis
907edb50b6
NEVERHOOD: Don't show mouse cursor on game startup
...
This makes sure that the mouse cursor isn't visible during the intro
2013-05-28 02:43:49 +03:00
Johannes Schickel
d409d07677
CGE: Pass proper size of detection entries to AdvancedMetaEngine code.
...
This was forgotten to update in 0d50c67a3e
.
2013-05-27 23:34:14 +02:00
johndoe123
753d5e8922
Merge pull request #334 from salty-horse/neverhood
...
NEVERHOOD: Fix incorrect dark palette in Scene2206
2013-05-27 02:52:07 -07:00
Torbjörn Andersson
2e4f64066d
NEVERHOOD: Fix invalid memory access in navigation scenes
...
When a new Smacker is opened, the old Smacker surface is deleted
and a new one is created. Therefore, it has to be removed from the
scene and the new one has to be added.
2013-05-27 06:48:23 +02:00
Strangerke
5e0e672283
CGE: Fix warning in detection
...
Thanks clone2727 for reporting it
2013-05-26 22:39:18 +02:00
Strangerke
3a23991a18
HOPKINS: Fix bug #3613819 - Crash when loading a savegame in Win95 Demo
2013-05-26 19:32:40 +02:00
Einar Johan T. Sømåen
81282b52e7
WINTERMUTE: Fix erroneous _gameRef in BaseQuickMSG
...
CID 1002323
2013-05-23 14:03:06 +02:00
Strangerke
f06f335a7c
HOPKINS: Update detection to avoid as much as possible the use of executables
2013-05-22 23:34:26 +02:00
D G Turner
539c6314b1
NEVERHOOD: Fix uninitialized variable.
2013-05-21 23:54:18 +01:00
Filippos Karapetis
e4d5b37a3e
Revert "DRASCULA: Add detection entries for the Debian repacked versions (bug #3612236 )"
...
This reverts commit f0071c65ad
.
2013-05-20 12:44:17 +03:00
Filippos Karapetis
bd91467891
Revert "DRASCULA: Fix the comment of the Debian repacked Italian version"
...
This reverts commit d06a654224
.
2013-05-20 12:44:03 +03:00
Strangerke
0d50c67a3e
CGE: Introduce gametype
2013-05-19 22:52:09 +02:00
Filippos Karapetis
d06a654224
DRASCULA: Fix the comment of the Debian repacked Italian version
2013-05-19 08:37:57 +03:00
Filippos Karapetis
f0071c65ad
DRASCULA: Add detection entries for the Debian repacked versions (bug #3612236 )
2013-05-19 08:32:37 +03:00
Filippos Karapetis
d2a97bc928
DRASCULA: Reorder detection entries
...
Entries have been grouped by type (packed / unpacked) and ordered by
language, alphabetically
2013-05-19 08:32:37 +03:00
Filippos Karapetis
2dce7167b9
DRASCULA: Add detection entries for updated unpacked French / Italian versions (bug #3612236 )
2013-05-19 08:32:36 +03:00
Ori Avtalion
f4054c5c2f
NEVERHOOD: Fix incorrect dark palette in Scene2206
2013-05-19 01:05:42 +03:00
Willem Jan Palenstijn
5499022866
HOPKINS: Remove left-over assignment
...
This should have been removed in 2743da5854
.
2013-05-18 16:46:05 +02:00
Matthew Hoops
80e3002105
SCI: Add an alternate version of the GK1 demo
2013-05-17 23:13:07 -04:00
Matthew Hoops
ddf3472895
SCI: Add detection for an interactive KQ7 demo
...
Thanks to DrMcCoy
2013-05-17 23:04:10 -04:00
Paul Gilbert
11e40f7467
HOPKINS: Fix to prevent GMM saving in the underwater sub scenes
2013-05-18 11:31:12 +10:00
Strangerke
0822b77d95
CGE: Add detection entry for Sfinx
2013-05-17 08:26:46 +02:00
Eugene Sandulenko
6b4e62004a
NEVERHOOD: Add detection for Russian version. Requires more work
2013-05-17 08:52:45 +03:00
Eugene Sandulenko
f59512c47e
RECORDER: Implement Events Recorder
2013-05-17 00:18:09 +03:00
Alyssa Milburn
a29eb151e0
MOHAWK: Add GF_LB_10 to try fixing bug#3611895.
2013-05-16 13:19:24 +02:00
Willem Jan Palenstijn
2743da5854
HOPKINS: Clean up loops
2013-05-16 08:10:14 +02:00
Strangerke
9f641c3d98
HOPKINS: Fix shadowed variable not reported by MSVC
2013-05-16 07:34:58 +02:00
Strangerke
90084cfdce
HOPKINS: Fix bug #3611942 and #3613072 - Pathfinding regression in 1fd81eee40
2013-05-16 01:28:30 +02:00
Filippos Karapetis
c69b8fbaf5
NEVERHOOD: Update old form of module.mk
...
This syncs the engine's module.mk with the changes in 38a8aa516e
2013-05-15 22:21:11 +03:00
Filippos Karapetis
de230b7696
MADE: Show version-related before size-related incompatibilities in savegames
...
This gives clearer errors when users use savegames saved with a different version
2013-05-15 21:48:32 +03:00
Eugene Sandulenko
0638308ef1
Merge pull request #330 from johndoe123/neverhood
...
NEVERHOOD: Neverhood engine
2013-05-15 09:19:34 -07:00
Strangerke
2b1c1734cb
HOPKINS: Fix erroneous check in pathfinding
2013-05-15 08:26:36 +02:00
Thierry Crozat
32c3de61e1
SWORD1: Removed unused class variable
2013-05-14 21:51:25 +01:00
Thierry Crozat
2e7d06b670
SWORD1: Initialize class variables in constructor
...
CID 1002998.
2013-05-14 21:51:25 +01:00
Filippos Karapetis
b59ac9ea3a
DRASCULA: Remove superfluous strcpy()
2013-05-14 11:55:56 +03:00
Paul Gilbert
6ee723c905
HOPKINS: Bugfix for #3612410 - hotspots are off
2013-05-14 13:44:53 +10:00
Filippos Karapetis
247472624a
TOLTECS: Fix operator order (pre-decrement instead of post-decrement)
...
A typo in commit 98fa064
. Thanks to LordHoto for pointing that out
2013-05-14 02:11:59 +03:00
Filippos Karapetis
98fa064edf
TOLTECS: Fix bug #3613032 - "TOLTECS: Crash during peace pipe coughing scene"
...
Check for the end of the movie resource before buffering more audio chunks.
This avoids reading past the end of the movie resource. Also, clean up some
movie related checks
2013-05-14 01:45:33 +03:00
Matthew Hoops
94fd3809bf
PEGASUS: Fix going left initially in the globe game
2013-05-12 19:42:32 -04:00
sylvaintv
d6d3c6a13c
HOPKINS : Added a lines debugger command
2013-05-13 00:04:55 +02:00
Strangerke
1f509f13b2
HOPKINS: Use different colors for displaying hotspot zones
2013-05-12 18:44:52 +02:00
Strangerke
e9e18cd6b9
HOPKINS: Clean debug channels, add Pathfinding traces
2013-05-12 12:08:49 +02:00
tcarey
dc6b39d058
SCUMM: Clean-up of Roland GS code
...
1. Remove _sc55 bool. All Roland GS-capable devices have MT-32 sound/drum maps, so they should always be used when _enable_gs is set.
2. Always enable _native_mt32 if Roland GS mode is selected. I don't know why I never did this originally, since _enable_gs is automatically disabled for SCUMM v6+ games that use General MIDI tracks instead of MT-32 music.
3. Set master tune for GS devices to 442.0kHz. This is the master tune setting for the MT-32.
2013-05-11 19:18:11 +03:00
Strangerke
27346f8a08
HOPKINS: Courtesy of SylvainTV - Fix long diagonals to bottom left and right
2013-05-11 17:50:42 +02:00
Filippos Karapetis
bdd131450f
QUEEN: Fix bug #3612408 - "QUEEN: Can't quit from ScummVM while ending cutscene"
...
We now check if the engine should quit in the loop of the end credits animation
2013-05-11 17:20:57 +03:00
Filippos Karapetis
5fadff59f9
AGI: Fix bug #3600733 - "AGI FANMADE: function slowing down game"
...
We now only test for events in testKeypressed() without updating the
game cycle at all (NAGI doesn't update the game cycle either). This
fixes the slowdowns in some animations where have.key() is issued,
like Manannan's lightnings in the intro of KQ3 and the bullets in the
intro of PQ1
2013-05-11 17:09:59 +03:00
Filippos Karapetis
c75480bf2f
AGI: Remove obsolete TODO
...
We now set the play time - commit 5e10737015
2013-05-11 17:09:58 +03:00
Strangerke
5d546d4103
HOPKINS: Fix bug #3613068 - Detection of Hopkins Russian
2013-05-11 12:15:45 +02:00
Paul Gilbert
369f886477
HOPKINS: Added a zones debugger command
2013-05-10 17:33:03 +10:00
johndoe123
32c21754e2
NEVERHOOD: Fix member var initializations
2013-05-08 21:02:00 +02:00
johndoe123
fb0332d884
NEVERHOOD: Fix deletes in SpriteResource::unload() and ResourceMan::purgeResources()
2013-05-08 21:02:00 +02:00
johndoe123
163023a8ed
NEVERHOOD: Fix issues in the save/load screens
...
- Add virtual keyboard support in save/load screens
2013-05-08 21:01:54 +02:00
johndoe123
78e0d6a3f1
NEVERHOOD: Move module files to own subdirectory
2013-05-08 20:49:19 +02:00
Willem Jan Palenstijn
1022996309
Merge branch 'master'
2013-05-08 20:47:44 +02:00
johndoe123
583f9abaf9
NEVERHOOD: Fix some logic bugs and minor changes
...
- Fix video speed in the very last scene (Scene1317)
- Fix back door not opening in Scene1401
- Fix projector not moving in Scene1402
- Fix projector not appearing in Scene1403
- Fix wrong Klaymen walking in Scene2205
- Fix wrong scene change in Module2300
- Fix symbols not appearing in Scene3011
- Define out some remaining logic debug code
- Remove some obsolete comments
- Reduce debug output
- Use a List instead of an Array when building the microtiles rectangles
2013-05-08 20:47:43 +02:00
johndoe123
9b6d813d41
NEVERHOOD: Update todo.txt
2013-05-08 20:47:43 +02:00
johndoe123
9ca3973e6f
NEVERHOOD: Work on the save/load/delete menus
...
- Rename WidgetScene to GameStateMenu
- Merge common code from the save/load/delete into GameStateMenu
2013-05-08 20:47:43 +02:00
johndoe123
8749efdea8
NEVERHOOD: Add game-internal savegame delete menu
...
- Rename Widget::addSprite to Widget::initialize
2013-05-08 20:47:43 +02:00
johndoe123
a03879963f
NEVERHOOD: Changed the save/load menu to allow gaps in saved games to simplify game deletion
2013-05-08 20:47:43 +02:00
johndoe123
2a571d71b0
NEVERHOOD: Fix GUI options and game copyright
2013-05-08 20:47:43 +02:00
johndoe123
a80bafeb2e
NEVERHOOD: Support game loading from launcher/command line
2013-05-08 20:47:43 +02:00
johndoe123
dc459b5f67
NEVERHOOD: Merge some code in the save/load menus
2013-05-08 20:47:43 +02:00
johndoe123
bdac28929f
NEVERHOOD: Add Y-flipping to unpackSpriteNormal
2013-05-08 20:47:43 +02:00
johndoe123
70fdfd9d57
NEVERHOOD: Delete all sound/music items on exit
...
- Minor cleanup
2013-05-08 20:47:43 +02:00
johndoe123
c96d2475b1
NEVERHOOD: Add Screen::saveParams and Screen::restoreParams, called when etnering/leaving the menu
2013-05-08 20:47:42 +02:00
johndoe123
53a81d11b8
NEVERHOOD: Don't allow main menu until _canRequestMainMenu is set
...
- Clean up GameModule
2013-05-08 20:47:42 +02:00
johndoe123
65c6984635
NEVERHOOD: Implement game-internal savegame overwrite query screen
...
- Rename and reorder fields in the Klaymen class
2013-05-08 20:47:42 +02:00
johndoe123
9ae1888593
NEVERHOOD: Change Klaymen idle callbacks from method pointers to integers and evaluate these in a new method enterIdleAnimation
2013-05-08 20:47:42 +02:00
johndoe123
1383c5f395
NEVERHOOD: Rename stuff in the Klaymen class
2013-05-08 20:47:42 +02:00
johndoe123
c218cb46e0
NEVERHOOD: Remove unneeded braces
2013-05-08 20:47:42 +02:00
johndoe123
4c6e82fc05
NEVERHOOD: Remove objectPriority and surfacePriority parameters from the Klaymen class constructor since they always have the same value (1000)
2013-05-08 20:47:42 +02:00
johndoe123
379a8cbbe0
NEVERHOOD: Add support for loading/saving games with the game's own menu
...
- Add LoadGameMenu class
2013-05-08 20:47:42 +02:00
johndoe123
490d447ed1
NEVERHOOD: Implement restart functionality (from both main menu and game logic)
...
- Some minor cleanup
2013-05-08 20:47:42 +02:00
johndoe123
4389d32974
NEVERHOOD: Rename "Klayman" to "Klaymen" (the correct name of the game's hero)
2013-05-08 20:47:41 +02:00
johndoe123
ac1dc3e4db
NEVERHOOD: Fix Module1300::createScene
2013-05-08 20:47:41 +02:00
johndoe123
5ff11f0041
NEVERHOOD: Rework the sound system
...
- Move code from the manager classes to the sound/music classes
2013-05-08 20:47:41 +02:00
johndoe123
e51bea9b4e
NEVERHOOD: Don't load a DataResource if the same data is already loaded; this fixes a nasty bug in several scenes which use message lists from a DataResource
2013-05-08 20:47:40 +02:00
johndoe123
eea9dbe2da
NEVERHOOD: Minor renaming and cleanup
2013-05-08 20:47:40 +02:00
johndoe123
51979c4f3f
NEVERHOOD: Rename SceneInfo2700 to TrackInfo
2013-05-08 20:47:40 +02:00
johndoe123
5bf8fb3e96
NEVERHOOD: Remove more old TODOs
2013-05-08 20:47:40 +02:00
johndoe123
18ce1acc12
NEVERHOOD: Rework the car track scenes in Module2500 and Module2700
...
- Move findClosestTrack code from several scenes to new Tracks::findTrackPoint
- Remove const kScene2706 arrays and use it from the dat instead
2013-05-08 20:47:40 +02:00
johndoe123
e43184f4f2
NEVERHOOD: Remove obsolete TODOs
2013-05-08 20:47:40 +02:00
johndoe123
df43b8bd68
NEVERHOOD: Move Scene2804::initCrystalColors() to GameModule::initCrystalColorsPuzzle()
...
- Add Scene::isMessageList2, only used in Scene2101
2013-05-08 20:47:40 +02:00
johndoe123
f945448c7b
NEVERHOOD: Change graphic resource draw method to get a Surface instead of separate pixels/pitch
...
- Merge SpriteResource::load and load2
2013-05-08 20:47:40 +02:00
johndoe123
57497817e1
NEVERHOOD: Add enum for the resource types
2013-05-08 20:47:40 +02:00
johndoe123
a98d9aa58a
NEVERHOOD: Clean up DiskplayerScene
...
- Enable return to launcher
- Remove obsolete comments
- Remove braces in single-line statements
- Remove unused non-transparent drawing code in BaseSurface::copyFrom
- Clean up mouse cursor insertion code in Scene class
2013-05-08 20:47:39 +02:00
johndoe123
6ddedc955a
NEVERHOOD: Merge TextSurface into FontSurface
2013-05-08 20:47:39 +02:00
johndoe123
fa205be892
NEVERHOOD: Remove some obsolete TODOs
2013-05-08 20:47:39 +02:00
johndoe123
b875696fc7
NEVERHOOD: Update todo.txt
2013-05-08 20:47:39 +02:00
johndoe123
9963ce41ea
NEVERHOOD: Merge CollisionMan into Scene class
2013-05-08 20:47:39 +02:00
johndoe123
4b7ad48ca8
NEVERHOOD: Rename some CollisionMan methods/fields
...
- Remove fallback detector (I think it's not needed)
- Rename Scene insertMouse methods
2013-05-08 20:47:39 +02:00
johndoe123
fec1d7816a
NEVERHOOD: Implement resource cache purging and purge it after each scene
2013-05-08 20:47:39 +02:00
johndoe123
30178e46e5
NEVERHOOD: Implement savegame loading via GMM (in-game saving/loading still TODO)
2013-05-08 20:47:39 +02:00
johndoe123
a35cd088e5
NEVERHOOD: Remove obsolete _keyState
2013-05-08 20:47:39 +02:00
johndoe123
0f1aa64fd0
NEVERHOOD: Add support for the demo version
...
- Remove debug resource dumping code
- Fix Scene1501 (pictures without sound weren't displayed/too fast)
- Move main loop to mainLoop method
2013-05-08 20:47:38 +02:00
johndoe123
060287a4f8
NEVERHOOD: Improve frame-exact seeking for Scene2802
...
Thanks to clone2727 for his help!
2013-05-08 20:47:38 +02:00
johndoe123
99e15e4005
NEVERHOOD: More work on saveload, saving works, loading not yet (from the GMM, in-game isn't finished yet)
2013-05-08 20:47:38 +02:00
johndoe123
c182688e44
NEVERHOOD: Add saveload skeleton (doesn't actually do anything yet)
2013-05-08 20:47:38 +02:00
johndoe123
9a1d9883ad
NEVERHOOD: Fix AsCommonCar turning
2013-05-08 20:47:38 +02:00
johndoe123
b2934eb166
NEVERHOOD: Fix Klaymen "grow" animation after drinking the potion
...
- Remove static sprite 0x50C027A8 Scene2803/Scene2803Small because the resource doesn't exist!
- Remove some old comments
- Fix resource extData handling which fixes some crashes
- Enable reusing deleted sound/music slots in SoundMan (was disabled for debugging)
2013-05-08 20:47:38 +02:00
johndoe123
cc015e3d24
NEVERHOOD: Simplify resource loading
...
- Renamne and clean up
2013-05-08 20:47:38 +02:00
johndoe123
1b9807b312
NEVERHOOD: Remove more old comments
...
- Add the remaining idle stuff to Klayman
2013-05-08 20:47:38 +02:00
johndoe123
370f00e808
NEVERHOOD: New _sceneNum in Module2800
...
- Very slightly improved the speed in SmackerPlayer::gotoFrame()
2013-05-08 20:47:38 +02:00
johndoe123
325c85fc41
NEVERHOOD: Fix Klaymen in Scene1403 (*facepalm*)
2013-05-08 20:47:38 +02:00
johndoe123
1904e944c5
NEVERHOOD: Add initCubeSymbolsPuzzle
...
- Add microtiles to the screen update to eliminate overdraw
(microtiles code taken from the Toltecs engine)
- Fix sprite dimensions in AsScene1402PuzzleBox which caused a crash
- Fix screen shaking in Scene1402
(the puzzle box and bridge parts now shake along :)
- Use addSoundItem/addMusicItem in the SoundMan instead of
directly using push_back on the resp. arrays
- Remove old code and comments
2013-05-08 20:47:37 +02:00
johndoe123
685ce4e312
NEVERHOOD: Add initCodeSymbolsPuzzle
2013-05-08 20:47:37 +02:00
johndoe123
73e0372cef
NEVERHOOD: A little more work on the menu stuff
2013-05-08 20:47:37 +02:00
johndoe123
6be5c11713
NEVERHOOD: More work on the menu system:
...
- Add handling of ascii and system key input
- Fix TextSurface::drawChar()
- Pause audio when entering the menu, resume it again afterwards
- Add TextEditWidget
- Add SaveGameMenu (doesn't actually save anything yet and needs more work)
2013-05-08 20:47:37 +02:00
johndoe123
0022c57858
NEVERHOOD: Add SavegameListBox
2013-05-08 20:47:37 +02:00
johndoe123
eecd9b8b2a
NEVERHOOD: Add TextLabelWidget (still doesn't do anything)
2013-05-08 20:47:37 +02:00
johndoe123
228d9264c8
NEVERHOOD: Start with menu widget stuff (doesn't do anything yet!)
2013-05-08 20:47:37 +02:00
johndoe123
4df22cf979
NEVERHOOD: Remove track rectList code because none of the tracks has a rectList
2013-05-08 20:47:36 +02:00
johndoe123
c539060460
NEVERHOOD: Clean up Module2700 (like the ones before)
...
- Add Scene2703 and Scene2732
2013-05-08 20:47:36 +02:00
johndoe123
36204f573d
NEVERHOOD: Clean up Module2600 (like the ones before)
2013-05-08 20:47:35 +02:00
johndoe123
28e613c68b
NEVERHOOD: Clean up Module2500 (like the ones before)
2013-05-08 20:47:35 +02:00
johndoe123
38df3c0d62
NEVERHOOD: Clean up Module2400 (like the ones before)
...
- Fix Klayman::stTurnToFront()
2013-05-08 20:47:35 +02:00
johndoe123
61e2a6f81d
NEVERHOOD: Clean up Module2300 (like the ones before)
...
- Also fix previous modules (oops)
2013-05-08 20:47:35 +02:00
johndoe123
1993d4165a
NEVERHOOD: Clean up Module2200 (like the ones before)
...
- Rename SceneInfo140 to HallOfRecordsInfo
2013-05-08 20:47:35 +02:00
johndoe123
0dd4995af3
NEVERHOOD: Clean up Module2100 (like the ones before)
2013-05-08 20:47:35 +02:00
johndoe123
9d987a97d3
NEVERHOOD: Clean up Module2000 (like the ones before)
2013-05-08 20:47:35 +02:00
johndoe123
2fbfd673ad
NEVERHOOD: Clean up Module1900 (like the ones before)
2013-05-08 20:47:35 +02:00
johndoe123
dd26512c0d
NEVERHOOD: Clean up Module1800 (like the ones before)
2013-05-08 20:47:35 +02:00
johndoe123
904d9430bf
NEVERHOOD: Clean up Module1700 (like the ones before)
2013-05-08 20:47:35 +02:00
johndoe123
e2b696b891
NEVERHOOD: Clean up Module1600 (like the ones before)
...
- Remove AsScene1608Door because the corresponding animation resource didn't exist!
2013-05-08 20:47:34 +02:00
johndoe123
f51140490d
NEVERHOOD: Clean up Module1500 (like the ones before)
2013-05-08 20:47:34 +02:00
johndoe123
af37a2200e
NEVERHOOD: Clean up Module1400 (like the ones before)
2013-05-08 20:47:34 +02:00
johndoe123
ee7d47cb18
NEVERHOOD: Clean up Module1300 (like the ones before)
2013-05-08 20:47:34 +02:00
johndoe123
097f1f27bb
NEVERHOOD: Clean up Module1200 (like the ones before)
2013-05-08 20:47:34 +02:00
johndoe123
f744e60e0e
NEVERHOOD: Clean up Module1100:
...
- Rename stuff
- Remove superfluous braces
- Add a comment to the "which" code in each scene
- Use a seperate _sceneNum instead of _vm->gameState().sceneNum
2013-05-08 20:47:34 +02:00
johndoe123
4d7610f69d
NEVERHOOD: Clean up Module1000:
...
- Rename stuff
- Remove superfluous braces
- Add a comment to the "which" code in each scene
- Use a seperate _sceneNum instead of _vm->gameState().sceneNum
- Remove code related to unused resource preloading and debug messages
2013-05-08 20:47:34 +02:00
johndoe123
1589e4fe7d
NEVERHOOD: Add new method StaticSprite::loadSprite and use it instead of setting stuff "manually"
2013-05-08 20:47:34 +02:00
johndoe123
bf1371c9d4
NEVERHOOD: Rename and clean up fields in AnimFrameInfo
2013-05-08 20:47:34 +02:00
johndoe123
f24a6769c2
NEVERHOOD: Make use of NDrawRect::set
2013-05-08 20:47:33 +02:00
johndoe123
9ba7a7f1a1
NEVERHOOD: Rename stuff in Sprite:
...
- processDelta() to updateBounds()
- getRect() to getCollisionBounds()
- _drawRect to _drawOffset
- _rect to _collisionBounds
- _deltaRect to _collisionBoundsOffset
2013-05-08 20:47:33 +02:00
johndoe123
eb054471e0
NEVERHOOD: Fix _drawRects in AsScene1002Door and SsCommonPressButton
2013-05-08 20:47:33 +02:00
johndoe123
47994441cd
NEVERHOOD: Move setting of debug variables to the GameModule
2013-05-08 20:47:33 +02:00
johndoe123
5af2de503e
NEVERHOOD: Rewrite GameModule::initMemoryPuzzle() to use NonRepeatingRandomNumbers
...
- Change NonRepeatingRandomNumbers
2013-05-08 20:47:33 +02:00
johndoe123
54c83924ce
NEVERHOOD: Add class NonRepeatingRandomNumbers
...
- Simplify GameModule::initKeySlotsPuzzle()
2013-05-08 20:47:33 +02:00
johndoe123
8d97f26cef
NEVERHOOD: Fix AsScene2402Door animation
2013-05-08 20:47:33 +02:00
johndoe123
f8ff1cc12f
NEVERHOOD: Add CreditsScene to Module1300 and Module1800 (played after the game end and after jumping into the hole...)
2013-05-08 20:47:33 +02:00
johndoe123
5ba8f2e9c8
NEVERHOOD: Add making of video to the main menu
...
- Clear render queue at each scene initiailization
- Fix mouse cursor visibility (again :)
- Fix SmackerScene screen clearing
2013-05-08 20:47:33 +02:00
johndoe123
c43253bd6a
NEVERHOOD: Implement CreditsScene
2013-05-08 20:47:32 +02:00
johndoe123
2e32b32808
NEVERHOOD: Start with the MenuModule
2013-05-08 20:47:32 +02:00
johndoe123
ef8f0215cf
NEVERHOOD: Add GameVars::dumpVars() for debugging
2013-05-08 20:47:32 +02:00
johndoe123
126a306c89
NEVERHOOD: Some cleanup:
...
- Remove _name field from Entity (wasn't really maintained by me and
became useless)
- Remove obsolete TODOs
- Add STICK_LAST_FRAME constant for better readability
- Remove commented out callbackList TODOs (these were so far never
used with over 90% of the game implemented)
2013-05-08 20:47:32 +02:00
johndoe123
533eb5d61d
NEVERHOOD: Rename puzzle initialization methods and give them better names
2013-05-08 20:47:32 +02:00
johndoe123
9b7354dacb
NEVERHOOD: Fix mouse cursor visibility by starting out invisible when the Mouse object is created and hiding the cursor when it's destroyed
2013-05-08 20:47:32 +02:00
johndoe123
c7ad09c685
NEVERHOOD: Remove BaseSurface::addDirtyRect() which is obsolete as well
2013-05-08 20:47:32 +02:00
johndoe123
a6e9475a3f
NEVERHOOD: Remove Scene::_surfaceFlag which also is obsolete now
2013-05-08 20:47:32 +02:00
johndoe123
a238f57805
NEVERHOOD: Remove DirtyBackground which became obsolete after the renderqueue stuff
2013-05-08 20:47:31 +02:00
johndoe123
4295991d19
NEVERHOOD: Use hardcoded values as width/height of several sprites (in the original the values were loaded from the entry's extData but since all values are constant anyway it shouldn't matter)
2013-05-08 20:47:31 +02:00
johndoe123
c09c0b8998
NEVERHOOD: Implement an experimental "render queue" to only draw and update what's actually changed; it works surprisingly well so far and only needs a few more changes here and there
2013-05-08 20:47:31 +02:00
johndoe123
692edf40c7
NEVERHOOD: Try to give the AsCommonCar identifiers better names
...
- Implement AsCommonCar::updateSound()
- Fix a bug in Scene1608 (the Klaymen animation got stuck when trying to get back into the car)
2013-05-08 20:47:31 +02:00
johndoe123
963b760076
NEVERHOOD: Remove TODOs concerning the original engine's debug code
...
- Add Scene1202 palette effect
- Add AsScene1405Tile sound panning
- Clean up some old comments
2013-05-08 20:47:31 +02:00
johndoe123
2c4f0b70fe
NEVERHOOD: Add Entity::setSoundPan and use it in the DiskplayerScene
2013-05-08 20:47:31 +02:00
johndoe123
f5c7070ace
NEVERHOOD: Add mouse cursor hiding/showing
2013-05-08 20:47:31 +02:00
johndoe123
682d15fce4
NEVERHOOD: Cleanup and fixes
...
- Implement GameModule::initScene2801Vars()
- Fix Scene1201::~Scene1201() which does some game logic stuff
- Rename some stuff
- Add more game variable constants
2013-05-08 20:47:07 +02:00
johndoe123
6df8fccf6b
NEVERHOOD: Implement GameModule::createModuleByHash
...
This is used later when restoring savegames
- Rename V_RING5_PULLED to V_RADIO_ENABLED
- Implement Palette::fillBaseBlack and use it in Scene2803Small
- Fix Scene2802 (show disabled radio if it's not enabled)
2013-05-08 20:47:07 +02:00
johndoe123
9858705772
NEVERHOOD: Graphics related changes/fixes:
...
- Add BitmapFlags enum
- Merge unpackSpriteRle and unpackSpriteRleRepl
- Implement Y flipping in unpackSpriteRle
- Fix Y flipping in AsScene2804CrystalWaves
2013-05-08 20:47:07 +02:00
johndoe123
676c7569f6
NEVERHOOD: Fix a very stupid bug in Scene::insertMouse433
2013-05-08 20:47:07 +02:00
johndoe123
a724e603da
NEVERHOOD: Use CursorMan
...
- Only update entities according to the current frame rate but run the actual game loop at a faster rate so the mouse cursor movement doesn't get choppy
2013-05-08 20:47:07 +02:00
johndoe123
fa53c0cf83
NEVERHOOD: Work on the resource system:
...
- Remove unused stuff
- Shuffle some stuff around
2013-05-08 20:47:07 +02:00
johndoe123
a80ec8c89c
NEVERHOOD: Implement Module2900, the teleporter
...
- Also fix a related bug in Module2000 (teleporter appearing animation didn't play)
2013-05-08 20:47:06 +02:00
johndoe123
b8d939a94b
NEVERHOOD: Implement Scene2802 (radio tuning scene)
...
- Handle mouse button up events
- Use the SmackerDecoder's rewind
- Implement SmackerPlayer::gotoFrame (slow but better than nothing)
2013-05-08 20:47:06 +02:00
johndoe123
111b6d32c6
NEVERHOOD: Fix Smacker framerate bug after the video decoder changes
...
- React to the space key which can skip some videos and navigation transitions
- Minor renaming in SmackerScene
2013-05-08 20:47:06 +02:00
johndoe123
2e7d100a6f
NEVERHOOD: Replace most of the literal digits in get/setSubVar with constants
2013-05-08 20:47:06 +02:00
Willem Jan Palenstijn
02c5cc75a7
Merge branch 'master'
...
Conflicts:
configure
base/plugins.cpp
2013-05-08 20:46:44 +02:00
johndoe123
1539023834
NEVERHOOD: Use constants for the numbers in get/setGlobalVar
...
Now the code is much more readable
- Still TODO is to do the same with get/setSubVar
2013-05-08 20:44:40 +02:00
johndoe123
97ee348c2a
NEVERHOOD: Rename stuff in DiskplayerScene
...
- Add SmackerPlayer::isDone()
- Fix puzzle key variable handling
- Update globalvars.txt
2013-05-08 20:44:40 +02:00
johndoe123
fd13b546a7
NEVERHOOD: Rename stuff in the Scene class and clean up a little
...
- Try to stay close to the actual frame rate
- Also use the Smacker frame rate when a video is playing to
keep videos in sync with the audio
2013-05-08 20:44:40 +02:00
johndoe123
59901c5d13
NEVERHOOD: Rename stuff in Module3000
...
- Also change Scene1609::testVars
- Update globalvars.txt
2013-05-08 20:44:40 +02:00
johndoe123
016638bd9e
NEVERHOOD: Rename stuff in Module2700
...
- Also fix the clipRect in Scene2701
2013-05-08 20:44:40 +02:00
johndoe123
5aee04b127
NEVERHOOD: Work on Module2800:
...
- Rename KmScene2803b to KmScene2803Small; Scene2803b to Scene2803Small
- Rename lots of stuff
2013-05-08 20:44:40 +02:00
johndoe123
fcbab80507
NEVERHOOD: Rename stuff in Module2700 (also in Module2500 which uses some of it)
2013-05-08 20:44:40 +02:00
johndoe123
1da6b95af9
NEVERHOOD: Work on Module2500:
...
- Remove Class541 and Class542 and instead use AsCommonIdleCarLower and AsCommonIdleCarFull
- Some renaming
2013-05-08 20:44:39 +02:00
johndoe123
4c421a09c8
NEVERHOOD: Add clipRects to all Klayman subclasses
...
- Rename stuff in Module2400
- Move some temp sprites from class scope to local scope in the respective constructors
2013-05-08 20:44:39 +02:00
johndoe123
483d76d635
NEVERHOOD: Enable/fixup navigation scene sound update code in several modules
...
- Rename some NavigationScene stuff
2013-05-08 20:44:39 +02:00
johndoe123
9b7bb71dd9
NEVERHOOD: Simplify code and rename things
...
- Add Module::createStaticScene to simplify creation of static scenes
(and use it in the relevant places)
- Rename Class545 to AsCommonKey and rename related variables
- Rename stuff in Module2200
2013-05-08 20:43:48 +02:00
johndoe123
15cfb9f787
NEVERHOOD: Implement clipping against multiple clipRects, used only in several scenes for the Klayman sprite.
...
Currently only implemented in KmScene2201 for testing.
2013-05-08 20:43:48 +02:00
johndoe123
8a9ca493b6
NEVERHOOD: Rename stuff in several modules
2013-05-08 20:43:48 +02:00
johndoe123
2fa76ccca1
NEVERHOOD: Work on Module1700:
...
- Rename stuff
- Add puzzle var initialization in Scene1705
2013-05-08 20:43:47 +02:00
johndoe123
b320c9f5a0
NEVERHOOD: Work on Module1600:
...
- Rename stuff (also in related files)
2013-05-08 20:43:47 +02:00
johndoe123
cb5ca83578
NEVERHOOD: Rename more stuff in Module1400; also fix some bugs
...
- Update globalvars.txt
2013-05-08 20:43:47 +02:00
johndoe123
39d1982e47
NEVERHOOD: Work on Module1400:
...
- Rename stuff
- Fix some bugs (mistyped message numbers...)
- More to come
2013-05-08 20:43:47 +02:00
johndoe123
eefa175a2f
NEVERHOOD: Update todo.txt
2013-05-08 20:43:47 +02:00