Commit Graph

783 Commits

Author SHA1 Message Date
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
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
Filippos Karapetis
bffc442bee Updated some of the detector entries for KQ5
svn-id: r40060
2009-04-21 22:59: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
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
Max Horn
3eab407cd5 SCI: Replaced memory ref counting code in the SongIterator code by a simple Common::Array<byte> object; also doxygenified some source comments
svn-id: r40032
2009-04-20 19:28:55 +00:00
Max Horn
5325f9b76e SCI: Renamed global array 'formats' to the slightly more descriptive g_opcode_formats
svn-id: r40031
2009-04-20 19:28:33 +00:00
Max Horn
d567482818 SCI: Moved list of kernel func declarations to header file, where it belongs
svn-id: r40030
2009-04-20 19:28:08 +00:00
Max Horn
0f2ffdf456 SCI: cleanup
svn-id: r40029
2009-04-20 19:27:50 +00:00
Max Horn
a64b49c73b SCI: Mapped BREAKPOINT macro to error() for now
svn-id: r40028
2009-04-20 19:27:32 +00:00
Willem Jan Palenstijn
812c745235 Disable MSVC warning in autogenerated code
svn-id: r40005
2009-04-18 22:56:08 +00:00
Willem Jan Palenstijn
d093d141ff Fix outdated comments
svn-id: r40003
2009-04-18 21:28:30 +00:00
Willem Jan Palenstijn
e1c82543fc Retreive -> retrieve
svn-id: r39996
2009-04-18 21:18:30 +00:00
Walter van Niftrik
695bc36b9a SCI: Added a new song player (work-in-progress).
svn-id: r39953
2009-04-15 10:45:59 +00:00
Max Horn
57f367acb5 SCI: Renamed bp_flag -> breakpointFlag; replaced global send_calls_allocated & send_calls vars by a local Common::Stack instance
svn-id: r39930
2009-04-11 09:58:30 +00:00
Max Horn
fadd224285 SCI: Clarify hack in kgraphics.cpp based on what lars wrote on scummvm-devel
svn-id: r39905
2009-04-09 08:49:42 +00:00
Filippos Karapetis
9c7e3a2898 Fixed the language of the German version of Longbow
svn-id: r39898
2009-04-07 22:29:36 +00:00
Walter van Niftrik
b80abe318d SCI: Do not skip last entry in kernel table for SCI1.
svn-id: r39895
2009-04-07 17:43:49 +00:00
Walter van Niftrik
81f7c8b746 SCI: Swapped x and y parameters of IsItSkip. Added IsItSkip to kernel table.
svn-id: r39894
2009-04-07 17:26:42 +00:00
Matthew Hoops
2d83233503 Print out the SCI interpreter version and not the resource version when saying what version we're emulating
svn-id: r39892
2009-04-07 15:05:53 +00:00
Willem Jan Palenstijn
d700bc57db SCI: Fix endian-unsafe read [bug #2739122 ]
svn-id: r39891
2009-04-07 13:38:51 +00:00
Filippos Karapetis
2ab9955577 Fixed a crash in LSL5 when opening the inventory
svn-id: r39877
2009-04-06 17:15:31 +00:00
Filippos Karapetis
fe1584c140 Fixed an issue with the password screen in LSL5 and kStrAt(). The game password, saved in file memory.drv (which can either exist in the game directory, or is created in the saves folder by ScummVM) is now working correctly, and the game can be started. Note that it's NOT currently possible not to set a password (you'll get the password screen anyway the next time, and it won't work).
svn-id: r39876
2009-04-06 17:13:07 +00:00
Max Horn
52c5b7547c SCI: Made said_parse_spec static, regenerated said.cpp from said.y
svn-id: r39870
2009-04-06 10:25:27 +00:00
Walter van Niftrik
f6b313e879 SCI: Include sciduv.exe in version scanning.
svn-id: r39862
2009-04-05 12:59:54 +00:00
Walter van Niftrik
197c2bbb99 SCI: Replaced AATree by Common::List in AvoidPath. AATree does not help when
the input size is this small.

svn-id: r39855
2009-04-05 00:06:22 +00:00
Johannes Schickel
efa4e918d2 Fix warning.
svn-id: r39837
2009-04-04 13:13:14 +00:00
Filippos Karapetis
e03eb7d4ce Removed leftover chrono-related code (refer to commit #37721 for the changes to kgraphics.cpp)
svn-id: r39820
2009-04-03 22:48:55 +00:00
Filippos Karapetis
c3dc501f23 Removed the non-working Chrono port code, after discussing with Lars
svn-id: r39819
2009-04-03 22:03:06 +00:00
Filippos Karapetis
002cda6c5b Cleanup of decompress_sci_view(). Also, ALL of the cases where that function returned 1 are fatal, as the resulting object will be invalid (null) and will crash ScummVM, so they've all been changed to asserts instead of warnings
svn-id: r39817
2009-04-03 20:43:55 +00:00
Filippos Karapetis
92018a0038 - Added the German version of Longbow
- Added Fun Seeker's Guide
- Removed some leftover detection entries from FreeSCI

svn-id: r39815
2009-04-03 19:21:31 +00:00
Max Horn
cf3265a1c9 SCI: Fix warning on OSX
svn-id: r39810
2009-04-03 14:53:56 +00:00
Filippos Karapetis
c92210296e Some more FreeSCI <-> SCI changes
svn-id: r39808
2009-04-03 08:23:02 +00:00
Filippos Karapetis
c4e054848e Changed some references from "FreeSCI" to "SCI" or "ScummVM"
svn-id: r39807
2009-04-03 08:10:58 +00:00
Filippos Karapetis
faa252391c Merged the SCI1 and SCI11 cel drawing functions
svn-id: r39806
2009-04-03 07:52:17 +00:00
Filippos Karapetis
d2b8eb76e0 Added the English DOS version of Hoyle 2
svn-id: r39805
2009-04-02 23:37:21 +00:00
Filippos Karapetis
6c21af058e Added the German version of KQ7
svn-id: r39804
2009-04-02 22:33:27 +00:00
Filippos Karapetis
342b335ea9 Added the German versions of KQ5 and KQ6, sorted out the different versions of KQ6 and enabled the Spanish version of KQ7
svn-id: r39803
2009-04-02 20:19:10 +00:00
Filippos Karapetis
8ae0ed1706 Applied fingolfin's suggestion to remove the roundf() implementation and make the code in that bit simpler and more readable (since points are always positive)
svn-id: r39802
2009-04-02 19:37:56 +00:00
Filippos Karapetis
44443badc5 Disable some (quite chatty) debug output - the savegme system looks stable enough
svn-id: r39801
2009-04-02 16:54:21 +00:00
Filippos Karapetis
6fe12a0888 pic_port_bounds was only set from command-line parameters it seems, so it's safe to put it together with the rest of the options
svn-id: r39800
2009-04-02 16:38:33 +00:00
Filippos Karapetis
9180f3a9a1 Fixed compilation under MSVC by implementing roundf()
svn-id: r39799
2009-04-02 16:30:42 +00:00