Commit Graph
134 Commits
Author SHA1 Message Date
Paul Gilbert 2ab7985361 AGS: Revert "Engine: fixed AdjustBitmapForUseWithDisplayMode()"
From upstream 36e7d53fc1da189e402d9089c580d15844c6d4b5
2022-04-29 22:20:39 -07:00
Paul Gilbert 6ee31a530e AGS: Removed unnecessary ags_domouse() calls
From upstream de28de1dd44d991a479ae0adb5fdb4996fe33656
2022-04-29 22:20:39 -07:00
Paul Gilbert 68e5184afa AGS: Replaced some (v)sprintfs with sNprintf counterparts
From upstream a34bd392249f87a152dc470d90c67a7d193a28d8
2022-04-27 20:51:30 -07:00
Paul Gilbert 1ba7d8435f AGS: Scale debug overlays when necessary
From upstream cbbf2a0f8344fa4a5f7d91de927636c208bc446d
2022-04-27 20:25:25 -07:00
Paul Gilbert a1a0323d28 AGS: Removed few redundant function args
From upstream 4c80a7fb3afdfd8d7b82f16b7aeac5418565f608
2022-04-24 16:00:03 -07:00
Paul Gilbert 17bac5b1ef AGS: Removed redundant function domouse(int what)
From upstream 3dfda41382bdd10e3b2b78f797fade8b5dcc1efa
2022-04-23 18:15:02 -07:00
Paul Gilbert 3467180e39 AGS: Refactored GUIMain to not use mouse coords directly
From upstream 2f736d3365dc5fae6eebe353b64e16af156308f8
2022-04-23 17:56:20 -07:00
Paul Gilbert 809cc413da AGS: Fixed crash in prepare_roomview_frame() on no camera link
From upstream 0fc94a038cd794046b594afeb8974064c00bdbbd
2022-04-22 20:21:35 -07:00
Paul Gilbert dcb1099f2b AGS: Cursor.AnimationDelay property and arg to ChangeModeView()
From upstream 7393b0a8ee8a23949b63cf8ba57eb1c4f4e381fd
2022-04-10 19:39:09 -07:00
Paul Gilbert 3425f8faf2 AGS: Moved couple of gui-related global vars into GuiOptions struct
From upstream 973d238a2c20368d8932ade22d2965d121cb7793
2022-04-10 19:39:06 -07:00
Paul Gilbert c49bf9f666 AGS: Restored GUI controls interactivity on 100% transparent gui
From upstream f1df50557ee535822c630f81e13b216a931bba56

Starting to notice a whole bunch of new/different code attributed to commits
done years ago, prior to baseline the ScummVM version was started at.
I'm suspecting that someone upstream played around with the git history too much.
2022-04-05 20:42:56 -07:00
Paul Gilbert 5c49430367 AGS: Removed 16-bit BGR bitmap conversion as redundant
From upstream 759f0111901e567c71814f679eaa97fda5c491b8
2022-03-29 22:14:28 -07:00
Paul Gilbert b6815247da AGS: Fixed AdjustBitmapForUseWithDisplayMode()
From upstream 077803120808a9b18a888bb24f7124844f21fa00
2022-03-29 22:07:28 -07:00
Paul Gilbert 86f3f8933b AGS: Use real font height for speech & dialog option bitmap sizes
From upstream 22af623cadce89ac27777cf2178649a71fc2a345
2022-03-23 20:50:27 -07:00
Paul Gilbert d42b639142 AGS: Always precalculate and save font linespacing (as outlined)
From upstream 8ba3a77e38a6dc8ace6d6393042730d73292a1a7
2022-03-22 22:30:14 -07:00
Paul Gilbert dc3ce9f70a AGS: Renamed few font functions for consistent naming style
From upstream 9c355da410b734edc79212009a5e1be0b502c3b0
2022-03-22 22:30:13 -07:00
Paul Gilbert cf62e3979b AGS: Reimplemented walk path display as a persistent overlay
From upstream 92774437d3c454d16c7c0f51c6b32dabd1880c08
2022-03-19 21:25:10 -07:00
Paul Gilbert b0233b607e AGS: Update debug layer for walkable mask in realtime
From upstream 22192bce19cea39ceeeb7200963f8ce9b919b3b7
2022-03-19 21:25:10 -07:00
Paul Gilbert 394347a75d AGS: Reimplemented room area debug display as a persistent overlay
From upstream ba98628a146896664a70a51442765c35d9789514
2022-03-19 21:25:10 -07:00
Paul Gilbert a3dda03cf1 AGS: Store Views in std::vector
From upstream 095db88ae0f1acceb298f793a2e1b81dbe06fcff
2022-03-18 21:29:56 -07:00
Paul Gilbert 08560a1dbf AGS: Forgot to also clear guibgbmp array in dispose_game_drawdata()
From upstream 1e4b73ad7b4ae5bf69641f08940d88b0fe828080
2022-03-17 21:49:24 -07:00
Paul Gilbert 731db80bb4 AGS: Script API Overlay.Transparency
From upstream c2d63eb32ec9c8653f0b0b24f7a1b4e1fc24aa89
2022-03-15 22:28:39 -07:00
Paul Gilbert 796c2dcd0e AGS: Overlay.ZOrder and use zorder for custom overlays
From upstream 4be229bfbfe808384cea8ea724d72fcd6a0ca094
2022-03-15 22:28:39 -07:00
Paul Gilbert 46f1f776c9 AGS: Sort overlays along with GUI
From upstream 6b41b1f86ab2f6840c324d98e8e96ae5c61dad9f
2022-03-15 22:28:38 -07:00
Paul Gilbert ccb87178d5 AGS: Simplified add_to_sprite_list() argument list
From upstream 172466469dca450a05ba97fab85dcf747d344b02
2022-03-15 22:28:38 -07:00
Paul Gilbert d4e81c2ecb AGS: Moved irrelevant code out from draw_sprite_list()
From upstream 8c01d1f60449ab99c0ee09d29318214a2795d2dc
2022-03-15 22:28:37 -07:00
Paul Gilbert 8c60e694cc AGS: Simplified SpriteListEntry use
From upstream 69a32a7a123e346f4ad724ed31f400f26d926280
2022-03-15 22:28:37 -07:00
Paul Gilbert bde0988e08 AGS: fixed speech overlays drawn behind GUI
From upstream d651448d16fd3a72d5ede24ee6ad4c87a7d3d7d1

Was broken by d7c091890d2cde07776cca4ebbed7352d379612d
2022-03-15 22:28:36 -07:00
Paul Gilbert 6bf83c7f39 AGS: Removed Overlays' arbitrary limit
From upstream 735dcfb14069b38aace4cef9468d44b63349d1bd
2022-03-15 22:28:36 -07:00
D G Turner f0364b9d11 AGS: Fix Unused Variable Compiler Warning 2022-03-15 09:36:16 +00:00
Paul Gilbert 2d995bbe07 AGS: Simplified use of ReplaceBitmapWithSupportedFormat()
From upstream 2132ba833b9d4508ed3f81a65f531b88f6087cb5
2022-03-14 21:33:38 -07:00
Paul Gilbert 255a739eca AGS: Encapsulate game object draw caches in draw.cpp
From upstream e04ebc0039580faf017ceb0acbeeab975bf44fcc
2022-03-14 21:04:09 -07:00
Thierry Crozat 12d1112780 AGS: Add sanity check on luminance in tint_image
This fixes bug #13246 Mage's Initiation - crashes while entering
the Palace on Lone Island.

The game has incorrect data causing the luminance value to be -26335
in the Lone Island palace. The original game doesn't crash has the
config file distributed with the game specifies either the D3D9 or
OGL driver should be used and those have a sanity check on the
luminance when tinting sprite to use 255 if it is negative. This
commit does the same sanity check for the software rendering path.
2022-02-07 21:03:40 +00:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Alexandre Detiste 6044504762 JANITORIAL: typos
some in the variable names, some in the comments;
no change for the strings that interract with original games assets
2021-10-31 20:46:31 +01:00
Paul Gilbert cf36b34f0d AGS: Implemented Object.ManualScaling and Object.Scaling
From upstream fe9bf3707afb4c36effc358d8e3eb7834d333fb5
2021-07-27 22:03:38 -07:00
Paul Gilbert 9612b5cb35 AGS: distinct overlay types of speech and messagebox
From upstream d7c091890d2cde07776cca4ebbed7352d379612d
2021-07-27 22:03:37 -07:00
Paul Gilbert c34807897e AGS: separate dirty rects function for the engine overlay sprites
From upstream ef78805ffc0e3702dd329401c19116a7d4737470
2021-07-10 14:33:41 -07:00
Paul Gilbert 4c5d1335a7 AGS: fixed software mode's dirty rects in the legacy letterbox mode
From upstream b7fdf44a70d838a0848cd5c94ffe82821323c798
2021-07-10 14:33:41 -07:00
Paul Gilbert 3bd95cbeb5 AGS: Fix crash in MMM 23 ending
This fixes bug #12605 by changing the error to a warning
2021-06-20 11:33:37 -07:00
Thierry Crozat 0cf45fbc39 AGS: Fix some regressions with blender modes 2021-06-14 20:21:10 +01:00
Paul Gilbert 73347d4559 AGS: Remove _G macros from comments 2021-06-13 21:09:00 -07:00
Paul Gilbert eb1e337edd AGS: Removed String's "const char*" conversion operator
From upstream 7c426674e7e53bffe9120f8ffc059b77fa03a606
2021-06-13 21:08:59 -07:00
Paul Gilbert 87dba2e276 AGS: Re-added checks for SHOULD_QUIT and abort_engine 2021-06-13 21:08:52 -07:00
Paul Gilbert b104d78888 AGS: Enabling disabled blocks, and making ScummVM needed changes 2021-06-13 21:08:50 -07:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Paul Gilbert 0a305db7ec AGS: Move guimain.cpp globals to Globals 2021-03-12 21:39:16 -08:00
Paul Gilbert a18be9c938 AGS: Move miscellaneous engine/ac/ globals to Globals 2021-03-12 21:30:58 -08:00
Paul Gilbert d88d97d69d AGS: Move draw.cpp globals to Globals 2021-03-12 20:38:46 -08:00