aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-03ANDROID: Implement surface resizesdhewg
Split surface code into helper functions to avoid code duplication, and distinguish between screen resizes and surface recreation. The former happens when toggling the softkeyb, where we just have to reset the viewport. Fixes garbled textures in those cases.
2011-03-03ANDROID: Rename member vars according to our styledhewg
2011-03-03ANDROID: Remove an indirection when pausingdhewg
2011-03-03ANDROID: Formatting/whitespacesdhewg
2011-03-03SCI: Fixed comment in pointerComparisonWithInteger()md5
2011-03-03SCI: Fixed a silly bug in WRITE_SCI1ENDIAN_UINT16, and unified the waymd5
that the utility READ_* and WRITE_* operations are made
2011-03-03SCI: Simplified arithmetic reg_t operations, based on fingolfin's commentsmd5
- Folded all comparison operators in a single function, cmp() - Simplified the + operator, and removed the SQ1 workaround, as it's not needed anymore - Removed the workaround for uninitialized variables in the * operator - Removed division by zero workarounds in the / and % operators - Added a better description of pointerComparisonWithInteger(), based on fingolfin's description and comments. Also, changed the SCI versions where this is used to SCI0-SCI1. The SCI1.1 case in QFG3 was a script bug
2011-03-03SCI: Fixed path finding in Amiga SCI1 gamesmd5
Added wrapper functions to read/write from dynmem segments, as these are treated as BE in Amiga versions (as we treat them like raw data instead of reg_t's), whereas the rest are LE. Thanks to waltervn and wjp for their help on this
2011-03-03SCI: Applied save/load dialog patching to all SCI0-SCI2.1 early gamesmd5
Games that have the newer SCI2.1 kernel functions (i.e. kSave instead of kSaveGame/kRestoreGame) aren't supported yet
2011-03-03SCI: Make some reg_t methods private resp. inlineMax Horn
2011-03-03SCI: Always clear looping and hold before jumpToTick() is calledmd5
Fixes a crash in LSL3 Amiga
2011-03-03SCI: Don't ignore SysEx messages at the driver level but warn insteadmd5
SysEx messages in the driver are usually the result of a bug which should be investigated and not silently ignored
2011-03-03SCI: Slight cleanup of some sound driversmd5
2011-03-02SCI: Always add new windows to back of list up to SCI_1_EGA_ONLY.Willem Jan Palenstijn
Confirmed this behaviour in KQ1sci, KQ4, Iceman and QfG2. Hoyle3-demo remains an exception.
2011-03-02SCI: Call Graph(RedrawBox) from EndUpdate for SCI0/01Willem Jan Palenstijn
Confirmed this behaviour in KQ1sci, KQ4, Iceman, and that it isn't present in QfG2 and KQ5CD. This fixes the graphics glitch in KQ4 when falling down the stairs in room 61 (#3039775).
2011-03-02Revert "SCI: Fixed bug #3039775 - "KQ4: Graphics glitch [...]""Willem Jan Palenstijn
This reverts commit 74e99328ec0fa43074c52b69d21922407153a1aa. SSCI takes care of this issue in a different manner, which the next commit emulates.
2011-03-02ANDROID: Respect the pause level.dhewg
2011-03-02ANDROID: Properly release texture resourcesdhewg
When calling glDeleteTextures() we need a valid surface.
2011-03-02ANDROID: On pause, put all threads in a comadhewg
Since not every engine respects pauseEngine(), or they're in a state where it simply gets ignored, put all threads in a group coma. Without this, code still kept looping and wasting cpu cycles, while the user might want to do use her/his droid for something else.
2011-03-02ANDROID: Implement pause/resumedhewg
Don't just kill the whole process when the Activity is stopped. Instead, use its events to pause or resume audio and the running engine (if any). Of course not every engines implements that... but at least an incoming call doesn't kill the game now (lol).
2011-03-02ANDROID: Check for a surface in updateScreen()dhewg
2011-03-02ANDROID: Merge FIND_METHODsdhewg
2011-03-02ANDROID: Move swapBuffers to the native sidedhewg
2011-03-02ANDROID: cleanupdhewg
2011-03-02ANDROID: Untangle JNI interweavingdhewg
- make the startup sequence more linear - use SurfaceHolder events - get rid of the surface lock - remove unnecessary JNI calls - make the ScummVM class implement Runnable - cleanup
2011-03-02COMMON: Remove newlines from debug()dhewg
They were interfering with my precious debug spew :P
2011-03-02ANDROID: Don't use warning() in JNI functionsdhewg
2011-03-02ANDROID: Don't use warning()/error() in a threaddhewg
2011-03-02SCI: Fixed bug #3040161 - "LONGBOW: Textbox glitch"md5
GetLongest() could exceed the maximum width with the very last character of a word. The same fix has been applied to the SCI32 code.
2011-03-02SCI: Fixed text positioning in the credits screen of Dr. Brain Amigamd5
The additional text positioning code in kDisplay was added in SCI1 middle, not SCI1 late. Also, did some slight cleanup
2011-03-02SCI: Fix garbage collection for SCI32Matthew Hoops
SCI32 has no ports
2011-03-02SCI: Bug fixes to the reg_t addition operatormd5
Thanks to fingolfin's comments regarding these
2011-03-02NEWS: Attempt to improve consistencyMax Horn
2011-03-02NEWS: Sort ports alphabeticallyMax Horn
2011-03-02HUGO: Silence GCC warningMax Horn
2011-03-02SCI: Fixed bug #3039775 - "KQ4: Graphics glitch in the mansion tower"md5
2011-03-02SCI: Fix variable nameWillem Jan Palenstijn
2011-03-02SCI: Fixed script bug #3059871 - "SCI Fanmade - Ocean Battle: Crash while ↵md5
playing"
2011-03-02SCI: Cleanupmd5
2011-03-02SCI: Change workaround for hoyle3-demo's rendering orderWillem Jan Palenstijn
This behaviour much more closely matches SSCI.
2011-03-01SCI: Fixed the background color of the status bar in Amiga versionsmd5
2011-03-01SCI: Fixed bug #3039188 - "LSL2 Amiga: Failed to Initialize Sound Driver error"md5
This was a signed/unsigned issue. Also fixed compilation when DEBUG is enabled. Thanks to waltervn for his help on this.
2011-03-01CREDITS: Credit madmoose Smacker video decodermadmoose
2011-03-01AUDIO: Removed comment about MDT_PREFER_MT32 and the MT-32 emulatormd5
2011-03-01AUDIO: Set default values for the MT-32 and GM device settingsmd5
This fixes the case where an MT-32 music type is erroneously returned with the default GUI audio settings if an engine specifies MDT_PREFER_MT32. Many thanks to wjp and fuzzie for their help and work on this
2011-03-01MIDI: Updated documentation on MDT_PREFER_MT32 and MDT_PREFER_GMmd5
2011-03-01HUGO: Correct 2 Memory Leaks in DAT Object Loading.D G Turner
2011-03-01HUGO: Correction for Schedule saveActions() mistake.D G Turner
2011-03-01OPENGL: Limit maximum cursor scale.Johannes Schickel
This avoids too big cursors when the screen resolution is really high.
2011-03-01OPENGL(SDL): Use the whole window/screen size for the overlay.Johannes Schickel
This makes the overlay looking nicer in fullscreen mode.