Commit Graph

30497 Commits

Author SHA1 Message Date
Fabio Battaglia
10caf64618 tinsel: begin modifying drawing function to support psx 4-bit cluts
svn-id: r40119
2009-04-24 15:14:26 +00:00
Walter van Niftrik
d7180316dd SCI: Fix sci_max_allowed_unknown_kernel_functions[], it was missing an entry.
svn-id: r40118
2009-04-24 15:13:04 +00:00
Walter van Niftrik
db8b3cef61 SCI: Fix signature of kPalette().
svn-id: r40117
2009-04-24 14:50:01 +00:00
Walter van Niftrik
8d3cb3bd5f SCI: Fix transparency in view-based mouse cursors.
svn-id: r40116
2009-04-24 14:30:27 +00:00
Max Horn
6f60e0dd48 SCI: Turned GfxWidget::draw function pointer into virtual method
svn-id: r40115
2009-04-24 14:22:14 +00:00
Max Horn
bd9a44969f SCI: Turned GfxWidget::tag function pointer into virtual method
svn-id: r40114
2009-04-24 14:21:16 +00:00
Max Horn
dadae13545 SCI: Turned GfxWidget::print function pointer into virtual method
svn-id: r40113
2009-04-24 14:20:31 +00:00
Max Horn
7821339742 SCI: Doxygenified some comments
svn-id: r40112
2009-04-24 14:20:01 +00:00
Travis Howell
2f453cf852 Fix regression in handling of keyboard keys.
svn-id: r40111
2009-04-24 13:59:21 +00:00
Walter van Niftrik
c0805599ca SCI: Fixed mouse cursor hotspots in ECO1.
svn-id: r40110
2009-04-24 12:30:57 +00:00
Fabio Battaglia
df81ef750c tinsel: added Discworld PSX palette converting function
svn-id: r40109
2009-04-24 11:54:10 +00:00
Max Horn
6343b2eee0 SCI: Changed GfxWidget::set_visual function pointer to virtual method setVisual
svn-id: r40108
2009-04-24 10:48:51 +00:00
Max Horn
ebcfd9b016 SCI: Got rid of GFXW() macro; turned GfxWidget::widfree into destructors
svn-id: r40107
2009-04-24 10:48:25 +00:00
Max Horn
80794a6b5a SCI: font_nr -> _font
svn-id: r40106
2009-04-24 10:47:38 +00:00
Max Horn
22a803cc69 SCI: Rewrote the port_refs code (fixing at least three serious bugs in it. Wow, crappy)
svn-id: r40105
2009-04-24 10:46:46 +00:00
Max Horn
9445439c4f SCI: Renamed gfxw_widget_t and subtypes to GfxWidget etc.
svn-id: r40104
2009-04-24 10:46:20 +00:00
Max Horn
86b3657476 SCI: Started to C++ify the gfxw_widget_t codebase
svn-id: r40103
2009-04-24 10:45:09 +00:00
Max Horn
6fef323ec7 SCI: Changed GFXERROR to be fatal
svn-id: r40102
2009-04-24 10:44:10 +00:00
Max Horn
eb0710c2cd SCI: Some const corrections, removed dead stuff, cleanup
svn-id: r40101
2009-04-24 10:43:42 +00:00
Max Horn
486f10edaf SCI: Store parse_tree_branch_t in a Common::Arraay
svn-id: r40100
2009-04-24 10:42:53 +00:00
Travis Howell
7b11ef429e Minor cleanup.
svn-id: r40099
2009-04-24 10:11:58 +00:00
Travis Howell
d22aeae5fc Fix pausing during video play back.
svn-id: r40098
2009-04-24 10:07:34 +00:00
Sven Hesse
457acf5e42 Fixed a very stupid error in the RLE decoding function of the VMD frame decoder
svn-id: r40097
2009-04-23 22:22:46 +00:00
Filippos Karapetis
f2bd65339c Changed the "Intersections" opcode to "MoveCursor", after verifying it with Greg's SCI implementation and discussing it with waltervn. Also, the cursor hotspot is now fixed for Eco Quest 1 and probably SCI11 games as well (e.g. the game menu in KQ6 is now working)
svn-id: r40096
2009-04-23 21:06:34 +00:00
Filippos Karapetis
78f892f87c The mouse cursor is now working in Eco Quest 1, though the hotspot is still wrong. Many thanks to waltervn for his findings on this.
svn-id: r40095
2009-04-23 20:37:41 +00:00
Filippos Karapetis
001699becb Removed a FIXME concerning CanBeHere and CantBeHere and added an explanation. Also, removed some unused code.
svn-id: r40094
2009-04-23 19:11:01 +00:00
Filippos Karapetis
efc28c1be6 Fixed the GetMessage kernel opcode. Eco Quest 1 text is showing up correctly now
svn-id: r40093
2009-04-23 18:46:41 +00:00
Filippos Karapetis
bd2c2b0e50 WIP code for kGetMessage (tested with Eco Quest 1). Currently, it doesn't always work for some reason...
svn-id: r40092
2009-04-23 18:17:35 +00:00
Fabio Battaglia
a016ed90ba tinsel: start wiring some Discworld PSX graphical functions into engine
svn-id: r40091
2009-04-23 16:17:22 +00:00
Fabio Battaglia
33180805ad tinsel: Enable Discworld PSX detection and begin adding some function to support Discworld PSX graphics
svn-id: r40090
2009-04-23 15:29:34 +00:00
Willem Jan Palenstijn
63fb936667 Fix typo in special case gcc version detection
svn-id: r40085
2009-04-22 21:14:59 +00:00
Johannes Schickel
e7506eb99e Rename adlib_read to adlib_get_reg_value, since it return the (cached) register value, which can not be achieved by read AdLib read.
svn-id: r40084
2009-04-22 20:51:33 +00:00
Johannes Schickel
0638a8a27a Renamed some variables and parameters to match their real use.
svn-id: r40083
2009-04-22 20:18:12 +00:00
Filippos Karapetis
17a92f6a70 Cleanup
svn-id: r40082
2009-04-22 20:08:59 +00:00
Max Horn
3774b9cd0c SCI: Slim down struct SciKernelFunction
svn-id: r40081
2009-04-22 17:54:30 +00:00
Max Horn
3af8918e1a SCI: Changed kfunct_table to a Common::Array
svn-id: r40080
2009-04-22 17:54:11 +00:00
Max Horn
7a71fd35ae SCI: getInt -> READ_LE_UINT16
svn-id: r40079
2009-04-22 17:53:46 +00:00
Max Horn
b1e43f3ca0 SCI: Changed knames (kernel function name table) to Common::StringList
svn-id: r40078
2009-04-22 17:53:29 +00:00
Max Horn
b98f79fe12 COMMON: changed class StringList to a simple typedef; enhanced the Common::Array constructor which converts regular arrays to Array objects to be more flexible in its type (allows e.g. to assign an array of char* to a StringList
svn-id: r40077
2009-04-22 17:52:56 +00:00
Max Horn
ab05e79715 AGOS: Merged timerCallback and timerProc; removed checkTimerCallback declaration without implementation
svn-id: r40076
2009-04-22 12:57:23 +00:00
Travis Howell
3591548003 Sync.
svn-id: r40075
2009-04-22 12:44:58 +00:00
Travis Howell
d6247fa0e0 Fix crash that occurs when OmniTV video is played completely, in The Feeble Files.
svn-id: r40063
2009-04-22 10:19:10 +00:00
Torbjörn Andersson
ad1f7385df Fixed compilation.
svn-id: r40062
2009-04-22 03:46:49 +00:00
Filippos Karapetis
6206ea92bb Updated the MSVC project files of the gob engine
svn-id: r40061
2009-04-21 23:03:12 +00:00
Filippos Karapetis
bffc442bee Updated some of the detector entries for KQ5
svn-id: r40060
2009-04-21 22:59:37 +00:00
Arnaud Boutonné
ee92913683 Patch #2725859 : Added some MD5 to the gob engine, modified the way the first STK and TOT is declared, added inter and draw skeleton for Fascination
svn-id: r40059
2009-04-21 21:44:37 +00:00
Filippos Karapetis
3c58066206 - Fixed some of the GUI graphical glitches in SCI1 games (e.g. the inventory screen in several SCI1 games and the menus in PQ3). It's still not right, but it's better than nothing
- Removed the confusing ADD_TO_CURRENT_BG_WIDGETS and ADD_TO_CURRENT_FG_WIDGETS defines, which had the same functionality

svn-id: r40058
2009-04-21 21:37:03 +00:00
Filippos Karapetis
20cc4f3dd7 Restored the ability to change the active port bound, by moving it inside gfx_state_t (it makes much more sense for it to be there, instead of inside user-defined settings). Placed notes inside gfxr_draw_pic01() and gfxr_draw_pic11() for the usage of the current titlebar size in there
svn-id: r40057
2009-04-21 19:57:11 +00:00
Johannes Schickel
e93de28aa4 - Typo fixes
- Command line parameter updates
(Thanks to salty-horse for the patch)

svn-id: r40056
2009-04-21 19:49:47 +00:00
Filippos Karapetis
c48159aa63 Removed per-picture port bounds, which were set to the global port bounds
svn-id: r40055
2009-04-21 19:17:39 +00:00