44640 Commits

Author SHA1 Message Date
md5
cd816b24d7 SCI: Whitespace fixes 2011-03-09 15:14:12 +02:00
md5
7e517b7808 SCI: Some cleanup and fixes to the view unpacking code
- Added comments for all the different view unpacking algorithms
- Merged the SCI1 VGA and SCI1.1 VGA unpacking code
- Fixed views in Longbow Amiga (the palette is still broken, though)
- Used memset()/memcpy() instead of looping through
- Fixed a regression of rev. d2ad789 (LSL1 Spanish, bug #3135872)
2011-03-09 15:06:42 +02:00
Johannes Schickel
bd82ebd080 WINCE: Run astyle over WinCE source files. 2011-03-09 03:02:46 +01:00
Johannes Schickel
438f2b2e1b WINCE: Cleanup WinCE event source a bit. 2011-03-09 02:49:22 +01:00
Johannes Schickel
463e475bd6 SCI: Save mouse position in SciEvent.
Instead of querying the event manager for the current mouse cursor coordinates
kGetEvent now uses the saved mouse positions, which will assure every event
will be processed with the correct coordinates instead of the current ones.
Various other functions using SciEvent directly were adapted too.

This fixes cursor click positions for the WinCE backend.

Thanks to wjp and waltervn for helping me with this.
2011-03-09 01:19:12 +01:00
md5
906f024831 SCI: Cleanup of the event code 2011-03-09 01:47:53 +02:00
Willem Jan Palenstijn
eece58df7f SCI: Remove unused argument to said 2011-03-08 22:50:32 +01:00
Johannes Schickel
b0cd614fd5 WINCE: Silence/fix some warnings. 2011-03-08 20:23:31 +01:00
Johannes Schickel
0e7dc36792 DRASCULA: Fix a style related warning for WinCE specific code. 2011-03-08 20:11:13 +01:00
Johannes Schickel
aebd9c6ea0 WINCE: Run astyle over WinCE related event and graphics source files. 2011-03-08 19:49:10 +01:00
Johannes Schickel
689b87a3e8 CONFIGURE: Oops fix a typo. 2011-03-08 19:49:10 +01:00
md5
12e7d3078b SCI: Cleanup 2011-03-08 20:13:08 +02:00
Johannes Schickel
fe89ffe80a WINCE: Add -fno-inline-functions to compiler arguments.
WinCE is using -O3 by default, which includes -finline-functions, which in turn
breaks SCI. By disabling that opimization we get SCI working fine again.
2011-03-08 18:16:36 +01:00
Max Horn
fc074fef48 WIN32: Use names for various magic constants in resource definitions 2011-03-08 16:19:11 +01:00
Alyssa Milburn
2a064a9725 MOHAWK: Rename variable to fix WinCE build.
Thanks to LordHoto for working out why this was failing.
2011-03-08 15:45:52 +01:00
md5
92093d267f SCI: Fixed typos 2011-03-08 15:24:59 +02:00
md5
0642b30933 SCI: Cleanup 2011-03-08 14:46:03 +02:00
Max Horn
aa452d3aeb WINCE: Make scummvm compile and run again for WinCE platform (patch #3202337) 2011-03-08 12:53:41 +01:00
md5
6a31e398f7 SCI: Comparisons between pointers and numbers are also done in SCI1.1
Fixes SQ4CD
2011-03-08 13:44:09 +02:00
sylvaintv
b2a72da651 Merge branch 'master' of github.com:scummvm/scummvm 2011-03-08 00:54:40 +01:00
sylvaintv
53d6a4f831 TOON: Decrease CPU usage
Added dirty rects
Reduced the max FPS from 60 to 30
2011-03-08 00:51:21 +01:00
strangerke
9fb28410b5 HUGO: Misc savegame modifications
- Add initial savegame on slot 0
- Save viewstate as it may now contain several different values when saving
- Fix loading from GMM
- Implement ctrl-N
2011-03-08 00:21:02 +01:00
dhewg
905d5e76b4 ANDROID: Move misplaced assert
Leftover from the recently introduced 16bit support
2011-03-07 23:42:20 +01:00
dhewg
e71fb5b0eb ANDROID: Move the overlay initialization
There's no point in doing that in initSize() every time
2011-03-07 23:42:20 +01:00
Matthew Hoops
920bae62c0 MOHAWK: Fix Riven's cursor in the main menu
Actually call the showCursor() function now...
2011-03-07 17:28:19 -05:00
Max Horn
2cbefc8bb5 SCI: Constify some code 2011-03-07 23:21:35 +01:00
Matthew Hoops
e815102659 Merge branch 'pe_exe' of https://github.com/clone2727/scummvm into clone2727-pe_exe 2011-03-07 17:07:59 -05:00
Matthew Hoops
4e7b66b1bc GRAPHICS: Cleanup WinCursorGroup functions a bit
ScopedPtr is now used on the streams to avoid having repetitive delete calls.
2011-03-07 16:37:12 -05:00
Matthew Hoops
212b58ad42 MOHAWK: Remove unused runLoadDialog() function 2011-03-07 16:28:28 -05:00
dhewg
1f90d232e3 ANDROID: Save the game when the process is paused
The OS can kill the activity at will after onPause() or onStop()
to free up memory for other application. Provide a parachute when
the engine allows it.
2011-03-07 19:56:29 +01:00
dhewg
42c6a785c7 ANDROID: Texture cleanup 2011-03-07 19:56:29 +01:00
strangerke
29b5b4afa6 HUGO: Fix registration messages for H1 Dos Freeware version (in intro) 2011-03-07 19:40:20 +01:00
Matthew Hoops
b158a40844 GRAPHICS: Add doxygen comments for WinCursorGroup 2011-03-07 13:24:05 -05:00
Matthew Hoops
bc3638834b COMMON: Add TODO to make compressed NE EXE handling transparent 2011-03-07 13:18:33 -05:00
Matthew Hoops
c7d7e50155 COMMON: Add a sanity assert 2011-03-07 13:14:10 -05:00
Matthew Hoops
d2f8103a3b COMMON: Fix WinResourceID::getID() 2011-03-07 13:12:43 -05:00
Matthew Hoops
826197cf76 COMMON: Make the operator=(String) function be a const reference instead 2011-03-07 13:11:28 -05:00
Matthew Hoops
4dba6962f5 GRAPHICS: Fix a missing 'f'
Thanks, fuzzie
2011-03-07 11:40:54 -05:00
Matthew Hoops
9c7166ccc9 MOHAWK: Error message consistency 2011-03-07 11:02:50 -05:00
Matthew Hoops
10dad00a79 MOHAWK: Improve error handling when data isn't found 2011-03-07 11:00:41 -05:00
md5
4ddc66d68e SCI: Initial handling of the views in Longbow Amiga. Still not right 2011-03-07 13:23:52 +02:00
Matthew Hoops
ad7400524b MOHAWK: Make Riven use original executables for cursors
It will try both Windows and Macintosh executables. The hardcoded cursors have been removed.
2011-03-07 01:10:01 -05:00
Matthew Hoops
d49f3a8a78 GRAPHICS: Improve support of Windows 8bpp cursors 2011-03-07 00:53:40 -05:00
Matthew Hoops
6582b77f1c SCUMM: Use the new WinCursor code in SCUMM HE
Also, updated the MacResManager cursor code to reflect the SCUMM resource extractor code changes
2011-03-06 19:57:18 -05:00
Matthew Hoops
5b907e828b GRAPHICS: Fix PE cursors
Initial work on 8bpp cursors has also been added
2011-03-06 19:53:17 -05:00
Matthew Hoops
df1a800d01 SCI: Fix KQ6 Mac inventory cursors 2011-03-06 18:36:45 -05:00
Matthew Hoops
adfa5e1b86 SCI: Fix Mac SCI1.1 view decompression
A regression from d2ad7898d9
2011-03-06 12:46:01 -05:00
eriktorbjorn
6a8fadeec8 SCI: Silence GCC warning 2011-03-06 18:39:26 +01:00
md5
d2ad7898d9 SCI: Merged the cel data unpacking code for views and pictures 2011-03-06 19:22:32 +02:00
sylvaintv
7d36aabd42 TOON: Fix crashs when toon.dat is not present 2011-03-06 18:08:24 +01:00