Commit Graph
7940 Commits
Author SHA1 Message Date
Walter van Niftrik 4b3c1645bc SCI: Adlib: Add support for loading patch data from adl.drv
svn-id: r44859
2009-10-10 01:38:45 +00:00
Filippos Karapetis 8ae4206373 Introduced a new debug level, kDebugLevelResMan, and reduced some of the messages printed to the console
svn-id: r44858
2009-10-10 00:07:19 +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 b91ae69ad2 Removed the now unused GF_SCI0_OLDGETTIME flag and simplified all of the game entries in the detector
svn-id: r44856
2009-10-09 23:19:53 +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 8b3ff337be don't discard const qualifier needlessly
svn-id: r44854
2009-10-09 23:09:28 +00:00
Max Horn 99111f0ffd SCI: Fix some weird casting in the vectorPatternCircle and vectorPatternTexturedCircle
svn-id: r44851
2009-10-09 21:49:04 +00:00
Max Horn 2e964baeef Some const correctness changes; cleanup
svn-id: r44850
2009-10-09 21:47:33 +00:00
Martin Kiewitz e0b1ef6e46 SCI/newgui: changing SciGuiScreen::dither() for cel-undithering logic
svn-id: r44846
2009-10-09 20:54:02 +00:00
Martin Kiewitz 23887e9735 SCI/newgui: changing undithering logic again, palette now uses decoded color-combinations, fixup happens during dithering run on undithered mode
svn-id: r44845
2009-10-09 20:21:21 +00:00
Martin Kiewitz 5801dd2064 SCI/newgui: moved priority band initialization to init() call of SciGui to avoid having to call usesOldGfxFunctions() within constructor, where it would crash on some games (sq3)
svn-id: r44844
2009-10-09 19:50:20 +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 e387d274dd SCI/newgui: adding inactivate code for debug purposes to forward single methods to SciGui32 (testing only)
svn-id: r44842
2009-10-09 19:19:34 +00:00
Martin Kiewitz 918827ce99 SCI/newgui: correction for kAddToPic, fixes guards in 1st screen of kq1
svn-id: r44841
2009-10-09 18:57:16 +00:00
Martin Kiewitz 18df7c69ee SCI/newgui: kAnimate priority fixed
svn-id: r44840
2009-10-09 18:24:55 +00:00
Martin Kiewitz dd0f5c318c SCI/newgui: pattern #defines moved into SciGuiPicture
svn-id: r44839
2009-10-09 18:08:13 +00:00
Martin Kiewitz 164611668b SCI/newgui: pattern and floodfill moved into SciGuiPicture
svn-id: r44838
2009-10-09 18:06:24 +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 efb1c33715 SCI/newgui: priority band init fix
svn-id: r44833
2009-10-09 17:16:34 +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 c26e283d1b SCI/newgui: priority bands support for ega pictures
svn-id: r44827
2009-10-09 13:43:20 +00:00
Martin Kiewitz 79bbcdac7d SCI/newgui: some more priority band usage in kAnimate
svn-id: r44826
2009-10-09 13:25:32 +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
Martin Kiewitz 0d5ba6ac6c SCI/newgui: SciGuiView now also locks resource
svn-id: r44823
2009-10-09 12:10:17 +00:00
Martin Kiewitz ce8addf5e0 SCI: resmanager / include order change
svn-id: r44821
2009-10-09 12:09:52 +00:00
Martin Kiewitz 9f3c2c9083 SCI/newgui: SciGuiFont now locks the resourcedata, fixes broken fonts in games
svn-id: r44820
2009-10-09 12:04:07 +00:00
Martin Kiewitz 3135892df0 SCI/newgui: windowmgr cleanup
svn-id: r44815
2009-10-09 10:49:03 +00:00
Max Horn 0d9e1ded6f Fix warning
svn-id: r44809
2009-10-09 09:41:35 +00:00
Martin Kiewitz 3072d54589 SCI/newgui: Implemented kAddToPic (almost complete, but z-sorting and some extra code missing)
svn-id: r44807
2009-10-09 07:50: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
Willem Jan Palenstijn 2f1c7f779a SCI: Don't iterate past end of list
svn-id: r44804
2009-10-08 21:32:04 +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
Martin Kiewitz 2ab906bafd SCI/newgui: RestoreBits() now ignores empty handles
svn-id: r44801
2009-10-08 21:00:21 +00:00
Martin Kiewitz b6967bc70d SCI/newgui: more cleanup
svn-id: r44799
2009-10-08 20:51:49 +00:00
Martin Kiewitz b0eeb3636c SCI/newgui: cleanup, fixing uninitialized variable in SciGuiPalette
svn-id: r44796
2009-10-08 20:13:52 +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
Martin Kiewitz f5ccaf7e29 SCI/newgui: floodfill cleanup, pattern drawing: helper went private, clipping implemented
svn-id: r44792
2009-10-08 19:14:58 +00:00
Max Horn d46aac8404 SCI: Fix warning
svn-id: r44791
2009-10-08 18:59:45 +00:00
Martin Kiewitz 03ee8c00be SCI/newgui: remarks about _menuPort, uninitialized usage in SciGuiPalette removed, _menuPort and _mainPort get deleted in destructor
svn-id: r44790
2009-10-08 18:34:49 +00:00
Martin Kiewitz aab278974a SCI/newgui: kAnimate changes
svn-id: r44789
2009-10-08 18:07:49 +00:00
Martin Kiewitz 61952c3ac1 SCI/newgui: implemented more of kAnimate, currently crashes on windowMgr update.
svn-id: r44788
2009-10-08 16:23:46 +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