OSDN Git Service

ゲームのAT調整
[awarsiii/AwarsIV.git] / Awars III / MapEditor.h
1 //
2 //  MapEditor.h
3 //  Awars III
4 //
5 //  Created by Killery on 2012/12/06.
6 //  Copyright (c) 2012年 Killery. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import "MapChipList.h"
11 #import "BuildChipList.h"
12 #import "ChipView.h"
13 #import "SeedView.h"
14 #import "MapView.h"
15 #import "LoadChipList.h"
16
17 typedef struct _BGMUSIC{
18
19     NSString *name;
20     NSString *fName;
21     NSSound *snd;
22
23 }BGMUSIC;
24
25 typedef struct _SEFFECT{
26     
27     NSString *name;
28     NSString *fName;
29     NSSound *snd;
30     
31 }SEFFECT;
32
33 typedef struct _GAMEOVER{
34
35     NSString *fNname;
36     NSImage *img;
37     bool gaovFlag;
38     bool edcdFlag;
39
40 }GAMEOVER;
41
42 typedef struct _STAGECLEAR{
43
44     bool scFlag;
45     bool edcdFlag;
46
47 }STAGECLEAR;
48
49 struct _MAPSCRIPT0;
50
51 typedef struct _ENDGAMECONDITION{
52     
53     int endType1;
54     int endType2;
55     
56     NSString *etValue1[64];
57     NSString *etValue2[64];
58     
59 }ENDGAMECONDITION;
60 typedef struct _MAPSCRIPT1{
61     //文章スクリプト
62     NSString *name;
63     NSString *str;
64     NSImage *img;
65     NSString *iName;
66     NSString *nameID;
67
68 }MAPSCRIPT1;
69
70 typedef struct _MAPSCRIPT2A{
71
72     struct _MAPSCRIPT2A *next;
73     
74     struct _MAPSCRIPT0 *P;
75     
76 }MAPSCRIPT2A;
77
78 typedef struct _MAPSCRIPT2{
79     //文章選択肢スクリプト
80     
81     struct _MAPSCRIPT2 *next;
82     
83     NSString *selection;
84     NSString *labelJump;
85     
86     
87 }MAPSCRIPT2;
88
89 typedef struct _MAPSCRIPT3{
90
91     struct _MAPSCRIPT3 *next;
92     
93     int x;
94     int y;
95     bool flag;
96     
97     int type;
98     int team;
99     
100     UNITCHIP U;
101     int unitNum;
102
103     int loadInt;
104 }MAPSCRIPT3;
105
106 typedef struct _MAPSCRIPT5{
107     
108     struct _MAPSCRIPT5 *next;
109     
110     int x;
111     int y;
112     
113     int type;
114     int team;
115     
116     UNITCHIP U;
117     int unitNum;
118     
119     int saveInt;
120 }MAPSCRIPT5;
121
122 typedef struct _PLACEMENT{
123
124     struct _PLACEMENT *next;
125     
126     int type;
127     int x;
128     int y;
129     int z;
130     int x2;
131     int y2;
132
133 }PLACEMENT;
134
135 typedef struct _UNIT2{
136
137     struct _UNIT2 *next;
138     UNITCHIP C;
139     
140     int team;
141     int x;
142     int y;
143
144 }UNIT2;
145
146 typedef struct _BUILD2{
147     
148     struct _BUILD2 *next;
149     struct _BUILDCHIP *C;
150     
151     int team;
152     int x;
153     int y;
154     
155 }BUILD2;
156
157 typedef struct _MAPSCRIPT4{
158     
159     NSString *COMPrabel;
160     NSString *FAILrabel;
161     
162     bool suicchiFlag;
163     int *suicchi;
164     bool suicchiONOFF;
165     
166     bool hensuFlag;
167     int hensu1;
168     bool teisuFlag;
169     int teisuValue;
170     bool hensu2flag;
171     int hensu2;
172     int hensuType;
173     
174     bool timerFlag;
175     int timerMin;
176     int timerSec;
177     int timerType;
178     
179     bool unitNumFlag;
180     int team;
181     int unitNum;
182     int unitType;
183     bool unitTypeFlag;
184     UNIT2 *subj;
185     bool placeFlag;
186     PLACEMENT *wayp;
187     bool unitCMDflag;
188     int unitCMD;
189     bool objeFlag;
190     UNIT2 *obje;
191     int objeRange;
192     bool buildFlag;
193     BUILD2 *build;
194     
195     
196 }MAPSCRIPT4;
197
198 typedef struct _MAPSCRIPT6{
199     
200     int team;
201     
202     bool RCsupply;
203     bool RCfood;
204     bool RCmoney;
205     
206     bool RCsupplyAdd;
207     bool RCfoodAdd;
208     bool RCmoneyAdd;
209     
210     int RCsupplyValue;
211     int RCfoodValue;
212     int RCmoneyValue;
213     
214     int RCsupplySelect;
215     int RCfoodSelect;
216     int RCmoneySelect;
217     
218     bool RCsupplyS;
219     bool RCfoodS;
220     bool RCmoneyS;
221 }MAPSCRIPT6;
222
223
224 typedef struct _MAPSCRIPT0{
225     struct _MAPSCRIPT0 *next;
226     
227     bool endFlag;
228     
229     int type;
230     bool succeessfulFlag;
231     struct _MAPSCRIPT1 S1;
232     struct _MAPSCRIPT2 *S2;
233     struct _MAPSCRIPT3 *S3;
234     struct _MAPSCRIPT4 S4;
235     struct _MAPSCRIPT5 *S5;
236     struct _MAPSCRIPT6 S6;
237     int indent;
238     
239     NSString *label;
240     NSString *labelJump;
241     NSString *memo;
242     
243     int *switch1;
244     int *switch2;
245     
246     int val;
247     int valCnt;
248     
249     int timerMin;
250     int timerSec;
251     int timerEntire;
252     bool timerFlag;
253     bool timerVisible;
254     bool timerRun;
255     bool timerMode;
256     double wait;
257     
258     UNITCHIP U;
259     int unitAction;
260     
261     BGMUSIC BGM;
262     SEFFECT SE;
263     
264     bool titleBack;
265     
266     STAGECLEAR sc;
267     GAMEOVER gaov;
268     
269 }MAPSCRIPT0;
270
271 typedef struct _MAPSCRIPTD{
272
273     struct _MAPSCRIPTD *next;
274     struct _MAPSCRIPT0 *P;
275     int index;
276     int x;
277     int y;
278     int type;
279     bool endFlag;
280     double ET1;
281     double ET2;
282     double ET3;
283     double ET4;
284     int ETtype;
285     
286     int *switch1;
287     int *switch2;
288     bool switch1f;
289     bool switch2f;
290     NSMutableArray *SCRPT;
291     
292 }MAPSCRIPTD;
293
294 typedef struct _MAPSCRIPT{
295     
296     ENDGAMECONDITION EGClight;
297     ENDGAMECONDITION EGCdark;
298     
299     int playerSet1;
300     int playerSet2;
301     bool battleSetMode;
302     
303     bool scenarioSetMode;
304     int scenarioNumbCrnt;
305     int scenarioNumbNext;
306     int guildListRegist[4096];
307     int guildListRegistNum11;
308     int guildListRegistNum12;
309     int guildListRegist2[4096];
310     int guildListRegistNum21;
311     int guildListRegistNum22;
312     
313     NSMutableArray *SCRPTname;
314     struct _MAPSCRIPTD *D;
315     
316 }MAPSCRIPT;
317
318 typedef struct _MAPFILE{
319
320     NSString *fileName;
321
322     MAPSCRIPT MS;
323
324 }MAPFILE;
325
326 typedef struct _EVENTIMAGE{
327
328     struct _EVENTIMAGE *next;
329     
330     NSString *name;
331     
332     NSImage *img;
333
334 }EVENTIMAGE;
335
336 bool loadChipSideFlag;
337
338 MAPFILE MF[512];
339 ENDGAMECONDITION EGC[2];
340 EVENTIMAGE *EIMG;
341 EVENTIMAGE *EIMGtop;
342 NSString *CEIMG;
343 int EIMGN;
344
345 int MapChipMax;
346 int BuildChipMax;
347 int UnitChipMax;
348 int LoadChipMax;
349
350 int MapChipListIndex;
351 int BuildChipListIndex;
352 int UnitChipListIndex;
353 int LoadChipListIndex;
354
355 bool saveMapChipFlag;
356 bool loadMapChipFlag;
357 bool mapSizeChangedFlag;
358 bool initMapChipNumbFlag;
359 bool loadMapListSubmitFlag;
360 bool saveMapListSubmitFlag;
361
362 int postHeight;
363 int postWidth;
364
365 int MFselectedRow;
366 NSString *saveMapDataName;
367
368
369 bool EEGCslctFlag;
370 bool EEGCslctFlag2;
371 int EEGCslctCnt;
372 int etValueCnt;
373
374 int EDtextImageRow;
375
376 int EEGC1row;
377 int EEGC2row;
378
379 int eventListRow;
380
381 bool eventPosFlag;
382
383 NSInteger ELrow;
384 NSInteger EDrow;
385 int squareCnt;
386 bool editFlag;
387 bool insertFlag;
388
389 NSInteger EDselRow;
390
391 bool mapLoadFlagForMSD;
392 bool mapLoadFlagForMSD2;
393 MAPSCRIPTD *MSDTOPP;//一番もとの先頭
394 MAPSCRIPTD *MSDTOP;//一番先頭
395 MAPSCRIPTD *msdtop;//スクリプト上の先頭
396
397
398 bool Suicchi[9999];
399 bool SuicchiONOFFsentakuflag;
400 bool SuicchiSentakuflag;
401 int HensuuNum;
402 NSString *Hensuu[65000];
403 int HensuuMin;
404 int HensuuMax;
405 NSString *HensuuName[65000];
406 int EDvarHensuSet1Row;
407 int EDvarHensuSet2Row;
408 bool hensuuFlag;
409
410 bool selectionDBLclickFlag;
411 bool suicchiDBLslickFlag;
412 bool timerDBLslickFlag;
413 bool labelDBLclickFlag;
414 bool labeljumpDBLclickFlag;
415 bool memoDBLclickFlag;
416 bool appearDBLclickFlag;
417 bool dissappearDBLclickFlag;
418
419 int *ichijihensuS1;
420
421 bool EDproceedFlag;
422
423 bool EQmodeFlag;
424
425 bool battleSetMode;
426 int playerSet1;
427 int playerSet2;
428 bool scenarioSetMode;
429 int scenarioNumbCrnt;
430 int scenarioNumbNext;
431
432 NSRect scCenter;
433 NSInteger headerFrame;
434
435 bool EDappearFlag;
436 bool EDappearPosFlag;
437 int EDappearListRow;
438 int EDappearListRow2;
439
440 bool EDdissappearFlag;
441 bool EDdissappearPosFlag;
442 int EDdissappearListRow;
443
444 MAPSCRIPT0 *MS0T;
445 MAPSCRIPT3 *MS3T;
446 MAPSCRIPT5 *MS5T;
447
448 int EDBGMListRow;
449 int EDSEListRow;
450
451 BGMUSIC BGM[999];
452 SEFFECT SE[9999];
453 int bgmNum;
454 int seNum;
455
456 bool EDbranchFlag;
457 bool EDbranchBH1Flag;
458 bool EDbranchBH2Flag;
459 int EDbranchBUrow;
460 int EDbranchBProw;
461 int EDbranchBOrow;
462 int EDbranchBBrow;
463 bool EDbranchUnitFlag;
464 bool EDbranchPlaceFlag;
465 bool EDbranchPlaceTenFlag;
466 bool EDbranchPlaceHaniFlag;
467 bool EDbranchPlaceHani2Flag;
468 bool EDbranchPlaceHani3Flag;
469 bool EDbranchPlaceKukeiFlag;
470 bool EDbranchPlaceKukei2Flag;
471 bool EDbranchObjeFlag;
472 bool EDbranchBuildFlag;
473
474 bool EDresourceflag;
475 bool EDresourceflag1;
476 bool EDresourceflag2;
477 bool EDresourceflag3;
478
479 bool fuckingRetardedBtnPushed1;
480
481 int fileNumb;
482
483 int eventGuildListRow;
484 bool eventGUildListFlag;
485
486 NSTimer *timeMapEditor;
487
488 @interface MapEditor : NSObject
489 {
490     
491     
492     IBOutlet NSImageView *topIV;
493     IBOutlet NSTextField *topName;
494     IBOutlet NSTextField *topHealth;
495     
496     IBOutlet NSButtonCell *EDSWON;
497     IBOutlet NSButtonCell *EDSWOFF;
498     IBOutlet NSTextField *EDSWTF;
499     IBOutlet NSWindow *EDSwitchWindow2;
500     
501     
502     
503     
504     IBOutlet NSTextField *EDeventTimeTF1;
505     IBOutlet NSTextField *EDeventTimeTF2;
506     IBOutlet NSPopUpButton *EDeventTrigger;
507     
508     
509     IBOutlet NSTextField *TFcurrentChipIndex;
510     
511     IBOutlet NSPanel *PMCL;
512     IBOutlet NSPanel *PBCL;
513     IBOutlet NSPanel *PUCL;
514     IBOutlet NSPanel *PLCL;
515     
516     IBOutlet NSWindow *MapEditorWindow;
517     NSPoint windowPoint;
518     
519     IBOutlet NSWindow *TitleWindow;
520     
521     IBOutlet NSPanel *mapSizeWindow;
522     IBOutlet NSTextField *mapSizeHeight;
523     IBOutlet NSTextField *mapSizeWidth;
524     
525     
526     IBOutlet NSPanel *loadMapWindow;
527     NSMutableArray *loadMapListMA;
528     IBOutlet NSArrayController *loadMapListAC;
529     IBOutlet NSTableView *loadMapListTV;
530     
531     IBOutlet NSPanel *saveMapWindow;
532     NSMutableArray *saveMapListMA;
533     IBOutlet NSArrayController *saveMapListAC;
534     IBOutlet NSTableView *saveMapListTV;
535     IBOutlet NSTextField *saveMapTF;
536     
537     
538     
539     IBOutlet NSWindow *eventWindow;
540     NSMutableArray *eventListMA;
541     IBOutlet NSArrayController *eventListAC;
542     IBOutlet NSTableView *eventListTV;
543     
544     IBOutlet NSButton *eventCheckBtn;
545     IBOutlet NSPopUpButton *eventPopupBtn;
546     NSMutableArray *eventPosMA;
547     IBOutlet NSArrayController *eventPosAC;
548     IBOutlet NSTableView *eventPosTV;
549     
550     IBOutlet NSPopUpButton *eventPlayerSetPUB1;
551     IBOutlet NSPopUpButton *eventPlayerSetPUB2;
552     IBOutlet NSButton *eventBattleDetailBtn;
553     
554     
555     IBOutlet NSWindow *eventEndGameCondition;
556     IBOutlet NSPopUpButton *EPUB1;
557     IBOutlet NSPopUpButton *EPUB2;
558     NSMutableArray *EEGC1MA;
559     IBOutlet NSArrayController *EEGC1AC;
560     IBOutlet NSTableView *EEGC1TV;
561     NSMutableArray *EEGC2MA;
562     IBOutlet NSArrayController *EEGC2AC;
563     IBOutlet NSTableView *EEGC2TV;
564     
565     IBOutlet NSTextField *EEGCstr;
566     
567     NSMutableArray *EEGC01MA;
568     IBOutlet NSArrayController *EEGC01AC;
569     IBOutlet NSTableView *EEGC01TV;
570     IBOutlet NSTextField *EEGC01str;
571     IBOutlet NSTextField *EEGC012str;
572     
573     NSMutableArray *EEGC02MA;
574     IBOutlet NSArrayController *EEGC02AC;
575     IBOutlet NSTableView *EEGC02TV;
576     IBOutlet NSTextField *EEGC02str;
577     IBOutlet NSTextField *EEGC022str;
578     
579     short EEGCflag;
580     
581     IBOutlet NSWindow *eventDetailWindow;
582     NSMutableArray *eventDetailListMA;
583     IBOutlet NSArrayController *eventDetailListAC;
584     IBOutlet NSTableView *eventDetailListTV;
585     
586     NSMutableArray *EDswitch1MA;
587     IBOutlet NSArrayController *EDswitch1AC;
588     IBOutlet NSTableView *EDswitch1TV;
589     
590     NSMutableArray *EDswitch2MA;
591     IBOutlet NSArrayController *EDswitch2AC;
592     IBOutlet NSTableView *EDswitch2TV;
593     
594     NSMutableArray *EDvariableMA;
595     IBOutlet NSArrayController *EDvariableAC;
596     IBOutlet NSTableView *EDvariableTV;
597     IBOutlet NSTextField *EDvariableTF;
598     
599     IBOutlet NSPopUpButton *EDitemPUB;
600     IBOutlet NSPopUpButton *EDunitPUB;
601     
602     IBOutlet NSTextField *EDnameTF;
603     IBOutlet NSButton *EDswitch1Btn;
604     IBOutlet NSButton *EDswitch2Btn;
605     IBOutlet NSButton *EDvariableBtn;
606     IBOutlet NSButton *EDitemBtn;
607     IBOutlet NSButton *EDunitBtn;
608     
609     IBOutlet NSWindow *eventDetailSelectionWindow;
610     
611     IBOutlet NSWindow *EDtextWindow;
612     IBOutlet NSTextField *EDtextName;
613     IBOutlet NSTextField *EDtextString;
614     IBOutlet NSImageView *EDtextImage;
615     
616     IBOutlet NSWindow *EDtextImageWindow;
617     NSMutableArray *EDtextImageMA;
618     IBOutlet NSArrayController *EDtextImageAC;
619     IBOutlet NSTableView *EDtextImageTV;
620     IBOutlet NSButtonCell *EDtextImageButton1;
621     IBOutlet NSButtonCell *EDtextImageButton2;
622     IBOutlet NSButtonCell *EDtextImageButton3;
623     NSInteger EDtextImageButtonValue;
624     
625     IBOutlet NSWindow *EDselectionWindow;
626     NSMutableArray *EDselectionMA;
627     IBOutlet NSArrayController *EDselectionAC;
628     IBOutlet NSTableView *EDselectionTV;
629     bool EDselectionEditing;
630     IBOutlet NSTextField *EDselectionTF;
631     IBOutlet NSTextField *EDselectionTF2;
632     
633     
634     IBOutlet NSWindow *EDvalueWindow;
635     
636     NSMutableArray *EDvalueMA;
637     IBOutlet NSArrayController *EDvalueAC;
638     IBOutlet NSTableView *EDvalueTV;
639  
640     
641     IBOutlet NSWindow *EDswitchWindow;
642     IBOutlet NSTextField *EDswitchTF;
643     
644     IBOutlet NSWindow *EDvarWindow;
645     NSMutableArray *EDvarMA;
646     IBOutlet NSArrayController *EDvarAC;
647     IBOutlet NSTableView *EDvarTV;
648     IBOutlet NSTextField *EDvarTF1;
649     IBOutlet NSTextField *EDvarTF2;
650     IBOutlet NSButtonCell *EDvarButtonT;
651     IBOutlet NSButtonCell *EDvarButtonI;
652     IBOutlet NSButtonCell *EDvarButton1;
653     IBOutlet NSButtonCell *EDvarButton2;
654     IBOutlet NSButtonCell *EDvarButton3;
655     IBOutlet NSButtonCell *EDvarButton4;
656     IBOutlet NSButtonCell *EDvarButton5;
657     IBOutlet NSButtonCell *EDvarButton6;
658     IBOutlet NSButtonCell *EDvarButtonA;
659     IBOutlet NSButtonCell *EDvarButtonB;
660     IBOutlet NSButtonCell *EDvarButtonC;
661     IBOutlet NSButtonCell *EDvarButtonD;
662     IBOutlet NSButtonCell *EDvarButtonE;
663     IBOutlet NSButtonCell *EDvarButtonF;
664     IBOutlet NSButtonCell *EDvarButtonG;
665     IBOutlet NSTextField *EDvarTeisu;
666     NSMutableArray *EDvarHensuMA;
667     IBOutlet NSArrayController *EDvarHensuAC;
668     IBOutlet NSTableView *EDvarHensuTV;
669     IBOutlet NSTextField *EDvarRansu1;
670     IBOutlet NSTextField *EDvarRansu2;
671     IBOutlet NSPopUpButton *EDvarItem;
672     IBOutlet NSPopUpButton *EDvarUnit1;
673     IBOutlet NSPopUpButton *EDvarUnit2;
674     IBOutlet NSPopUpButton *EDvarEtc;
675     
676     IBOutlet NSWindow *EDvarSetWindow;
677     NSMutableArray *EDvarHensuSet1MA;
678     IBOutlet NSArrayController *EDvarHensuSet1AC;
679     IBOutlet NSTableView *EDvarHensuSet1TV;
680     NSMutableArray *EDvarHensuSet2MA;
681     IBOutlet NSArrayController *EDvarHensuSet2AC;
682     IBOutlet NSTableView *EDvarHensuSet2TV;
683     IBOutlet NSTextField *EDvarMax;
684     IBOutlet NSTextField *EDvarName;
685     
686
687     IBOutlet NSWindow *EDtimerWindow;
688     IBOutlet NSButtonCell *EDtimerButton1;
689     IBOutlet NSButtonCell *EDtimerButton2;
690     IBOutlet NSTextField *EDtimerTF1;
691     IBOutlet NSTextField *EDtimerTF2;
692     
693     IBOutlet NSWindow *EDtermsWindow;
694     
695     
696     
697     
698     
699     
700     
701     
702     
703     
704     IBOutlet NSWindow *EDlabelWindow;
705     IBOutlet NSTextField *EDlabelTF;
706     
707     IBOutlet NSWindow *EDlabelJumpWindow;
708     IBOutlet NSTextField *EDlabelJumpTF;
709     
710     IBOutlet NSWindow *EDmemoWindow;
711     IBOutlet NSTextField *EDmemoTF;
712     
713     IBOutlet NSWindow *EDresourceWindow;
714     IBOutlet NSButton *EDresourceBtn1;
715     IBOutlet NSButton *EDresourceBtn2;
716     IBOutlet NSButton *EDresourceBtn3;
717     IBOutlet NSButtonCell *EDresourceButton1;
718     IBOutlet NSButtonCell *EDresourceButton2;
719     IBOutlet NSButtonCell *EDresourceButton3;
720     IBOutlet NSButtonCell *EDresourceButton4;
721     IBOutlet NSButtonCell *EDresourceButton5;
722     IBOutlet NSButtonCell *EDresourceButton6;
723     IBOutlet NSButtonCell *EDresourceButtonS1;
724     IBOutlet NSButtonCell *EDresourceButtonS2;
725     IBOutlet NSButtonCell *EDresourceButtonS3;
726     IBOutlet NSButtonCell *EDresourceButtonS4;
727     IBOutlet NSButtonCell *EDresourceButtonS5;
728     IBOutlet NSButtonCell *EDresourceButtonS6;
729     IBOutlet NSTextField *EDresourceTF1;
730     IBOutlet NSTextField *EDresourceTF2;
731     IBOutlet NSTextField *EDresourceTF3;
732     NSMutableArray *EDresourceMA1;
733     IBOutlet NSArrayController *EDresourceAC1;
734     IBOutlet NSTableView *EDresourceTV1;
735     NSMutableArray *EDresourceMA2;
736     IBOutlet NSArrayController *EDresourceAC2;
737     IBOutlet NSTableView *EDresourceTV2;
738     NSMutableArray *EDresourceMA3;
739     IBOutlet NSArrayController *EDresourceAC3;
740     IBOutlet NSTableView *EDresourceTV3;
741     IBOutlet NSTextField *EDresourceTeam;
742     
743     IBOutlet NSWindow *EDitemWindow;
744     
745     
746     
747     
748     
749     
750     IBOutlet NSWindow *EDmemberWindow;
751     
752     
753     
754     
755     
756     
757     IBOutlet NSWindow *EDhpWindow;
758     IBOutlet NSButtonCell *EDhpButton1;
759     IBOutlet NSButtonCell *EDhpButton2;
760     IBOutlet NSButtonCell *EDhpButtonA;
761     IBOutlet NSButtonCell *EDhpButtonB;
762     IBOutlet NSTextField *EDhpTF;
763     NSMutableArray *EDhp1MA;
764     IBOutlet NSArrayController *EDhp1AC;
765     IBOutlet NSTableView *EDhp1TV;
766     NSMutableArray *EDhp2MA;
767     IBOutlet NSArrayController *EDhp2AC;
768     IBOutlet NSTableView *EDhp2TV;
769     
770     IBOutlet NSWindow *EDmpWindow;
771     IBOutlet NSButtonCell *EDmpButton1;
772     IBOutlet NSButtonCell *EDmpButton2;
773     IBOutlet NSButtonCell *EDmpButtonA;
774     IBOutlet NSButtonCell *EDmpButtonB;
775     IBOutlet NSTextField *EDmpTF;
776     NSMutableArray *EDmp1MA;
777     IBOutlet NSArrayController *EDmp1AC;
778     IBOutlet NSTableView *EDmp1TV;
779     NSMutableArray *EDmp2MA;
780     IBOutlet NSArrayController *EDmp2AC;
781     IBOutlet NSTableView *EDmp2TV;
782     
783     IBOutlet NSWindow *EDstatus;
784     IBOutlet NSPopUpButton *EDstpubA;
785     IBOutlet NSButtonCell *EDstButtonA11;
786     IBOutlet NSButtonCell *EDstButtonA12;
787     IBOutlet NSButtonCell *EDstButtonA13;
788     IBOutlet NSButtonCell *EDstButtonA21;
789     IBOutlet NSButtonCell *EDstButtonA22;
790     IBOutlet NSTextField *EDstTFA;
791     NSMutableArray *EDstA1MA;
792     IBOutlet NSArrayController *EDstA1AC;
793     IBOutlet NSTableView *EDstA1TV;
794     NSMutableArray *EDstA2MA;
795     IBOutlet NSArrayController *EDstA2AC;
796     IBOutlet NSTableView *EDstA2TV;
797     
798     IBOutlet NSPopUpButton *EDstpubB;
799     IBOutlet NSButtonCell *EDstButtonB11;
800     IBOutlet NSButtonCell *EDstButtonB12;
801     IBOutlet NSButtonCell *EDstButtonB13;
802     IBOutlet NSButtonCell *EDstButtonB21;
803     IBOutlet NSButtonCell *EDstButtonB22;
804     IBOutlet NSTextField *EDstTFB;
805     NSMutableArray *EDstB1MA;
806     IBOutlet NSArrayController *EDstB1AC;
807     IBOutlet NSTableView *EDstB1TV;
808     NSMutableArray *EDstB2MA;
809     IBOutlet NSArrayController *EDstB2AC;
810     IBOutlet NSTableView *EDstB2TV;
811     
812     IBOutlet NSButtonCell *EDTimerSet1A;
813     IBOutlet NSButtonCell *EDTimerSet1B;
814     IBOutlet NSButtonCell *EDTimerSet2A;
815     IBOutlet NSButtonCell *EDTimerSet2B;
816     IBOutlet NSButtonCell *EDTimerSet3A;
817     IBOutlet NSButtonCell *EDTimerSet3B;
818     IBOutlet NSTextField *EDTimerTF1;
819     IBOutlet NSTextField *EDTimerTF2;
820     
821     
822     IBOutlet NSWindow *EDAppearWindow;
823     NSMutableArray *EDAppear1MA;
824     IBOutlet NSArrayController *EDAppear1AC;
825     IBOutlet NSTableView *EDAppear1TV;
826     NSMutableArray *EDAppear2MA;
827     IBOutlet NSArrayController *EDAppear2AC;
828     IBOutlet NSTableView *EDAppear2TV;
829     IBOutlet NSButtonCell *EDAppearBC1;
830     IBOutlet NSButtonCell *EDAppearBC2;
831     
832     IBOutlet NSWindow *EDWaitWindow;
833     IBOutlet NSTextField *EDWaitTF;
834     
835     IBOutlet NSWindow *EDBGMWindow;
836     NSMutableArray *EDBGMMA;
837     IBOutlet NSArrayController *EDBGMAC;
838     IBOutlet NSTableView *EDBGMTV;
839     
840     IBOutlet NSWindow *EDSEWindow;
841     NSMutableArray *EDSEMA;
842     IBOutlet NSArrayController *EDSEAC;
843     IBOutlet NSTableView *EDSETV;
844     
845     IBOutlet NSWindow *EDtileBackWindow;
846     
847     IBOutlet NSWindow *EDGameOverWindow;
848     IBOutlet NSButton *EDGameOverBtn;
849     IBOutlet NSTextField *EDGameOverTF;
850     IBOutlet NSImageView *EDGameOverIV;
851     
852     IBOutlet NSWindow *EDStageClearWindow;
853     IBOutlet NSButton *EDStageClearBtn;
854     
855     IBOutlet NSButton *EDbranchSuicchi;
856     IBOutlet NSButton *EDbranchHensu;
857     IBOutlet NSButton *EDbranchTeisu;
858     IBOutlet NSButton *EDbranchHensu2;
859     IBOutlet NSButton *EDbranchTimer;
860     IBOutlet NSButton *EDbranchETC;
861     NSMutableArray *EDbranchSuicchiMA;
862     IBOutlet NSArrayController *EDbranchSuicchiAC;
863     IBOutlet NSTableView *EDbranchSuicchiTV;
864     NSMutableArray *EDbranchHensuMA;
865     IBOutlet NSArrayController *EDbranchHensuAC;
866     IBOutlet NSTableView *EDbranchHensuTV;
867     IBOutlet NSTextField *EDbranchTeisuTF;
868     NSMutableArray *EDbranchHensu2MA;
869     IBOutlet NSArrayController *EDbranchHensu2AC;
870     IBOutlet NSTableView *EDbranchHensu2TV;
871     IBOutlet NSTextField *EDbranchTimerMinTF;
872     IBOutlet NSTextField *EDbranchTimerSecTF;
873     IBOutlet NSPopUpButton *EDbranchPUB11;
874     IBOutlet NSPopUpButton *EDbranchPUB12;
875     IBOutlet NSPopUpButton *EDbranchPUB13;
876     
877     IBOutlet NSTextField *EDbranchJumpLabelFalse;
878     IBOutlet NSTextField *EDbranchJumpLabelTrue;
879     IBOutlet NSButton *EDbranchUnitNum;
880     IBOutlet NSButton *EDbranchUnitSelect;
881     IBOutlet NSButton *EDbranchUnitPlace;
882     IBOutlet NSButton *EDbranchUnitElect;
883     IBOutlet NSButton *EDbranchUnitObje;
884     IBOutlet NSButton *EDbranchUnitBuild;
885     IBOutlet NSTextField *EDbranchUnitTeam;
886     IBOutlet NSTextField *EDbranchUnitValue;
887     NSMutableArray *EDbranchUnitMA;
888     IBOutlet NSArrayController *EDbranchUnitAC;
889     IBOutlet NSTableView *EDbranchUnitTV;
890     NSMutableArray *EDbranchPlaceMA;
891     IBOutlet NSArrayController *EDbranchPlaceAC;
892     IBOutlet NSTableView *EDbranchPlaceTV;
893     NSMutableArray *EDbranchObjeMA;
894     IBOutlet NSArrayController *EDbranchObjeAC;
895     IBOutlet NSTableView *EDbranchObjeTV;
896     IBOutlet NSTextField *EDbranchObjeRange;
897     NSMutableArray *EDbranchBuildMA;
898     IBOutlet NSArrayController *EDbranchBuildAC;
899     IBOutlet NSTableView *EDbranchBuildTV;
900     IBOutlet NSPopUpButton *EDbranchPUB21;
901     IBOutlet NSPopUpButton *EDbranchPUB22;
902
903     IBOutlet NSWindow *EDbrachSuicchiWindow;
904     IBOutlet NSTextField *EDbrachSuicchiTF;
905     IBOutlet NSWindow *EDbrachPlaceHaniWindow;
906     IBOutlet NSTextField *EDbrachPlaceHaniTF;
907     
908     IBOutlet NSWindow *EDdissappearWindow;
909     NSMutableArray *EDdissappearMA;
910     IBOutlet NSArrayController *EDdissappearAC;
911     IBOutlet NSTableView *EDdissappearTV;
912     IBOutlet NSWindow *EDdissappearSubmitWindow;
913     
914     IBOutlet NSButton *eventScenarioModeBtn;
915     IBOutlet NSTextField *eventScenarioCrntTF;
916     IBOutlet NSTextField *eventScenarioNextTF;
917     
918     
919     IBOutlet NSWindow *eventGuildListWindow;
920
921     NSMutableArray *eventGuildListMA;
922     IBOutlet NSArrayController *eventGuildListAC;
923     IBOutlet NSTableView *eventGuildListTV;
924     IBOutlet NSTextField *eventGuildTF1;
925     IBOutlet NSTextField *eventGuildTF2;
926     IBOutlet NSButtonCell *eventGuildBC1;
927     IBOutlet NSButtonCell *eventGuildBC2;
928     IBOutlet NSButton *eventGuildBTN;
929     
930     
931     IBOutlet NSWindow *EDhpFixWindow;
932     
933     IBOutlet NSButtonCell *EDhpFixBC1;
934     IBOutlet NSButtonCell *EDhpFixBC2;
935     IBOutlet NSButtonCell *EDhpFixBC3;
936     IBOutlet NSButtonCell *EDhpFixBC4;
937     IBOutlet NSTextField *EDhpFixTF1;
938     IBOutlet NSTextField *EDhpFixTF2;
939     IBOutlet NSButton *EDhpFixBtn;
940     
941     NSMutableArray *EDhpFixListMA1;
942     IBOutlet NSArrayController *EDhpFixListAC1;
943     IBOutlet NSTableView *EDhpFixListTV1;
944     NSMutableArray *EDhpFixListMA2;
945     IBOutlet NSArrayController *EDhpFixListAC2;
946     IBOutlet NSTableView *EDhpFixListTV2;
947     NSMutableArray *EDhpFixListMA3;
948     IBOutlet NSArrayController *EDhpFixListAC3;
949     IBOutlet NSTableView *EDhpFixListTV3;
950     
951     
952 }
953
954 -(IBAction)EDhpFixPlace:(id)sender;
955 -(IBAction)EDhpFixValue:(id)sender;
956 -(IBAction)EDhpFixSubmit:(id)sender;
957 -(IBAction)EDhpFixCancel:(id)sender;
958
959 -(IBAction)eventGuildBtnCell:(id)sender;
960 -(IBAction)eventGuildBtn:(id)sender;
961 -(IBAction)eventGuildBtnSubmit:(id)sender;
962
963 -(IBAction)EDSWOKbtn:(id)sender;
964 -(IBAction)EDSWCancelbtn:(id)sender;
965
966 -(IBAction)backTitle:(id)sender;
967 -(IBAction)saveMap:(id)sender;
968 -(IBAction)loadMap:(id)sender;
969 -(IBAction)mapSize:(id)sender;
970 -(IBAction)setEvent:(id)sender;
971
972 -(IBAction)mapSizeSubmit:(id)sender;
973 -(IBAction)mapSizeCancel:(id)sender;
974
975 -(IBAction)loadMapSubmit:(id)sender;
976 -(IBAction)loadMapCancel:(id)sender;
977
978 -(IBAction)saveMapSubmit:(id)sender;
979 -(IBAction)saveMapCancel:(id)sender;
980
981 -(IBAction)previous:(id)sender;
982 -(IBAction)next:(id)sender;
983
984 -(IBAction)eventInsert:(id)sender;
985 -(IBAction)eventDelete:(id)sender;
986 -(IBAction)eventSubmit:(id)sender;
987
988 -(IBAction)EEGClight:(id)sender;
989 -(IBAction)EEGCdark:(id)sender;
990 -(IBAction)EEGC1insert:(id)sender;
991 -(IBAction)EEGC1delete:(id)sender;
992 -(IBAction)EEGC2insert:(id)sender;
993 -(IBAction)EEGC2delete:(id)sender;
994 -(IBAction)EEGCsubmit:(id)sender;
995 -(IBAction)EEGCcancel:(id)sender;
996 -(IBAction)EEGC1select:(id)sender;
997 -(IBAction)EEGC2select:(id)sender;
998
999
1000 -(IBAction)eventCheckBtn:(id)sender;
1001 -(IBAction)eventPopupBtn:(id)sender;
1002
1003 -(IBAction)EDclose:(id)sender;
1004 -(IBAction)EDinsert:(id)sender;
1005 -(IBAction)EDdelete:(id)sender;
1006
1007 -(IBAction)EDtext:(id)sender;
1008 -(IBAction)EDselection:(id)sender;
1009 -(IBAction)EDvalue:(id)sender;
1010
1011 -(IBAction)EDswitch:(id)sender;
1012 -(IBAction)EDvariable:(id)sender;
1013 -(IBAction)EDtimer:(id)sender;
1014
1015 -(IBAction)EDterms:(id)sender;
1016 -(IBAction)EDlabel:(id)sender;
1017 -(IBAction)EDlabelJump:(id)sender;
1018 -(IBAction)EDmemo:(id)sender;
1019
1020 -(IBAction)EDresource:(id)sender;
1021 -(IBAction)EDitem:(id)sender;
1022 -(IBAction)EDmember:(id)sender;
1023
1024 -(IBAction)EDhp:(id)sender;
1025 -(IBAction)EDmp:(id)sender;
1026 -(IBAction)EDstatus:(id)sender;
1027 -(IBAction)EDstate:(id)sender;
1028 -(IBAction)EDskill:(id)sender;
1029 -(IBAction)EDname:(id)sender;
1030 -(IBAction)EDequip:(id)sender;
1031 -(IBAction)EDattackFlagOn:(id)sender;
1032
1033 -(IBAction)EDmove:(id)sender;
1034 -(IBAction)EDappear:(id)sender;
1035 -(IBAction)EDdissapear:(id)sender;
1036
1037 -(IBAction)EDplace:(id)sender;
1038 -(IBAction)EDwait:(id)sender;
1039 -(IBAction)EDpilot:(id)sender;
1040 -(IBAction)EDunit:(id)sender;
1041 -(IBAction)EDbgm:(id)sender;
1042 -(IBAction)EDbgmFadeOut:(id)sender;
1043 -(IBAction)EDse:(id)sender;
1044 -(IBAction)EDseStop:(id)sender;
1045
1046 -(IBAction)EDbattle:(id)sender;
1047 -(IBAction)EDshop:(id)sender;
1048 -(IBAction)EDnameInput:(id)sender;
1049
1050 -(IBAction)EDgameOver:(id)sender;
1051 -(IBAction)EDstageClear:(id)sender;
1052 -(IBAction)EDtitle:(id)sender;
1053
1054 -(IBAction)EDcancel:(id)sender;
1055
1056 -(IBAction)EDtextSubmit:(id)sender;
1057 -(IBAction)EDtextCancel:(id)sender;
1058 -(IBAction)EDtextImageSlct:(id)sender;
1059
1060 -(IBAction)EDtextImageSubmit:(id)sender;
1061 -(IBAction)EDtextImageCancel:(id)sender;
1062 -(IBAction)EDtextImageButton:(id)sender;
1063
1064 -(IBAction)EDselectionAdd:(id)sender;
1065 -(IBAction)EDselectionDelete:(id)sender;
1066 -(IBAction)EDselectionSubmit:(id)sender;
1067 -(IBAction)EDselectionCancel:(id)sender;
1068
1069 -(IBAction)EDvalueSubmit:(id)sender;
1070 -(IBAction)EDvalueCancel:(id)sender;
1071
1072 -(IBAction)EDswitchSubmit:(id)sender;
1073 -(IBAction)EDswitchCancel:(id)sender;
1074
1075 -(IBAction)EDvariableSubmit:(id)sender;
1076 -(IBAction)EDvariableCancel:(id)sender;
1077
1078 -(IBAction)EDtimerSubmit:(id)sender;
1079 -(IBAction)EDtimerCancel:(id)sender;
1080
1081 -(IBAction)EDtermsSubmit:(id)sender;
1082 -(IBAction)EDtermsCancel:(id)sender;
1083
1084 -(IBAction)EDlabelSubmit:(id)sender;
1085 -(IBAction)EDlabelCancel:(id)sender;
1086
1087 -(IBAction)EDlabelJumpSubmit:(id)sender;
1088 -(IBAction)EDlabelJumpCancel:(id)sender;
1089
1090 -(IBAction)EDmemoSubmit:(id)sender;
1091 -(IBAction)EDmemoCancel:(id)sender;
1092
1093 -(IBAction)EDresourceSubmit:(id)sender;
1094 -(IBAction)EDresourceCancel:(id)sender;
1095
1096 -(IBAction)EDhpSubmit:(id)sender;
1097 -(IBAction)EDhpCancel:(id)sender;
1098
1099 -(IBAction)EDmpSubmit:(id)sender;
1100 -(IBAction)EDmpCancel:(id)sender;
1101
1102 -(IBAction)EDstatusSubmit:(id)sender;
1103 -(IBAction)EDstatusCancel:(id)sender;
1104
1105 -(IBAction)setBattleModeBtn:(id)sender;
1106 -(IBAction)playerSetBtn1:(id)sender;
1107 -(IBAction)playerSetBtn2:(id)sender;
1108
1109 -(IBAction)EDTimerSetBtn1:(id)sender;
1110 -(IBAction)EDTimerSetBtn2:(id)sender;
1111 -(IBAction)EDTimerSetBtn3:(id)sender;
1112
1113 -(IBAction)EDvarSetClose:(id)sender;
1114 -(IBAction)EDvarSetMax:(id)sender;
1115 -(IBAction)EDvarSetSubmit:(id)sender;
1116 -(IBAction)EDvarSetSave:(id)sender;
1117
1118 -(IBAction)EDappearClose:(id)sender;
1119 -(IBAction)EDappearSubmit:(id)sender;
1120 -(IBAction)EDappearSet:(id)sender;
1121 -(IBAction)EDappearSave:(id)sender;
1122
1123 -(IBAction)EDappearAdd:(id)sender;
1124 -(IBAction)EDappearRemove:(id)sender;
1125
1126 -(IBAction)EDdissappearAdd:(id)sender;
1127 -(IBAction)EDdissappearRemove:(id)sender;
1128 -(IBAction)EDdissappearSubmit:(id)sender;
1129
1130
1131 -(IBAction)EDwaitSubmit:(id)sender;
1132 -(IBAction)EDwaitClost:(id)sender;
1133
1134 -(IBAction)EDBGMSubmit:(id)sender;
1135 -(IBAction)EDBGMClose:(id)sender;
1136 -(IBAction)EDBGMRun:(id)sender;
1137 -(IBAction)EDBGMStop:(id)sender;
1138
1139 -(IBAction)EDSESubmit:(id)sender;
1140 -(IBAction)EDSEClose:(id)sender;
1141 -(IBAction)EDSERun:(id)sender;
1142 -(IBAction)EDSEStop:(id)sender;
1143
1144 -(IBAction)EDtitleBackSubmit:(id)sender;
1145 -(IBAction)EDtitleBackClose:(id)sender;
1146
1147 -(IBAction)EDGameOverSubmit:(id)sender;
1148 -(IBAction)EDGameOverClose:(id)sender;
1149
1150 -(IBAction)EDStageClearSubmit:(id)sender;
1151 -(IBAction)EDStageClearClose:(id)sender;
1152
1153 -(IBAction)EDbranchSubmit:(id)sender;
1154 -(IBAction)EDbranchClose:(id)sender;
1155
1156 -(IBAction)EDbranchUnitAdd:(id)sender;
1157 -(IBAction)EDbranchUnitRemove:(id)sender;
1158 -(IBAction)EDbranchPlaceAddTen:(id)sender;
1159 -(IBAction)EDbranchPlaceAddHani:(id)sender;
1160 -(IBAction)EDbranchPlaceAddkukei:(id)sender;
1161 -(IBAction)EDbranchPlaceRemove:(id)sender;
1162 -(IBAction)EDbranchObjeAdd:(id)sender;
1163 -(IBAction)EDbranchObjeRemove:(id)sender;
1164 -(IBAction)EDbranchBuildAdd:(id)sender;
1165 -(IBAction)EDbranchBuildRemove:(id)sender;
1166
1167 -(IBAction)EDbranchSuicchiSubmit:(id)sender;
1168 -(IBAction)EDbranchSuicchiClose:(id)sender;
1169 -(IBAction)EDbranchPlaceHaniSubmit:(id)sender;
1170
1171 -(IBAction)EDdissapearMapSubmit:(id)sender;
1172 -(IBAction)EDdissapearUnitSubmit:(id)sender;
1173 -(IBAction)EDdissapearSubmitCancel:(id)sender;
1174 @end
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204