Martin Kiewitz
efd41ffc46
SCI/newgui: SciGuiText created
...
svn-id: r45412
2009-10-26 19:33:07 +00:00
Filippos Karapetis
49d4e3c467
Removed some duplicate code
...
svn-id: r45410
2009-10-26 18:09:21 +00:00
Filippos Karapetis
e35b6a6e80
Cleanup
...
svn-id: r45395
2009-10-26 09:47:55 +00:00
Torbjörn Andersson
994408a770
Fixed some cppcheck warnings.
...
svn-id: r45391
2009-10-26 06:20:13 +00:00
Torbjörn Andersson
463ccc896a
Removed unused variable.
...
svn-id: r45390
2009-10-26 05:19:43 +00:00
Filippos Karapetis
b5feeb60b6
Moved the cel count calculation to the new graphics code
...
svn-id: r45379
2009-10-25 22:33:08 +00:00
Filippos Karapetis
1a4b617398
- Removed graphics options code from the old GUI. Almost all of them are not supposed to be modified by the user (e.g. the way lines and brushes are drawn), and we can implement any of them again if needed in the new GUI (but they shouldn't really be needed).
...
- Added a config option to disable dithering in the new GUI if requested, called "undither", which is set to true by default and can be changed to false if needed per game
- The per-resource palette code has been removed for now, to be replaced by regular hashmaps (once the FreeSCI scifx reading code has been converted)
svn-id: r45378
2009-10-25 20:53:07 +00:00
Martin Kiewitz
0315264328
SCI/newgui: SciGuiView is now able to detect "straight" EGA mappings and will then ignore the mapping. This will result in undithering working for those views. All EGA-mapping views in qfg2 seem to be special fx related so they dont need undithering at all
...
svn-id: r45377
2009-10-25 20:46:14 +00:00
Martin Kiewitz
fa627f4233
SCI: kGameIsRestarting - another change, setting back delay back to 30msecs, but no delay during initial 50 calls. This seems to make qfg2 and iceman happy.
...
svn-id: r45376
2009-10-25 20:12:12 +00:00
Martin Kiewitz
c0235a268d
SCI: kGameIsRestarting - changing speed throttler to 10 msecs, lsl5 is still "somewhat" playable, codename iceman and qfg2 didnt show some animations cause of the higher delay
...
svn-id: r45375
2009-10-25 20:03:10 +00:00
Martin Kiewitz
5a465c86c2
SCI/newgui: SciGuiView disable undithering when EGA mappings are available (support needs to get implemented for this case), also fixes a part of the undithering code
...
svn-id: r45374
2009-10-25 19:49:09 +00:00
Martin Kiewitz
ce9dcd7aa8
SCI/newgui: kAddToPic - behaviour is different between SCI1EARLY and SCI1MIDDLE (fixes graphic glitch in qfg2 intro)
...
svn-id: r45373
2009-10-25 19:04:36 +00:00
Martin Kiewitz
f0fc4810fd
SCI: kAddToPic - removing support for argc==0 case, if this really gets used somewhere, we need to set _picNotValid in that case
...
svn-id: r45372
2009-10-25 18:43:23 +00:00
Martin Kiewitz
f6d8c1c40d
SCI/newgui: removed list parameter from addToPicDrawCels()
...
svn-id: r45371
2009-10-25 17:37:44 +00:00
Martin Kiewitz
6e5dd8e357
SCI/newgui: circle bitmap table fixed, fixes qfg1 character selection graphic
...
svn-id: r45369
2009-10-25 08:46:56 +00:00
Filippos Karapetis
410c298757
Cleanup
...
svn-id: r45368
2009-10-25 08:10:57 +00:00
Matthew Hoops
55e0efeb8f
Add support for CD Audio in Jones in the Fast Lane CD and KQ6 CD.
...
svn-id: r45367
2009-10-25 03:26:20 +00:00
Filippos Karapetis
452ae8a576
Cleanup
...
svn-id: r45366
2009-10-25 02:36:51 +00:00
Matthew Hoops
9b6f2be526
Mark Jones CD with the CD flag and add CD in the extras field.
...
svn-id: r45365
2009-10-25 00:13:08 +00:00
Johannes Schickel
56181a475c
Change "=" to ":=" in some module.mk files for consistency.
...
svn-id: r45364
2009-10-24 21:55:53 +00:00
Martin Kiewitz
c45efbe9ab
SCI/newgui: dont react on paletteSet when playing an EGA game (fixes Xmas card EGA)
...
svn-id: r45363
2009-10-24 19:47:53 +00:00
Martin Kiewitz
8551e6cfe3
SCI/newgui: support for EGA mapping in SCI1 games, fixes qfg2 character selection
...
svn-id: r45362
2009-10-24 19:29:06 +00:00
Willem Jan Palenstijn
4a3ebce699
SCI: Restore accumulator after executing send from debugger
...
svn-id: r45360
2009-10-24 13:26:12 +00:00
Martin Kiewitz
701caea8d7
SCI: kAddToPic - abort when list is null reference (fixes qfg1 saved game loading on some screens)
...
svn-id: r45351
2009-10-23 20:41:59 +00:00
Filippos Karapetis
f0c4290287
Reset the graphics input after reconstructing game scripts. This fixes savegame loading in KQ4
...
svn-id: r45350
2009-10-23 20:10:51 +00:00
Martin Kiewitz
bed7206ee3
SCI/newgui: fixed EGA palette code in SciGuiPicture so that palettes 1+ get applied correctly (fixes qfg1 nighttime)
...
svn-id: r45348
2009-10-23 19:08:32 +00:00
Martin Kiewitz
8fa9f9b0ee
SCI/newgui: Priority band (old gfx) now gets correctly initialized, fixes kq4 intro logo
...
svn-id: r45347
2009-10-23 18:05:14 +00:00
Martin Kiewitz
9c9181eed6
SCI: speed throttler moved to kGameIsRestarting for all games. Also made the delay shorter. sq3 now seems to work fine, kq1 also has animations and lsl5 mud wrestling is also working correctly.
...
svn-id: r45345
2009-10-23 11:25:48 +00:00
Martin Kiewitz
8e6291f7bb
SCI: kGameIsRestarting - implemented speed throttler in here for sci0/sci01 games, test only!
...
svn-id: r45342
2009-10-22 21:30:30 +00:00
Martin Kiewitz
12cdcea516
SCI: kAnimate disable throttler for SCI0 and SCI01 games cause of issues in at least kq1. temporary solution only!
...
svn-id: r45341
2009-10-22 21:19:03 +00:00
Martin Kiewitz
4095d92a5e
SCI/newgui: make cursor left work in textedit control. some wip changes, because i need to backlevel
...
svn-id: r45340
2009-10-22 21:04:45 +00:00
Filippos Karapetis
42068f5853
Cleanup
...
svn-id: r45337
2009-10-22 15:12:54 +00:00
Filippos Karapetis
512c9cae11
Fixed a crash when selecting menu items
...
svn-id: r45334
2009-10-22 09:36:46 +00:00
Filippos Karapetis
8f0e47e671
Fixed signed/unsigned issues with the property() function of the Adlib driver
...
svn-id: r45332
2009-10-22 08:55:54 +00:00
Filippos Karapetis
a1c23f4487
Added the rest of the detection entries from bug report #2612718 and removed some extra whitespace
...
svn-id: r45331
2009-10-22 08:46:34 +00:00
Filippos Karapetis
93517e7649
Applied a modified version of patch #2881486 - "Add volume changing to SCI"
...
svn-id: r45329
2009-10-22 07:18:37 +00:00
Filippos Karapetis
89febd360f
Cleanup
...
svn-id: r45323
2009-10-22 05:42:14 +00:00
Filippos Karapetis
1f4ad52c61
Moved the view loop counting code in the new GUI
...
svn-id: r45322
2009-10-22 05:41:50 +00:00
Martin Kiewitz
e3d03ce22b
SCI/newgui: kAnimate added comment about fastCast
...
svn-id: r45315
2009-10-21 21:07:21 +00:00
Martin Kiewitz
fd9a062452
SCI/newgui: kAnimate - fastCast change (again)
...
svn-id: r45314
2009-10-21 20:57:42 +00:00
Filippos Karapetis
8f8af8a19b
Make the check for global variable 84 inside SciGuiAnimate::invoke() simpler and faster
...
svn-id: r45313
2009-10-21 20:25:05 +00:00
Filippos Karapetis
4f58d91309
Fixed animations in LSL1VGA again
...
svn-id: r45312
2009-10-21 20:10:23 +00:00
Filippos Karapetis
033910c6af
Removed the accidental inclusion of deprecated code for LSL5 - this has been superseded by commit 45297
...
svn-id: r45311
2009-10-21 19:23:37 +00:00
Filippos Karapetis
b105d690e3
- Removed kShow() and the related code it uses - it's a debugging function, and we have the same functionality in the debug console
...
- Merged the view signal flags from kernel.h and gui_animate.h, and named them appropriately. Also, updated the notes next to them, cause some were incorrectly marked as not used in our engine
- Added a note about a hack used in the old GUI in the view signal flags
- Moved the control state flags inside gui_helpers.h
svn-id: r45310
2009-10-21 19:19:03 +00:00
Martin Kiewitz
95cefe311c
SCI/newgui: kAnimate - now reads out signal again in .dispose loop, just in case. Currently there is no issue known.
...
svn-id: r45309
2009-10-21 15:23:05 +00:00
Martin Kiewitz
c9e618b6a5
SCI/newgui: updating flags separately to fix issue in sq1 (almost at the end) where wilco will go michael jackson otherwise
...
svn-id: r45308
2009-10-21 15:12:10 +00:00
Filippos Karapetis
1e4e76af0f
Fixed self-intersecting pathfinding polygons in SQ1, room 66. This addresses the issue where Roger is able to walk anywhere on screen. However, there is still a separate issue in that room, which makes him stay stuck in one direction (like he's "moonwalking") and it only occurs in the new GUI
...
svn-id: r45307
2009-10-21 14:13:08 +00:00
Max Horn
1e8883dccc
SCI: Fix warning, and reformat a multi-line comment
...
svn-id: r45303
2009-10-21 10:00:08 +00:00
Filippos Karapetis
9785eca16b
Fixed the bug where ego would not walk properly after he's swapped in LSL5 (from Larry to Patti and vice versa)
...
svn-id: r45297
2009-10-21 08:28:39 +00:00
Martin Kiewitz
257d086aa1
SCI/newgui: palVary logic as comments (work in progress)
...
svn-id: r45293
2009-10-20 21:25:50 +00:00