Commit Graph

13038 Commits

Author SHA1 Message Date
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
d0876b06ed Remove some unused variables
svn-id: r44853
2009-10-09 22:21:45 +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
Florian Kagerer
6f1c43a731 LOL/PC-98: fixed last commit
svn-id: r44849
2009-10-09 21:42:37 +00:00
Max Horn
a8cd7694cc Fix warnings about non-static const member in class without a constructor
svn-id: r44848
2009-10-09 21:36:09 +00:00
Florian Kagerer
0d7d2b8371 LOL/PC-98: fixed monster drawing bug (some wrong pixels)
svn-id: r44847
2009-10-09 21:35:48 +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
Florian Kagerer
7825128639 LOL/PC-98: fixed minor bugs in text displayer
svn-id: r44834
2009-10-09 17:31:01 +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
Max Horn
23ded6d955 Fix warning
svn-id: r44819
2009-10-09 12:01:22 +00:00
Martin Kiewitz
3135892df0 SCI/newgui: windowmgr cleanup
svn-id: r44815
2009-10-09 10:49:03 +00:00
Paul Gilbert
857a35f748 Fixed all memory leaks as far as the initial title screen
svn-id: r44814
2009-10-09 10:32:33 +00:00
Max Horn
b846fd6aca cleanup
svn-id: r44810
2009-10-09 09:41:53 +00:00
Max Horn
0d9e1ded6f Fix warning
svn-id: r44809
2009-10-09 09:41:35 +00:00
Paul Gilbert
8694b48ae3 Set up a basic tracing system for all memory allocations to help track down memory leaks
svn-id: r44808
2009-10-09 08:15:30 +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
Florian Kagerer
64c4a8f901 LOL/PC-98: fixed lightning spell
svn-id: r44798
2009-10-08 20:37:10 +00:00
Florian Kagerer
f8cdacdeea LOLLOL/PC-98: fixed add-spell-to-scroll animation
svn-id: r44797
2009-10-08 20:22:12 +00:00