Commit Graph

83463 Commits

Author SHA1 Message Date
Tarek Soliman
f285e384da GRAPHICS: Fix rounding error when using non-integral scaling
When a non-integral scaling was being used, x and/or y cursor position would be
one less than what it should be.

Fixes Trac#10401

Thanks snover!
2018-01-12 22:43:00 -06:00
Paul Gilbert
531467581f XEEN: Further savegame logic 2018-01-12 21:22:06 -05:00
Colin Snover
10f1eab3c9 CRYO: Stop packing struct containing pointers
This struct packing causes the pointer-to-member-function to become
unaligned, and does not seem necessary in any way.

Closes gh-1081.
2018-01-12 00:44:48 -06:00
Paul Gilbert
93935a7798 XEEN: Implementing savegame code 2018-01-11 21:31:48 -05:00
Paul Gilbert
ebc3d27096 XEEN: Renaming Combat clear method for better clarity 2018-01-11 19:46:49 -05:00
Paul Gilbert
42aa1cc163 XEEN: Fix crash after monster ranged attacks finish 2018-01-10 22:13:43 -05:00
Paul Gilbert
9aa9cb4997 XEEN: Fix spelling mistake in array name 2018-01-10 21:33:36 -05:00
Paul Gilbert
bc29219b16 XEEN: Fix monsters starting ranged attacks 2018-01-09 21:27:19 -05:00
Paul Gilbert
3956dc4845 XEEN: Fix opening of World of Xeen menu 2018-01-09 20:00:03 -05:00
rsn8887
e78984147d PSP: fix bit shifts of cursor x/y, fix too-slow cursor 2018-01-05 15:51:39 -06:00
rsn8887
b2cf5a30bf PSP: adjust cursor refresh to better match speed it had before it became smooth 2018-01-04 23:29:51 -06:00
rsn8887
4e4a5892c8 PSP: support mouse speed/joy deadzone options and smooth cursor motion 2018-01-04 06:07:34 -06:00
rsn8887
231407206d PSP: Use aspect correction checkbox instead of extra graphics modes 2018-01-03 14:14:36 -06:00
Tarek Soliman
50d79c5f26 MT32: Update to munt 2.3.0
This uses upstream commit 939cc986d9ffd044f8c6149361127ad5d94e430f

Closes gh-1091
2018-01-03 10:40:23 -06:00
Bastien Bouclet
bb5e8d3a11
Merge pull request #1090 from bgK/remove-zaurus-yopy
PORTS: Remove the Zaurus and Yopy ports
2018-01-03 06:40:49 +01:00
Dan Church
0c26da90bb SCI32: Fix segfault when SCI3 vocab isn't found
Seen when attempting to detect and/or run the Shivers 2 demo.

Closes gh-1106.
2018-01-02 12:57:59 -06:00
Bastien Bouclet
6e2c702bad
Merge pull request #1098 from AReim1982/neverhood_wii
NEVERHOOD: Graceful shutdown of the engine
2018-01-02 12:06:28 +01:00
Alexander Reim
e6262b3d4b NEVERHOOD: Graceful shutdown of the engine 2018-01-02 09:03:31 +01:00
Bastien Bouclet
cf1171d4d9 MOHAWK: RIVEN: Rewind videos that are played until their end
When videos are skipped, they would sometimes not quite be seeked to the
last frame. In that case, when they are played again without being
restarted, they would end immediatly.

Now videos are automatically rewinded when they end or are skipped so
that they always start from the beginning when played again.

Fixes #10389.
2018-01-01 20:05:47 +01:00
Eugene Sandulenko
d6078ea406 ALL: Bump copyright year. 2018! 2018-01-01 00:09:56 +01:00
Bastien Bouclet
482c075747 GRAPHICS: Fix incorrect call to blendFill in drawRoundedSquareShadowClip
Was broken in commit 622adff628.
2017-12-30 19:37:56 +01:00
Bastien Bouclet
622adff628 GRAPHICS: Speed up drawing of rounded square soft shadows
When drawing a rounded rectangle, first its shadow is drawn, and then
the rectangle proper is drawn over it. This optimization skips drawing
a shadow rectangle that is entirely occluded by the main rectangle.

A quick benchmark shows large improvements to the modern theme GUI draw
speed. On a 1 GHz ARMv7 CPU with optimizations enabled, drawing the add
game dialog @ 1920x1080 went from 976 ms to 136 ms.
2017-12-30 19:04:18 +01:00
Paul Gilbert
c5dea8caa4 XEEN: Fix confirmation buttons for town message dialogs 2017-12-29 23:18:19 -05:00
Paul Gilbert
02aaff2a9f XEEN: REplace award values with descriptive constants 2017-12-29 22:39:04 -05:00
Paul Gilbert
2fac15ad29 XEEN: Fix showing Dark Side awards in the awards dialog 2017-12-29 22:26:13 -05:00
Paul Gilbert
e5ab696148 XEEN: Fix teleporting using magic mirror 2017-12-29 22:19:35 -05:00
Paul Gilbert
27c3e44551 XEEN: Comments for the Character class methods 2017-12-29 21:36:24 -05:00
Paul Gilbert
8f8166236c XEEN: Simplify itemScan method 2017-12-29 21:29:40 -05:00
Paul Gilbert
d0c04053dd XEEN: Fix intermittant crash leaving Dwarf Mine 2017-12-29 21:16:11 -05:00
Paul Gilbert
9d336539b7 XEEN: Close open windows after opcode calls to cmdGiveMulti 2017-12-29 20:57:21 -05:00
Paul Gilbert
7b7a23a6e7 XEEN: Fix showing correct names for quest items 2017-12-29 20:21:27 -05:00
Paul Gilbert
1bc519aadc XEEN: Fix display of given treasure 2017-12-29 19:41:59 -05:00
Paul Gilbert
4e11d05f76 XEEN: Cleanup of give opcode and methods 2017-12-29 16:08:11 -05:00
Paul Gilbert
47d95c6bcd XEEN: Implemented giveExt method 2017-12-29 04:59:34 -05:00
Paul Gilbert
e28f2a75bc XEEN: Properly implement cmdGiveExtended opcode 2017-12-29 03:33:59 -05:00
D G Turner
a3d2c52687 PSP: Fix bug #10239: PSP port incorrect 4:3 aspect ratio
This is based on a patch supplied by dam-soft. A new graphics mode is
added to the PSP port. The graphics mode is called '4:3 Aspect Ratio'
and fixes the incorrect AR. The older modes are also still present and
behave as before.
2017-12-29 01:21:40 -06:00
Paul Gilbert
45891aed91 XEEN: Implement sets & checks for _questItems 2017-12-29 00:41:55 -05:00
Paul Gilbert
fb73c1a3cc XEEN: Revert "XEEN: Change _gameFlags to it's own class"
This reverts commit a37b0e8181.
Turns out the overlapping byte access was for the questItems
array, but using Ids which start at 82 rather than 0
2017-12-29 00:16:24 -05:00
Paul Gilbert
a37b0e8181 XEEN: Change _gameFlags to it's own class
Byte 6 of the flags data, for flags 48 to 55, is directly used
in several places. I didn't think it was needed, but turns out
it is. So I've had to refactor the bool array I had previously
to have this as a bitset, so byte 6 can be accessed
2017-12-28 23:36:29 -05:00
Paul Gilbert
26c096d39d XEEN: Fix playing music when on Dark Side 2017-12-27 23:50:41 -05:00
Paul Gilbert
6bbfebdf0e XEEN: Fix loading Dark Side maps 2017-12-27 23:30:44 -05:00
Paul Gilbert
4f099a8fff XEEN: Fix saving of map stepped on tiles 2017-12-27 01:45:38 -05:00
Bastien Bouclet
1fa80ea3a3 SDL: Add debug traces for joystick hotplug 2017-12-27 07:30:53 +01:00
Paul Gilbert
66e531c92b XEEN: Fix saving monster data to exactly match original 2017-12-27 01:12:04 -05:00
Paul Gilbert
073380ffb7 XEEN: Added debug commands for changing map & position 2017-12-27 00:32:51 -05:00
Paul Gilbert
f8f2058d4c XEEN: Add saving of map/event data when the map is changed 2017-12-27 00:08:21 -05:00
Bastien Bouclet
6437ca1ede PS3: Stop using SDL mouse focus events to detect the XMB
Mouse focus events are also sent by SDL when the mouse is warped outside
of the window area. App suspended / resumed are now used. These are only
sent by SDL when opening / closing the XMB on the PS3.

Fixes #10340.
2017-12-26 21:29:30 +01:00
Thierry Crozat
6af4f3d236 I18N: Update translations templates 2017-12-26 21:11:59 +01:00
rsn8887
dafadbc8c7 PSP2: Add controller config, remove joystick event handling 2017-12-26 21:11:05 +01:00
Bastien Bouclet
1522fc8e2f SDL: Add support for joystick hotplug
Fixes #10366.
2017-12-26 21:11:05 +01:00