Commit Graph
121 Commits
Author SHA1 Message Date
Avijeet 223258af81 WAGE: Better error message in isInBounds() 2022-08-05 20:15:03 +02:00
Avijeet 83f8eb7b19 WAGE: Rewrite object detection 2022-08-05 20:15:03 +02:00
Avijeet 0824d1ad58 WAGE: Use bounding box for click detection 2022-08-05 20:15:03 +02:00
Avijeet e1c1413222 WAGE: Fix buttons in Explorer 2022-08-05 20:15:03 +02:00
Avijeet 0e8c75359d WAGE: Formatting fixes 2022-08-05 20:15:03 +02:00
Avijeet 3b96ffd875 WAGE: Add comment 2022-08-05 20:15:03 +02:00
Avijeet e5d0b01d89 WAGE: Use uint for loop index 2022-08-05 20:15:03 +02:00
Avijeet dbb09bb6a1 WAGE: Fix drawOval 2022-08-05 20:15:03 +02:00
Avijeet 706a2abbbb WAGE: Fix shapes with thick borders 2022-08-05 20:15:03 +02:00
Avijeet d2a06c1d42 WAGE: Fix drawRect 2022-08-05 20:15:03 +02:00
Eugene Sandulenko f85abaa739 WAGE: Do not crash if asked to draw beyond the window borders.
Fixes crash in Nightcrawler Ned game
2022-07-31 22:54:07 +02:00
Eugene Sandulenko d670adb4b9 WAGE: Switch to wider Rect primitives 2022-07-13 23:22:51 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Paul Gilbert 0136043f09 COMMON: Revert Change Rect and Point to have int32 fields
This reverts commit 1c3e7fb4e9.
2021-07-06 20:35:42 -07:00
Paul Gilbert 1c3e7fb4e9 COMMON: Change Rect and Point to have int32 fields 2021-07-04 18:24:26 -07:00
ysj1173886760 95230f6b9b WAGE: modify the offset of drawing the design 2021-04-01 16:08:56 +02:00
ysj1173886760 50ce3224a9 WAGE: change the offset and padding when drawing design 2021-03-27 13:05:31 +01:00
djsrv a9346eea42 GRAPHICS: MACGUI: Improve grays naming 2020-08-07 18:55:17 -04:00
Eugene Sandulenko fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Eugene Sandulenko 381e8fc51d WAGE: Fix think line drawing, as pointed by md5 2016-08-24 23:23:47 +02:00
Borja Lorente a0bea8567b WAGE: Revert indentation 2016-08-02 08:33:50 +02:00
Borja Lorente b8d36443f3 WAGE: Remove unnecessary border code 2016-07-31 14:05:15 +02:00
Borja Lorente 5bb5bb64f0 WAGE: Fix style issues 2016-07-31 14:05:14 +02:00
Borja Lorente 9ce6fbd0d7 GRAPHICS: Move MacMenu constants 2016-07-31 14:05:14 +02:00
Borja Lorente 3d4087b9d0 WAGE: Extract MacWindowManager 2016-07-30 09:41:54 +02:00
Torbjörn Andersson 72269b6c9d WAGE: Fix memory leak in drawBitmap()
The 'tmp' surface was never freed when in _boundsCalculationMode.
2016-07-15 11:29:19 +02:00
Eugene Sandulenko 531b190d59 GRAPHICS: Added FloodFill class to Surface.
Moved from WAGE engine and is using stack-based classic floodfill
implementation.
2016-06-03 00:45:56 +02:00
Eugene Sandulenko 5fbac749e2 WAGE: Moved patterns to WindowManager 2016-04-28 12:37:03 +02:00
Eugene Sandulenko b351cd28e9 WAGE: Improved accuracy of think line drawing.
Still not perfect, it looks like our Bresenham is a bit different
from the one used by QuickDraw, or (most likely) the polygon
drawing is different.
2016-04-17 13:25:41 +02:00
Eugene Sandulenko 0e4c846a39 WAGE: Benefit from ManagedSurface methods 2016-04-15 17:24:14 +02:00
Eugene Sandulenko 00399d27db WAGE: Switch to ManagedSurface 2016-04-15 17:24:14 +02:00
Eugene Sandulenko aaa858df00 WAGE: Made bounds calulation less restrictive 2016-03-14 07:51:37 +01:00
Eugene Sandulenko 140409204c WAGE: Code formatting 2016-03-10 12:40:12 +01:00
Eugene Sandulenko 24af06b682 WAGE: Disabling bounds calculation code as too buggy ATM. 2016-03-09 23:59:08 +01:00
Eugene Sandulenko 37b5b64179 WAGE: Improved a bit bounds calculation. Still bad 2016-03-09 23:53:07 +01:00
Eugene Sandulenko 1f4af34a40 WAGE: Fix calculation for bitmap bboxes 2016-03-09 23:53:07 +01:00
Eugene Sandulenko ee56fb805b WAGE: Skip flood fill in Bitmap when calclating bounds 2016-03-09 20:12:34 +01:00
Eugene Sandulenko ca7720960a WAGE: Attempt to fix bounds calculation 2016-03-09 18:56:42 +01:00
Eugene Sandulenko 2408766f2d WAGE: Precalculate design bounds based on real data 2016-03-09 15:47:22 +01:00
Eugene Sandulenko f2e2d0f05d WAGE: Fix bufer overrun in bitmap code 2016-03-01 12:11:09 +01:00
Eugene Sandulenko 8295f7f0ff WAGE: Fixed crash in Double Trouble. Needs more work. 2016-02-24 11:35:11 +01:00
Eugene Sandulenko ab9e2fdca3 WAGE: Initialize class variables 2016-02-18 10:30:18 +01:00
Eugene Sandulenko effd02bdc1 WAGE: Fix uninit members 2016-02-14 17:33:52 +01:00
Eugene Sandulenko acdddf8ade WAGE: Simplify bitmap reading code 2016-02-14 17:13:24 +01:00
Eugene Sandulenko 9d9fefb17a WAGE: Simplify polygon reading code 2016-02-14 17:13:24 +01:00
Eugene Sandulenko 33b8a265c5 WAGE: Remove redundant check 2016-02-14 17:13:24 +01:00
Eugene Sandulenko 8e8145ef25 WAGE: Fix name in accordance with our naming conventions 2016-02-14 17:13:23 +01:00
Eugene Sandulenko b09e70d1ca WAGE: Consistently use .empty() instead of .size() == 0 2016-02-14 17:13:23 +01:00
Eugene Sandulenko a31cfff9d6 WAGE: Let compiler optimize %8's 2016-02-14 17:13:05 +01:00
Eugene Sandulenko 5e002c4fe2 GRAPHICS: Move generic primitives from WAGE engine 2016-02-14 17:13:03 +01:00