D G Turner
cb949044db
HDB: Refactor AI Functions to Avoid Incompatible Function Pointer Casts
...
These warnings were emitted by GCC when -Wcast-function-type was passed.
This fixes these by refactoring so the engine only uses a single function
pointer type with the "extra" parameters always present.
2022-07-23 17:00:23 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Eugene Sandulenko
a37e9a8f9a
HDB: Replace NULL with nullptr
2020-04-28 09:42:27 +02:00
Eugene Sandulenko
16f1ff13bc
HDB: Use Common::strlcpy() everywhere
2020-04-27 18:29:39 +02:00
D G Turner
4be7972561
HDB: Fix Missing Default Switch Cases
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-03 22:12:24 +00:00
D G Turner
d74724eee0
HDB: Fix GCC Compiler Warnings for Set-But-Unused Variables
2019-09-05 18:10:31 +01:00
D G Turner
cb88db65cd
HDB: Fix Some GCC Compiler Warnings
2019-09-04 19:47:15 +01:00
Nipun Garg
0ca9c2fbcc
HDB: Remove unnecessary warnings
2019-09-03 17:17:34 +02:00
Eugene Sandulenko
810ac81b0f
HDB: Reduce header dependency
2019-09-03 17:17:28 +02:00
Eugene Sandulenko
a0856c6c3a
HDB: Reduce header dependency
2019-09-03 17:17:28 +02:00
Eugene Sandulenko
91da8c7aab
HDB: Reduce header dependency
2019-09-03 17:17:27 +02:00
Eugene Sandulenko
a0817b0b5a
HDB: Reduce header dependency
2019-09-03 17:17:27 +02:00
Eugene Sandulenko
2844b48ac1
HDB: Reduce header dependency
2019-09-03 17:17:27 +02:00
Eugene Sandulenko
99fc798b2e
HDB: Reduce header dependency
2019-09-03 17:17:27 +02:00
Eugene Sandulenko
c3d0f49538
HDB: Reduce header dependency
2019-09-03 17:17:27 +02:00
Strangerke
f1bf353cd3
HDB: Reduce some more variable scopes
2019-09-03 17:17:26 +02:00
Strangerke
cfe228d7bb
HDB: Fix some CppCheck warnings in ai-inventory and ai-lists
2019-09-03 17:17:26 +02:00
Nipun Garg
8a44ed4a97
HDB: Fix findTeleporterDest()
2019-09-03 17:17:26 +02:00
Nipun Garg
31ec40a91a
HDB: Fix checkActionList()
2019-09-03 17:17:24 +02:00
Nipun Garg
ea77240d4e
HDB: Fix memory leak due to removed animTargets
2019-09-03 17:17:23 +02:00
Eugene Sandulenko
a98e2a8e6d
JANITORIAL: Fix code formatting
2019-09-03 17:17:21 +02:00
Eugene Sandulenko
ffe3103433
HDB: Fix warning
2019-09-03 17:17:21 +02:00
Nipun Garg
c63e7c838b
HDB: Unstub stubs
2019-09-03 17:17:13 +02:00
Eugene Sandulenko
5f8e3fab2c
HDB: Fix warning
2019-09-03 17:17:12 +02:00
Nipun Garg
292ada30e3
HDB: Add _fairystones functions
2019-09-03 17:17:11 +02:00
Eugene Sandulenko
7e07602c25
HDB: Fix trigger launching
2019-09-03 17:17:10 +02:00
Eugene Sandulenko
595187da81
HDB: Rewrote AI::killTrigger() to a safer variant
2019-09-03 17:17:10 +02:00
Nipun Garg
1cd0a8d936
JANITORIAL: Fix formatting
2019-09-03 17:17:10 +02:00
Nipun Garg
73b7b83098
HDB: Add addBridgeExtend() and animateBridges()
2019-09-03 17:17:09 +02:00
Nipun Garg
4622fb3b80
HDB: Unstub playSound calls
2019-09-03 17:17:09 +02:00
Eugene Sandulenko
362cb060f3
HDB: Rename _drawMan -> _gfx
2019-09-03 17:17:07 +02:00
Eugene Sandulenko
f9c560fd9a
HDB: Fix warnings, const'ness
2019-09-03 17:17:06 +02:00
Eugene Sandulenko
224658a1ba
HDB: Fix Maintenance bot path finding. Still it runs too fast
2019-09-03 17:17:05 +02:00
Eugene Sandulenko
42ea7a97b0
HDB: Fire callbacks only when thier timeout is triggered
2019-09-03 17:17:05 +02:00
Eugene Sandulenko
9182e0df17
HDB: Made debug output more compact
2019-09-03 17:17:05 +02:00
Eugene Sandulenko
1f920a201e
HDB: Solve ambigious code
2019-09-03 17:17:05 +02:00
Nipun Garg
55c78f1f53
HDB: Fix formatting
2019-09-03 17:17:03 +02:00
Nipun Garg
3c44d05daa
HDB: Fix initialization error
2019-09-03 17:17:03 +02:00
Nipun Garg
e18effcce4
HDB: Rewrite _animTargets as a struct array
2019-09-03 17:17:03 +02:00
Eugene Sandulenko
4461c1b7ef
HDB: Fix warnings
2019-09-03 17:17:03 +02:00
Nipun Garg
1acba7e5bb
HDB: Update debug output
2019-09-03 17:17:02 +02:00
Nipun Garg
576a2605da
HDB: Track and assign new pointer after erasing
2019-09-03 17:17:02 +02:00
Nipun Garg
091437533e
HDB: Add debug output
2019-09-03 17:17:02 +02:00
Nipun Garg
dfa9a6bb3b
HDB: Add FIXME for out-of-bounds access
2019-09-03 17:17:02 +02:00
Nipun Garg
761c90e62a
HDB: Add functions related to _callbacks
2019-09-03 17:17:02 +02:00
Nipun Garg
922e70b723
HDB: Remove 'checkTriggerList' stub
2019-09-03 17:17:02 +02:00
Nipun Garg
0f4e637e2a
HDB: Add _luaList functions
2019-09-03 17:17:02 +02:00
Nipun Garg
0f313f3eda
HDB: Add functions related to _triggerList
2019-09-03 17:17:02 +02:00
Nipun Garg
dc0ad525cd
HDB: Add _teleporters related functions
2019-09-03 17:17:00 +02:00
Nipun Garg
a65936283d
HDB: Add _hereList functions
2019-09-03 17:17:00 +02:00