Le Philousophe
9a5f51864a
PARALLACTION: Don't use unsafe sprintf and vsprintf
2022-10-23 22:46:19 +02:00
Le Philousophe
a21b7eb75a
PARALLACTION: Don't use unsafe strcat and strcpy
2022-10-23 22:46:19 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
b458ea47dd
PARALLACTION: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
sluicebox
674ed112aa
JANITORIAL: Update more old bug tracker numbers
...
I missed the six digit ones and a few others in:
93eeffc84d
2021-06-09 14:28:52 -06:00
ysj1173886760
3909daf6a2
PARALLACTION: move debug channels to metaEngineDetection
2021-05-22 01:34:57 +02:00
Paul Gilbert
e8dc9b3747
PARALLACTION: Refactor to use Engine debugger
2020-02-16 13:07:19 +02:00
D G Turner
deb6dc5357
PARALLACTION: Fix Missing Default Switch Cases
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-20 21:15:43 +01:00
Colin Snover
8da86418bf
PARALLACTION: Fix use-after-free on quit
...
Parallaction::_gfx is referenced by objects destroyed when
Parallaction::_input is destroyed so it cannot be destroyed first.
2018-08-01 16:44:51 +01:00
Eugene Sandulenko
8a3b57803f
PARALLACTION: Use Common::strlcpy instead of strncpy as suggested by LordHoto
2016-05-04 23:57:34 +02:00
Eugene Sandulenko
5cfbb176e7
PARALLACTION: Use strncpy
2016-05-04 21:15:58 +02:00
Eugene Sandulenko
d5b4f8ee7e
PARALLACTION: Init class variables
2016-05-04 21:15:58 +02:00
Johannes Schickel
56a99b1d37
PARALLACTION: Make GPL headers consistent in themselves.
2014-02-18 02:39:37 +01:00
Eugene Sandulenko
9cf199cb42
PARALLACTION: Initialize class variables. CID 1002708
2013-11-09 13:15:47 +02:00
Eugene Sandulenko
c9ae0a46dd
PARALLACTION: Initialize class variables. CID 1002707
2013-11-09 13:13:56 +02:00
Willem Jan Palenstijn
e7b38a7c2a
PARALLACTION: Cleanup
2013-04-15 20:35:43 +02:00
Alyssa Milburn
41d337c549
PARALLACTION: Clean up global variables a bit.
2012-09-27 22:41:51 +02:00
Alyssa Milburn
d7b74ed5b1
PARALLACTION: Remove unused function.
2012-09-27 22:33:04 +02:00
Tarek Soliman
edc5249772
JANITORIAL: Fix template definition whitespace
2012-02-10 21:17:27 -06:00
Filippos Karapetis
0c468901e1
PARALLACTION: Code formatting (and trying to keep clone2727 happy! :P )
2011-09-29 02:17:11 +03:00
Filippos Karapetis
57177e98aa
PARALLACTION: Fixed bug #2969915 - "NIPPON: Disguise changing back and forth"
...
A regression from commit 18b48c7
. The name of the normal Donna actor is
"donna", whereas it's "donnatras" for the disguised one, so strstr()
seems to be wrong here. This fixes the bug and it shouldn't cause any
further regressions. Also, changed the relevant code to conform to our
code convention guidelines - it's quite a bad idea to not enclose a
whole big code block in brackets, as it becomes hard to read.
2011-09-29 02:00:31 +03:00
Max Horn
88913c0139
ALL: Remove trailing whitespaces
...
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
Max Horn
4cbe4ede66
COMMON: Registers RandomSources in constructor with the event recorder
...
This also removes the dependency of engines on the event recorder header
and API, and will make it easier to RandomSources that are not properly
registered.
2011-05-17 12:17:26 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
dhewg
5b6479c55a
PARALLACTION: Init volume levels on startup
2011-03-19 16:04:55 +01:00
Nicola Mettifogo
dd7bc67f82
Replaced char* with Common::String in balloon code.
...
svn-id: r55590
2011-01-28 13:24:32 +00:00
David Turner
14d74d2063
PARALLACTION: Fix Un-initialized Memory Errors and Leaks in Nippon Safes Amiga Demo.
...
These were found using Valgrind.
svn-id: r55369
2011-01-21 03:25:01 +00:00
David Turner
28e7ea8c22
PARALLACTION: Fix Valgrind Error on Engine Exit.
...
The automatic destruction of engine member "_char" of type Character at end of the destructor causes an invalid read in the destruction of the AnimationPtr which is a SharedPtr. To stop this happening, the SharedPtr is reset() prior to the destruction of Gfx, so it's dependencies on Gfx are still present. This will affect Nippon Safes as well as Big Red Adventure, but is unlikely to cause any issues and it is likely this exists in NS as well.
Thanks to fuzzie for this code.
svn-id: r55233
2011-01-14 00:13:27 +00:00
Arnaud Boutonné
d063b074cd
JANITORIAL: Suppress some useless includes
...
svn-id: r55091
2011-01-02 14:06:42 +00:00
Nicola Mettifogo
d19d9991b2
PARALLACTION: do not skip commands on Examine zones if there is no text to show. This fixes bug #3135782 .
...
svn-id: r54882
2010-12-12 11:43:23 +00:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Torbjörn Andersson
c91a07229a
JANITORIAL: Removed most punctuation at end of warning() and error()
...
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.
svn-id: r52791
2010-09-18 10:55:16 +00:00
Nicola Mettifogo
95f6a71f36
Cleanup (removed many Parallaction::getGameType() calls).
...
svn-id: r49146
2010-05-22 17:59:49 +00:00
Nicola Mettifogo
2f5cb946bb
Finish implementation of hitZone and related functions as from the original code.
...
svn-id: r49145
2010-05-22 17:59:33 +00:00
Nicola Mettifogo
b4813f9b18
Apply patch 3004687 by fuzzie: allow usage of merge zones.
...
svn-id: r49144
2010-05-22 17:59:16 +00:00
Nicola Mettifogo
d56352cbd5
Use the kZoneYourself flag to check zones for self-use in BRA. See patch 3003626.
...
svn-id: r49138
2010-05-22 12:37:07 +00:00
Nicola Mettifogo
bc479f8aef
Make sure hitZone always gets absolute game coordinates. Based on the patch 3004658 by fuzzie.
...
svn-id: r49135
2010-05-22 03:49:22 +00:00
Nicola Mettifogo
f84b232443
Add a parser for HEAR zones in BRA, and handle the relative MUSIC command. Patch 3003382 by fuzzie, with enhancements.
...
svn-id: r49105
2010-05-19 17:16:15 +00:00
Nicola Mettifogo
cbee7eebd4
Do not try and run dialogues when there is no dialogue defined in a SPEAK zone. Patch 3003382 by fuzzie.
...
svn-id: r49103
2010-05-19 16:54:42 +00:00
Max Horn
970745e60c
Move DebugChannel related code to new header
...
svn-id: r48935
2010-05-04 11:59:22 +00:00
Nicola Mettifogo
a0d55ca586
Make sure dialogue manager is destroyed on quit.
...
svn-id: r48847
2010-04-28 23:11:34 +00:00
Max Horn
460d69e885
COMMON: Move DebugChannel stuff into a new DebugMan singleton
...
svn-id: r48821
2010-04-27 21:40:52 +00:00
Max Horn
8ba75fc522
Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
...
svn-id: r44495
2009-09-30 16:16:53 +00:00
Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +00:00
Nicola Mettifogo
9108871833
Added in-game menu for BRA. Load/save is not supported yet.
...
svn-id: r40176
2009-04-28 12:25:41 +00:00
Nicola Mettifogo
0e05ec8cc8
Cleanup of Balloon and Dialogue code:
...
* moved version-specific code into DialogueManager's derivatives
* reworked construction of BalloonManager's derivatives
* moved a couple of globals used in dialogues (NS specific) to engine
svn-id: r39878
2009-04-06 17:21:23 +00:00
Nicola Mettifogo
58df840a13
Moved Nippon Safes specific code from Parallaction to Parallaction_ns and adapted client code.
...
svn-id: r39813
2009-04-03 16:32:47 +00:00
Nicola Mettifogo
86a1926c19
Added basic multiple inventory support. This will be used for the GIVE and SWAP commands.
...
svn-id: r39773
2009-03-31 15:45:44 +00:00
Nicola Mettifogo
b08b0f64af
Character doesn't need a reference to the engine anymore.
...
svn-id: r39770
2009-03-31 06:49:44 +00:00