Commit Graph

32 Commits

Author SHA1 Message Date
Eugene Sandulenko
b16c5439b0 PARALLACTION: Cleanup object initialization 2016-05-28 15:26:31 +02:00
Johannes Schickel
56a99b1d37 PARALLACTION: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01: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
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
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Johannes Schickel
9734c7be64 PARALLACTION: Prefer Surface::create taking a PixelFormat over the one taking a byte depth. 2011-04-17 16:30:12 +02: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
a7a05fc053 PARALLACTION: Fix Valgrind Error When Displaying Location Balloons In Big Red Adventure.
svn-id: r55220
2011-01-13 01:39:05 +00:00
Johannes Schickel
c3366755ef PARALLACTION: Fix out of bounds access.
This is a partial commit of patch #3085298 "overflows in agi and parallaction".

svn-id: r53146
2010-10-11 17:07:34 +00:00
Willem Jan Palenstijn
fe51070977 Fix whitespace
svn-id: r48477
2010-04-02 22:14:18 +00:00
Johannes Schickel
38b2b3c04f Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).
svn-id: r48310
2010-03-20 12:56:56 +00:00
Max Horn
d0876b06ed Remove some unused variables
svn-id: r44853
2009-10-09 22:21:45 +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
e7a94e9dfe Set the right colors for dialogue text in BRA Amiga.
svn-id: r39595
2009-03-21 18:00:41 +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
6c1dc0c03b Simplified destructions of Balloon objects.
svn-id: r35521
2008-12-24 09:51:07 +00:00
Nicola Mettifogo
dc3e9027f4 Removed references to _vm from the engine itself.
svn-id: r35358
2008-12-14 10:32:26 +00:00
Nicola Mettifogo
b3475d8178 * Replaced char* with Common::String in the parser.
* Enforced const-correctness on related routines.

svn-id: r35326
2008-12-13 03:37:43 +00:00
Max Horn
0d34b772a4 Fixed a nasty bug in SearchManager::addDirectory; made the 'char' constructor of Common::String explicit, to avoid such bugs in the future
svn-id: r34660
2008-09-27 18:34:24 +00:00
Nicola Mettifogo
f2f0b04627 Implement transition when entering a new location for BRA. Not pixel-perfect, but... let's e happy about it.
svn-id: r34089
2008-08-22 00:19:12 +00:00
Nicola Mettifogo
c2089be660 * Split up blt routine (there is room for a ton of improvements)
* Added scaling as a new blt option
* Activated scaling for the main character in BRA

svn-id: r33985
2008-08-18 07:12:05 +00:00
Nicola Mettifogo
fbc9483ed2 Extended balloon manager to handle color constants and fixed color of text in balloons for BRA.
svn-id: r33940
2008-08-16 13:10:54 +00:00
Nicola Mettifogo
b08a3885a8 Multiple balloons (answers) are now positioned correctly in BRA.
svn-id: r33939
2008-08-16 12:49:27 +00:00
Torbjörn Andersson
49aff727e2 Removed unused variable.
svn-id: r33936
2008-08-16 11:50:36 +00:00
Nicola Mettifogo
41a1763fa8 Fixed half-invisible balloons.
svn-id: r33933
2008-08-16 08:57:07 +00:00
Nicola Mettifogo
4a46c99026 Removed cross-references between the general parser and the text formatter. To achieve this, I have rewritten the latter for both NS and BRA.
svn-id: r33858
2008-08-14 07:10:42 +00:00
Nicola Mettifogo
3ec28ce42c Removed debug code I forgot a long time ago ;)
svn-id: r33510
2008-08-02 02:26:09 +00:00
Nicola Mettifogo
15aada52c4 * Added a preprocessor to deal with the crappy location scripts in BRA.
* Added some comments on how the parser and related code should be changed to make things smoother.

svn-id: r33509
2008-08-02 02:24:36 +00:00
Nicola Mettifogo
8bdbbaf413 Reordered initialization lists to silence warning.
svn-id: r33432
2008-07-30 06:25:17 +00:00
Nicola Mettifogo
884b753c73 Added dialogue text rendering for BRA.
svn-id: r33402
2008-07-29 09:44:05 +00:00
Nicola Mettifogo
c8400e9725 * Fixed positioning of balloons and faces in BRA (dos, at least).
* Adapted loading of faces.

svn-id: r33392
2008-07-29 03:14:35 +00:00
Nicola Mettifogo
d387d1af0e - Moved dialogue balloon management code from Gfx to its own class
- Added a class to draw balloons in BRA (still without text and with wrong placement)

svn-id: r32902
2008-07-04 00:29:21 +00:00