Commit Graph

34413 Commits

Author SHA1 Message Date
Walter van Niftrik
bb381d3a52 SCI: Fixed bug in new Message() code
svn-id: r44873
2009-10-10 13:47:26 +00:00
Martin Kiewitz
a07c50aba4 SCI/newgui: removed SCI_SCREEN_MASK_DITHERED
svn-id: r44872
2009-10-10 12:58:40 +00:00
Marcus Comstedt
b94c17488b Added a rule for assembler with cpp preprocessing.
svn-id: r44871
2009-10-10 12:35:20 +00:00
Florian Kagerer
3e259dea30 LOL/PC-98: fixed two minor bugs
svn-id: r44870
2009-10-10 12:29:36 +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
Marcus Comstedt
1604212030 Makefile.common now requires us to set $(LD) as well...
svn-id: r44867
2009-10-10 11:42:41 +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
Paul Gilbert
a4fbc73ee6 Fixed memory leaks in savegame restoring
svn-id: r44863
2009-10-10 05:08:56 +00:00
Paul Gilbert
6bbe30f44b Game now completely starts up without memory leaks
svn-id: r44862
2009-10-10 04:47:18 +00:00
Paul Gilbert
df3fbd432d Further memory leak fixes
svn-id: r44861
2009-10-10 04:15:38 +00:00
Walter van Niftrik
6c1cac3956 SCI: kMessage() rewrite
svn-id: r44860
2009-10-10 02:16:23 +00:00
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
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
Joost Peters
15e427c2c2 whitespace changes aka. buildbot rebuilding :)
svn-id: r44831
2009-10-09 16:35:37 +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
Max Horn
22477093b4 PS2: Hack to enable zlib/mad support for now (until detection & linker issue have been fixed)
svn-id: r44824
2009-10-09 12:28:11 +00:00
Martin Kiewitz
0d5ba6ac6c SCI/newgui: SciGuiView now also locks resource
svn-id: r44823
2009-10-09 12:10:17 +00:00
Joost Peters
7bf181bf98 Slightly modified version of patch #2875544: PSP plugins patch
svn-id: r44822
2009-10-09 12:10:08 +00:00