Commit Graph
86814 Commits
Author SHA1 Message Date
dhewg fa51d82639 ANDROID: Prevent unnecessary reallocs 2011-03-13 16:50:48 +01:00
dhewg 2721e287e5 ANDROID: Buffer 16bit texture contents
Same issue as in the last commit: glTexSubImage2D is slow, so cache
all copyRect*() calls in a buffer, and update the dirty rect once
when drawing. Reduces CPU usage on 16bit games significantly.
Also, lockScreen() returns now pixel data for non-CLUT8 games instead
of asserting.
2011-03-13 16:50:47 +01:00
dhewg a93229cae5 ANDROID: Don't use compressed textures for the game screen
Some GLES drivers suck so much that uploading data to the GPU takes
ages. CLUT8 games now use a faked paletted texture, which internally
uses a RGB565 hardware texture (Android's native pixel format).
This seems to be the only way to efficiently implement constant
changing textures with GLES1 - at the cost of extra buffers.
Then again, we can now use glTexSubImage2D to only update the dirty
rects, which wasn't possible before because glCompressedTexSubImage2D
is only usable on GLES2. This commit does exactly that.
Overall, the CPU usage is massively reduced for CLUT8 games.
2011-03-13 16:50:43 +01:00
strangerke 29d0078b70 TSAGE: Add detection for "First Wave" ringworld (english) 2011-03-13 16:15:09 +01:00
Willem Jan Palenstijn 5b820cee64 SCI: Restore full object state after collision in DoBresen
This makes the workaround for the hang in the Colonel's Bequest
shower scene (bug #3122075) unnecessary.
2011-03-13 14:48:38 +01:00
dhewg 40333617ee SWORD1: Don't set the same cursor on every frame
Removes unnecessary overhead on the backend when the cursor has just
one frame.
2011-03-13 08:24:19 +01:00
md5 1566ef32b6 SCI: Added another version of QFG1 / Hero's Quest (bug #3206006) 2011-03-13 04:19:44 +02:00
Willem Jan Palenstijn 8918d5e66c SCI: Fix warning 2011-03-13 00:27:28 +01:00
Willem Jan Palenstijn 6fe95780d3 SCI: Continue disasm until no jumps go past the current opcode
This should ensure disasm will disassemble an entire function, and
not stop at an intermediate ret opcode.
2011-03-12 23:46:32 +01:00
md5 fa10ee66e4 SCI: Added proper fix for bug #3048054 - "LONGBOW: crash when opening hand code"
This was caused by a buggy script, most probably the result of an
incorrect copy/paste while processing the original script. Fixed with a
script patch.
2011-03-12 23:48:56 +02:00
md5 5dce3235e9 SCI: Some changes to the "dissassemble" command
Fixed a bug (the "bwt" and "bc" options were inversed) and added the
ability to skip a defined number of ret calls, useful when a function
continues after a ret call
2011-03-12 23:45:36 +02:00
md5 0bc9db7872 SCI: Added automatic detection for several selectors
This ensures that these selectors will be detected regardless of the game
ID, when they're missing
2011-03-12 18:33:32 +02:00
Paul Gilbert 3148f9264c TSAGE: Bugfix to refresh the screen when leaving a close-up conversation 2011-03-12 23:33:59 +11:00
Paul Gilbert fc3a7b961c TSAGE: Bugfix for cloning the SceneObjectWrapper when a SceneObject is cloned 2011-03-12 23:33:14 +11:00
Paul Gilbert aec1aa0b52 TSAGE: In progress implementation of Scene #2320 - Starcraft - Hanger Bay 2011-03-12 22:01:41 +11:00
dhewg 429b091ed1 ANDROID: Convinience make target for testing 2011-03-12 09:36:23 +01:00
dhewg 0cdaff65c1 ANDROID: Use 16bit pixel formats on CLUT8 textures
This reduces the CPU usage on 640x480 games by ~5% on my droid when
reuploading the textures to the GPU
2011-03-12 09:36:23 +01:00
dhewg caf21a357b ANDROID: Cleanup 2011-03-12 09:36:22 +01:00
dhewg 2259f922f8 ANDROID: Remove redundant variable 2011-03-12 09:36:22 +01:00
dhewg 7fe487f9cc ANDROID: Add more paletted texture types 2011-03-12 09:36:22 +01:00
dhewg 99c0d82541 ANDROID: Cleanup paletted textures 2011-03-12 09:36:22 +01:00
dhewg 4afa2c62b9 ANDROID: Get rid of ugly casts 2011-03-12 09:36:22 +01:00
Paul Gilbert 97a674ca09 Implemented Scene #2310 - Spacecraft - Copy Protection screen 2011-03-12 17:22:32 +11:00
Paul Gilbert 7e0d120ce1 TSAGE: Separated out detection tables into the standard detection_tables.h 2011-03-12 17:21:55 +11:00
Paul Gilbert 56db3c17a5 TSAGE: Implemented Scene 2300 - Starcraft - Hanger Bay 2011-03-12 10:56:20 +11:00
md5 0b8c57be84 SCI: Moved a heap patch from kScriptID() into script_patches.cpp 2011-03-12 00:57:45 +02:00
Willem Jan Palenstijn bd6602ea6f SCI: Clarify fix for KQ5 witch freeze bug #3034714
The cause for this bug turns out to be a corrupt object that as
a side effect accidentally bypasses its own corruption. See the
added comments for details.

Also add a warning that points out similarly corrupted objects.
2011-03-11 23:09:13 +01:00
dhewg 3d576c184a AUDIO: Fix some whitespaces 2011-03-11 20:54:57 +01:00
dhewg a2a5083dc9 AUDIO: Work around ARM code volume limits
The ARM specific rate converters work with 8bit volume vars. Limit
volumes to 0xff to prevent crackling.
2011-03-11 20:54:52 +01:00
Alyssa Milburn ba606e3693 MOHAWK: Don't warn about odd LB version record sizes. 2011-03-11 19:15:56 +01:00
Alyssa Milburn 5acac402af MOHAWK: Seek to first frame on kLBOpRewind.
This might need some further thought when implementing more complex
seeking for the later games, but works for now.
2011-03-11 19:15:56 +01:00
md5 2a37ed395c SCI: Fixed bug #3034714 - "KQ5CD: ScummVM freezes in dark forest"
This is a heap patch for an odd object used in that scene, which will
suffice for now (until we find why this works in SSCI). Thanks to wjp
for his help and work on this
2011-03-11 18:06:30 +02:00
Alyssa Milburn f814108d85 MOHAWK: Fix intro finish notify in LB poetry mode. 2011-03-11 14:19:57 +01:00
Matthew Hoops 9a4e433f88 SCI: Fix mouse positions in upscaled games
A regression from 463e475bd6
2011-03-10 20:02:05 -05:00
Matthew Hoops 2cbcc76789 SCI: Fix uncompressed SCI1.1 views
A regression from d2ad7898d9
2011-03-10 18:45:51 -05:00
md5 bca82642a7 SCI: kPurge is the SCI2+ version of kFlushResources 2011-03-10 22:42:58 +02:00
dhewg a5a8af86ee CONFIGURE: Change Android debug flags logic
Use --enable-debug instead of not --enable-release
2011-03-10 21:17:59 +01:00
dhewg fb0b9dd7b3 CONFIGURE: Fix some whitespaces 2011-03-10 21:17:59 +01:00
dhewg bf62098dd5 CONFIGURE: Add support for Android's armeabi-v7a
Extended ABI with Thumb-2 and VFP hardware FPU instructions
2011-03-10 21:17:59 +01:00
md5 24df295328 SCI: Made some checks inside unditherBitmap() more understandable 2011-03-10 21:50:06 +02:00
md5 0929d1e12d SCI: Don't try to uninstantiate scripts marked as deleted
Trying to delete a script marked as deleted should do nothing. Hoyle 3
tried to uninstantiate scripts more than once, and we incorrectly
decreased the reference count of associated scripts more than once,
thereby killing them. This properly fixes bug #3038837 (removed the
hack for it). Many many thanks to wjp for his help on this :)
2011-03-10 19:18:37 +02:00
md5 91d2d04f90 SCI: Some renaming related to the undithering code
Renamed some variables, functions and comments related to the
undithering code, to make them a bit easier to understand
2011-03-10 18:05:59 +02:00
Johannes Schickel ff9653ddea ALSA: Fix formatting. 2011-03-10 04:45:06 +01:00
Johannes Schickel 601a09e417 ALSA: Work around a firmware bug in USB-MIDI cables.
Thanks to waltervn (and wjp) for their investigation on this and Walter's SCI
specific workaround which I more or less just copied here so it will apply for
all engines.
2011-03-10 04:40:30 +01:00
Johannes Schickel 40e9374679 ALSA: Strip trailing spaces in device name.
This might fix odd problems when storing the device name in the config file,
when the name ends with a space by chance.
2011-03-10 02:54:32 +01:00
md5 60bad3754b SCI: Fixed regression (shift key) in the latest event code cleanup 2011-03-10 03:11:23 +02:00
strangerke fae2be668f TOON: Cleanup 2011-03-10 01:32:03 +01:00
strangerke cf657d09e8 TOON: Janitorial: Suppress blanks at end of lines 2011-03-10 00:25:29 +01:00
Matthew Hoops 6fd6291390 MOHAWK: Fix typo in the Riven missing executable dialog 2011-03-09 17:53:11 -05:00
Thierry Crozat 5ed102ded9 CREDITS: Fix typo in previous commit 2011-03-09 22:36:24 +00:00