Fiodar Stryzhniou
9b0f0eb1af
CODESTYLE: remove C++ headers, use int64 instead __int64_t.
2021-02-26 19:29:33 +01:00
BeWorld
4287f2ca9a
MORPHOS: fix module.mk
...
fix mistake of file name
2021-02-26 19:13:44 +01:00
Paul Gilbert
c671020d85
AGS: Further fixes to plugin script method definitions
2021-02-26 08:01:58 -08:00
athrxx
715c9f6993
GRIFFON: fix invalid mem access / crash
...
This can be triggered by walking 1 screen left and 1 screen down from the start.
When loading a new map the game resets only onMap for all members of the _npcInfo array, but does not always check that value when iterating over the (valid and invalid) entries of the array.
2021-02-26 14:48:48 +01:00
athrxx
3b4515b337
GRIFFON: get rid of "too many sound handles" error
...
The error is triggered quite easily. You can get that right at the start, walking 1 screen left, engaging multiple monsters simultaneously.
That code looks a bit suspicious per se, since it still tries to return a value of -1 after the error call. But maybe that's just to satisfy some compiler. I've replaced the error with proper handling of the return value and I've also added in-bounds-checks for all uses of the sound handles.
2021-02-26 14:48:42 +01:00
Martin Gerhardy
485a229007
AGS: fixed potential buffer overflows due to missing null byte
2021-02-26 11:19:11 +01:00
Martin Gerhardy
b45b3bb6c0
TWINE: don't clamp the given values to short
...
lba2 is using bigger maps
2021-02-26 11:13:49 +01:00
Martin Gerhardy
bbe4083ab0
TWINE: use a few of the inventory setters to ensure the item amount boundaries
2021-02-26 11:11:21 +01:00
Martin Gerhardy
9275999d9b
TWINE: hide min/max values of inventory items
...
also extract the max life points of an actor into a constant
2021-02-26 11:11:21 +01:00
Martin Gerhardy
9743f36d95
TWINE: converted Renderer class members to Vec3
2021-02-26 11:11:21 +01:00
Martin Gerhardy
718ef4a58f
TWINE: converted destXYZ to Vec3
2021-02-26 11:11:21 +01:00
Martin Gerhardy
89921cac57
TWINE: converted projPosScreen to Vec3
2021-02-26 11:11:21 +01:00
Martin Gerhardy
517f51ae05
TWINE: converted orthoProjPos to Vec3
2021-02-26 11:11:21 +01:00
Martin Gerhardy
a7aaa2c7db
TWINE: converted baseRotPos to Vec3
2021-02-26 11:11:21 +01:00
Martin Gerhardy
d1b67f614e
TWINE: converted projPosScreen to Vec3
2021-02-26 11:11:21 +01:00
Martin Gerhardy
c702e0955e
TWINE: use Vec3 operators
2021-02-26 11:11:21 +01:00
Martin Gerhardy
56b9d68bb0
TWINE: replaced magic number with constant
2021-02-26 11:11:20 +01:00
Martin Gerhardy
b917ec2ad3
TWINE: convert ExtraListStruct positions to Vec3
2021-02-26 11:11:20 +01:00
Peter Kohaut
3ea299fca6
TINSEL: Updated drawing routines for V3
...
Updated drawing of the background
Implemented drawing of transparent sprites
2021-02-26 10:22:18 +01:00
sluicebox
ad336de7bb
SCI32: Fix kDoAudioPlay regression
...
Fixes kDoSoundPlay crash when called from an SCI32 game, introduced in
364542e9e1
2021-02-26 01:19:57 -08:00
Paul Gilbert
7054f6b963
AGS: Move Zak2 to unsupported, since it uses an unsupported room animation
2021-02-25 20:53:21 -08:00
Paul Gilbert
b7886c4b4a
AGS: Allow NumberPtr to handle const pointers
2021-02-25 19:38:19 -08:00
Paul Gilbert
844a94d72b
AGS: Fix plugin methods to ScriptMethodParams array
2021-02-25 19:34:10 -08:00
Paul Gilbert
4052e2a929
AGS: Added detection entries
2021-02-25 18:50:57 -08:00
Martin Gerhardy
097b919295
TWINE: fixed position of game-over animation in high-res mode
2021-02-25 19:34:36 +01:00
Martin Gerhardy
2f62076720
TWINE: re-added constants for original window dimensions
2021-02-25 19:23:09 +01:00
Martin Gerhardy
ca3375e7b4
TWINE: don't close the debug console for invalid parameters
2021-02-25 19:22:49 +01:00
Martin Gerhardy
e3d413d2fe
TWINE: added debug command set_life
2021-02-25 19:22:38 +01:00
Martin Gerhardy
010dccc785
TWINE: added projectPositionOnScreen Vec3 variant
2021-02-25 17:52:13 +01:00
Martin Gerhardy
2d3bd0bfb9
TWINE: converted scene hero positions to Vec3 struct
2021-02-25 17:43:06 +01:00
Martin Gerhardy
baadba59a8
TWINE: use Vec3 copy
2021-02-25 17:38:27 +01:00
Martin Gerhardy
290b5de7e4
TWINE: converted hero position to Vec3 struct
2021-02-25 17:34:10 +01:00
Martin Gerhardy
87893749b5
TWINE: new color constant
2021-02-25 17:30:47 +01:00
Martin Gerhardy
ec34077906
TWINE: converted more positions to Vec3
2021-02-25 17:27:37 +01:00
Martin Gerhardy
fda3ccc4df
TWINE: converted more positions to Vec3
2021-02-25 17:23:03 +01:00
Martin Gerhardy
eaf9de0bf0
TWINE: converted shadow coordinates to Vec3 struct
2021-02-25 17:17:57 +01:00
Martin Gerhardy
91e34e1307
TWINE: convertged collision position to Vec3 struct
2021-02-25 17:15:44 +01:00
Martin Gerhardy
63a27de46f
TWINE: converted lastPos to Vec3 struct
2021-02-25 17:12:52 +01:00
Martin Gerhardy
a819f61e8c
TWINE: moved actor position into Vec3 struct
2021-02-25 17:06:23 +01:00
Martin Gerhardy
1b14ab2919
TWINE: moved centerScreenOnActor into Grid class
2021-02-25 16:43:28 +01:00
Martin Gerhardy
e79b109a61
TWINE: converted to Vec3
2021-02-25 15:45:25 +01:00
Martin Gerhardy
ee7ac5572a
TWINE: added centerOnActor method
2021-02-25 15:04:40 +01:00
Martin Gerhardy
d53f163e67
TWINE: extract to local variables
2021-02-25 13:51:55 +01:00
Martin Gerhardy
86131a3fb6
TWINE: center the on-screen keyboard for high resolution mode
2021-02-25 12:50:35 +01:00
Martin Gerhardy
89f81a020d
TWINE: reduced magic numbers in inventory menu
2021-02-25 12:50:35 +01:00
Martin Gerhardy
e342415d31
TWINE: reduced itemAngle array size
2021-02-25 12:50:34 +01:00
Martin Gerhardy
c5df2813e6
TWINE: moved defines
2021-02-25 12:50:34 +01:00
Martin Gerhardy
55e0f3afea
TWINE: introduced new angle constant
2021-02-25 12:50:34 +01:00
Martin Gerhardy
99783c08a9
TWINE: render the inventory menu centered on the screen in high-res mode
2021-02-25 12:50:34 +01:00
Martin Gerhardy
8a34640538
TWINE: use color constants
2021-02-25 12:50:34 +01:00