Commit Graph
46 Commits
Author SHA1 Message Date
Paweł Kołodziejski 20cb0ae228 ALL: Cleanup ResidualVM -> ScummVM 2021-12-26 21:19:38 +01: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
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Thierry Crozat 9b3dd840bb STARK: Fix unknown key error in ShortestPath
The error happened when the goal is not reachable.
This fixes bugs #12127 and #12339.
2021-03-22 22:24:10 +00:00
Bastien Bouclet c5ea4db2c9 STARK: Only 3d model items should be used for collision checks
Previously the fact machine was checked when Zak was entering his room
in the border house.

Fixes #1549.
2019-06-02 09:34:53 +02:00
Bastien Bouclet f7df0d3f12 STARK: Initial version of the collision avoidance movement 2019-02-06 20:44:25 +01:00
Bastien Bouclet 85c669b35d STARK: Add basic collision handling, used by NPCs 2019-02-06 20:44:25 +01:00
Bastien Bouclet 8b5e7433f5 STARK: Change anim hierarchies to override parent animations 2018-05-03 21:04:49 +02:00
Bastien Bouclet 0667ed8482 STARK: Use the hash function for pointers from ScummVM 2018-02-10 16:08:21 +01:00
Bastien Bouclet c08e0f5f1d STARK: Prevent segfault when the walk destination is not on the walkmesh 2017-06-10 14:35:53 +02:00
Bastien Bouclet d287dc93d8 STARK: When unable to find which floor face contains an item, keep the previous value
Works around draw order glitches due to items not having a floor face
2017-06-10 14:35:53 +02:00
Bastien Bouclet a7a7b4468a STARK: Add save state serializers to more entities 2017-06-05 09:44:49 +02:00
Bastien Bouclet b5baf28155 STARK: Make the actor rotation speed framerate independent 2017-05-28 09:30:46 +02:00
Bastien Bouclet dfa209bd95 STARK: When starting to follow a path, move the item to the begining
Fixes the item appearing for one frame at the end of the path when the
path was already previously followed.
2017-05-27 21:27:48 +02:00
Bastien Bouclet 4dac8fb024 STARK: Implement an opcode allowing a light to follow a path 2017-05-26 21:44:00 +02:00
Bastien Bouclet e08ea6a961 STARK: Implement the opcode for an animated item to follow a path 2017-05-26 17:35:38 +02:00
Bastien Bouclet b51b49ebc0 STARK: Implement opcode item rotate to direction 2017-05-26 13:53:25 +02:00
Bastien Bouclet 3150543c9a STARK: Fix walking to faces with disabled edges
Prefer enabled edges in the same face when possible
2016-04-16 08:58:08 +02:00
Bastien Bouclet c43e76184d STARK: Forbid characters from walking on script selected floor faces
Not working entirely as expected. It is still possible to pass through
Roper Klacks. Probably the path finding code needs to be made more
accurate.
2016-01-17 16:32:08 +01:00
Bastien Bouclet 75daf54503 STARK: Reaching the walk target should resume a script successfully
Previously the script would be resumed successfully even when
the item could not reach its walk destination.
2016-01-17 15:29:05 +01:00
Bastien Bouclet f7681fc6f7 STARK: Fix some coverity warnings
No actual bugs should be fixed
2016-01-07 21:50:53 +01:00
Pawel Kolodziejski f9e78dc731 STARK: formating code - whitespaces 2016-01-01 07:30:11 +01:00
Bastien Bouclet 3d4a9d7850 STARK: Allow the walk code to work even when the item has not yet been placed 2016-01-01 07:30:11 +01:00
Bastien Bouclet ee597dea52 STARK: Don't crask when there is no path to the walk destination 2016-01-01 07:30:10 +01:00
Bastien Bouclet b36300c23f STARK: Always remove the walk animation when the movement stops 2016-01-01 07:30:09 +01:00
Bastien Bouclet 1f1a208676 STARK: Add an opcode to change the walk target 2016-01-01 07:30:09 +01:00
Bastien Bouclet c6c93778e7 STARK: Don't use freed memory 2016-01-01 07:30:08 +01:00
Pawel Kolodziejski 92f9863300 STARK: avoid use C++11 2016-01-01 07:30:07 +01:00
Pawel Kolodziejski 18d646b72d STAR: fixed newline warnings 2016-01-01 07:30:07 +01:00
Bastien Bouclet b048c4ae86 STARK: Add a movement type allowing an item to follow a path 2016-01-01 07:30:07 +01:00
Bastien Bouclet c733a5ab59 STARK: Change the Movement base class to only keep an ItemVisual pointer 2016-01-01 07:30:06 +01:00
Bastien Bouclet 68c84381a6 STARK: Add script driven location scrolling 2016-01-01 07:30:05 +01:00
Bastien Bouclet ce691bc239 STARK: Only update the walk direction when it is set 2016-01-01 07:30:04 +01:00
Bastien Bouclet 29494dbe1c STARK: Move the template for hashing pointers to a separate file
And make use of it in the model drawing classes
2016-01-01 07:30:04 +01:00
Bastien Bouclet 17bec93f72 STARK: Anim subtype 2 have a movement speed as well 2016-01-01 07:30:03 +01:00
Bastien Bouclet 4f9a04a077 STARK: Change the walk code to go to the exact target location
This is what some game scripts expect
2016-01-01 07:30:01 +01:00
Bastien Bouclet e29249859d STARK: Add a new movement type to make items turn on themselves 2016-01-01 07:30:00 +01:00
Bastien Bouclet df63cf29a6 STARK: Make characters turn on themselves when walking in a too different direction 2016-01-01 07:29:59 +01:00
Bastien Bouclet 1b95553169 STARK: Allow April to run 2016-01-01 07:29:59 +01:00
Bastien Bouclet 75e0c4803d STARK: Use Vecort3d::getDistanceTo to simplify some code 2016-01-01 07:29:59 +01:00
Bastien Bouclet 63e1e38445 STARK: Add a hack to prevent characters from getting stuck when walking 2016-01-01 07:29:58 +01:00
Bastien Bouclet ac4e0e8072 STARK: Follow a string pulled path when walking 2016-01-01 07:29:58 +01:00
Bastien Bouclet 7653c5cbf5 STARK: First iteration of actually walking 2016-01-01 07:29:57 +01:00
Bastien Bouclet e67c821646 STARK: Initialize the item movement infrastructure
Items now have a movement property that is updated
on game loop
2016-01-01 07:29:57 +01:00
Bastien Bouclet efd9f14936 STARK: Compute the shortest path to the destination when moving April
There's no actual model movement for now
2016-01-01 07:29:57 +01:00