Commit Graph

46 Commits

Author SHA1 Message Date
Nicola Mettifogo
d881196681 replaced some x,y/left,top pairs with Common::Point
svn-id: r26262
2007-03-20 20:46:09 +00:00
Nicola Mettifogo
fe5660400f made Animation a subclass of Zone (finally!)
svn-id: r26244
2007-03-19 21:49:41 +00:00
Nicola Mettifogo
992f535724 Made loadFrames return a new Cnv instead of accepting a parameter.
svn-id: r26231
2007-03-18 21:08:28 +00:00
Nicola Mettifogo
f14a5c17f2 - Made global Node's (_zones, _animations, _helperNode) and the functions using them members of the engine.
- Added a constructor for Node

svn-id: r26226
2007-03-18 19:35:54 +00:00
Nicola Mettifogo
c1f84742f9 changed remaining stuff to Common::Point and got rid of custom Point and Rect
svn-id: r26216
2007-03-18 17:22:07 +00:00
Nicola Mettifogo
0e370a4162 converted DoorData and Zone to Common::Point
svn-id: r26215
2007-03-18 17:17:21 +00:00
Nicola Mettifogo
919985e4df converted input and labels to Common::Point
svn-id: r26214
2007-03-18 17:12:48 +00:00
Nicola Mettifogo
13385a5f2d Made loadObjects return a new Cnv instead of accepting a parameter.
svn-id: r26202
2007-03-18 10:34:41 +00:00
Nicola Mettifogo
ec58e9ac05 Made loadHead return a new Cnv instead of accepting a parameter.
svn-id: r26200
2007-03-18 10:25:46 +00:00
Nicola Mettifogo
35cebe2444 Made loadTalk return a new Cnv instead of accepting a parameter.
svn-id: r26199
2007-03-18 10:20:38 +00:00
Nicola Mettifogo
74f7a90886 renamed structures to be more general
svn-id: r26184
2007-03-17 20:51:13 +00:00
Nicola Mettifogo
54201ddaa9 split Zone::_oldPosition in two members
svn-id: r26182
2007-03-17 20:19:16 +00:00
Nicola Mettifogo
d7f31cf55d Flattened anonymous union in Zone. Its members have been partially merged.
svn-id: r26181
2007-03-17 19:48:48 +00:00
Nicola Mettifogo
f272d19570 cleanup
svn-id: r26179
2007-03-17 17:52:30 +00:00
Nicola Mettifogo
aca3cfad51 cleanup
svn-id: r26166
2007-03-17 13:19:30 +00:00
Nicola Mettifogo
48460e2ea6 - Made Node a superclass for Zone, WalkNode, Command, Instruction, Program and Job.
- Moved Job list management inside Parallaction (because constructors for global variables are not always invoked on some platforms)

svn-id: r26164
2007-03-17 13:14:50 +00:00
Nicola Mettifogo
cb5c3840ed minor cleanup
svn-id: r26161
2007-03-17 08:06:45 +00:00
Nicola Mettifogo
b515721ed8 some renaming to shorten lines
svn-id: r26159
2007-03-17 07:55:16 +00:00
Nicola Mettifogo
1ef774b2ee gathered character related stuff into a new struct Character, and modified calling code accordingly
svn-id: r26158
2007-03-17 07:52:47 +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
63ae591e5f Disk is now completely responsible for retrieving localized location scripts
svn-id: r26094
2007-03-11 16:53:20 +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
06434f6eef some simplification for changeLocation
svn-id: r26083
2007-03-11 13:01:11 +00:00
Nicola Mettifogo
f17cd6a577 some refactoring for music management
svn-id: r26080
2007-03-11 10:50:52 +00:00
Nicola Mettifogo
7d03e1ebf4 more refactoring
svn-id: r26076
2007-03-11 00:04:50 +00:00
Nicola Mettifogo
08cc2e4b27 changed kEngineMiniDonna to a more appropriate kEngineTransformedDonna
svn-id: r26075
2007-03-10 22:56:32 +00:00
Nicola Mettifogo
93d910bf2d simplified character mode handling
svn-id: r26074
2007-03-10 22:55:09 +00:00
Nicola Mettifogo
72ef7093fa some refactoring
svn-id: r26072
2007-03-10 22:13:47 +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
948213d5a0 deleted useless code
svn-id: r26025
2007-03-08 20:07:27 +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
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
Eugene Sandulenko
b825fb858f Add support for MIDI music. THough the music is not yet heard since
there are no instrument assignments yet.

svn-id: r25774
2007-02-21 21:42:37 +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
b6a10e10ef changed parseComment to use Script stream instead of file
svn-id: r25739
2007-02-20 09:52:07 +00:00
Nicola Mettifogo
5886d3ed7f cleanup and small fixes
svn-id: r25738
2007-02-20 09:17:28 +00:00
Nicola Mettifogo
07077a2be4 first step in parser simplification
svn-id: r25733
2007-02-19 22:34:00 +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
Nicola Mettifogo
75fab28be2 cleanup
svn-id: r25562
2007-02-13 21:06:13 +00:00
Nicola Mettifogo
f0cdab74a5 added load/save support
svn-id: r25496
2007-02-11 21:17:37 +00:00
Nicola Mettifogo
e3b9bda909 changed handling of zone labels to match original engine
svn-id: r25376
2007-02-04 08:12:33 +00:00
Eugene Sandulenko
d3b0ff8ade Reduce dependency from common/advancedDetector.h
svn-id: r25156
2007-01-21 20:24:38 +00:00
Nicola Mettifogo
0147a83180 fixed ordering of engine jobs: no more known graphics glitches
svn-id: r25146
2007-01-21 11:05:22 +00:00
Max Horn
abb7d49bca Fixing const related warnings in the parallaction engine
svn-id: r25095
2007-01-15 21:14:34 +00:00
Nicola Mettifogo
3545af0275 fixed pointer casting in InputData management
svn-id: r25093
2007-01-15 20:11:49 +00:00
Eugene Sandulenko
e5c7ce83b8 Initial import of Parallaction engine
svn-id: r25083
2007-01-14 21:29:12 +00:00