31 Commits

Author SHA1 Message Date
Nicola Mettifogo
33093f3452 made hi-level graphics routine use Common::Rect instead of (x,y,w,h) t-uples
svn-id: r26121
2007-03-13 19:59:45 +00:00
Nicola Mettifogo
cf816f54d9 removed useless routines (maybe leftovers from the amiga conversion)
svn-id: r26116
2007-03-12 22:45:50 +00:00
Nicola Mettifogo
6f0dda093a renamed Graphics class to Gfx and Parallaction::_graphics to Parallaction::_gfx to shorten lines and avoid aliasing with framework's Graphics
svn-id: r26111
2007-03-12 20:41:25 +00:00
Nicola Mettifogo
3b5c330cef wrapped active location data into a new structure
svn-id: r26085
2007-03-11 14:14:08 +00:00
Nicola Mettifogo
23b7c2aec5 should stop Q's Visual Studio from complaining
svn-id: r26079
2007-03-11 01:06:54 +00:00
Nicola Mettifogo
7d03e1ebf4 more refactoring
svn-id: r26076
2007-03-11 00:04:50 +00:00
Nicola Mettifogo
72ef7093fa some refactoring
svn-id: r26072
2007-03-10 22:13:47 +00:00
Nicola Mettifogo
096579ecbc commented nasty hack in the original code
svn-id: r26071
2007-03-10 21:31:59 +00:00
Nicola Mettifogo
479c8bdc18 character loading/freeing routines now also handle Heads and Talks, instead of having scattered code around
svn-id: r26059
2007-03-10 14:52:33 +00:00
Nicola Mettifogo
b440bc1a03 wrapped loader routines into a new class named Disk. The new class is also responsible for handling Archives in place of the Parallaction engine.
svn-id: r25972
2007-03-04 13:27:29 +00:00
Nicola Mettifogo
c727205dae replaced memAlloc/memFree with standard malloc/free
svn-id: r25962
2007-03-04 08:58:23 +00:00
Nicola Mettifogo
6d958e9f30 added loaders for static images like pickable items and for characters frames
svn-id: r25940
2007-03-02 23:13:13 +00:00
Nicola Mettifogo
753d83f946 enforced convention on loader names: load[ItemType]
svn-id: r25937
2007-03-02 22:26:39 +00:00
Nicola Mettifogo
c122d83c0e changed every font name to be platform independent, added font loader routine
svn-id: r25935
2007-03-02 22:18:37 +00:00
Nicola Mettifogo
1af8258325 added openTalk as loader for talk resources
svn-id: r25931
2007-03-02 21:47:35 +00:00
Nicola Mettifogo
b2927b69c6 changed font handling:
- engine doesn't see font as a low-level Cnv anymore
- the Graphics class takes care of freeing memory on font changes

svn-id: r25900
2007-02-27 19:39:33 +00:00
Nicola Mettifogo
cacff9a9f2 wrapped archive routines into a new class named Archive. File-level static variables have been made members of the new class.
svn-id: r25866
2007-02-25 20:35:47 +00:00
Nicola Mettifogo
d689187aa3 made hi-level parsing routines (Zone, Commands, Dialogue, Animation) rely on Script objects for input.
svn-id: r25743
2007-02-20 16:54:55 +00:00
Nicola Mettifogo
07077a2be4 first step in parser simplification
svn-id: r25733
2007-02-19 22:34:00 +00:00
Torbjörn Andersson
24a36cbb3f Changed spaces to tabs again.
svn-id: r25656
2007-02-17 16:06:34 +00:00
Nicola Mettifogo
e29ddfe156 more conventional termination handling. Event loops are going to get merged soon, so there are FIXME remainders around there.
svn-id: r25655
2007-02-17 15:57:49 +00:00
Torbjörn Andersson
f33da9e412 Some indentation and format changes. Mostly replacing spaces with tabs.
svn-id: r25654
2007-02-17 15:37:49 +00:00
Eugene Sandulenko
d910b545c5 More skip_whitespace -> Common::ltrim(). For real now.
svn-id: r25577
2007-02-14 00:36:06 +00:00
Nicola Mettifogo
6cbdf9ad59 fixed bug: dialogue questions don't clutter the screen anymore when user is selecting an answer
svn-id: r25429
2007-02-08 21:56:51 +00:00
Nicola Mettifogo
65dfc335ef fixed bug in dialogue parsing code: available answers now really depend on game flags
svn-id: r25427
2007-02-08 21:08:54 +00:00
Torbjörn Andersson
0a18259d78 Used Fingolfin's workaround for a bogus (?) warning produced by some versions
of GCC. (Not the one he's using, though, which is why I'm doing this instead.)

svn-id: r25327
2007-02-01 20:16:32 +00:00
Nicola Mettifogo
74b655f8df fixed casting bug as suggested by fingolfin on tracker item #1648325
svn-id: r25304
2007-01-31 10:21:36 +00:00
Nicola Mettifogo
3be5b0cca2 fixed out-of-bounds error causing random crashes in dialogues
svn-id: r25215
2007-01-26 23:26:28 +00:00
Nicola Mettifogo
da096e4b17 added more debug messages
svn-id: r25214
2007-01-26 23:24:12 +00:00
Max Horn
abb7d49bca Fixing const related warnings in the parallaction engine
svn-id: r25095
2007-01-15 21:14:34 +00:00
Eugene Sandulenko
e5c7ce83b8 Initial import of Parallaction engine
svn-id: r25083
2007-01-14 21:29:12 +00:00