OSDN Git Service

ver0.632
[awarsiii/AwarsIV.git] / Awars III / StringText.h
1 //
2 //  StringText.h
3 //  Awars III
4 //
5 //  Created by Killery on 2012/12/31.
6 //  Copyright (c) 2012年 Killery. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import "EventScene.h"
11 #import "ScenarioList.h"
12
13 typedef struct _SVALUE{
14     struct _SVALUE *next;
15     NSString *slct;
16     NSString *jump;
17     NSString *fName;
18
19 }SVALUE;
20
21 typedef struct _NVALUE{
22     struct _NVALUE *next;
23     NSString *title;
24     NSString *value;
25     NSString *key;
26     
27 }NVALUE;
28
29 typedef struct _STANDIMAGE{
30
31     struct _STANDIMAGE *next;
32     
33     NSImage *imgStand;
34     NSString *name;
35     int standPossition;
36     int standWidth;
37     int standHeight;
38     int standX;
39     int standY;
40     
41     int SEMA1row;
42     int SEMA2row;
43     int *SEMA3flag;
44     
45     bool delClear;
46     bool delNew;
47     
48 }STANDIMAGE;
49
50 typedef struct _STRING{
51     struct _STRING *next;
52     int index;
53     NSString *name;
54     NSString *string;
55     
56     STANDIMAGE *i;
57     
58     NSImage *img;
59     NSString *iName;//##
60     
61     NSImage *imgStand;
62     NSString *iNameStand;//$$
63     int standPossition;
64     int standWidth;
65     int standHeight;
66     /*
67     int standX;
68     int standY;
69     
70     int SEMA1row;
71     int SEMA2row;
72     int *SEMA3flag;
73     */
74     NSImage *imgWall;
75     NSString *iNameWall;//%%
76     NSString *iNameWallSort;//%%4つ目
77     
78     NSString *jumpName;//@@
79     NSString *labelName;//&&
80     NSString *namingName;//≠≠
81     
82     struct _NVALUE *N;//≠≠
83     struct _SVALUE *S;//**
84     
85     NSMutableArray *selectionName;//**
86     
87     NSMutableArray *flagName;//¥¥
88     
89     bool wallFadeIn;
90     bool wallFadeOut;
91     bool wallChanged;
92
93 }STRING;
94
95 STRING *ST;
96
97 STANDIMAGE *STItop;
98
99 bool mouseClicked;
100 bool mouseDowned;
101 bool mouseHolding;
102
103 @interface StringText : NSObject
104 {
105     NSTimer *timer;
106     
107     NSArray *fileDataArray;
108     
109     IBOutlet NSTextField *TFCname;
110     IBOutlet NSTextField *TFdialog;
111     IBOutlet NSImageView *IVface;
112     IBOutlet NSImageView *IVwall;
113     IBOutlet NSImageView *IVbackGround;
114     
115     STRING *STtop;
116     int dialogLengh;
117     int dialogNumber;
118     int dialogMax;
119 }
120
121 -(void)AddString:(STRING**)top:(int)no;
122
123 -(void)InitStringList;
124 @end
125
126
127