Commit Graph
7940 Commits
Author SHA1 Message Date
Martin Kiewitz a015e5f967 SCI/newgui: onControl implemented
svn-id: r44594
2009-10-04 10:46:25 +00:00
Martin Kiewitz 772cb33651 SCI/oldgui: onControl code moved
svn-id: r44593
2009-10-04 10:42:18 +00:00
Martin Kiewitz bb7a728a99 SCI/newgui: TextColors and TextFonts implemented (for sq5)
svn-id: r44592
2009-10-04 09:38:57 +00:00
Martin Kiewitz 06f5393ed4 SCI: fixed crash in sq5/german (umlauts)
svn-id: r44587
2009-10-04 06:39:07 +00:00
Martin Kiewitz bf408b0dbe SCI/newgui: unfinished TextColors/TextFonts support/setting default palette mapping for kq5
svn-id: r44585
2009-10-04 05:22:49 +00:00
Martin Kiewitz 10d70ec742 SCI/newgui: cleanup
svn-id: r44584
2009-10-04 05:20:56 +00:00
Willem Jan Palenstijn 0ed87062ed SCI: Add hack to gui to fix loading
svn-id: r44581
2009-10-03 23:56:49 +00:00
Willem Jan Palenstijn a8c4d70d3e SCI: attempt to fix wii/dc build error
svn-id: r44579
2009-10-03 23:01:22 +00:00
Willem Jan Palenstijn f61bf4f97a SCI: Fix parse error in parse_reg_t
svn-id: r44578
2009-10-03 22:44:16 +00:00
Willem Jan Palenstijn bce248cab6 SCI: Redraw edit controls when they change.
svn-id: r44576
2009-10-03 22:10:45 +00:00
Martin Kiewitz c0773975f5 SCI/newgui: removed duplicate unused code
svn-id: r44574
2009-10-03 21:49:09 +00:00
Martin Kiewitz 93c3d07e2b SCI/newgui: constant 0xFFFF -> -1
svn-id: r44573
2009-10-03 21:30:36 +00:00
Willem Jan Palenstijn 75de46e9ab SCI: Fix sign issue in stringfrags
svn-id: r44572
2009-10-03 21:27:01 +00:00
Martin Kiewitz cfb7632a77 SCI/newgui: Removed SciGUIpicture::drawPalette11
svn-id: r44571
2009-10-03 21:27:00 +00:00
Martin Kiewitz 204b975e7f SCI/newgui: initializer fixup
svn-id: r44570
2009-10-03 21:23:21 +00:00
Martin Kiewitz 4cb0359670 SCI/newgui: cellCount changed to uint16
svn-id: r44569
2009-10-03 21:16:11 +00:00
Martin Kiewitz 742d70204e SCI/newgui: virtual warnings fixed
svn-id: r44568
2009-10-03 21:14:52 +00:00
Martin Kiewitz 79b12939a8 SCI/newgui: set title on newWindow
svn-id: r44567
2009-10-03 21:06:45 +00:00
Willem Jan Palenstijn b9cdb1abb7 SCI: Merge new GUI code written by m_kiewitz.
This is a major rewrite of the graphics code. A slightly adapted
version of the old code is still available and currently the default.
The new code is selectable in sci.cpp, but is not yet finished.

svn-id: r44565
2009-10-03 20:49:18 +00:00
Martin Kiewitz a3fc7230eb fixed addMenu isspace() issue on umlauts
svn-id: r44563
2009-10-03 20:35:13 +00:00
Willem Jan Palenstijn 95959a88ef SCI: Fix typo
svn-id: r44561
2009-10-03 20:25:27 +00:00
Max Horn bfec2debe6 SCI: Fix parse_reg_t, it no longer modified the const string passed to it
svn-id: r44545
2009-10-02 20:20:45 +00:00
Willem Jan Palenstijn cbcd53f1f3 Fix cppcheck issue reported by salty-horse
svn-id: r44541
2009-10-02 15:02:57 +00:00
Max Horn 01176782ea Fix some cppcheck warnings reported by salty-horse
svn-id: r44538
2009-10-02 14:32:54 +00:00
Max Horn 908e13fa73 SCI: Remove PRINT_STK macro; cleanup
svn-id: r44533
2009-10-02 12:53:04 +00:00
Willem Jan Palenstijn 0fe40b5053 SCI: Use String::printf instead of temporary buffer
svn-id: r44532
2009-10-02 12:44:12 +00:00
Max Horn 292640b14e SCI: Make NULL_REG & SIGNAL_REG const; change validate_property so that its callers cannot modify NULL_REG accidentally anymore
svn-id: r44531
2009-10-02 11:04:36 +00:00
Max Horn 523f0b34fb SCI: Remove dead code
svn-id: r44530
2009-10-02 07:44:55 +00:00
Willem Jan Palenstijn 876a28d261 SCI: cleanup
svn-id: r44528
2009-10-01 17:30:10 +00:00
Filippos Karapetis 6697f46922 Rewrote weird-looking code, which might lead to undefined behavior, according to GNU
svn-id: r44523
2009-10-01 15:33:38 +00:00
Filippos Karapetis 6e462c9002 Removed the STRICT_SEND, STRICT_READ and ASSERT_ARITHMETIC defines
svn-id: r44519
2009-10-01 12:41:21 +00:00
Willem Jan Palenstijn 7d6848dfa3 SCI: Add some fixmes noted by salty-horse.
svn-id: r44513
2009-10-01 11:06:38 +00:00
Filippos Karapetis 7d40dde96f - Removed the toggle for "weak" validations, as there are cases where they fail (e.g. in Longbow), so there is no point in having strict validations
- Removed the invalid toggle from kernel signatures - we now never error out on invalid object references, but throw a warning instead
- Simplified determine_reg_type()

svn-id: r44511
2009-10-01 10:57:59 +00:00
Willem Jan Palenstijn 168257df24 SCI: Remove outdated debugging hack.
In the past, a negative selector value was used to identify a callk
stack frame. Currently a type of EXEC_STACK_TYPE_KERNEL already does that.

svn-id: r44510
2009-10-01 08:53:10 +00:00
Filippos Karapetis 2d29625f0e Removed an old (and now obsolete) workaround for KQ5
svn-id: r44507
2009-09-30 23:27:00 +00:00
Filippos Karapetis 9efc90c8af Fixed the warning message shown when dummy functions are invoked
svn-id: r44506
2009-09-30 23:13:46 +00:00
Filippos Karapetis 30084d72a5 Added a new special reg_t, SIGNAL_REG, for signaling when an error occurs (usually), or to signal success in some special occasions
svn-id: r44505
2009-09-30 23:00:03 +00:00
Filippos Karapetis 86016e4dc5 Changed the list sanity checks to return warnings instead of errors in case of failure - apparently, this can occur in some games, e.g. Longbow and QFG1
svn-id: r44503
2009-09-30 22:54:00 +00:00
Filippos Karapetis bbb2274a7d - Removed some leftover 16/32bpp color code, as we're always using palette mode now
- Simplified the mouse cursor manipulation code

svn-id: r44502
2009-09-30 22:43:29 +00:00
Max Horn aa368806d9 oops
svn-id: r44500
2009-09-30 21:12:38 +00:00
Willem Jan Palenstijn a5d1094dab SCI: Make kFile error messages slightly more verbose
svn-id: r44497
2009-09-30 19:44:03 +00:00
Max Horn 8ba75fc522 Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
svn-id: r44495
2009-09-30 16:16:53 +00:00
Max Horn 25dde91c7c SCI: Some palette code cleanup
svn-id: r44494
2009-09-30 16:06:04 +00:00
Max Horn 27026f6565 SCI: Replace magic '-42' by an enum
svn-id: r44492
2009-09-30 16:00:44 +00:00
Filippos Karapetis c76041d46d Fixed a crash in KQ1SCI, when the user types something wrong - the game tries to open a file with an empty file name, and an odd file mode
svn-id: r44491
2009-09-30 15:43:28 +00:00
Filippos Karapetis 1497f9845a Fixed regression in r44417, found by waltervn. The score in KQ1SCI should be diplayed correctly again
svn-id: r44490
2009-09-30 15:21:44 +00:00
Filippos Karapetis fa077237c1 Fixed a crash when starting KQ1SCI
svn-id: r44484
2009-09-30 13:09:18 +00:00
Filippos Karapetis fd21bb2611 - Moved the list of synonyms and parser nodes inside the vocabulary class
- Added a convenience member inside the EngineState struct to access the instance of the Vocabulary class

svn-id: r44481
2009-09-30 12:17:38 +00:00
Filippos Karapetis 4477f41903 Converted _color_equals() into respective equality operators within the gfx_color_t structure
svn-id: r44477
2009-09-30 08:23:12 +00:00
Willem Jan Palenstijn 77bd8d0bfb SCI: Add callk stackframe directly in run_vm
svn-id: r44473
2009-09-30 00:13:59 +00:00