Commit Graph
12 Commits
Author SHA1 Message Date
Walter Agazzi c537416279 AGS: Engine: renamed WalkArea.Light to PlayerView, matching its real purpose
Apparently, this field was used to store light level of the
walkable area in pre-2.55 engines, prior to introduction of the
Regions.
In current engine, when loading games that old, this value is
copied into Regions for backwards compatibility.
While in newer games it actually stores "player character
view" override.

Renamed update_shadow_areas() into update_player_view(),
and tidied the code for clarity.

From upstream 71e7dc880b4496dd6937cec00a56f0de66137482
2023-04-29 13:11:41 +02:00
Walter Agazzi c366ce5eef AGS: Removed update_polled_stuff_if_runtime() from data loading functions
Leave it with a new name as `update_polled_stuff()` only in functions
related to the game update.
From upstream 95dc139f51e704da19792e5480e69bbfe7ec27aa
2023-03-12 20:58:28 +00:00
Thierry Crozat 5d9ae41cd6 AGS: Store room objects in std::vector
From upstream 5f3b8eb509c9535c75b401f9b7257f7c7acd0e6d
2022-06-15 22:13:02 +01:00
Paul Gilbert 7b13f47d04 AGS: Fixing unimplemented cases in switches
From upstream 55345ca2b19598aeac2362d726fcaf15adf698fd
2022-04-25 19:37:00 -07:00
Paul Gilbert 7c96238080 AGS: Do not preset Hotspot's names (description)
From upstream 479f1067d7a474d41c32df217d10af8961ce2959
2022-04-12 22:27:53 -07:00
Paul Gilbert 186250aab9 AGS: added Room.BackgroundAnimationEnabled property
From upstream 15a1c66344d25dbdfa21246408477f05b49f54ce
2022-04-12 22:27:53 -07:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
D G Turner 0e7f628443 AGS: Fix Several GCC Warnings 2021-08-03 04:00:34 +01:00
Paul Gilbert 9e50e3268e AGS: Moved RoomAreaMask enum and GetMask functions to RoomStruct
From upstream 0903ec301f25f69b8bb931db2e27e0e3bfce3afe
2021-07-31 14:34:10 -07:00
Paul Gilbert edb1ac0f6c AGS: fixed formatting type for several size_t and soff_t values
From upstream 548573740a5c8acc48600f9b069b7d1dc94d0dc3
2021-06-13 21:09:01 -07:00
Paul Gilbert d57474ce59 AGS: Provided more function variants accepting const String&
From upstream 44402962003db439e54d79e0c562fba1cf59e455
2021-06-13 21:08:58 -07:00
Paul Gilbert 701396361c AGS: Import of fresh codebase 2021-06-13 21:08:44 -07:00