Martin Kiewitz
713f573735
SCI/newgui: implemented kPicNotValid
...
svn-id: r44968
2009-10-12 07:30:55 +00:00
Martin Kiewitz
07222b8e89
SCI/newgui: kGraph updateBox implemented, cleaned up usage of BitsShow() still not perfect (e.g. kq5 cutscene information box)
...
svn-id: r44966
2009-10-12 07:11:22 +00:00
Filippos Karapetis
bb7cac5b87
Show a warning when a selector vocabulary can't be found and a static vocabulary is used
...
svn-id: r44950
2009-10-11 21:28:52 +00:00
Filippos Karapetis
1f00be5c15
The _variables array is sized from syncArray, so there's no need to store its size in the savegame
...
svn-id: r44940
2009-10-11 19:23:00 +00:00
Filippos Karapetis
07736ede19
Added kSetPort case with 4 parameters (used in the ending of LSL6)
...
svn-id: r44938
2009-10-11 18:42:52 +00:00
Filippos Karapetis
1d3118cf42
Implemented some advanced savegame functionality - loading and deleting savegames from the GMM is now possible, and new saved games will also have thumbnails. Saving from the GMM creates corrupted saved games, so it has been disabled for now
...
svn-id: r44930
2009-10-11 15:51:43 +00:00
Martin Kiewitz
ba9a9422b4
SCI/newgui: list control implemented
...
svn-id: r44929
2009-10-11 15:41:52 +00:00
Walter van Niftrik
6f553a630a
SCI: Relax GetAngle() signature for KQ6.
...
svn-id: r44928
2009-10-11 15:32:22 +00:00
Walter van Niftrik
4a157d43b3
SCI: Implement CoordPri() with two args.
...
svn-id: r44927
2009-10-11 14:58:58 +00:00
Martin Kiewitz
efcfae742b
SCI: kDrawControl for list and textedit controls also using gui class
...
svn-id: r44925
2009-10-11 14:28:20 +00:00
Filippos Karapetis
6d030126d7
More work on the Object class
...
svn-id: r44921
2009-10-11 13:46:58 +00:00
Filippos Karapetis
7755404f52
Fixed compilation with the current GUI
...
svn-id: r44914
2009-10-11 12:45:40 +00:00
Martin Kiewitz
0d98fa3fe4
SCI: made kEditControl use SciGui class, not currently implemented in newgui
...
svn-id: r44913
2009-10-11 12:15:17 +00:00
Martin Kiewitz
91eee2e99a
SCI: change remove script FIXME warning into comment
...
svn-id: r44901
2009-10-11 09:34:35 +00:00
Martin Kiewitz
0b1a8dea2d
SCI/newgui: kShakeScreen partially implemented
...
svn-id: r44897
2009-10-11 08:52:23 +00:00
Walter van Niftrik
f2db73e55d
SCI: Fix bug in Message() recursion
...
svn-id: r44890
2009-10-11 03:40:11 +00:00
Walter van Niftrik
b2a148e12c
SCI: Fix hang in KQ6 book worm scene
...
svn-id: r44889
2009-10-11 02:47:07 +00:00
Filippos Karapetis
d6f5d93dbf
Started rewriting the Object struct into a class
...
svn-id: r44878
2009-10-10 15:58:51 +00:00
Walter van Niftrik
bb381d3a52
SCI: Fixed bug in new Message() code
...
svn-id: r44873
2009-10-10 13:47:26 +00:00
Willem Jan Palenstijn
3aa8699874
SCI: Fix warnings
...
svn-id: r44869
2009-10-10 12:13:34 +00:00
Filippos Karapetis
bfabde4512
Fixed loading again - a regression from commit #44803
...
svn-id: r44868
2009-10-10 12:00:34 +00:00
Filippos Karapetis
053cbdecc7
Merged _k_base_setter() inside kBaseSetter()
...
svn-id: r44866
2009-10-10 10:48:46 +00:00
Filippos Karapetis
ba297ab7b1
Replaced make_reg(0, -1) with SIGNAL_REG and fixed a warning (MessageRecord is a struct)
...
svn-id: r44865
2009-10-10 10:46:11 +00:00
Walter van Niftrik
6c1cac3956
SCI: kMessage() rewrite
...
svn-id: r44860
2009-10-10 02:16:23 +00:00
Filippos Karapetis
9bb73a8457
Removed the unused _flags variable from EngineState
...
svn-id: r44857
2009-10-09 23:53:37 +00:00
Filippos Karapetis
d95ed75789
Removed the wrong code for kGetTime case 1 in some SCI0 games - that case has always remained the same in all SCI versions. Added a warning in case we got some other case than 0 or 1 in SCI0 games
...
svn-id: r44855
2009-10-09 23:15:54 +00:00
Max Horn
2e964baeef
Some const correctness changes; cleanup
...
svn-id: r44850
2009-10-09 21:47:33 +00:00
Martin Kiewitz
9f88122baa
SCI/newgui: calling process_sound_events now directly within kAnimate(), fixes hanging scripts (e.g. sq3 exiting pod, kq1 getting killed)
...
svn-id: r44843
2009-10-09 19:41:39 +00:00
Martin Kiewitz
01dc7545d2
SCI: drawMenuBar/clearMenuBar now using gui class, currently unimplemented in newgui, but so wont get affected by oldgui switching to visualScreen anymore (e.g. qfg2)
...
svn-id: r44837
2009-10-09 17:47:33 +00:00
Filippos Karapetis
14f8d50a62
Moved actor movement detection in state.cpp, together with the other detections and rewrote it to work in a similar fashion to the other detections
...
svn-id: r44836
2009-10-09 17:41:59 +00:00
Martin Kiewitz
a38d6451ba
SCI: kgraphics.cpp cleanup (no code changes)
...
svn-id: r44835
2009-10-09 17:34:52 +00:00
Martin Kiewitz
ab1184770b
SCI/newgui: kCanBeHere partially implemented, little corrections
...
svn-id: r44832
2009-10-09 16:51:10 +00:00
Filippos Karapetis
53b1ff79a3
Oops...
...
svn-id: r44830
2009-10-09 16:21:37 +00:00
Filippos Karapetis
6e6336ece7
Fixed an issue when examining callk calls in the new graphics functions detection routine
...
svn-id: r44829
2009-10-09 16:20:15 +00:00
Filippos Karapetis
4011e948e7
Finished the automatic detection of the graphics functions used in SCI0 games. Also, introduced a new helper function to detect the offset of a ret call inside a script, with possible uses in other script detection routines
...
svn-id: r44828
2009-10-09 16:15:56 +00:00
Martin Kiewitz
ed5a4625d5
SCI/newgui: support for priority bands, kCoordPri kPriCoord implemented, priority band picture support also added
...
svn-id: r44825
2009-10-09 13:15:37 +00:00
Max Horn
0c457be0fb
SCI: Turn reconstruct_scripts into SegManager::reconstructScripts
...
svn-id: r44806
2009-10-08 22:03:55 +00:00
Willem Jan Palenstijn
860f7ce39b
SCI: Remove outdated comment
...
svn-id: r44805
2009-10-08 21:39:33 +00:00
Max Horn
76996301d1
SCI: Removed obsolete stringfrags code
...
svn-id: r44803
2009-10-08 21:29:45 +00:00
Max Horn
3399c3aeb6
Change doxygen inline comments from "//!" to "///" as proposed on -devel
...
svn-id: r44802
2009-10-08 21:28:57 +00:00
Max Horn
d56d072fb2
SCI: Removed SegManager::getDescription
...
svn-id: r44795
2009-10-08 20:07:00 +00:00
Max Horn
42120ed626
Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
...
svn-id: r44793
2009-10-08 19:41:38 +00:00
Filippos Karapetis
bcade54247
Started rewriting the check for the graphics functions type (still not finished)
...
svn-id: r44787
2009-10-08 14:37:55 +00:00
Filippos Karapetis
2d98b72858
Restore the engine state stored within SciGui during loading once more, since it gets replaced during loading. Fixes loading (a regression from #44730 )
...
svn-id: r44771
2009-10-08 07:57:26 +00:00
Filippos Karapetis
ce75c9270a
Removed the unused game_time variable, and fixed the incorrect calculation of start_game_time when restoring a game
...
svn-id: r44770
2009-10-08 07:25:18 +00:00
Max Horn
0988e273ec
SCI: Turn lookup_node & lookup_list into SegManager::lookupNode & SegManager::lookupList
...
svn-id: r44769
2009-10-07 23:34:24 +00:00
Max Horn
623098c393
SCI: Fix warning, cleanup
...
svn-id: r44764
2009-10-07 22:45:50 +00:00
Filippos Karapetis
1562add631
- Cleaned up the cursor code
...
- Renamed gui -> _gui in EngineState, for consistency
- Added a reference to SciGuiCursor in EngineState, to be used by current code
- Renamed setCursorHide -> hideCursor, setCursorShow -> showCursor
- Moved the cursor zone limiting code inside SciGuiCursor. This code is currently not functioning, as we need to call refreshPosition() before each updateScreen() call to limit the cursor position.
svn-id: r44760
2009-10-07 21:29:47 +00:00
Martin Kiewitz
80d136a362
SCI: kDrawPic / had an error in previous revision
...
svn-id: r44759
2009-10-07 21:25:31 +00:00
Martin Kiewitz
54e69d6359
SCI: changed kDrawPic to use oldGfxFuncs()
...
svn-id: r44757
2009-10-07 21:10:42 +00:00