Debian Codegraph @

gcc/testsuite/gm2/projects/pim/run/pass/tower/DrawG.def

raw
1 DEFINITION MODULE DrawG ;
2
3 FROM AdvSystem IMPORT PlayerSet ;
4 EXPORT QUALIFIED DrawMan, EraseMan, DrawDoor, DrawTreasure,
5 EraseTreasure, DrawArrow, EraseArrow,
6 DisplayMessage ;
7
8
9 (* All these procedures to draw on the screens - are Global *)
10 (* Ie they will draw to all the screens that are within *)
11 (* the area of effect. *)
12
13
14 PROCEDURE DrawMan (p: CARDINAL) ;
15
16 PROCEDURE EraseMan (p: CARDINAL) ;
17
18
19 (* DrawDoor draws a door on every screen possible ie all that *)
20 (* are in this particular area. Hence the coordinates need *)
21 (* to be absolute NOT relative! *)
22
23 PROCEDURE DrawDoor (RoomOfDoor, IndexToDoor: CARDINAL) ;
24
25 PROCEDURE DrawTreasure (room, x, y: CARDINAL) ;
26
27 PROCEDURE EraseTreasure (room, x, y: CARDINAL) ;
28
29 PROCEDURE DrawArrow (room, x, y, dir: CARDINAL ; VAR playerscreen: PlayerSet) ;
30
31 PROCEDURE EraseArrow (x, y: CARDINAL ; playerscreen: PlayerSet; flush: BOOLEAN) ;
32
33 PROCEDURE DisplayMessage (a1, a2, a3: ARRAY OF CHAR) ;
34
35
36 END DrawG.