389 Commits

Author SHA1 Message Date
Eric Fry
dd90652187 DRAGONS: Fixed incorrect delete on PSX audio stream. 2020-05-14 23:59:34 +10:00
mataniko
581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Eugene Sandulenko
9195ecf6ec DRAGONS: Fix typo caused by dreaded autocomplete 2020-05-10 14:07:20 +02:00
Eugene Sandulenko
61a1c515f7 DRAGONS: Fix more MSVC warnings 2020-05-10 13:38:21 +02:00
Eugene Sandulenko
96174b9cb6 DRAGONS: Fix warnings in minigame3 2020-05-10 13:38:21 +02:00
Eugene Sandulenko
ad39319544 DRAGONS: Make MSVC happier with minigames 2020-05-10 13:38:21 +02:00
Eugene Sandulenko
b07bce9c33 DRAGONS: Remove unnecessary type casts. Poor MSVC got confused 2020-05-10 13:38:21 +02:00
Eugene Sandulenko
eeb91e8143 DRAGONS: Fix MSVC warning 2020-05-10 13:38:21 +02:00
D G Turner
ec153bbb68 DRAGONS: Fix Signed Overflow GCC Compiler Warnings 2020-05-09 19:35:23 +01:00
D G Turner
89e8b823b0 DRAGONS: Fix Set-But-Unused Variable GCC Compiler Warnings 2020-05-09 06:32:50 +01:00
D G Turner
348661c08d DRAGONS: Fix memset() Usage in LoadingScreenState Constructor
This was not clearing the full member variables as the size of the
elements was not multiplied by the number of elements.

This was flagged up by a GCC compiler warning.
2020-05-09 06:16:19 +01:00
Eugene Sandulenko
544d339a33 DRAGONS: Fix resource leak 2020-05-06 19:11:46 +02:00
Eugene Sandulenko
5c6260794a DRAGONS: Initialize another variable 2020-05-06 19:11:46 +02:00
Eugene Sandulenko
3c03b4bfc2 DRAGONS: Untangled minor mess in cutscenes too for consistency 2020-05-04 17:59:54 +02:00
Eugene Sandulenko
436670ed4f DRAGONS: Untangled hyper-mess in cutscene.cpp 2020-05-04 17:50:40 +02:00
Eugene Sandulenko
1387a13922 DRAGONS: Added assert to potentially problematic place 2020-05-04 17:32:55 +02:00
Eugene Sandulenko
ed05c3b760 DRAGONS: Fixed potential division by zero 2020-05-04 17:30:48 +02:00
Eugene Sandulenko
0c221d479b DRAGONS: Fixed assert 2020-05-04 17:28:39 +02:00
Eugene Sandulenko
d3cd15e48b DRAGONS: Refactored CutScene::changeBackgroundPosition() 2020-05-04 17:25:04 +02:00
Eugene Sandulenko
163bfdd9ae DRAGONS: Init Talk class 2020-05-04 16:40:47 +02:00
Eugene Sandulenko
5e73d8d1af DRAGONS: Add constructor to scneneUpdater 2020-05-04 16:39:21 +02:00
Eugene Sandulenko
0b2e2af350 DRAGONS: Init cursors 2020-05-04 16:33:25 +02:00
Eugene Sandulenko
0e0870632a DRAGONS: Init minigame2 2020-05-04 16:15:59 +02:00
Eugene Sandulenko
ae6d2ed689 DRAGONS: Init Credits class 2020-05-04 16:12:49 +02:00
Eugene Sandulenko
8663b76ab9 DRAGONS: Fix Acror class initialization 2020-05-04 16:11:48 +02:00
Eugene Sandulenko
64da850234 DRAGONS: Init variables in minigame4 2020-05-04 15:59:15 +02:00
Eugene Sandulenko
de5367bd7a DRAGONS: More class initializations 2020-05-04 15:57:21 +02:00
Eugene Sandulenko
159186c353 DRAGONS: Init class variables 2020-05-04 15:53:58 +02:00
Eugene Sandulenko
4c735979a6 DRAGONS: Initialize struct members on creation 2020-05-04 12:43:14 +02:00
Eugene Sandulenko
af531d6fc7 DRAGONS: Fix more memory leaks 2020-05-04 12:35:06 +02:00
Eugene Sandulenko
2a23de7f4f DRAGONS: Plug memory leak 2020-05-04 12:30:58 +02:00
Eugene Sandulenko
fdc9cbb6a3 DRAGONS: Fix another potential buffer overrun 2020-05-04 12:29:10 +02:00
Eugene Sandulenko
c4b42a2800 DRAGONS: Avoid global constuctors 2020-05-04 12:16:51 +02:00
Eugene Sandulenko
131e54b3bb DRAGONS: Fix warnings 2020-05-04 12:16:36 +02:00
Eugene Sandulenko
7c446460bc DRAGONS: Fix potential buffer overrun 2020-05-04 12:16:13 +02:00
Eugene Sandulenko
c46b35ac5a DRAGONS: Initialize variable 2020-04-28 10:42:58 +02:00
Eugene Sandulenko
8f13da50fa JANITORIAL: Code formatting 2020-04-28 10:42:36 +02:00
Eugene Sandulenko
dcaea3c255 DRAGONS: Commenting out dangerous code
These local arrays seems to be unused, but something tells me, that
in fact, in the original they were part of a struct with variable
which follows it used as second element.

These arrays are 10 bytes long, but there is an attempt to copy
600 bytes into them with unsafe strcpy().

If this breaks the game, then these places need a full rework.
2020-04-27 23:27:47 +02:00
D G Turner
ba26ec684b DRAGONS: Remove Set But Not Used Variable In Talk Class
This looks like an 80 character buffer which is initialized to spaces and
a null terminator, but is never used in the existing code. This can be
removed as it is causing a compiler warning.
2020-04-19 18:48:40 +01:00
Max Horn
08b4639cbb ALL: fix a bunch of const warnings
Also while add it, constify some code
2020-04-17 22:41:11 +01:00
Eric Fry
10de235f7c DRAGONS: Added fading stub methods 2020-03-23 22:57:41 +11:00
Eric Fry
21778dcb80 DRAGONS: Added power meters to thumb wrestling mini game 2020-03-20 23:16:57 +11:00
Eric Fry
aaaea78b3b DRAGONS: Added map screen transition effects
Fixed overrun bug with loading screen flames
2020-03-19 23:30:42 +11:00
Eric Fry
19fe35216f DRAGONS: Add fake loading screen when starting a new game 2020-03-15 14:03:00 +11:00
Eric Fry
4a7f8c18c5 DRAGONS: replace NULL with nullptr 2020-03-14 14:39:06 +11:00
Eric Fry
28a82bb1e2 DRAGONS: More work on main menu logic 2020-03-13 22:22:54 +11:00
Eric Fry
530206ed33 DRAGONS: Fixed bug when showing actors 2020-03-12 09:56:35 +11:00
Eric Fry
bd463a89d8 DRAGONS: Added support for wrapping backgrounds.
Used for dance battle and castle fog effects
2020-03-12 09:56:35 +11:00
Eric Fry
bbe0b262e5 DRAGONS: Free video decoder and handle failure to load video file 2020-03-09 19:08:30 +11:00
Eric Fry
6af35ed45d DRAGONS: Started on main menu support 2020-03-07 23:06:02 +11:00