Le Philousophe
8055e2d14c
HDB: Don't use unsafe sprintf and vsprintf
2022-10-23 22:46:19 +02:00
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
c5868e1611
HDB: Add sanity checks
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
Strangerke
b29317c0b0
HDB: Janitorial - Fix some code formatting
2019-09-03 17:17:35 +02:00
Eugene Sandulenko
4d186571d5
HDB: Fix closed loops with laser beams
...
Nipun was able to construct such position in Map28 which led to a closed
loop and the game hung.
We're inserting a watchdog here now.
2019-09-03 17:17:35 +02:00
Nipun Garg
0ca9c2fbcc
HDB: Remove unnecessary warnings
2019-09-03 17:17:34 +02:00
Nipun Garg
c75e14cabb
HDB: Remove redundant warning
2019-09-03 17:17:30 +02:00
Eugene Sandulenko
67d45170ed
HDB: More code differences for demo
2019-09-03 17:17:29 +02:00
Strangerke
29c7a6cc4a
HDB: More clean up in ai-bots
2019-09-03 17:17:28 +02:00
Strangerke
becfce8bfc
HDB: More cleanup in ai-bots
2019-09-03 17:17:28 +02:00
Eugene Sandulenko
951943ecec
HDB: Reduce header dependency
2019-09-03 17:17:28 +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
c3d0f49538
HDB: Reduce header dependency
2019-09-03 17:17:27 +02:00
Eugene Sandulenko
b845e70102
HDB: Reduce header dependency
2019-09-03 17:17:27 +02:00
Nipun Garg
1b9e2f36f1
HDB: Fix aiFatFrogTongueDraw()
2019-09-03 17:17:26 +02:00
Strangerke
01bf7aa811
HDB: Fix some more CppCheck warnings, use static const in various functions
2019-09-03 17:17:25 +02:00
Strangerke
0d989250ee
HDB: Fix some CppCheck warnings in ai-bots
2019-09-03 17:17:25 +02:00
Eugene Sandulenko
fe0082b4d6
HDB: Fix warnings
2019-09-03 17:17:21 +02:00
Eugene Sandulenko
eb9af0c7ee
HDB: Fix getRandumNumber() usage in ai-bots.cpp
2019-09-03 17:17:20 +02:00
Eugene Sandulenko
c71426e2f8
HDB: Fix warnings
2019-09-03 17:17:16 +02:00
Eugene Sandulenko
168ca5fc0d
HDB: Used transparent alpha blitting
2019-09-03 17:17:14 +02:00
Nipun Garg
0ca3f5bd7f
HDB: Add Bots splitter-comments
2019-09-03 17:17:13 +02:00
Nipun Garg
7bf9cc945c
HDB: Add Laser functions
2019-09-03 17:17:12 +02:00
Nipun Garg
22ca561f4a
HDB: Add _laserRescan and _laserOnScreen
2019-09-03 17:17:12 +02:00
Nipun Garg
20f7bf6df8
HDB: Add FatFrog functions
2019-09-03 17:17:12 +02:00
Eugene Sandulenko
6feed893de
HDB: Fix warning
2019-09-03 17:17:12 +02:00
Nipun Garg
1b924b23b9
HDB: Add Dragon functions
2019-09-03 17:17:12 +02:00
Nipun Garg
b8a2ed94c6
HDB: Add BuzzFly code
2019-09-03 17:17:12 +02:00
Nipun Garg
ff7de3179a
HDB: Add icePuff functions
2019-09-03 17:17:12 +02:00
Nipun Garg
8d4dea4bc3
HDB: Add GatePuddle functions
2019-09-03 17:17:12 +02:00
Nipun Garg
c3f409d0c9
HDB: Add BadFairy functions
2019-09-03 17:17:12 +02:00
Nipun Garg
5ed21d12df
HDB: Move Bots gfx into _ai class
2019-09-03 17:17:11 +02:00
Nipun Garg
ad8f857595
HDB: Move Bots gfx into _gfx
2019-09-03 17:17:11 +02:00
Nipun Garg
0751cedb08
HDB: Remove '#if 0' conditionals
2019-09-03 17:17:11 +02:00
Nipun Garg
002f8edd48
HDB: Add GoodFairy functions
2019-09-03 17:17:11 +02:00
Nipun Garg
26c1c9440c
HDB: Add Meerkat functions
2019-09-03 17:17:11 +02:00
Nipun Garg
64cd74d1b2
HDB: Add aiDiverterAction()
2019-09-03 17:17:11 +02:00
Nipun Garg
bcbe095ef8
HDB: Commet out non-compiling code
2019-09-03 17:17:11 +02:00
Nipun Garg
d356756e6d
HDB: Add Diverter functions
2019-09-03 17:17:11 +02:00
Nipun Garg
4622fb3b80
HDB: Unstub playSound calls
2019-09-03 17:17:09 +02:00
Nipun Garg
7d08524b77
HDB: Shift Bots stubs to ai-bots.cpp
2019-09-03 17:17:08 +02:00
Eugene Sandulenko
4461c1b7ef
HDB: Fix warnings
2019-09-03 17:17:03 +02:00
Eugene Sandulenko
72173c26d0
HDB: Fix warnings
2019-09-03 17:17:02 +02:00