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
Johannes Schickel
56a99b1d37
PARALLACTION: Make GPL headers consistent in themselves.
2014-02-18 02:39:37 +01:00
Eugene Sandulenko
d74585b344
PARALLACTION: Initialize class. CID 1002706
2013-11-09 13:12:06 +02:00
Matthew Hoops
0031c41db8
COMMON: Change kPlatformPC to kPlatformDOS
...
"PC" was very ambiguous and now it matches what we show in the GUI.
This also corrects sword2's platform to Windows.
2013-05-02 18:43:10 -04:00
Alyssa Milburn
41d337c549
PARALLACTION: Clean up global variables a bit.
2012-09-27 22:41:51 +02:00
Johannes Schickel
3ad89a0d18
PARALLACTION: Fix memset size parameter.
2011-11-03 02:26:45 +01:00
Eugene Sandulenko
e1a311a236
PARALLACTION: Fix warnings. Fix nasty out-of-scope bug in parallaction_br.cpp
2011-11-03 00:48:14 +00: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
Max Horn
9ffc4e0151
PARALLACTION: Move MidiDriver creation into MidiPlayer(_MSC) constructors
2011-03-25 14:15:47 +01:00
David Turner
9118d2915c
PARALLACTION: Close Memory Leak in Big Red Adventure Subtitles.
...
svn-id: r55229
2011-01-13 17:26:00 +00:00
David Turner
ecdd866117
PARALLACTION: Close Memory Leak in Big Red Adventure When Changing Location.
...
svn-id: r55225
2011-01-13 15:33:15 +00:00
Nicola Mettifogo
5ba15c5ae5
Update BRA demo startup code to use the part/location handling code from r50042. Patch #3089932 by fuzzie.
...
svn-id: r53702
2010-10-22 14:21:26 +00:00
Florian Kagerer
c35e350531
AUDIO: get rid of MDT_PREFER_MIDI since it should be sufficient to either select MDT_PREFER_MT32 or MDT_PREFER_GM
...
svn-id: r50288
2010-06-25 20:51:57 +00:00
Max Horn
bbad3f333a
Patch #1956501 : "GUI/LAUNCHER: Midi device selection"
...
svn-id: r50128
2010-06-21 21:36:36 +00:00
Nicola Mettifogo
5328abe2f0
Cleanup.
...
Got rid of the legacy "location.part" string handling in BRA.
svn-id: r50042
2010-06-19 04:51:31 +00:00
Nicola Mettifogo
96d4ae0fcc
Cleanup some more state when switching part in BRA.
...
svn-id: r50041
2010-06-19 04:51:14 +00:00
Nicola Mettifogo
d7a165b9f2
Implemented PART command for BRA, largely based on patch #3005434 by fuzzie.
...
svn-id: r50039
2010-06-19 04:50:44 +00:00
Nicola Mettifogo
866e15e8b2
Apply patch 3004991 by fuzzie: don't try and run dialogues for SPEAK zones without dialogue, but run the command list anyway.
...
svn-id: r49140
2010-05-22 15:56:09 +00:00
Nicola Mettifogo
498d8000ca
Fix bug 2969257 (labels) and hopefully plug all the leaks.
...
svn-id: r48811
2010-04-27 08:59:13 +00:00
Willem Jan Palenstijn
fe51070977
Fix whitespace
...
svn-id: r48477
2010-04-02 22:14:18 +00:00
Max Horn
c8873d8492
Changed MidiDriver::createMidi to take a MidiDriverType instead of an int
...
svn-id: r46316
2009-12-09 18:12:51 +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
Nicola Mettifogo
eb5beef6a1
* Added secondary inventories for BRA.
...
* Added comments where code must be added/updated to support multiple inventories.
svn-id: r44476
2009-09-30 07:47:58 +00:00
Nicola Mettifogo
465da49782
Made BRA demos start again by partially reverting commit 39773. Multiple inventory support must be done somehow differently.
...
svn-id: r40750
2009-05-21 08:06:15 +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
8151a1d878
Removed useless references to the global _vm.
...
svn-id: r39879
2009-04-06 17:31:22 +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
20bdfe4173
Moved background and character loading code from LocationParser_br to the engine for BRA.
...
svn-id: r39814
2009-04-03 17:09:12 +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
666f0720ab
(Re)link bounding animations after location has been completely parsed. This avoids problems due to forward references.
...
svn-id: r39740
2009-03-29 13:56:16 +00:00
Nicola Mettifogo
340b0e632e
Ensure zone and animation flags are restored when a location is reloaded. This should definitely fix bug #2718462 .
...
svn-id: r39739
2009-03-29 13:17:34 +00:00
Nicola Mettifogo
f2d7875db6
Added initialization for _index and _locationIndex in Zone objects.
...
svn-id: r39723
2009-03-28 14:17:17 +00:00
Nicola Mettifogo
a9f5340cba
Save zone and animation flags when a location is closed. This fixes bug #2718462 .
...
svn-id: r39722
2009-03-28 14:03:51 +00:00
Nicola Mettifogo
8cebcaf017
Pushed down dependencies from parser.h
...
svn-id: r39636
2009-03-23 17:42:08 +00:00
Nicola Mettifogo
71f42a9549
Fully implemented scrolling.
...
svn-id: r39622
2009-03-23 00:56:05 +00:00
Travis Howell
7f99a190cb
Fix loading objects in the Amiga version of BRA.
...
svn-id: r39413
2009-03-15 09:29:25 +00:00
Travis Howell
a6497584cc
Enable music in Amiga version of BRA too.
...
svn-id: r39409
2009-03-15 06:07:57 +00:00
Nicola Mettifogo
6398e56d09
Added midi support to BRA. So far music starts, but related script commands haven't been implemented yet.
...
svn-id: r39397
2009-03-14 17:02:28 +00:00
Nicola Mettifogo
8723afd6f4
* Added a generic sound manager that hides engine-specific managers and allows accessing them through a simplified command/parameter interface.
...
* Updated client code to use the new manager.
* Moved Nippon Safes sound code from sound.cpp to sound_ns.cpp.
svn-id: r39394
2009-03-14 15:09:31 +00:00
Nicola Mettifogo
33a8fe7a7e
Initialize and save zones flags and follower position when a location switch occurs.
...
svn-id: r39064
2009-03-02 08:36:42 +00:00
Nicola Mettifogo
813bd1ac7a
Fixed overflow in flag table.
...
svn-id: r39062
2009-03-02 06:14:25 +00:00
Nicola Mettifogo
09196a35ad
Added filter to preserve needed Animation across location switch.
...
svn-id: r38903
2009-02-26 14:53:57 +00:00
Nicola Mettifogo
b76ad3dc4f
changeLocation now uses the internal variable _newLocationName instead of an input parameter.
...
svn-id: r38902
2009-02-26 14:42:03 +00:00
Nicola Mettifogo
88efc8603e
Removed null*Ptr dummy objects, using SharedPtr's reset method to null pointers instead.
...
svn-id: r38897
2009-02-26 10:44:01 +00:00
Nicola Mettifogo
3efffe511b
Fixed crashes and leaks when quitting BRA from menu and splash screen.
...
svn-id: r38893
2009-02-26 09:12:29 +00:00
Nicola Mettifogo
d5d006bb30
Cleanup of CommandExec and ProgramExec, and pushed down dependencies from exec.h.
...
svn-id: r38892
2009-02-26 06:16:35 +00:00
Nicola Mettifogo
301e9d73d1
* Rebased Parallaction_br to inherit from Parallaction instead of Parallaction_ns
...
* Same as above for CommandExec_br and ProgramExec_br
This should finally kill most issues with destruction, at the cost of some code duplication.
svn-id: r38877
2009-02-25 09:15:53 +00:00
Nicola Mettifogo
93666ef53c
Updated all for(;;) loops to use prefix increment on iterators.
...
svn-id: r38876
2009-02-25 08:53:58 +00:00