Johannes Schickel
56a99b1d37
PARALLACTION: Make GPL headers consistent in themselves.
2014-02-18 02:39:37 +01:00
Strangerke
b603ea0223
PARALLACTION: Janitorial - Fix spacing errors
2013-11-24 01:40:35 +01:00
Alyssa Milburn
41d337c549
PARALLACTION: Clean up global variables a bit.
2012-09-27 22:41:51 +02:00
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Tarek Soliman
edc5249772
JANITORIAL: Fix template definition whitespace
2012-02-10 21:17:27 -06:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
D G Turner
96965b4896
PARALLACTION: Fix BRA Compilation After Common Header Changes.
2011-04-30 18:12:50 +01:00
Max Horn
73f04118f3
COMMON: Rename Error to ErrorCode, introduce new Error class
2011-04-18 18:22:02 +02:00
Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
4ccce19876
ENGINES: Enhance namespace comments a bit
...
svn-id: r53484
2010-10-15 12:48:19 +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
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
a0d55ca586
Make sure dialogue manager is destroyed on quit.
...
svn-id: r48847
2010-04-28 23:11:34 +00:00
Willem Jan Palenstijn
ee63bf51bd
Fix Nippon Safes test result label memory leak
...
svn-id: r48837
2010-04-28 21:50:54 +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
Travis Howell
397553cc56
Fix bug #2970141 - NIPPON: Crash at end of the game (regression). By reverting part of the changes to Parallaction_ns::cleanupGame() in revision 34939.
...
svn-id: r48480
2010-04-03 04:48:20 +00:00
Travis Howell
a55cb7fa10
Fix bug #2979193 - NIPPON: Crash at character introduction (regression). By restoring the kEngineBlockInput engine flag.
...
svn-id: r48464
2010-04-02 12:51:42 +00:00
Max Horn
d78dba3bca
COMMON: Move Common::RandomSource to common/random.*
...
svn-id: r48279
2010-03-18 15:07:11 +00:00
Max Horn
df651bf20f
Added Doxygen comments for the various engine namespaces (currently mostly without details; help filling these out is welcome)
...
svn-id: r46128
2009-11-24 22:10:14 +00:00
Max Horn
51933629d1
Changed foo(void) to foo() in almost all non-backend source files
...
svn-id: r45616
2009-11-02 21:54:57 +00:00
Nicola Mettifogo
9be8a6e4f6
Simplified inventory handling (too much information hiding will kill you).
...
svn-id: r44485
2009-09-30 13:41:19 +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
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
Nicola Mettifogo
34c2546fdd
Added declaration for Amiga BRA callables.
...
svn-id: r39741
2009-03-29 14:03:11 +00:00
Nicola Mettifogo
8cebcaf017
Pushed down dependencies from parser.h
...
svn-id: r39636
2009-03-23 17:42:08 +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
Max Horn
f9ecd95d69
Whitespace cleanup: Convert space followed by tab to just tab
...
svn-id: r39203
2009-03-07 19:24:31 +00:00
Nicola Mettifogo
f1044e85b2
Fixed selection of zone and animation for removal in BRA. This enables the follower animation to follow the main character across location switches.
...
svn-id: r39065
2009-03-02 08:44:30 +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
Max Horn
3fcbda829a
Merged Engine::go() and ::init() into a new run() method (currently implemented by calling the existing init&go methods; to be cleaned up by engine authors
...
svn-id: r39002
2009-03-01 04:30:55 +00:00
Nicola Mettifogo
44906f574f
The engine has now to build the drawing list for the graphic department, instead of setting visibility flags; the new field _prog has been added to GfxObj to help sorting the list.
...
The outcome is that cleaning up unused resources on location switches is now easier to manage, and less error prone.
svn-id: r38928
2009-02-27 08:56:19 +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
76283e3f73
Merged walk code for NS, and simplified handling.
...
svn-id: r38894
2009-02-26 09:42:08 +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
6334125d1c
Implemented follower support, except that:
...
* follower is forgotten when location changes (see freeLocation)
* the final walking frame is screwed
svn-id: r38838
2009-02-24 11:20:45 +00:00
Nicola Mettifogo
5dff53a2fa
Added preliminary code for following walker support in BRA.
...
svn-id: r38837
2009-02-24 09:18:20 +00:00
Nicola Mettifogo
659c9fb901
Changed interface to walk code, to better handle the differences between games. Moreover:
...
* merged PathBuilder_BR into PathWalker_BR
* implemented checkTrap routine for BRA
svn-id: r38836
2009-02-24 08:42:46 +00:00
Nicola Mettifogo
9bef5a0cfc
Rewrote the sarcophagus puzzle in Nippon Safes, since I finally understood how it was implemented in the original!
...
svn-id: r38816
2009-02-23 11:55:25 +00:00
Nicola Mettifogo
edaf382d2f
* Refactored drawAnimations to be more easily extensible when adding game-specific features.
...
* Added a new zonesToUpdate list to keep track of movable zones.
svn-id: r38815
2009-02-23 11:50:10 +00:00
Nicola Mettifogo
5cf67c6ed7
Implemented Engine::getDebugger().
...
svn-id: r35768
2009-01-07 15:30:38 +00:00
Nicola Mettifogo
fa1d881ad4
Implemented pauseEngineIntern, and fixed music volume handling in SoundMan.
...
svn-id: r35756
2009-01-06 16:21:23 +00:00