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
dhewg
0b24fc3acc
OPENGL: Fix compilation for --disable-16bit
2011-03-06 16:59:20 +01:00
md5
0698ee61ab
SCI: Some changes to picture drawing
...
- Fixed picture drawing for Longbow Amiga (view drawing is still wrong,
though)
- Added debug output for picture drawing
2011-03-06 17:30:14 +02:00
dhewg
433429dcf4
ANDROID: Fix warning
2011-03-05 23:56:25 +01:00
dhewg
12fb817751
ANDROID: Fix 16bit cursors
...
I hate this code
2011-03-05 23:08:42 +01:00
dhewg
53ee7c5513
ANDROID: Proper fillBuffer() for non CLUT8 colors
2011-03-05 23:08:41 +01:00
dhewg
a2c02367f7
ANDROID: Rename function for less confusion
2011-03-05 23:08:41 +01:00
Lars Skovlund
1ad4feaf05
SCI: Further clarify comment
2011-03-05 21:46:03 +01:00
Matthew Hoops
6143fe965b
GRAPHICS: Add support for PE cursors in WinCursorGroup
...
Only 1bpp still
2011-03-05 13:36:55 -05:00
dhewg
d2dd614996
ANDROID: Clear screen on initSize()
2011-03-05 18:47:05 +01:00
dhewg
94db3403a3
ANDROID: Add initial 16bit gfx support
...
Supported pixel formats: 565, 5551, 4444
Missing: 555 (doesn't exist on GLES)
2011-03-05 18:47:05 +01:00
Bastien Bouclet
7d506ef853
MOHAWK: Implement Mechanical opcode 122, elevator go down timer
2011-03-05 18:33:22 +01:00
md5
b16967fece
SCI: Cleared up the different view types and ordered them by color count
2011-03-05 18:47:14 +02:00
md5
dbd3f440d2
SCI: Added some support code for Longbow Amiga
2011-03-05 18:47:13 +02:00
dhewg
69a026192e
AGI: Kill the timer based counter
...
Using the timer mechanism for just a simple counter is not just
overkill, its also inaccurate. When using a call frequency of x,
and waiting for y callbacks, the passed time will not be x*y.
The problem amplifies on slower platforms and/or fair thread
schedulers.
Use absolute times instead. Most notably, the walking speed of
the avatar is now smooth on android, but probably on all other
handhelds we support too.
2011-03-05 11:00:37 +01:00
dhewg
83b00526d0
ANDROID: Reduce mem usage of fillBuffer()
2011-03-05 11:00:36 +01:00
dhewg
4ee0a9f43a
ANDROID: Merge updateTexture()
2011-03-05 11:00:36 +01:00
dhewg
68378150be
ANDROID: Remove some vtable overhead on textures
2011-03-05 11:00:36 +01:00
Matthew Hoops
c66233f83e
GRAPHICS: Split the NE cursor code from the NEResources class
...
Now the code lies in Graphics and all cursors are not cached upon opening an exe. The engine is now in charge of caching which cursors it wants.
2011-03-04 23:17:57 -05:00
Matthew Hoops
dbaad1a896
SCI: Fix Mac icon bar palette match order
2011-03-04 19:48:14 -05:00
Walter van Niftrik
a2b75466da
SCI: Add comment.
2011-03-05 01:15:06 +01:00
Walter van Niftrik
23dcd3c761
SCI: Remove SCI version check from READ/WRITE_SCI1ENDIAN_UINT16.
2011-03-04 21:55:39 +01:00
dhewg
a913d360f2
ANDROID: Clear game texture on initSize()
...
Gets rid of leftovers
2011-03-04 21:41:55 +01:00
dhewg
f639466ab2
ANDROID: Cleanup
2011-03-04 21:36:48 +01:00
dhewg
1b0d4724f4
ANDROID: Fix slightly off while loop
...
CursorMan allows to push cursors with a width/height of zero. If such a
cursor is restored, we don't need to call glTexSubImage2D() 0xffffffff
times... This fixes delays of multiple minutes when closing GMM
on groovie and sword.
Also, I want that last hour of my life back.
2011-03-04 21:35:30 +01:00
dhewg
12a561f119
GROOVIE: Mark overwritten members as virtual
2011-03-04 21:31:14 +01:00
dhewg
03347a25e1
ANDROID: Reindent manifest
2011-03-04 21:31:13 +01:00