Filippos Karapetis
1f49679db5
Moved the audio related command enums inside audio.h
...
svn-id: r45676
2009-11-05 00:04:53 +00:00
Robert Špalek
90eba9310a
Brought back one old line, just to be sure.
...
svn-id: r45675
2009-11-04 22:54:14 +00:00
Martin Kiewitz
14447f7e01
SCI/newgui: select() implemented (interactive modes not done yet)
...
svn-id: r45674
2009-11-04 21:03:57 +00:00
Martin Kiewitz
c975c288ee
SCI/newgui: SciGuiMenu select() created, little cleanup
...
svn-id: r45673
2009-11-04 16:16:55 +00:00
Filippos Karapetis
5910e32b36
Applied patch #2891232 - "SCI sfx: Let each SongIterator remap its own channels"
...
svn-id: r45672
2009-11-04 16:11:46 +00:00
Martin Kiewitz
a53fda32bb
SCI/newgui: SciGuiMenu - set()/get() implemented
...
svn-id: r45671
2009-11-04 16:11:44 +00:00
Filippos Karapetis
6ea1cf7376
Applied patch #2891230 - "SCI sfx: fix song iterators from not getting freed"
...
svn-id: r45670
2009-11-04 15:51:50 +00:00
Matthew Hoops
d2b76368e1
Fix CD Audio in JonesCD and add some comments.
...
svn-id: r45669
2009-11-04 15:41:40 +00:00
Filippos Karapetis
5daca46946
Removed unused variables and placed some more old code inside INCLUDE_OLDGFX defines
...
svn-id: r45668
2009-11-04 15:32:25 +00:00
Filippos Karapetis
2aeb892e06
Cleanup
...
svn-id: r45667
2009-11-04 14:27:03 +00:00
Filippos Karapetis
c8fbac1517
- Changed the segment manager to be a static part of the engine, and stopped deleting and recreating it when restoring games
...
- Merged game_exit(), script_free_vm_memory() and script_free_engine()
- Cleanup
svn-id: r45666
2009-11-04 14:22:17 +00:00
Filippos Karapetis
f83d7c6339
Reapplied the LSL1 casino workaround, which got disabled accidentally in commit #45661
...
svn-id: r45665
2009-11-04 14:17:14 +00:00
Filippos Karapetis
7030588e22
Removed the reference to EngineState from the SciGuiGfx class
...
svn-id: r45664
2009-11-04 13:26:43 +00:00
Martin Kiewitz
205a6c2299
SCI: forgot to adjust gui32 as well
...
svn-id: r45662
2009-11-04 12:57:11 +00:00
Martin Kiewitz
429c06c5ae
SCI/newgui: kGraph / InitPriority changed to reflect sci0 implementation, also moved code
...
svn-id: r45661
2009-11-04 12:54:27 +00:00
Filippos Karapetis
12e3375f3b
Removed the reference to SciGuiCursor from EngineState
...
svn-id: r45660
2009-11-04 12:19:05 +00:00
Filippos Karapetis
effdfcd4b8
Added references to the scaleX and scaleY selectors, used for SCI1.1 view scaling
...
svn-id: r45659
2009-11-04 12:16:08 +00:00
Filippos Karapetis
f755311114
priority_first and priority_last are not used by the new drawing code, thus the new code didn't handle priority changes by kGraph()
...
svn-id: r45658
2009-11-04 11:52:11 +00:00
Filippos Karapetis
f5d1ca32f2
Fixed compilation when INCLUDE_OLDGFX is not defined
...
svn-id: r45657
2009-11-04 11:48:17 +00:00
Filippos Karapetis
7d00c4a7f1
Moved the audio CD handling code inside the AudioPlayer class. Some cleanup
...
svn-id: r45656
2009-11-04 11:22:46 +00:00
Filippos Karapetis
2dbf6662fc
Moved the sound sync code inside the AudioPlayer class
...
svn-id: r45655
2009-11-04 10:20:25 +00:00
Filippos Karapetis
611f5dd95f
Moved sound sync related variables inside the AudioPlayer class and fixed compilation
...
svn-id: r45654
2009-11-04 09:49:28 +00:00
Filippos Karapetis
597524b255
Moved most of the code for playing sound effects and speech into a separate class
...
svn-id: r45653
2009-11-04 09:36:18 +00:00
Filippos Karapetis
66d3540f2c
Cleanup
...
svn-id: r45652
2009-11-04 09:31:35 +00:00
Paul Gilbert
a6f1280fcc
Added support for loading the game's object list
...
svn-id: r45651
2009-11-04 08:38:32 +00:00
Robert Špalek
f147fbb936
Properly animate the last phase of the walk before running callbacks
...
svn-id: r45649
2009-11-04 04:27:31 +00:00
Robert Špalek
14f2685134
Implemented and debugged the walking framework.
...
The hero does not walk yet (it still teleports to the target immediately),
but that is just because the actual walking algorithm is left trivial first.
However, the main game loop, callbacks, and waiting all already work with
the general framework.
svn-id: r45648
2009-11-04 00:42:37 +00:00
Robert Špalek
930910fe5c
Created walking-callback infrastructure and converted the code to use it
...
svn-id: r45644
2009-11-03 22:13:37 +00:00
Matthew Hoops
49a8462c5b
Capitalize the word Sequel in The 11th Hour's title.
...
svn-id: r45643
2009-11-03 21:51:24 +00:00
Robert Špalek
b506b9f7c2
Removed an old FIXME
...
svn-id: r45642
2009-11-03 21:34:38 +00:00
Robert Špalek
0071829aee
Implement properly stayOn instead of using walkOn
...
svn-id: r45641
2009-11-03 21:30:24 +00:00
Robert Špalek
9ad5e7461f
Let setPath() store path with pixel precision, and update the map sprite when reloaded
...
svn-id: r45640
2009-11-03 21:05:26 +00:00
Max Horn
0fd0d1a09f
SCI: Fix warning (declaration of 'FOO' shadows a member of 'this')
...
svn-id: r45637
2009-11-03 20:47:10 +00:00
Martin Kiewitz
7bed008f8e
SCI/newgui: fixes for statusbar and transitions, so menubar shows up in intro of qfg1ega
...
svn-id: r45635
2009-11-03 19:43:21 +00:00
Martin Kiewitz
d758538eaa
SCI/newgui: SciGuiMenu partially implemented
...
svn-id: r45634
2009-11-03 19:33:31 +00:00
Filippos Karapetis
34aaac37fc
Removed some more hacks for accessing the segment manager
...
svn-id: r45631
2009-11-03 14:24:47 +00:00
Filippos Karapetis
74dba071b8
Fixed the deletion of cursorBitmap
...
svn-id: r45630
2009-11-03 14:20:57 +00:00
Filippos Karapetis
ff9c4908a7
Fixed a crash when loading in the old GUI
...
svn-id: r45628
2009-11-03 11:32:23 +00:00
Filippos Karapetis
f0c628cc3c
Remove the SegManager-related hacks for the selector defines, as the segMan parameter is explicit now
...
svn-id: r45626
2009-11-03 09:01:12 +00:00
Filippos Karapetis
9ec6208e2a
Plugged a memory leak
...
svn-id: r45625
2009-11-03 08:23:58 +00:00
Filippos Karapetis
bf8f8acb47
Don't keep a reference to SegManager, as it gets deleted when loading. Fixes a crash when loading games
...
svn-id: r45624
2009-11-03 08:23:02 +00:00
Robert Špalek
0d5627d8f1
Run the path obliqueing process repeatedly until it converges.
...
svn-id: r45623
2009-11-03 03:38:28 +00:00
Robert Špalek
75bf8237b0
Greatly improved the quality of obliqueing the shortest path.
...
The current algorithm is much better than the original player'ss one and it
find really nice curved paths.
Also, started preparing interface for actually walking along this path.
svn-id: r45622
2009-11-03 03:24:59 +00:00
Max Horn
e959ef33e5
TINSEL: Small correction to the previous hotfix for _vm->_config crash
...
svn-id: r45621
2009-11-02 23:48:21 +00:00
Max Horn
d10fe42416
TINSEL: Fix regression caused by the introduction of _vm->_config; proper fix will be introduced later, when dialogs.cpp gets objectified
...
svn-id: r45620
2009-11-02 23:42:30 +00:00
Walter van Niftrik
7f8a8732a1
SCI: Fix hoyle hack
...
svn-id: r45619
2009-11-02 23:06:30 +00:00
Max Horn
26981a5ffc
TINSEL: Add isValidObject(OBJECT *obj) function; make objectList & currentCD static vars; merge two logic blocks ('ifs') in DoRestoreSceneFrame
...
svn-id: r45618
2009-11-02 21:57:16 +00:00
Max Horn
5cf868b757
TINSEL: Turn config code into a simple C++ class
...
svn-id: r45617
2009-11-02 21:56:29 +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
3a2833867f
SCI: Fix warning about unused variable
...
svn-id: r45614
2009-11-02 20:33:34 +00:00