annotate scn2k/scn2k_grp.cc @ 74:f8751d74918b default tip

Remove “duplicate” functions as they can be remplaced by a nearly-identical existing function.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 02 Apr 2011 19:13:54 +0200
parents f9eb96a4cce0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
223b71206888 Initial import
thib
parents:
diff changeset
1 /*
223b71206888 Initial import
thib
parents:
diff changeset
2 * Copyright (c) 2004-2006 Kazunori "jagarl" Ueno
223b71206888 Initial import
thib
parents:
diff changeset
3 * All rights reserved.
223b71206888 Initial import
thib
parents:
diff changeset
4 *
223b71206888 Initial import
thib
parents:
diff changeset
5 * Redistribution and use in source and binary forms, with or without
223b71206888 Initial import
thib
parents:
diff changeset
6 * modification, are permitted provided that the following conditions
223b71206888 Initial import
thib
parents:
diff changeset
7 * are met:
223b71206888 Initial import
thib
parents:
diff changeset
8 * 1. Redistributions of source code must retain the above copyright
223b71206888 Initial import
thib
parents:
diff changeset
9 * notice, this list of conditions and the following disclaimer.
223b71206888 Initial import
thib
parents:
diff changeset
10 * 2. Redistributions in binary form must reproduce the above copyright
223b71206888 Initial import
thib
parents:
diff changeset
11 * notice, this list of conditions and the following disclaimer in the
223b71206888 Initial import
thib
parents:
diff changeset
12 * documentation and/or other materials provided with the distribution.
223b71206888 Initial import
thib
parents:
diff changeset
13 * 3. The name of the author may not be used to endorse or promote products
223b71206888 Initial import
thib
parents:
diff changeset
14 * derived from this software without specific prior written permission.
223b71206888 Initial import
thib
parents:
diff changeset
15 *
223b71206888 Initial import
thib
parents:
diff changeset
16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
223b71206888 Initial import
thib
parents:
diff changeset
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
223b71206888 Initial import
thib
parents:
diff changeset
18 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
223b71206888 Initial import
thib
parents:
diff changeset
19 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
223b71206888 Initial import
thib
parents:
diff changeset
20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
223b71206888 Initial import
thib
parents:
diff changeset
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
223b71206888 Initial import
thib
parents:
diff changeset
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
223b71206888 Initial import
thib
parents:
diff changeset
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
223b71206888 Initial import
thib
parents:
diff changeset
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
223b71206888 Initial import
thib
parents:
diff changeset
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
223b71206888 Initial import
thib
parents:
diff changeset
26 */
223b71206888 Initial import
thib
parents:
diff changeset
27
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
28 #include "scn2k.h"
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
29 #include "system/file.h"
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
30 #include "system/system_config.h"
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
31 #include "font/text.h"
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
32 #include "window/render.h"
0
223b71206888 Initial import
thib
parents:
diff changeset
33
223b71206888 Initial import
thib
parents:
diff changeset
34 extern XKFont::HorizLayout* DefaultLayout(int text_size);
223b71206888 Initial import
thib
parents:
diff changeset
35
223b71206888 Initial import
thib
parents:
diff changeset
36 /*******************************************************************
223b71206888 Initial import
thib
parents:
diff changeset
37 ** GrpObj(implementation)
223b71206888 Initial import
thib
parents:
diff changeset
38 */
223b71206888 Initial import
thib
parents:
diff changeset
39
223b71206888 Initial import
thib
parents:
diff changeset
40 GrpObj::GrpObj(void) :
223b71206888 Initial import
thib
parents:
diff changeset
41 name(""), gan_name(""), pic_parent(0), picture(0), anm(0),
223b71206888 Initial import
thib
parents:
diff changeset
42 _posx(0), _posy(0), clip_area(0,0,0,0),
223b71206888 Initial import
thib
parents:
diff changeset
43 alpha(255), order(0), surface_num(0), print_moji(""), print_size(0), print_r(-1),print_g(-1),print_b(-1),
223b71206888 Initial import
thib
parents:
diff changeset
44 dig_number(0), dig_digit(0),
71
1fd20d231376 Fix objScale with 2D zoom; implement objWidth and objHeight.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 65
diff changeset
45 zoomx(-1), zoomy(-1), rotate(-1), attr(GrpObj::HIDDEN) {
0
223b71206888 Initial import
thib
parents:
diff changeset
46 int i;
223b71206888 Initial import
thib
parents:
diff changeset
47 for (i=0; i<9; i++) {
223b71206888 Initial import
thib
parents:
diff changeset
48 posx[i] = posy[i] = 0;
223b71206888 Initial import
thib
parents:
diff changeset
49 }
223b71206888 Initial import
thib
parents:
diff changeset
50 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
51
0
223b71206888 Initial import
thib
parents:
diff changeset
52 GrpObj::~GrpObj() {
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
53 if (picture != NULL) delete picture;
0
223b71206888 Initial import
thib
parents:
diff changeset
54 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
55
0
223b71206888 Initial import
thib
parents:
diff changeset
56 int GrpObj::PosX() {
223b71206888 Initial import
thib
parents:
diff changeset
57 return _posx;
223b71206888 Initial import
thib
parents:
diff changeset
58 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
59
0
223b71206888 Initial import
thib
parents:
diff changeset
60 int GrpObj::PosY() {
223b71206888 Initial import
thib
parents:
diff changeset
61 return _posy;
223b71206888 Initial import
thib
parents:
diff changeset
62 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
63
0
223b71206888 Initial import
thib
parents:
diff changeset
64 void GrpObj::SetUpdate(void) {
223b71206888 Initial import
thib
parents:
diff changeset
65 attr = Attribute (attr | UPDATE_PICTURE);
18
4d7486cb20a9 Sync with upstream
thib
parents: 14
diff changeset
66 //Update(); //FIXME
0
223b71206888 Initial import
thib
parents:
diff changeset
67 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
68
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
69 void GrpObj::SetPos(int index, int x, int y) {
0
223b71206888 Initial import
thib
parents:
diff changeset
70 if (index < 0 || index > 8) {
223b71206888 Initial import
thib
parents:
diff changeset
71 fprintf(stderr,"GrpObj::SetPos: Invalid index %d <- %d,%d\n",index,x,y);
223b71206888 Initial import
thib
parents:
diff changeset
72 return;
223b71206888 Initial import
thib
parents:
diff changeset
73 }
223b71206888 Initial import
thib
parents:
diff changeset
74 if (x == posx[index] && y == posy[index]) return;
223b71206888 Initial import
thib
parents:
diff changeset
75 attr = Attribute(attr | UPDATE_POS);
223b71206888 Initial import
thib
parents:
diff changeset
76 _posx += x-posx[index];
223b71206888 Initial import
thib
parents:
diff changeset
77 _posy += y-posy[index];
223b71206888 Initial import
thib
parents:
diff changeset
78 posx[index] = x;
223b71206888 Initial import
thib
parents:
diff changeset
79 posy[index] = y;
223b71206888 Initial import
thib
parents:
diff changeset
80 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
81
0
223b71206888 Initial import
thib
parents:
diff changeset
82 void GrpObj::GetPos(int index, int& x, int& y) {
223b71206888 Initial import
thib
parents:
diff changeset
83 if (index < 0 || index > 8) {
223b71206888 Initial import
thib
parents:
diff changeset
84 fprintf(stderr,"GrpObj::GetPos: Invalid index %d\n",index);
223b71206888 Initial import
thib
parents:
diff changeset
85 x = 0; y = 0;
223b71206888 Initial import
thib
parents:
diff changeset
86 return;
223b71206888 Initial import
thib
parents:
diff changeset
87 }
223b71206888 Initial import
thib
parents:
diff changeset
88 x = posx[index];
223b71206888 Initial import
thib
parents:
diff changeset
89 y = posy[index];
223b71206888 Initial import
thib
parents:
diff changeset
90 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
91
0
223b71206888 Initial import
thib
parents:
diff changeset
92 void GrpObj::SetAlpha(int new_alpha) {
223b71206888 Initial import
thib
parents:
diff changeset
93 if (alpha == new_alpha) return;
223b71206888 Initial import
thib
parents:
diff changeset
94 alpha = new_alpha;
223b71206888 Initial import
thib
parents:
diff changeset
95 attr = Attribute(attr | UPDATE_ALPHA);
223b71206888 Initial import
thib
parents:
diff changeset
96 return;
223b71206888 Initial import
thib
parents:
diff changeset
97 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
98
0
223b71206888 Initial import
thib
parents:
diff changeset
99 void GrpObj::SetSurfaceNum(int num) {
223b71206888 Initial import
thib
parents:
diff changeset
100 if (num != -1) {
223b71206888 Initial import
thib
parents:
diff changeset
101 if (surface_num == num) return;
223b71206888 Initial import
thib
parents:
diff changeset
102 surface_num = num;
223b71206888 Initial import
thib
parents:
diff changeset
103 }
223b71206888 Initial import
thib
parents:
diff changeset
104 attr = Attribute(attr | UPDATE_SNUM);
223b71206888 Initial import
thib
parents:
diff changeset
105 }
223b71206888 Initial import
thib
parents:
diff changeset
106
223b71206888 Initial import
thib
parents:
diff changeset
107 void GrpObj::SetClipArea(int x, int y, int w, int h) {
223b71206888 Initial import
thib
parents:
diff changeset
108 Rect new_clip(x,y,x+w,y+h);
223b71206888 Initial import
thib
parents:
diff changeset
109 if (clip_area == new_clip) return;
223b71206888 Initial import
thib
parents:
diff changeset
110 clip_area = new_clip;
223b71206888 Initial import
thib
parents:
diff changeset
111 attr = Attribute(attr | UPDATE_CLIP);
223b71206888 Initial import
thib
parents:
diff changeset
112 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
113
0
223b71206888 Initial import
thib
parents:
diff changeset
114 PicBase* GrpObj::DeletePic(void) {
223b71206888 Initial import
thib
parents:
diff changeset
115 PicBase* p = picture;
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
116 anm = NULL;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
117 picture = NULL;
0
223b71206888 Initial import
thib
parents:
diff changeset
118 src_pos.clear();
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
119 attr = Attribute(attr & HIDDEN);
0
223b71206888 Initial import
thib
parents:
diff changeset
120 return p;
223b71206888 Initial import
thib
parents:
diff changeset
121 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
122
0
223b71206888 Initial import
thib
parents:
diff changeset
123 void GrpObj::GetSrcGeom(int& width, int& height) {
223b71206888 Initial import
thib
parents:
diff changeset
124 if (src_pos.empty()) {
223b71206888 Initial import
thib
parents:
diff changeset
125 width = 0; height = 0;
223b71206888 Initial import
thib
parents:
diff changeset
126 if (name.length() == 0) {
223b71206888 Initial import
thib
parents:
diff changeset
127 return;
223b71206888 Initial import
thib
parents:
diff changeset
128 }
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
129 /* ボタンの位置情報を求める */
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
130 /* g00 ファイルのヘッダ部分に位置情報は入っている */
0
223b71206888 Initial import
thib
parents:
diff changeset
131 string path(name);
223b71206888 Initial import
thib
parents:
diff changeset
132 path += ".g00";
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
133 ARCINFO* info = FileSearcher::GetInstance()->Find(FileSearcher::PDT, path.c_str(), "g00");
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
134 if (info == NULL) { // ファイルが見つからない
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
135 fprintf(stderr, "GrpObj::GetSrcGeom : Cannot find file %s\n", path.c_str());
0
223b71206888 Initial import
thib
parents:
diff changeset
136 return;
223b71206888 Initial import
thib
parents:
diff changeset
137 }
223b71206888 Initial import
thib
parents:
diff changeset
138 const char* data = info->Read();
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
139 if (data != NULL && *data == 2) { // 画像ファイル内にボタン情報が存在する
0
223b71206888 Initial import
thib
parents:
diff changeset
140 int srclen = read_little_endian_int(data+5);
223b71206888 Initial import
thib
parents:
diff changeset
141 int i;
223b71206888 Initial import
thib
parents:
diff changeset
142 for (i=0; i<srclen; i++) {
223b71206888 Initial import
thib
parents:
diff changeset
143 int x1 = read_little_endian_int(data+9+i*24+0);
223b71206888 Initial import
thib
parents:
diff changeset
144 int y1 = read_little_endian_int(data+9+i*24+4);
223b71206888 Initial import
thib
parents:
diff changeset
145 int x2 = read_little_endian_int(data+9+i*24+8);
223b71206888 Initial import
thib
parents:
diff changeset
146 int y2 = read_little_endian_int(data+9+i*24+12);
223b71206888 Initial import
thib
parents:
diff changeset
147 src_pos.push_back(Rect(x1, y1, x2+1, y2+1));
223b71206888 Initial import
thib
parents:
diff changeset
148 if (width < src_pos.back().width()) width = src_pos.back().width();
223b71206888 Initial import
thib
parents:
diff changeset
149 if (height < src_pos.back().height()) height = src_pos.back().height();
223b71206888 Initial import
thib
parents:
diff changeset
150 }
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
151 } else { // 画像ファイルから大きさ取得
0
223b71206888 Initial import
thib
parents:
diff changeset
152 width = read_little_endian_short(data+1);
223b71206888 Initial import
thib
parents:
diff changeset
153 height = read_little_endian_short(data+3);
223b71206888 Initial import
thib
parents:
diff changeset
154 src_pos.push_back(Rect(0,0,width,height));
223b71206888 Initial import
thib
parents:
diff changeset
155 }
223b71206888 Initial import
thib
parents:
diff changeset
156 delete info;
223b71206888 Initial import
thib
parents:
diff changeset
157 }
223b71206888 Initial import
thib
parents:
diff changeset
158 int sn = surface_num;
223b71206888 Initial import
thib
parents:
diff changeset
159 if (sn < 0 || sn > src_pos.size()) sn = 0;
223b71206888 Initial import
thib
parents:
diff changeset
160 width = src_pos[sn].width();
223b71206888 Initial import
thib
parents:
diff changeset
161 height = src_pos[sn].height();
223b71206888 Initial import
thib
parents:
diff changeset
162 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
163
0
223b71206888 Initial import
thib
parents:
diff changeset
164 void GrpObj::Update(void) {
223b71206888 Initial import
thib
parents:
diff changeset
165 if (attr & UPDATE_PICTURE) {
223b71206888 Initial import
thib
parents:
diff changeset
166 UpdateSurface();
223b71206888 Initial import
thib
parents:
diff changeset
167 attr = Attribute( (attr | UPDATE_ALL) & (~UPDATE_PICTURE));
223b71206888 Initial import
thib
parents:
diff changeset
168 }
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
169 if (picture == NULL) return;
0
223b71206888 Initial import
thib
parents:
diff changeset
170 if (attr & UPDATE_POS) {
71
1fd20d231376 Fix objScale with 2D zoom; implement objWidth and objHeight.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 65
diff changeset
171 if (zoomx != -1 || zoomy != -1) {
0
223b71206888 Initial import
thib
parents:
diff changeset
172 int w=0, h=0;
223b71206888 Initial import
thib
parents:
diff changeset
173 GetSrcGeom(w,h);
223b71206888 Initial import
thib
parents:
diff changeset
174 picture->Move(_posx-w/2, _posy-h/2);
223b71206888 Initial import
thib
parents:
diff changeset
175 } else {
223b71206888 Initial import
thib
parents:
diff changeset
176 picture->Move(_posx, _posy);
223b71206888 Initial import
thib
parents:
diff changeset
177 }
223b71206888 Initial import
thib
parents:
diff changeset
178 }
223b71206888 Initial import
thib
parents:
diff changeset
179 if (attr & UPDATE_ALPHA) {
223b71206888 Initial import
thib
parents:
diff changeset
180 if (alpha <= 0) {
223b71206888 Initial import
thib
parents:
diff changeset
181 picture->SetSurfaceAlpha(0, Rect(0,0));
223b71206888 Initial import
thib
parents:
diff changeset
182 picture->hide();
223b71206888 Initial import
thib
parents:
diff changeset
183 } else if (alpha >= ALPHA_MAX) {
223b71206888 Initial import
thib
parents:
diff changeset
184 picture->SetSurfaceAlpha(0, Rect(0,0));
223b71206888 Initial import
thib
parents:
diff changeset
185 if (attr & HIDDEN) picture->hide();
223b71206888 Initial import
thib
parents:
diff changeset
186 else picture->show();
223b71206888 Initial import
thib
parents:
diff changeset
187 } else {
223b71206888 Initial import
thib
parents:
diff changeset
188 picture->SetSurfaceAlpha(&alpha, Rect(0,0,1,1));
223b71206888 Initial import
thib
parents:
diff changeset
189 if (attr & HIDDEN) picture->hide();
223b71206888 Initial import
thib
parents:
diff changeset
190 else picture->show();
223b71206888 Initial import
thib
parents:
diff changeset
191 }
223b71206888 Initial import
thib
parents:
diff changeset
192 }
223b71206888 Initial import
thib
parents:
diff changeset
193 if ( (attr & UPDATE_SNUM) && (!src_pos.empty())) {
223b71206888 Initial import
thib
parents:
diff changeset
194 if (surface_num < 0 || surface_num >= src_pos.size()) surface_num = 0;
223b71206888 Initial import
thib
parents:
diff changeset
195 picture->SetSurfacePos(src_pos[surface_num].lx, src_pos[surface_num].ty);
223b71206888 Initial import
thib
parents:
diff changeset
196 }
223b71206888 Initial import
thib
parents:
diff changeset
197 if (attr & UPDATE_CLIP) {
223b71206888 Initial import
thib
parents:
diff changeset
198 picture->SetClipArea(clip_area);
223b71206888 Initial import
thib
parents:
diff changeset
199 }
223b71206888 Initial import
thib
parents:
diff changeset
200 attr = Attribute(attr & (~UPDATE_ALL));
223b71206888 Initial import
thib
parents:
diff changeset
201 if (attr & ANM_PLAYSTART) {
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
202 if (anm != NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
203 anm->Play();
223b71206888 Initial import
thib
parents:
diff changeset
204 attr = Attribute(attr | ANM_PLAYING);
223b71206888 Initial import
thib
parents:
diff changeset
205 }
223b71206888 Initial import
thib
parents:
diff changeset
206 attr = Attribute(attr & (~ANM_PLAYSTART));
223b71206888 Initial import
thib
parents:
diff changeset
207 }
223b71206888 Initial import
thib
parents:
diff changeset
208 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
209
0
223b71206888 Initial import
thib
parents:
diff changeset
210 void GrpObj::CreateSurface(PicContainer* parent) {
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
211 if (picture != NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
212 PicBase* p = DeletePic();
223b71206888 Initial import
thib
parents:
diff changeset
213 delete p;
223b71206888 Initial import
thib
parents:
diff changeset
214 }
223b71206888 Initial import
thib
parents:
diff changeset
215 src_pos.clear();
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
216 // picture を作成
0
223b71206888 Initial import
thib
parents:
diff changeset
217 pic_parent = parent;
223b71206888 Initial import
thib
parents:
diff changeset
218 picture = parent->create_leaf(Rect(_posx,_posy,_posx+1,_posy+1), 0);
223b71206888 Initial import
thib
parents:
diff changeset
219 picture->hide();
223b71206888 Initial import
thib
parents:
diff changeset
220 UpdateSurface();
223b71206888 Initial import
thib
parents:
diff changeset
221 }
223b71206888 Initial import
thib
parents:
diff changeset
222
223b71206888 Initial import
thib
parents:
diff changeset
223 void GrpObj::UpdateSurface(void) {
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
224 if (pic_parent == NULL || picture == NULL) return;
0
223b71206888 Initial import
thib
parents:
diff changeset
225 int width = 0, height = 0;
223b71206888 Initial import
thib
parents:
diff changeset
226 if (gtype == FILE || gtype == GAN) {
223b71206888 Initial import
thib
parents:
diff changeset
227 if (name.length() == 0) return;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
228 // ファイル名が存在する場合、ファイルを読み込み
0
223b71206888 Initial import
thib
parents:
diff changeset
229 GetSrcGeom(width, height);
223b71206888 Initial import
thib
parents:
diff changeset
230 if (width <= 0 || height <= 0) return;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
231 // surface の設定
71
1fd20d231376 Fix objScale with 2D zoom; implement objWidth and objHeight.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 65
diff changeset
232 if (surface_num == 0 && ( ((zoomx > 0 && zoomx != 256) || (zoomy > 0 && zoomy != 256)) || rotate > 0)) {
0
223b71206888 Initial import
thib
parents:
diff changeset
233 ZoomRotate();
223b71206888 Initial import
thib
parents:
diff changeset
234 } else {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
235 // 普通に surface を設定
0
223b71206888 Initial import
thib
parents:
diff changeset
236 string path(name);
223b71206888 Initial import
thib
parents:
diff changeset
237 path += ".g00";
223b71206888 Initial import
thib
parents:
diff changeset
238 picture->SetSurface(path.c_str(), 0, 0);
223b71206888 Initial import
thib
parents:
diff changeset
239 picture->SetSurfaceRect(Rect(0,0,width,height));
223b71206888 Initial import
thib
parents:
diff changeset
240 }
60
e16e13d8cd68 Replaced SATURATE -> ADD, implemented objComposite, corrected minor things
Thibaut GIRKA <thib@sitedethib.com>
parents: 56
diff changeset
241 if (attr & BLIT_ADD)
e16e13d8cd68 Replaced SATURATE -> ADD, implemented objComposite, corrected minor things
Thibaut GIRKA <thib@sitedethib.com>
parents: 56
diff changeset
242 picture->SetSurfaceAttribute(PicBase::BLIT_ADD);
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
243 } else if (gtype == MOJI) { // テキスト描画
0
223b71206888 Initial import
thib
parents:
diff changeset
244 if (print_moji.length() == 0) return;
223b71206888 Initial import
thib
parents:
diff changeset
245 UpdateMoji();
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
246 } else if (gtype == DIGIT) { // 数値を画像表示
0
223b71206888 Initial import
thib
parents:
diff changeset
247 UpdateDigit();
223b71206888 Initial import
thib
parents:
diff changeset
248 }
223b71206888 Initial import
thib
parents:
diff changeset
249 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
250
0
223b71206888 Initial import
thib
parents:
diff changeset
251 void GrpObj::ZoomRotate(void) {
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
252 picture->SetSurface( (Surface*)0, 0, 0);
0
223b71206888 Initial import
thib
parents:
diff changeset
253
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
254 // 回転、縮小拡大は座標原点が画像の中心になる
0
223b71206888 Initial import
thib
parents:
diff changeset
255 string path(name);
223b71206888 Initial import
thib
parents:
diff changeset
256 path += ".g00";
223b71206888 Initial import
thib
parents:
diff changeset
257 Surface* surface_orig = pic_parent->Root().NewSurface(path.c_str());
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
258 if (surface_orig == NULL) return;
0
223b71206888 Initial import
thib
parents:
diff changeset
259
71
1fd20d231376 Fix objScale with 2D zoom; implement objWidth and objHeight.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 65
diff changeset
260 Surface* zoom_surface = pic_parent->Root().RotZoomSurface(surface_orig, double(zoomx)/256.0, double(zoomy)/256.0, rotate);
0
223b71206888 Initial import
thib
parents:
diff changeset
261 Rect zoom_r (*zoom_surface);
223b71206888 Initial import
thib
parents:
diff changeset
262 picture->SetSurface(zoom_surface, 0, 0);
223b71206888 Initial import
thib
parents:
diff changeset
263 picture->SetSurfaceFreeFlag();
223b71206888 Initial import
thib
parents:
diff changeset
264 //picture->Move(PosX() + - zoom_r.width()/2, PosY() + - zoom_r.height()/2);
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
265 // 中心座標がわからん・・・
0
223b71206888 Initial import
thib
parents:
diff changeset
266 picture->Move(320 - zoom_r.width()/2, 240 - zoom_r.height()/2);
223b71206888 Initial import
thib
parents:
diff changeset
267 picture->SetSurfaceRect(Rect(0, 0, zoom_r.width(), zoom_r.height()));
223b71206888 Initial import
thib
parents:
diff changeset
268
223b71206888 Initial import
thib
parents:
diff changeset
269 pic_parent->Root().DeleteSurface(surface_orig);
223b71206888 Initial import
thib
parents:
diff changeset
270 }
223b71206888 Initial import
thib
parents:
diff changeset
271
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
272 void GrpObj::UpdateMoji(void) { // 文字の大きさ、色などを変更
14
8da1d92ac8f8 Don't create fonts faces for size <= 0, and update objects when their font size is set
thib
parents: 11
diff changeset
273 if (print_moji.length() == 0 || print_size <= 2) return;
0
223b71206888 Initial import
thib
parents:
diff changeset
274 if (pic_parent == 0) return;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
275 /* テキストの大きさを得る */
0
223b71206888 Initial import
thib
parents:
diff changeset
276 int r, g, b;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
277 if (print_r == -1 || print_g == -1 || print_b == -1) {// 色設定なし
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
278 r = g = b = 0; // とりあえず黒(clannad のSave/Loadメニュー用)
0
223b71206888 Initial import
thib
parents:
diff changeset
279 } else {
223b71206888 Initial import
thib
parents:
diff changeset
280 r = print_r;
223b71206888 Initial import
thib
parents:
diff changeset
281 g = print_g;
223b71206888 Initial import
thib
parents:
diff changeset
282 b = print_b;
223b71206888 Initial import
thib
parents:
diff changeset
283 }
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
284 TextStream ts = TextStream::ParseMoji(print_moji.c_str(), r, g, b, print_size);
0
223b71206888 Initial import
thib
parents:
diff changeset
285 TextGlyphStream gs;
223b71206888 Initial import
thib
parents:
diff changeset
286 vector<int> lh;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
287 // とりあえず drawable width は充分に大きく(2048)取る
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
288 DefaultLayout(print_size-2)->Layout(ts, gs, lh, 2048); // print_size そのままだと弱干大きすぎるので -2
0
223b71206888 Initial import
thib
parents:
diff changeset
289 int width = gs.width();
223b71206888 Initial import
thib
parents:
diff changeset
290 int height = gs.height();
223b71206888 Initial import
thib
parents:
diff changeset
291 Surface* surface = pic_parent->Root().NewSurface(width, height, ALPHA_MASK);
223b71206888 Initial import
thib
parents:
diff changeset
292 DSurfaceFill(surface, Rect(*surface), 0, 0, 0, 0);
223b71206888 Initial import
thib
parents:
diff changeset
293 DSurfaceRenderText(gs.begin(), gs.end(), Rect(0, 0, width, height), surface, Rect(0,0));
223b71206888 Initial import
thib
parents:
diff changeset
294 picture->SetSurface(surface, 0, 0);
223b71206888 Initial import
thib
parents:
diff changeset
295 picture->SetSurfaceRect(Rect(0,0,width,height));
223b71206888 Initial import
thib
parents:
diff changeset
296 picture->SetSurfaceFreeFlag();
223b71206888 Initial import
thib
parents:
diff changeset
297 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
298
0
223b71206888 Initial import
thib
parents:
diff changeset
299 void GrpObj::UpdateDigit(void) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
300 // 画像表示の数値文字列を表示する
0
223b71206888 Initial import
thib
parents:
diff changeset
301 if (name.length() == 0) return;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
302 // ファイル名が存在する場合、ファイルを読み込み
0
223b71206888 Initial import
thib
parents:
diff changeset
303 string path(name);
223b71206888 Initial import
thib
parents:
diff changeset
304 path += ".g00";
223b71206888 Initial import
thib
parents:
diff changeset
305 Surface* surface_orig = pic_parent->Root().NewSurface(path.c_str());
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
306 if (surface_orig == NULL) return;
0
223b71206888 Initial import
thib
parents:
diff changeset
307
223b71206888 Initial import
thib
parents:
diff changeset
308 int width, height;
223b71206888 Initial import
thib
parents:
diff changeset
309 int i;
223b71206888 Initial import
thib
parents:
diff changeset
310 GetSrcGeom(width, height);
223b71206888 Initial import
thib
parents:
diff changeset
311 if (width <= 0 || height <= 0) return;
223b71206888 Initial import
thib
parents:
diff changeset
312 if (src_pos.size() < 14) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
313 // 必要な数の object がない
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
314 // 表示できない分の空の rect を追加しておく
0
223b71206888 Initial import
thib
parents:
diff changeset
315 for (i=src_pos.size(); i<14; i++)
223b71206888 Initial import
thib
parents:
diff changeset
316 src_pos.push_back(Rect(0,0,0,0));
223b71206888 Initial import
thib
parents:
diff changeset
317 pic_parent->Root().DeleteSurface(surface_orig);
223b71206888 Initial import
thib
parents:
diff changeset
318 return;
223b71206888 Initial import
thib
parents:
diff changeset
319 }
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
320 // 桁数の計算
0
223b71206888 Initial import
thib
parents:
diff changeset
321 char num_str[20];
223b71206888 Initial import
thib
parents:
diff changeset
322 if (dig_number < 0) sprintf(num_str, "%d", -dig_number);
223b71206888 Initial import
thib
parents:
diff changeset
323 else sprintf(num_str, "%d", dig_number);
223b71206888 Initial import
thib
parents:
diff changeset
324 int sign_count = 0;
223b71206888 Initial import
thib
parents:
diff changeset
325 int space_count = 0;
223b71206888 Initial import
thib
parents:
diff changeset
326 int total_count;
223b71206888 Initial import
thib
parents:
diff changeset
327 int dig_count = strlen(num_str);
223b71206888 Initial import
thib
parents:
diff changeset
328 if (dig_number < 0 && (attr&DIG_SIGN) == 0) dig_count++;
223b71206888 Initial import
thib
parents:
diff changeset
329 if (dig_count < dig_digit) space_count = dig_digit - dig_count;
223b71206888 Initial import
thib
parents:
diff changeset
330 if (attr & DIG_SIGN) sign_count = 1;
223b71206888 Initial import
thib
parents:
diff changeset
331 total_count = dig_count + space_count + sign_count;
223b71206888 Initial import
thib
parents:
diff changeset
332
223b71206888 Initial import
thib
parents:
diff changeset
333 Surface* surface = pic_parent->Root().NewSurface(width*total_count, height, ALPHA_MASK);
223b71206888 Initial import
thib
parents:
diff changeset
334 DSurfaceFill(surface, Rect(*surface), 0, 0, 0, 0);
223b71206888 Initial import
thib
parents:
diff changeset
335
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
336 /* surface にコピーする */
0
223b71206888 Initial import
thib
parents:
diff changeset
337 int cur_x = 0;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
338 if ( (attr & DIG_PACK) && !(attr & DIG_ZERO)) { // 始めに空白を挿入
0
223b71206888 Initial import
thib
parents:
diff changeset
339 cur_x += space_count * width;
223b71206888 Initial import
thib
parents:
diff changeset
340 }
223b71206888 Initial import
thib
parents:
diff changeset
341 int plus = 10, minus = 11, plusminus = 12;
223b71206888 Initial import
thib
parents:
diff changeset
342 if (dig_number < 0) {
223b71206888 Initial import
thib
parents:
diff changeset
343 DSurfaceMove(surface, src_pos[minus], surface, Rect(cur_x,0));
223b71206888 Initial import
thib
parents:
diff changeset
344 cur_x += width;
223b71206888 Initial import
thib
parents:
diff changeset
345 } else if (attr & DIG_SIGN) {
223b71206888 Initial import
thib
parents:
diff changeset
346 if (dig_number == 0)
223b71206888 Initial import
thib
parents:
diff changeset
347 DSurfaceMove(surface, src_pos[plusminus], surface, Rect(cur_x,0));
223b71206888 Initial import
thib
parents:
diff changeset
348 else
223b71206888 Initial import
thib
parents:
diff changeset
349 DSurfaceMove(surface, src_pos[plus], surface, Rect(cur_x,0));
223b71206888 Initial import
thib
parents:
diff changeset
350 cur_x += width;
223b71206888 Initial import
thib
parents:
diff changeset
351 }
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
352 if (attr & DIG_ZERO) { // ゼロ・パディング
0
223b71206888 Initial import
thib
parents:
diff changeset
353 for (i=0; i<space_count; i++) {
223b71206888 Initial import
thib
parents:
diff changeset
354 DSurfaceMove(surface, src_pos[0], surface, Rect(cur_x, 0));
223b71206888 Initial import
thib
parents:
diff changeset
355 cur_x += width;;
223b71206888 Initial import
thib
parents:
diff changeset
356 }
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
357 } else if (!(attr & DIG_PACK)) { // PACK オプションなし
0
223b71206888 Initial import
thib
parents:
diff changeset
358 cur_x += space_count * width;
223b71206888 Initial import
thib
parents:
diff changeset
359 }
223b71206888 Initial import
thib
parents:
diff changeset
360 for (i=0; num_str[i] != 0; i++) {
223b71206888 Initial import
thib
parents:
diff changeset
361 DSurfaceMove(surface_orig, src_pos[num_str[i]-'0'], surface, Rect(cur_x, 0));
223b71206888 Initial import
thib
parents:
diff changeset
362 cur_x += width;
223b71206888 Initial import
thib
parents:
diff changeset
363 }
223b71206888 Initial import
thib
parents:
diff changeset
364
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
365 /* picture に設定 */
0
223b71206888 Initial import
thib
parents:
diff changeset
366 picture->SetSurface(surface, 0, 0);
223b71206888 Initial import
thib
parents:
diff changeset
367 picture->SetSurfaceRect(Rect(0,0,width*total_count,height));
223b71206888 Initial import
thib
parents:
diff changeset
368 picture->SetSurfaceFreeFlag();
223b71206888 Initial import
thib
parents:
diff changeset
369
223b71206888 Initial import
thib
parents:
diff changeset
370 pic_parent->Root().DeleteSurface(surface_orig);
223b71206888 Initial import
thib
parents:
diff changeset
371 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
372
0
223b71206888 Initial import
thib
parents:
diff changeset
373 void GrpObj::CreateGan(Event::Container& event, int event_number) {
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
374 if (picture == NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
375 fprintf(stderr,"GrpObj::CreateGan() is called before Create()\n");
223b71206888 Initial import
thib
parents:
diff changeset
376 return;
223b71206888 Initial import
thib
parents:
diff changeset
377 }
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
378 if (anm != NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
379 anm->Abort();
223b71206888 Initial import
thib
parents:
diff changeset
380 delete anm;
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
381 anm = NULL;
0
223b71206888 Initial import
thib
parents:
diff changeset
382 }
223b71206888 Initial import
thib
parents:
diff changeset
383 if (gan_name.empty()) return;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
384 /* アニーメション情報 (.GAN ファイル)を求める */
0
223b71206888 Initial import
thib
parents:
diff changeset
385 string path(gan_name);
223b71206888 Initial import
thib
parents:
diff changeset
386 path += ".gan";
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
387 ARCINFO* info = FileSearcher::GetInstance()->Find(FileSearcher::GAN, path.c_str(), "gan");
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
388 if (info == NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
389 fprintf(stderr,"GrpObj::CreateGan: Cannot Find 'GAN' file %s\n", path.c_str());
223b71206888 Initial import
thib
parents:
diff changeset
390 return;
223b71206888 Initial import
thib
parents:
diff changeset
391 }
223b71206888 Initial import
thib
parents:
diff changeset
392 const char* data = info->Read();
223b71206888 Initial import
thib
parents:
diff changeset
393 if (read_little_endian_int(data) != 10000 || read_little_endian_int(data+4) != 10000) {
223b71206888 Initial import
thib
parents:
diff changeset
394 fprintf(stderr,"GrpObj::CreateGan: Invalid'GAN' file %s\n", path.c_str());
223b71206888 Initial import
thib
parents:
diff changeset
395 delete info;
223b71206888 Initial import
thib
parents:
diff changeset
396 return;
223b71206888 Initial import
thib
parents:
diff changeset
397 }
223b71206888 Initial import
thib
parents:
diff changeset
398
60
e16e13d8cd68 Replaced SATURATE -> ADD, implemented objComposite, corrected minor things
Thibaut GIRKA <thib@sitedethib.com>
parents: 56
diff changeset
399 attr = Attribute(attr | UPDATE_POS);
0
223b71206888 Initial import
thib
parents:
diff changeset
400
223b71206888 Initial import
thib
parents:
diff changeset
401 const char* buf = data + 16;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
402 buf += strlen(buf) + 1; // 画像ファイル名が入っている
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
403 buf += 4; // 定数 20000
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
404 int pics = read_little_endian_int(buf); buf += 4; // 複数のアニメーション情報が入っている場合、情報数
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
405 // 以下、pics 回繰り返し
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
406 // アニメーションを行う実体を作成
0
223b71206888 Initial import
thib
parents:
diff changeset
407 AnmAlphaMove* wid = new AnmAlphaMove(event, picture);
223b71206888 Initial import
thib
parents:
diff changeset
408
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
409 if (event_number && event_number < pics) { // 複数のアニメーション情報がある場合、先の情報を読み飛ばす */
0
223b71206888 Initial import
thib
parents:
diff changeset
410 int i; for (i=0; i<event_number; i++) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
411 buf += 4; // 定数 30000
0
223b71206888 Initial import
thib
parents:
diff changeset
412 int ptns = read_little_endian_int(buf); buf += 4;
223b71206888 Initial import
thib
parents:
diff changeset
413 buf += ptns*52;
223b71206888 Initial import
thib
parents:
diff changeset
414 }
223b71206888 Initial import
thib
parents:
diff changeset
415 }
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
416 buf += 4; // 定数 30000
0
223b71206888 Initial import
thib
parents:
diff changeset
417 int ptns = read_little_endian_int(buf); buf += 4;
223b71206888 Initial import
thib
parents:
diff changeset
418 int total_time = 0;
223b71206888 Initial import
thib
parents:
diff changeset
419 int i;
223b71206888 Initial import
thib
parents:
diff changeset
420 for (i=0; i<ptns; i++) {
223b71206888 Initial import
thib
parents:
diff changeset
421 int p = read_little_endian_int(buf+i*52+0*8+4);
223b71206888 Initial import
thib
parents:
diff changeset
422 int x = read_little_endian_int(buf+i*52+1*8+4);
223b71206888 Initial import
thib
parents:
diff changeset
423 int y = read_little_endian_int(buf+i*52+2*8+4);
223b71206888 Initial import
thib
parents:
diff changeset
424 int t = read_little_endian_int(buf+i*52+3*8+4);
223b71206888 Initial import
thib
parents:
diff changeset
425 int a = read_little_endian_int(buf+i*52+4*8+4);
223b71206888 Initial import
thib
parents:
diff changeset
426 x += PosX();
223b71206888 Initial import
thib
parents:
diff changeset
427 y += PosY();
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
428 if (p == -1) { a = 0; p = 0; } // p == -1 ならなにも表示しない
0
223b71206888 Initial import
thib
parents:
diff changeset
429 if (p >= src_pos.size()) {
223b71206888 Initial import
thib
parents:
diff changeset
430 fprintf(stderr,"Reading GAN file %s (G00 %s) : not enough pictures in .G00 file\n", path.c_str(), name.c_str());
223b71206888 Initial import
thib
parents:
diff changeset
431 a = 0; p = 0;
223b71206888 Initial import
thib
parents:
diff changeset
432 }
223b71206888 Initial import
thib
parents:
diff changeset
433 total_time += t;
223b71206888 Initial import
thib
parents:
diff changeset
434 wid->ptns.push_back(AnmAlphaMove::Ptn(Rect(x,y), src_pos[p], a, total_time));
223b71206888 Initial import
thib
parents:
diff changeset
435 }
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
436 wid->SetPtn(); // パターン登録終了
0
223b71206888 Initial import
thib
parents:
diff changeset
437 attr = Attribute(attr | ANM_PLAYSTART);
223b71206888 Initial import
thib
parents:
diff changeset
438 anm = wid;
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
439 }
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
440
0
223b71206888 Initial import
thib
parents:
diff changeset
441 void GrpObj::CreateGanSpecial(Event::Container& event, int event_number, int time) {
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
442 if (picture == NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
443 fprintf(stderr,"GrpObj::CreateGan() is called before Create()\n");
223b71206888 Initial import
thib
parents:
diff changeset
444 return;
223b71206888 Initial import
thib
parents:
diff changeset
445 }
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
446 if (anm != NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
447 anm->Abort();
223b71206888 Initial import
thib
parents:
diff changeset
448 delete anm;
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
449 anm = NULL;
0
223b71206888 Initial import
thib
parents:
diff changeset
450 }
223b71206888 Initial import
thib
parents:
diff changeset
451
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
452 // アニメーションを行う実体を作成
0
223b71206888 Initial import
thib
parents:
diff changeset
453 AnmAlphaMove* wid = new AnmAlphaMove(event, picture);
223b71206888 Initial import
thib
parents:
diff changeset
454
223b71206888 Initial import
thib
parents:
diff changeset
455 int i;
223b71206888 Initial import
thib
parents:
diff changeset
456 switch(event_number) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
457 case 0: // pattern を 0 から最後まで変化させる
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
458 for (i=0; i<src_pos.size(); i++) {
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
459 wid->ptns.push_back(AnmAlphaMove::Ptn(Rect(PosX(), PosY()), src_pos[i], 255, time*i));
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
460 }
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
461 wid->SetPtn(); // パターン登録終了
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
462 anm = wid;
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
463 attr = Attribute(attr | ANM_PLAYSTART);
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
464 break;
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
465 default:
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
466 break;
0
223b71206888 Initial import
thib
parents:
diff changeset
467 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
468 }
0
223b71206888 Initial import
thib
parents:
diff changeset
469
71
1fd20d231376 Fix objScale with 2D zoom; implement objWidth and objHeight.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 65
diff changeset
470 void GrpObj::SetZoomRotate(int new_zoom_x, int new_zoom_y, int new_rotate) {
1fd20d231376 Fix objScale with 2D zoom; implement objWidth and objHeight.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 65
diff changeset
471 if (zoomx == new_zoom_x && zoomy == new_zoom_y && rotate == new_rotate) return;
1fd20d231376 Fix objScale with 2D zoom; implement objWidth and objHeight.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 65
diff changeset
472 if (zoomx == -1 || zoomy == -1 || new_zoom_x == -1 || new_zoom_y == -1) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
473 attr = Attribute(attr | UPDATE_POS); // centering する
18
4d7486cb20a9 Sync with upstream
thib
parents: 14
diff changeset
474 }
71
1fd20d231376 Fix objScale with 2D zoom; implement objWidth and objHeight.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 65
diff changeset
475 zoomx = new_zoom_x;
1fd20d231376 Fix objScale with 2D zoom; implement objWidth and objHeight.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 65
diff changeset
476 zoomy = new_zoom_y;
0
223b71206888 Initial import
thib
parents:
diff changeset
477 if (new_rotate != -1) rotate = new_rotate;
71
1fd20d231376 Fix objScale with 2D zoom; implement objWidth and objHeight.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 65
diff changeset
478 if (zoomx < 0) zoomx = 256;
1fd20d231376 Fix objScale with 2D zoom; implement objWidth and objHeight.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 65
diff changeset
479 if (zoomy < 0) zoomy = 256;
0
223b71206888 Initial import
thib
parents:
diff changeset
480 if (rotate < 0) rotate = 0;
223b71206888 Initial import
thib
parents:
diff changeset
481 else if (rotate > 360) rotate %= 360;
223b71206888 Initial import
thib
parents:
diff changeset
482
223b71206888 Initial import
thib
parents:
diff changeset
483 attr = Attribute(attr | UPDATE_PICTURE);
223b71206888 Initial import
thib
parents:
diff changeset
484 }
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
485
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
486 void GrpObj::Refresh(GrpObj& parent_obj) {
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
487 //if (&parent_obj != this) printf("Toto\n"); //FIXME
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
488
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
489 GrpObjMap::iterator it;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
490
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
491 for (it = children_obj.begin(); it != children_obj.end(); it++)
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
492 it->second.Refresh(parent_obj);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
493
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
494 if (picture == NULL) return;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
495 if (alpha == 0 || (attr & GrpObj::HIDDEN) || (parent_obj.attr & GrpObj::HIDDEN)) {
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
496 if (attr & GrpObj::ANM_PLAYING) {
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
497 attr = GrpObj::Attribute(attr & ~(GrpObj::ANM_PLAYING));
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
498 if (anm != NULL) anm->Abort();
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
499 }
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
500 picture->hide();
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
501 } else {
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
502 Update();
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
503 picture->show();
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
504 }
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
505 }
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
506
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
507 void GrpObj::_debug_Dump(int id, int indent)
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
508 {
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
509 const char* repr;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
510
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
511 if (indent == 0)
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
512 repr = "obj %04d(%p): name %10s pos %d,%d alpha %d (%d/%d/%d)\n";
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
513 else
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
514 repr = " * obj %04d(%p): name %10s pos %d,%d alpha %d (%d/%d/%d)\n";
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
515
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
516 if (picture != NULL) {
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
517 if (!name.empty())
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
518 fprintf(stderr, repr,
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
519 id, this, name.c_str(), PosX(), PosY(), alpha, attr&GrpObj::HIDDEN ? 1 : 0, 0,
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
520 picture->IsHidden());
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
521 else if (!print_moji.empty())
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
522 fprintf(stderr, repr,
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
523 id, this, print_moji.c_str(), PosX(), PosY(), alpha, attr&GrpObj::HIDDEN ? 1 : 0,
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
524 0, picture->IsHidden());
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
525 else
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
526 fprintf(stderr, repr,
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
527 id, this, "<EMPTY>", PosX(), PosY(), alpha, attr&GrpObj::HIDDEN ? 1 : 0, 0,
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
528 picture->IsHidden());
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
529 }
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
530
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
531 GrpObjMap::iterator it;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
532 for (it = children_obj.begin(); it != children_obj.end(); it++)
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
533 it->second._debug_Dump(it->first, indent+1);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
534 }
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
535
0
223b71206888 Initial import
thib
parents:
diff changeset
536 /******************************************************************
223b71206888 Initial import
thib
parents:
diff changeset
537 **
223b71206888 Initial import
thib
parents:
diff changeset
538 ** class ScnGrp*
223b71206888 Initial import
thib
parents:
diff changeset
539 */
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
540 /* Princess Bride: 背景画の一部のみ移動、の実装 */
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
541
0
223b71206888 Initial import
thib
parents:
diff changeset
542 ScnGrpMove::ScnGrpMove(Event::Container& container, PicBase* _pic, PicRoot& _root, Surface* _dest, const Rect& _dest_r, Surface* _src, const Rect& _from, const Rect& _to, int total_time) :
223b71206888 Initial import
thib
parents:
diff changeset
543 WidAnmTime(container, _pic, total_time),
223b71206888 Initial import
thib
parents:
diff changeset
544 dest(_dest), src(_src), root(_root),dest_r(_dest_r), from(_from), to(_to) {
223b71206888 Initial import
thib
parents:
diff changeset
545 int dx = to.lx - from.lx;
223b71206888 Initial import
thib
parents:
diff changeset
546 int dy = to.ty - from.ty;
223b71206888 Initial import
thib
parents:
diff changeset
547 if (dx < 0) dx = -dx;
223b71206888 Initial import
thib
parents:
diff changeset
548 if (dy < 0) dy = -dy;
223b71206888 Initial import
thib
parents:
diff changeset
549 if (dx < dy) dx = dy;
223b71206888 Initial import
thib
parents:
diff changeset
550 if (dx == 0) dx = 1;
223b71206888 Initial import
thib
parents:
diff changeset
551 SetAllCount(dx);
223b71206888 Initial import
thib
parents:
diff changeset
552 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
553
0
223b71206888 Initial import
thib
parents:
diff changeset
554 void ScnGrpMove::Exec(int count) {
223b71206888 Initial import
thib
parents:
diff changeset
555 Rect r(0,0,dest_r.width(),dest_r.height());
223b71206888 Initial import
thib
parents:
diff changeset
556 int dx = to.lx - from.lx;
223b71206888 Initial import
thib
parents:
diff changeset
557 int dy = to.ty - from.ty;
223b71206888 Initial import
thib
parents:
diff changeset
558 int x = dx*count/all_count + from.lx;
223b71206888 Initial import
thib
parents:
diff changeset
559 int y = dy*count/all_count + from.ty;
223b71206888 Initial import
thib
parents:
diff changeset
560 r.rmove(x, y);
223b71206888 Initial import
thib
parents:
diff changeset
561 root.BlitSurface(src, r, dest, dest_r);
223b71206888 Initial import
thib
parents:
diff changeset
562 iterator it;
223b71206888 Initial import
thib
parents:
diff changeset
563 for (it=pic.begin(); it!=pic.end(); it++)
223b71206888 Initial import
thib
parents:
diff changeset
564 (*it)->SetSurface(dest, 0, 0);
223b71206888 Initial import
thib
parents:
diff changeset
565 }
223b71206888 Initial import
thib
parents:
diff changeset
566
223b71206888 Initial import
thib
parents:
diff changeset
567 void ScnGrpAnm::CalcTotal(void) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
568 /* total time を計算 */
0
223b71206888 Initial import
thib
parents:
diff changeset
569 if (empty()) return;
223b71206888 Initial import
thib
parents:
diff changeset
570 int tm = 0;
223b71206888 Initial import
thib
parents:
diff changeset
571 vector<ScnGrpAnmAtom>::iterator it;
223b71206888 Initial import
thib
parents:
diff changeset
572 for (it=begin(); it != end(); it++) tm += it->time;
223b71206888 Initial import
thib
parents:
diff changeset
573 total_time = tm;
223b71206888 Initial import
thib
parents:
diff changeset
574 SetAllCount(tm);
223b71206888 Initial import
thib
parents:
diff changeset
575 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
576
0
223b71206888 Initial import
thib
parents:
diff changeset
577 void ScnGrpAnm::Exec(int count) {
223b71206888 Initial import
thib
parents:
diff changeset
578 int tm = 0; vector<ScnGrpAnmAtom>::iterator it;
223b71206888 Initial import
thib
parents:
diff changeset
579 for (it=begin(); it != end(); it++) {
223b71206888 Initial import
thib
parents:
diff changeset
580 tm += it->time;
223b71206888 Initial import
thib
parents:
diff changeset
581 if (count < tm) break;
223b71206888 Initial import
thib
parents:
diff changeset
582 }
223b71206888 Initial import
thib
parents:
diff changeset
583 if (it == end()) it--;
223b71206888 Initial import
thib
parents:
diff changeset
584 owner.LoadSurface(it->name.c_str(), 0);
223b71206888 Initial import
thib
parents:
diff changeset
585 }
223b71206888 Initial import
thib
parents:
diff changeset
586
223b71206888 Initial import
thib
parents:
diff changeset
587
223b71206888 Initial import
thib
parents:
diff changeset
588 /*****************************************************
223b71206888 Initial import
thib
parents:
diff changeset
589 *
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
590 * Grp
0
223b71206888 Initial import
thib
parents:
diff changeset
591 *
223b71206888 Initial import
thib
parents:
diff changeset
592 */
223b71206888 Initial import
thib
parents:
diff changeset
593
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
594 #include "music2/music.h"
0
223b71206888 Initial import
thib
parents:
diff changeset
595
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
596 Grp::Grp(Event::Container& _event, PicContainer& _parent, const Flags& f, set<int>& _cgm_data):
0
223b71206888 Initial import
thib
parents:
diff changeset
597 event(_event),
223b71206888 Initial import
thib
parents:
diff changeset
598 flags(f),
223b71206888 Initial import
thib
parents:
diff changeset
599 parent(_parent),
223b71206888 Initial import
thib
parents:
diff changeset
600 status(NORMAL),
223b71206888 Initial import
thib
parents:
diff changeset
601 skip_mode(SKIP_NO),
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
602 cgm_data(_cgm_data)
0
223b71206888 Initial import
thib
parents:
diff changeset
603 {
223b71206888 Initial import
thib
parents:
diff changeset
604 int i;
223b71206888 Initial import
thib
parents:
diff changeset
605 for (i=0; i<MAXPDT; i++) {
223b71206888 Initial import
thib
parents:
diff changeset
606 ssurface[i] = 0;
223b71206888 Initial import
thib
parents:
diff changeset
607 dsurface[i] = 0;
223b71206888 Initial import
thib
parents:
diff changeset
608 }
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
609
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
610 music = MuSys::GetInstance();
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
611 config = AyuSysConfig::GetInstance();
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
612
0
223b71206888 Initial import
thib
parents:
diff changeset
613 screen = parent.create_leaf(Rect(0, 0, parent.Width(), parent.Height()), 0);
223b71206888 Initial import
thib
parents:
diff changeset
614 screen_front = parent.create_leaf(Rect(0, 0, parent.Width(), parent.Height()), 0);
223b71206888 Initial import
thib
parents:
diff changeset
615 surface = parent.Root().NewSurface(parent.Width(), parent.Height(), NO_MASK);
223b71206888 Initial import
thib
parents:
diff changeset
616 surface_update = parent.Root().NewSurface(parent.Width(), parent.Height(), NO_MASK);
223b71206888 Initial import
thib
parents:
diff changeset
617 DSurfaceFill(surface, Rect(*surface), 0, 0, 0);
223b71206888 Initial import
thib
parents:
diff changeset
618 DSurfaceFill(surface_update, Rect(*surface), 0, 0, 0);
223b71206888 Initial import
thib
parents:
diff changeset
619 screen->SetSurface(surface, 0, 0);
223b71206888 Initial import
thib
parents:
diff changeset
620 screen->show();
223b71206888 Initial import
thib
parents:
diff changeset
621 screen_front->hide();
223b71206888 Initial import
thib
parents:
diff changeset
622 screen_front->ZMove(screen);
223b71206888 Initial import
thib
parents:
diff changeset
623
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
624 LoadCgm();
0
223b71206888 Initial import
thib
parents:
diff changeset
625
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
626 // Jumps
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
627 RegisterCommand(0, 1, 0, "goto", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
628 RegisterCommand(0, 1, 1, "goto_if", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
629 RegisterCommand(0, 1, 2, "goto_unless", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
630 RegisterCommand(0, 1, 3, "goto_on", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
631 RegisterCommand(0, 1, 4, "goto_case", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
632 RegisterCommand(0, 1, 5, "gosub", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
633 RegisterCommand(0, 1, 6, "gosub_if", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
634 RegisterCommand(0, 1, 7, "gosub_unless", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
635 RegisterCommand(0, 1, 8, "gosub_on", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
636 RegisterCommand(0, 1, 9, "gosub_case", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
637 RegisterCommand(0, 1, 10, "ret", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
638 RegisterCommand(0, 1, 11, "jump", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
639 RegisterCommand(0, 1, 12, "farcall", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
640 RegisterCommand(0, 1, 13, "rtl", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
641 RegisterCommand(0, 1, 16, "gosub_with", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
642 RegisterCommand(0, 1, 17, "ret_with", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
643 RegisterCommand(0, 1, 18, "farcall_with", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
644 RegisterCommand(0, 1, 19, "rtl_with", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
645
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
646 RegisterCommand(2, 1, 1, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
647 RegisterCommand(2, 1, 2, "InvokeDLL", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
648 RegisterCommand(2, 1, 10, "LoadDLL", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
649 RegisterCommand(2, 1, 11, "UnloadDLL", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
650 RegisterCommand(2, 1, 12, "CallDLL", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
651
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
652
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
653 // Selections
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
654 RegisterCommand(0, 2, 0, "select_w", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
655 RegisterCommand(0, 2, 1, "select", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
656 RegisterCommand(0, 2, 2, "select_s2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
657 RegisterCommand(0, 2, 3, "select_s", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
658
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
659 RegisterCommand(0, 2, 10, "select_?? (10)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
660 RegisterCommand(0, 2, 11, "select_?? (11)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
661 RegisterCommand(0, 2, 12, "select_?? (12)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
662 RegisterCommand(0, 2, 13, "select_?? (13)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
663
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
664
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
665 // Messages
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
666 RegisterCommand(0, 3, 3, "par", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
667
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
668 RegisterCommand(0, 3, 15, "spause3", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
669 RegisterCommand(0, 3, 17, "pause", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
670
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
671 RegisterCommand(0, 3, 100, "SetFontColour", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
672 RegisterCommand(0, 3, 101, "FontSize", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
673 RegisterCommand(0, 3, 102, "TextWindow", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
674 RegisterCommand(0, 3, 103, "FastText", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
675 RegisterCommand(0, 3, 104, "NormalText", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
676 RegisterCommand(0, 3, 105, "FontColour", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
677 RegisterCommand(0, 3, 106, "SetFontColourAll", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
678 RegisterCommand(0, 3, 107, "FontSizeAll", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
679
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
680 RegisterCommand(0, 3, 120, "__doruby", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
681
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
682 // Already in _text
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
683 /* RegisterCommand(0, 3, 151, "msgHide", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
684 RegisterCommand(0, 3, 152, "msgClear", NULL); */
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
685 RegisterCommand(0, 3, 161, "msgHideAll", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
686 RegisterCommand(0, 3, 162, "msgClearAll", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
687 RegisterCommand(0, 3, 170, "msgHideAllTemp", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
688
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
689 RegisterCommand(0, 3, 201, "br", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
690 RegisterCommand(0, 3, 202, "par2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
691 RegisterCommand(0, 3, 205, "spause", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
692 RegisterCommand(0, 3, 206, "spause2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
693 RegisterCommand(0, 3, 207, "pause_all", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
694 RegisterCommand(0, 3, 210, "page", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
695
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
696 RegisterCommand(0, 3, 300, "SetIndent", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
697 RegisterCommand(0, 3, 301, "ClearIndent", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
698
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
699 RegisterCommand(0, 3, 310, "TextPos", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
700 RegisterCommand(0, 3, 311, "TextPosX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
701 RegisterCommand(0, 3, 312, "TextPosY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
702 RegisterCommand(0, 3, 320, "TextOffset", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
703 RegisterCommand(0, 3, 321, "TextOffsetX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
704 RegisterCommand(0, 3, 322, "TextOffsetY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
705 RegisterCommand(0, 3, 330, "GetTextPos", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
706
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
707 RegisterCommand(0, 3, 340, "WindowLen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
708 RegisterCommand(0, 3, 341, "WindowLenAll", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
709
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
710 RegisterCommand(0, 3, 1000, "FaceOpen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
711 RegisterCommand(0, 3, 1001, "FaceClear", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
712
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
713 RegisterCommand(0, 3, 2000, "??? (overloads 0 and 1?)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
714 RegisterCommand(0, 3, 3000, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
715
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
716
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
717 // System
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
718 RegisterCommand(0, 4, 120, "SetInterrupt", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
719 RegisterCommand(0, 4, 121, "ClearInterrupt", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
720 RegisterCommand(0, 4, 303, "yield", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
721
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
722 RegisterCommand(0, 4, 300, "rtlButton", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
723 RegisterCommand(0, 4, 301, "rtlCancel", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
724 RegisterCommand(0, 4, 302, "rtlSystem", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
725
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
726 RegisterCommand(0, 4, 1000, "ShowBackground", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
727 RegisterCommand(0, 4, 1100, "SetSkipMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
728 RegisterCommand(0, 4, 1101, "ClearSkipMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
729 RegisterCommand(0, 4, 1102, "SkipMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
730
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
731 RegisterCommand(0, 4, 2000, "aaa", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
732 RegisterCommand(0, 4, 2001, "aaa", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
733
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
734 RegisterCommand(0, 4, 0, "pause", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
735 RegisterCommand(0, 4, 1, "page", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
736 RegisterCommand(0, 4, 2, "bgmLoop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
737
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
738 RegisterCommand(1, 4, 0, "title", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
739
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
740 RegisterCommand(1, 4, 100, "wait", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
741 RegisterCommand(1, 4, 101, "waitC", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
742
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
743 RegisterCommand(1, 4, 110, "ResetTimer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
744 RegisterCommand(1, 4, 111, "time", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
745 RegisterCommand(1, 4, 112, "timeC", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
746 RegisterCommand(1, 4, 113, "tipeC2/Timer2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
747 RegisterCommand(1, 4, 114, "Timer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
748 RegisterCommand(1, 4, 115, "CmpTimer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
749 RegisterCommand(1, 4, 116, "SetTimer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
750
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
751 RegisterCommand(1, 4, 120, "ResetExTimer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
752 RegisterCommand(1, 4, 121, "timeEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
753 RegisterCommand(1, 4, 122, "timeExC", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
754 RegisterCommand(1, 4, 123, "timeExC2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
755 RegisterCommand(1, 4, 124, "ExTimer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
756 RegisterCommand(1, 4, 125, "CmpExTimer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
757 RegisterCommand(1, 4, 126, "SetExTimer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
758
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
759 RegisterCommand(1, 4, 130, "FlushClick", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
760 RegisterCommand(1, 4, 131, "GetClick", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
761 RegisterCommand(1, 4, 132, "WaitClick", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
762 RegisterCommand(1, 4, 133, "GetCursorPos2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
763 RegisterCommand(1, 4, 134, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
764 RegisterCommand(1, 4, 135, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
765 RegisterCommand(1, 4, 136, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
766 RegisterCommand(1, 4, 137, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
767 RegisterCommand(1, 4, 138, "GetCursorPos2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
768
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
769 RegisterCommand(1, 4, 151, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
770
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
771 RegisterCommand(1, 4, 200, "KeyMouseOn", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
772 RegisterCommand(1, 4, 201, "KeyMouseOff", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
773 RegisterCommand(1, 4, 202, "GetCursorPos2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
774 RegisterCommand(1, 4, 203, "SetCursorPos", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
775 RegisterCommand(1, 4, 204, "ShowCursor", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
776 RegisterCommand(1, 4, 205, "HideCursor", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
777 RegisterCommand(1, 4, 206, "GetMouseCursor", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
778 RegisterCommand(1, 4, 207, "MouseCursor", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
779
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
780 RegisterCommand(1, 4, 320, "CallStackClear", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
781 RegisterCommand(1, 4, 321, "CallStackNop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
782 RegisterCommand(1, 4, 322, "CallStackPop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
783 RegisterCommand(1, 4, 323, "CallStackSize", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
784 RegisterCommand(1, 4, 324, "CallStackTrunc", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
785
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
786 RegisterCommand(1, 4, 330, "EnableSkipMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
787 RegisterCommand(1, 4, 331, "DisableSkipMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
788 RegisterCommand(1, 4, 332, "LocalSkipMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
789 RegisterCommand(1, 4, 333, "SetLocalSkipMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
790 RegisterCommand(1, 4, 334, "ClearLocalSkipMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
791
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
792 RegisterCommand(1, 4, 350, "CtrlKeySkip", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
793 RegisterCommand(1, 4, 351, "CtrlKeySkipOn", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
794 RegisterCommand(1, 4, 352, "CtrlKeySkipOff", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
795 RegisterCommand(1, 4, 353, "CtrlPressed", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
796 RegisterCommand(1, 4, 354, "ShiftPressed", NULL);
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
797
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
798 RegisterCommand(1, 4, 364, "PauseCursor", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
799
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
800 RegisterCommand(1, 4, 400, "GetWindowPos", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
801 RegisterCommand(1, 4, 401, "SetWindowPos", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
802 RegisterCommand(1, 4, 402, "WindowResetPos", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
803 RegisterCommand(1, 4, 403, "GetDefaultWindowPos", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
804 RegisterCommand(1, 4, 404, "SetDefaultWindowPos", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
805 RegisterCommand(1, 4, 405, "DefaultWindowResetPos", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
806
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
807 RegisterCommand(1, 4, 410, "GetWakuAll", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
808 RegisterCommand(1, 4, 411, "SetWakuAll", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
809 RegisterCommand(1, 4, 412, "GetWaku", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
810 RegisterCommand(1, 4, 413, "SetWaku", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
811 RegisterCommand(1, 4, 414, "GetWakuMod", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
812 RegisterCommand(1, 4, 415, "SetWakuMod_dwm", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
813 RegisterCommand(1, 4, 416, "SetWakuMod_ewm", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
814
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
815 RegisterCommand(1, 4, 420, "GetWindowAttr2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
816 RegisterCommand(1, 4, 421, "SetWindowAttr2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
817
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
818 RegisterCommand(1, 4, 422, "GetWindowModAttr", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
819 RegisterCommand(1, 4, 423, "SetWindowModAttr", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
820 RegisterCommand(1, 4, 424, "GetWindowAttrMod", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
821 RegisterCommand(1, 4, 425, "SetWindowAttrMod_sam0", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
822 RegisterCommand(1, 4, 426, "SetWindowAttrMod_sam1", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
823 RegisterCommand(1, 4, 427, "SetWindowAttrMod_sam2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
824
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
825 RegisterCommand(1, 4, 430, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
826 RegisterCommand(1, 4, 431, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
827 RegisterCommand(1, 4, 432, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
828 RegisterCommand(1, 4, 435, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
829 RegisterCommand(1, 4, 436, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
830 RegisterCommand(1, 4, 437, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
831 RegisterCommand(1, 4, 440, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
832 RegisterCommand(1, 4, 441, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
833 RegisterCommand(1, 4, 442, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
834 RegisterCommand(1, 4, 445, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
835 RegisterCommand(1, 4, 446, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
836 RegisterCommand(1, 4, 447, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
837 RegisterCommand(1, 4, 450, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
838 RegisterCommand(1, 4, 451, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
839 RegisterCommand(1, 4, 452, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
840 RegisterCommand(1, 4, 455, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
841 RegisterCommand(1, 4, 456, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
842 RegisterCommand(1, 4, 457, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
843
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
844 RegisterCommand(1, 4, 460, "EnableWindowAnm", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
845 RegisterCommand(1, 4, 461, "DisableWindowAnm", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
846 RegisterCommand(1, 4, 462, "GetOpenAnmMod", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
847 RegisterCommand(1, 4, 463, "SetOpenAnmMod", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
848 RegisterCommand(1, 4, 464, "GetOpenAnmTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
849 RegisterCommand(1, 4, 465, "SetOpenAnmTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
850 RegisterCommand(1, 4, 466, "GetCloseAnmMod", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
851 RegisterCommand(1, 4, 467, "SetCloseAnmMod", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
852 RegisterCommand(1, 4, 468, "GetCloseAnmTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
853 RegisterCommand(1, 4, 469, "SetCloseAnmTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
854
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
855 RegisterCommand(1, 4, 500, "InitFrame", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
856 RegisterCommand(1, 4, 501, "InitFrameLoop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
857 RegisterCommand(1, 4, 502, "InitFrameTurn", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
858 RegisterCommand(1, 4, 503, "InitFrameAccel", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
859 RegisterCommand(1, 4, 504, "InitFrameDecel", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
860 RegisterCommand(1, 4, 510, "ReadFrame", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
861 RegisterCommand(1, 4, 511, "FrameActive", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
862 RegisterCommand(1, 4, 512, "AnyFrameActive", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
863 RegisterCommand(1, 4, 513, "ClearFrame", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
864 RegisterCommand(1, 4, 514, "ClearAllFrames", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
865 RegisterCommand(1, 4, 520, "InitExFrame", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
866 RegisterCommand(1, 4, 521, "InitExFrameLoop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
867 RegisterCommand(1, 4, 522, "InitExFrameTurn", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
868 RegisterCommand(1, 4, 523, "InitExFrameAccel", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
869 RegisterCommand(1, 4, 524, "InitExFrameDecel", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
870 RegisterCommand(1, 4, 530, "ReadExFrame", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
871 RegisterCommand(1, 4, 531, "ExFrameActive", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
872 RegisterCommand(1, 4, 532, "AnyExFrameActive", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
873 RegisterCommand(1, 4, 533, "ClearExFrame", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
874 RegisterCommand(1, 4, 534, "ClearAllExFrames", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
875
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
876 RegisterCommand(1, 4, 600, "InitFrames", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
877 RegisterCommand(1, 4, 601, "InitFramesLoop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
878 RegisterCommand(1, 4, 602, "InitFramesTurn", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
879 RegisterCommand(1, 4, 603, "InitFramesAccel", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
880 RegisterCommand(1, 4, 604, "InitFramesDecel", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
881 RegisterCommand(1, 4, 610, "ReadFrames", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
882 RegisterCommand(1, 4, 620, "InitExFrames", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
883 RegisterCommand(1, 4, 621, "InitExFramesLoop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
884 RegisterCommand(1, 4, 622, "InitExFramesTurn", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
885 RegisterCommand(1, 4, 623, "InitExFramesAccel", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
886 RegisterCommand(1, 4, 624, "InitExFramesDecel", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
887 RegisterCommand(1, 4, 630, "ReadExFrames", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
888
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
889 RegisterCommand(1, 4, 800, "index_series", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
890 RegisterCommand(1, 4, 801, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
891
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
892 RegisterCommand(1, 4, 1000, "rnd", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
893 RegisterCommand(1, 4, 1001, "pcnt", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
894 RegisterCommand(1, 4, 1002, "abs", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
895 RegisterCommand(1, 4, 1003, "power", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
896 RegisterCommand(1, 4, 1004, "sin", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
897 RegisterCommand(1, 4, 1005, "modulus", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
898 RegisterCommand(1, 4, 1006, "angle", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
899 RegisterCommand(1, 4, 1007, "min", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
900 RegisterCommand(1, 4, 1008, "max", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
901 RegisterCommand(1, 4, 1009, "constrain", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
902 RegisterCommand(1, 4, 1010, "cos", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
903 RegisterCommand(1, 4, 1011, "sign", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
904 RegisterCommand(1, 4, 1012, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
905 RegisterCommand(1, 4, 1013, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
906
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
907 RegisterCommand(1, 4, 1100, "GetYear", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
908 RegisterCommand(1, 4, 1101, "GetMonth", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
909 RegisterCommand(1, 4, 1102, "GetDay", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
910 RegisterCommand(1, 4, 1103, "GetDayOfWeek", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
911 RegisterCommand(1, 4, 1104, "GetHour", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
912 RegisterCommand(1, 4, 1105, "GetMinute", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
913 RegisterCommand(1, 4, 1106, "GetSecond", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
914 RegisterCommand(1, 4, 1107, "GetMs", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
915 RegisterCommand(1, 4, 1110, "GetDate", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
916 RegisterCommand(1, 4, 1111, "GetTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
917 RegisterCommand(1, 4, 1112, "GetDateTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
918
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
919 RegisterCommand(1, 4, 1120, "SceneNum", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
920
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
921 RegisterCommand(1, 4, 1130, "DefaultGrp", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
922 RegisterCommand(1, 4, 1131, "SetDefaultGrp", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
923 RegisterCommand(1, 4, 1132, "DefaultBgr", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
924 RegisterCommand(1, 4, 1133, "SetDefaultBgr", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
925
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
926 RegisterCommand(1, 4, 1200, "end", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
927 RegisterCommand(1, 4, 1201, "MenuReturn", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
928 RegisterCommand(1, 4, 1202, "MenuReturn2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
929 RegisterCommand(1, 4, 1203, "ReturnMenu", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
930 RegisterCommand(1, 4, 1204, "ReturnPrevSelect", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
931 RegisterCommand(1, 4, 1205, "ReturnPrevSelect2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
932
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
933 RegisterCommand(1, 4, 1210, "ContextMenu", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
934 RegisterCommand(1, 4, 1211, "EnableSyscom", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
935 RegisterCommand(1, 4, 1212, "HideSyscom", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
936 RegisterCommand(1, 4, 1213, "DisableSyscom", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
937 RegisterCommand(1, 4, 1214, "SyscomEnabled", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
938 RegisterCommand(1, 4, 1215, "InvokeSyscom", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
939 RegisterCommand(1, 4, 1216, "ReadSyscom", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
940
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
941 RegisterCommand(1, 4, 1220, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
942 RegisterCommand(1, 4, 1221, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
943 RegisterCommand(1, 4, 1222, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
944 RegisterCommand(1, 4, 1230, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
945 RegisterCommand(1, 4, 1231, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
946 RegisterCommand(1, 4, 1232, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
947 RegisterCommand(1, 4, 1250, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
948 RegisterCommand(1, 4, 1251, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
949 RegisterCommand(1, 4, 1252, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
950 RegisterCommand(1, 4, 1253, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
951 RegisterCommand(1, 4, 1254, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
952
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
953 RegisterCommand(1, 4, 1300, "GetName", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
954 RegisterCommand(1, 4, 1301, "SetName", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
955 RegisterCommand(1, 4, 1302, "nwSingle", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
956 RegisterCommand(1, 4, 1303, "nwMulti", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
957 RegisterCommand(1, 4, 1310, "GetLocalName", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
958 RegisterCommand(1, 4, 1311, "SetLocalName", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
959 RegisterCommand(1, 4, 1312, "nwSingleLocal", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
960 RegisterCommand(1, 4, 1313, "nwMultiLocal", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
961
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
962 RegisterCommand(1, 4, 1409, "SaveExists", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
963 RegisterCommand(1, 4, 1410, "SaveDate", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
964 RegisterCommand(1, 4, 1411, "SaveTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
965 RegisterCommand(1, 4, 1412, "SaveDateTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
966 RegisterCommand(1, 4, 1413, "SaveInfo", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
967 RegisterCommand(1, 4, 1414, "GetSaveFlag", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
968 RegisterCommand(1, 4, 1421, "LatestSave", NULL);
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
969
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
970 RegisterCommand(1, 4, 1500, "cgGetTotal", (CmdImpl) &Grp::impl_cgGet);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
971 RegisterCommand(1, 4, 1501, "cgGetViewed", (CmdImpl) &Grp::impl_cgGet);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
972 RegisterCommand(1, 4, 1502, "cgGetViewedPcnt", (CmdImpl) &Grp::impl_cgGet);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
973 RegisterCommand(1, 4, 1503, "cgGetFlag", (CmdImpl) &Grp::impl_cgStatus);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
974 RegisterCommand(1, 4, 1504, "cgStatus", (CmdImpl) &Grp::impl_cgStatus);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
975 RegisterCommand(1, 4, 1505, "??? (unknown)", NULL);
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
976
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
977 // Input
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
978 RegisterCommand(1, 4, 1700, "CreateInput", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
979 RegisterCommand(1, 4, 1701, "CloseInput", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
980 RegisterCommand(1, 4, 1702, "CloseAllInput", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
981 RegisterCommand(1, 4, 1703, "FocusInput", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
982 RegisterCommand(1, 4, 1710, "SetInput", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
983 RegisterCommand(1, 4, 1711, "GetInput", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
984
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
985 RegisterCommand(1, 4, 2050, "SetCursorMono", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
986 RegisterCommand(1, 4, 2000, "CursorMono", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
987 RegisterCommand(1, 4, 2051, "SetSkipAnimations", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
988 RegisterCommand(1, 4, 2001, "SkipAnimations", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
989 RegisterCommand(1, 4, 2052, "SetLowPriority", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
990 RegisterCommand(1, 4, 2002, "LowPriority", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
991 RegisterCommand(1, 4, 2053, "SetConfirmSaveLoad", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
992 RegisterCommand(1, 4, 2003, "ConfirmSaveLoad", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
993 RegisterCommand(1, 4, 2054, "SetReduceDistortion", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
994 RegisterCommand(1, 4, 2004, "ReduceDistortion", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
995 RegisterCommand(1, 4, 2059, "SetSoundQuality", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
996 RegisterCommand(1, 4, 2009, "SoundQuality", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
997 RegisterCommand(1, 4, 2221, "SetGeneric1", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
998 RegisterCommand(1, 4, 2620, "DefGeneric1", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
999 RegisterCommand(1, 4, 2321, "Generic1", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1000 RegisterCommand(1, 4, 2222, "SetGeneric2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1001 RegisterCommand(1, 4, 2322, "Generic2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1002 RegisterCommand(1, 4, 2621, "DefGeneric2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1003 RegisterCommand(1, 4, 2223, "SetMessageSpeed", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1004 RegisterCommand(1, 4, 2323, "MessageSpeed", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1005 RegisterCommand(1, 4, 2600, "DefMessageSpeed", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1006 RegisterCommand(1, 4, 2224, "SetMessageNoWait", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1007 RegisterCommand(1, 4, 2324, "MessageNoWait", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1008 RegisterCommand(1, 4, 2601, "DefMessageNoWait", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1009 RegisterCommand(1, 4, 2225, "SetKoeMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1010 RegisterCommand(1, 4, 2325, "KoeMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1011 RegisterCommand(1, 4, 2226, "SetBgmKoeFadeVol", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1012 RegisterCommand(1, 4, 2326, "BgmKoeFadeVol", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1013 RegisterCommand(1, 4, 2602, "DefBgmKoeFadeVol", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1014 RegisterCommand(1, 4, 2227, "SetBgmKoeFade", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1015 RegisterCommand(1, 4, 2327, "BgmKoeFade", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1016 RegisterCommand(1, 4, 2603, "DefBgmKoeFade", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1017
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1018 RegisterCommand(1, 4, 2230, "SetBgmVolMod", (CmdImpl) &Grp::impl_SetVolMod);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1019 RegisterCommand(1, 4, 2330, "BgmVolMod", (CmdImpl) &Grp::impl_GetVolMod);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1020 RegisterCommand(1, 4, 2231, "SetKoeVolMod", (CmdImpl) &Grp::impl_SetVolMod);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1021 RegisterCommand(1, 4, 2331, "KoeVolMod", (CmdImpl) &Grp::impl_GetVolMod);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1022 RegisterCommand(1, 4, 2232, "SetPCMVolMod", (CmdImpl) &Grp::impl_SetVolMod);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1023 RegisterCommand(1, 4, 2332, "PCMVolMod", (CmdImpl) &Grp::impl_GetVolMod);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1024 RegisterCommand(1, 4, 2233, "SetSeVolMod", (CmdImpl) &Grp::impl_SetVolMod);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1025 RegisterCommand(1, 4, 2333, "SeVolMod", (CmdImpl) &Grp::impl_GetVolMod);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1026
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1027 RegisterCommand(1, 4, 2240, "SetBgmEnabled", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1028 RegisterCommand(1, 4, 2340, "BgmEnabled", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1029 RegisterCommand(1, 4, 2241, "SetKoeEnabled", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1030 RegisterCommand(1, 4, 2341, "KoeEnabled", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1031 RegisterCommand(1, 4, 2242, "SetPcmEnabled", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1032 RegisterCommand(1, 4, 2342, "PcmEnabled", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1033 RegisterCommand(1, 4, 2243, "SetSeEnabled", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1034 RegisterCommand(1, 4, 2343, "SeEnabled", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1035 RegisterCommand(1, 4, 2250, "SetAutoMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1036 RegisterCommand(1, 4, 2350, "AutoMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1037 RegisterCommand(1, 4, 2604, "DefAutoMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1038 RegisterCommand(1, 4, 2251, "SetAutoCharTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1039 RegisterCommand(1, 4, 2351, "AutoCharTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1040 RegisterCommand(1, 4, 2605, "DefAutoCharTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1041 RegisterCommand(1, 4, 2252, "SetAutoBaseTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1042 RegisterCommand(1, 4, 2352, "AutoBaseTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1043 RegisterCommand(1, 4, 2606, "DefAutoBaseTime", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1044 RegisterCommand(1, 4, 2255, "SetFontQuality", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1045 RegisterCommand(1, 4, 2355, "FontQuality", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1046 RegisterCommand(1, 4, 2256, "SetFontWeight", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1047 RegisterCommand(1, 4, 2356, "FontWeight", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1048 RegisterCommand(1, 4, 2257, "SetFontShadow", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1049 RegisterCommand(1, 4, 2357, "FontShadow", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1050 RegisterCommand(1, 4, 2260, "SetWindowAttrR", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1051 RegisterCommand(1, 4, 2360, "WindowAttrR", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1052 RegisterCommand(1, 4, 2610, "DefWindowAttrR", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1053 RegisterCommand(1, 4, 2261, "SetWindowAttrG", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1054 RegisterCommand(1, 4, 2361, "WindowAttrG", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1055 RegisterCommand(1, 4, 2611, "DefWindowAttrG", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1056 RegisterCommand(1, 4, 2262, "SetWindowAttrB", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1057 RegisterCommand(1, 4, 2362, "WindowAttrB", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1058 RegisterCommand(1, 4, 2612, "DefWindowAttrB", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1059 RegisterCommand(1, 4, 2263, "SetWindowAttrA", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1060 RegisterCommand(1, 4, 2363, "WindowAttrA", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1061 RegisterCommand(1, 4, 2613, "DefWindowAttrA", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1062 RegisterCommand(1, 4, 2264, "SetWindowAttrF", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1063 RegisterCommand(1, 4, 2364, "WindowAttrF", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1064 RegisterCommand(1, 4, 2614, "DefWindowAttrF", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1065 RegisterCommand(1, 4, 2265, "SetWindowAttr_swaRGB", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1066 RegisterCommand(1, 4, 2365, "GetWindowAttr_gwaRGB", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1067 RegisterCommand(1, 4, 2615, "DefWindowAttr_dwaRGB", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1068 RegisterCommand(1, 4, 2266, "SetWindowAttr_swaRGBA", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1069 RegisterCommand(1, 4, 2366, "GetWindowAttr_gwaRGBA", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1070 RegisterCommand(1, 4, 2616, "DefWindowAttr_dwaRGBA", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1071 RegisterCommand(1, 4, 2267, "SetWindowAttr", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1072 RegisterCommand(1, 4, 2367, "GetWindowAttr", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1073 RegisterCommand(1, 4, 2617, "DefWindowAttr", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1074 RegisterCommand(1, 4, 2270, "SetShowObject1", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1075 RegisterCommand(1, 4, 2370, "ShowObject1", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1076 RegisterCommand(1, 4, 2271, "SetShowObject2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1077 RegisterCommand(1, 4, 2371, "ShowObject2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1078 RegisterCommand(1, 4, 2272, "SetShowWeather", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1079 RegisterCommand(1, 4, 2372, "ShowWeather", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1080 RegisterCommand(1, 4, 2273, "SetClassifyText", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1081 RegisterCommand(1, 4, 2373, "ClassifyText", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1082 RegisterCommand(1, 4, 2274, "SetUseKoe", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1083 RegisterCommand(1, 4, 2374, "UseKoe", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1084 RegisterCommand(1, 4, 2275, "SetScreenMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1085 RegisterCommand(1, 4, 2375, "ScreenMode", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1086 RegisterCommand(1, 4, 2276, "??? (setsyscom12?)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1087 RegisterCommand(1, 4, 2622, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1088 RegisterCommand(1, 4, 2623, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1089 RegisterCommand(1, 4, 2624, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1090 RegisterCommand(1, 4, 2625, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1091 RegisterCommand(1, 4, 2626, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1092 RegisterCommand(1, 4, 2627, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1093 RegisterCommand(1, 4, 2628, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1094 RegisterCommand(1, 4, 2629, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1095
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1096 RegisterCommand(1, 4, 3000, "menu_save", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1097 RegisterCommand(1, 4, 3001, "menu_load", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1098 RegisterCommand(1, 4, 3002, "savemenu", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1099 RegisterCommand(1, 4, 3003, "loadmenu", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1100 RegisterCommand(1, 4, 3006, "save2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1101 RegisterCommand(1, 4, 3007, "save", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1102 RegisterCommand(1, 4, 3008, "load2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1103 RegisterCommand(1, 4, 3009, "load", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1104 RegisterCommand(1, 4, 3100, "menu_save_always", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1105 RegisterCommand(1, 4, 3101, "menu_load_always", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1106 RegisterCommand(1, 4, 3106, "save_always2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1107 RegisterCommand(1, 4, 3107, "save_always", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1108 RegisterCommand(1, 4, 3108, "load_always2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1109 RegisterCommand(1, 4, 3109, "load_always", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1110
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1111 RegisterCommand(1, 4, 3500, "Savepoint", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1112 RegisterCommand(1, 4, 3501, "EnableAutoSavepoints", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1113 RegisterCommand(1, 4, 3502, "DisableAutoSavepoints", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1114 RegisterCommand(1, 4, 3503, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1115
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1116
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1117 // Os
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1118 RegisterCommand(1, 5, 0, "shell", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1119 RegisterCommand(1, 5, 10, "launch", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1120
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1121 RegisterCommand(0, 5, 1, "goto", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1122 RegisterCommand(0, 5, 2, "goto_unless", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1123 RegisterCommand(0, 5, 5, "gosub", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1124 RegisterCommand(0, 5, 6, "gosub_if", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1125 RegisterCommand(0, 5, 7, "gosub_unless", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1126 RegisterCommand(0, 5, 10, "ret", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1127 RegisterCommand(0, 5, 11, "jump", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1128 RegisterCommand(0, 5, 12, "farcall", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1129 RegisterCommand(0, 5, 13, "rtl", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1130
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1131
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1132 // String
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1133 RegisterCommand(1, 10, 0, "strcpy", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1134 RegisterCommand(1, 10, 1, "strclear", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1135 RegisterCommand(1, 10, 2, "strcat", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1136 RegisterCommand(1, 10, 3, "strlen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1137 RegisterCommand(1, 10, 4, "strcmp", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1138 RegisterCommand(1, 10, 5, "strsub", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1139 RegisterCommand(1, 10, 6, "strrsub", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1140 RegisterCommand(1, 10, 7, "strcharlen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1141 RegisterCommand(1, 10, 8, "strtrunc", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1142 RegisterCommand(1, 10, 10, "hantozen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1143 RegisterCommand(1, 10, 11, "zentohan", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1144 RegisterCommand(1, 10, 12, "Uppercase", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1145 RegisterCommand(1, 10, 13, "Lowercase", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1146 RegisterCommand(1, 10, 14, "itoa_ws", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1147 RegisterCommand(1, 10, 15, "itoa_s", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1148 RegisterCommand(1, 10, 16, "itoa_w", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1149 RegisterCommand(1, 10, 17, "itoa", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1150 RegisterCommand(1, 10, 18, "atoi", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1151 RegisterCommand(1, 10, 19, "digits", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1152 RegisterCommand(1, 10, 20, "digit", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1153 RegisterCommand(1, 10, 30, "strpos", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1154 RegisterCommand(1, 10, 31, "strlpos", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1155 RegisterCommand(1, 10, 100, "intout/strout", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1156 RegisterCommand(1, 10, 200, "strused", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1157
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1158
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1159 // Block manipulation functions
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1160 RegisterCommand(1, 11, 0, "setarray", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1161 RegisterCommand(1, 11, 1, "setrng", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1162 RegisterCommand(1, 11, 2, "cpyrng", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1163 RegisterCommand(1, 11, 3, "setarray_stepped", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1164 RegisterCommand(1, 11, 4, "setrng_stepped", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1165 RegisterCommand(1, 11, 5, "??? (unknown)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1166 RegisterCommand(1, 11, 6, "cpyvars", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1167
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1168 RegisterCommand(1, 11, 100, "sum", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1169 RegisterCommand(1, 11, 101, "sums", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1170
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1171
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1172 // Layered shaking functions
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1173 RegisterCommand(1, 12, 0, "ShakeLayersStop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1174
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1175 RegisterCommand(1, 12, 1100, "ShakeLayers_shlud", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1176 RegisterCommand(1, 12, 1101, "ShakeLayers_shlrl", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1177 RegisterCommand(1, 12, 1102, "ShakeLayers2D", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1178 RegisterCommand(1, 12, 1200, "ShakeLayers_shlup", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1179 RegisterCommand(1, 12, 1201, "ShakeLayers_shldn", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1180 RegisterCommand(1, 12, 1202, "ShakeLayers_shlle", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1181 RegisterCommand(1, 12, 1203, "ShakeLayers_shlri", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1182 RegisterCommand(1, 12, 1300, "ShakeLayersSpec", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1183
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1184 RegisterCommand(1, 12, 3100, "ShakeLayersEx_xshlud", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1185 RegisterCommand(1, 12, 3101, "ShakeLayersEx_xshlrl", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1186 RegisterCommand(1, 12, 3102, "ShakeLayers2DEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1187 RegisterCommand(1, 12, 3200, "ShakeLayersEx_xshlup", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1188 RegisterCommand(1, 12, 3201, "ShakeLayersEx_xshldn", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1189 RegisterCommand(1, 12, 3202, "ShakeLayersEx_xshlle", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1190 RegisterCommand(1, 12, 3203, "ShakeLayersEx_xshlri", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1191 RegisterCommand(1, 12, 3300, "ShakeLayersSpecEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1192
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1193 // Shaking
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1194 RegisterCommand(1, 13, 0, "ShakeStop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1195
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1196 RegisterCommand(1, 13, 1100, "ShakeScreen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1197 RegisterCommand(1, 13, 1101, "ShakeScreen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1198 RegisterCommand(1, 13, 1102, "ShakeScreen2D", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1199 RegisterCommand(1, 13, 1200, "ShakeScreen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1200 RegisterCommand(1, 13, 1201, "ShakeScreen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1201 RegisterCommand(1, 13, 1202, "ShakeScreen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1202 RegisterCommand(1, 13, 1203, "ShakeScreen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1203 RegisterCommand(1, 13, 1300, "ShakeSpec", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1204 RegisterCommand(1, 13, 1400, "ShakeScreen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1205
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1206 RegisterCommand(1, 13, 3100, "ShakeScreenEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1207 RegisterCommand(1, 13, 3101, "ShakeScreenEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1208 RegisterCommand(1, 13, 3102, "ShakeScreen2DEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1209 RegisterCommand(1, 13, 3200, "ShakeScreenEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1210 RegisterCommand(1, 13, 3201, "ShakeScreenEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1211 RegisterCommand(1, 13, 3202, "ShakeScreenEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1212 RegisterCommand(1, 13, 3203, "ShakeScreenEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1213 RegisterCommand(1, 13, 3300, "ShakeSpecEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1214 RegisterCommand(1, 13, 3400, "ShakeScreenEx", NULL);
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1215
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1216 // Music
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1217 RegisterCommand(1, 20, 0, "bgmLoop", (CmdImpl) &Grp::impl_bgmLoop);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1218 RegisterCommand(1, 20, 1, "bgmPlayEx", (CmdImpl) &Grp::impl_bgmLoop); //FIXME: wait
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1219 RegisterCommand(1, 20, 2, "bgmPlay", (CmdImpl) &Grp::impl_bgmLoop);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1220 RegisterCommand(1, 20, 3, "bgmWait", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1221 RegisterCommand(1, 20, 4, "bgmPlaying", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1222 RegisterCommand(1, 20, 5, "bgmStop", (CmdImpl) &Grp::impl_bgmStop);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1223 RegisterCommand(1, 20, 6, "bgmStop2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1224 RegisterCommand(1, 20, 7, "bgmStatus", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1225 RegisterCommand(1, 20, 8, "bgmRewind", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1226 RegisterCommand(1, 20, 9, "bgmStop3", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1227 RegisterCommand(1, 20, 10, "bgmStop4", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1228 RegisterCommand(1, 20, 11, "bgmVolume", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1229 RegisterCommand(1, 20, 12, "bgmSetVolume", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1230 RegisterCommand(1, 20, 13, "bgmUnMute", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1231 RegisterCommand(1, 20, 14, "bgmMute", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1232 RegisterCommand(1, 20, 105, "bgmFadeOut", (CmdImpl) &Grp::impl_bgmStop);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1233 RegisterCommand(1, 20, 106, "bgmFadeOut2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1234 RegisterCommand(1, 20, 107, "bgmStatus2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1235 RegisterCommand(1, 20, 200, "bgmTimer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1236
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1237 // Sound effects
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1238 RegisterCommand(1, 21, 0, "wavPlay", (CmdImpl) &Grp::impl_playWav);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1239 RegisterCommand(1, 21, 1, "wavPlayEx", (CmdImpl) &Grp::impl_playWav);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1240 RegisterCommand(1, 21, 2, "wavLoop", (CmdImpl) &Grp::impl_playWav);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1241 RegisterCommand(1, 21, 3, "wavWait", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1242 RegisterCommand(1, 21, 4, "wavPlaying", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1243 RegisterCommand(1, 21, 5, "wavStop", (CmdImpl) &Grp::impl_stopWav);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1244 RegisterCommand(1, 21, 7, "wavPlaying2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1245 RegisterCommand(1, 21, 8, "wavRewind", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1246 RegisterCommand(1, 21, 9, "wavStop3", (CmdImpl) &Grp::impl_stopWav);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1247 RegisterCommand(1, 21, 10, "wavStop4", (CmdImpl) &Grp::impl_stopWav);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1248 RegisterCommand(1, 21, 11, "wavVolume", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1249 RegisterCommand(1, 21, 12, "wavSetVolume", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1250 RegisterCommand(1, 21, 13, "wavUnMute", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1251 RegisterCommand(1, 21, 14, "wavMute", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1252 RegisterCommand(1, 21, 20, "wavStopAll", (CmdImpl) &Grp::impl_stopWav);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1253 RegisterCommand(1, 21, 105, "wavFadeout", (CmdImpl) &Grp::impl_stopWav);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1254 RegisterCommand(1, 21, 106, "wavFadeOut2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1255
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1256 RegisterCommand(1, 22, 0, "sePlay", (CmdImpl) &Grp::impl_playSE);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1257
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1258 // Voices
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1259 RegisterCommand(1, 23, 0, "koePlay", (CmdImpl) &Grp::impl_koePlay);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1260 RegisterCommand(1, 23, 1, "koePlayEx", (CmdImpl) &Grp::impl_koePlay); //FIXME
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1261 RegisterCommand(1, 23, 3, "koeWait", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1262 RegisterCommand(1, 23, 4, "koePlaying", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1263 RegisterCommand(1, 23, 5, "koeStop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1264 RegisterCommand(1, 23, 6, "koeWaitC", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1265 RegisterCommand(1, 23, 7, "koePlayExC", (CmdImpl) &Grp::impl_koePlay); //FIXME
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1266 RegisterCommand(1, 23, 8, "koeDoPlay", (CmdImpl) &Grp::impl_koePlay); //FIXME
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1267 RegisterCommand(1, 23, 9, "koeDoPlayEx", (CmdImpl) &Grp::impl_koePlay); //FIXME
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1268 RegisterCommand(1, 23, 10, "koeDoPlayExC", (CmdImpl) &Grp::impl_koePlay); //FIXME
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1269 RegisterCommand(1, 23, 11, "koeVolume", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1270 RegisterCommand(1, 23, 12, "koeSetVolume", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1271 RegisterCommand(1, 23, 13, "koeUnMute", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1272 RegisterCommand(1, 23, 14, "koeMute", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1273
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1274 // Videos
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1275 RegisterCommand(1, 26, 0, "movPlay", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1276 RegisterCommand(1, 26, 1, "movPlayEx", (CmdImpl) &Grp::impl_movPlay);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1277 RegisterCommand(1, 26, 2, "movLoop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1278 RegisterCommand(1, 26, 3, "movWait", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1279 RegisterCommand(1, 26, 4, "movPlaying", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1280 RegisterCommand(1, 26, 5, "movStop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1281 RegisterCommand(1, 26, 20, "movPlayExC", (CmdImpl) &Grp::impl_movPlay);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1282
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1283 // Graphic stack
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1284 RegisterCommand(1, 30, 0, "stackClear", (CmdImpl) &Grp::impl_stackClear);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1285 RegisterCommand(1, 30, 1, "stackNop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1286 RegisterCommand(1, 30, 2, "stackPop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1287 RegisterCommand(1, 30, 3, "stackSize", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1288 RegisterCommand(1, 30, 4, "stackTrunc", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1289
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1290 // Screen settings
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1291 RegisterCommand(1, 30, 20, "DrawAuto", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1292 RegisterCommand(1, 30, 21, "DrawSemiAuto", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1293 RegisterCommand(1, 30, 22, "DrawManual", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1294
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1295 RegisterCommand(1, 30, 30, "ModeToScreenSize", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1296 RegisterCommand(1, 30, 31, "GetDCPixel", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1297
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1298 RegisterCommand(1, 30, 40, "??? (Princess Bride)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1299
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1300 RegisterCommand(1, 31, 0, "refresh", (CmdImpl) &Grp::impl_refresh);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1301
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1302 // Graphics
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1303 RegisterCommand(1, 33, 15, "allocDC", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1304 RegisterCommand(1, 33, 16, "freeDC", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1305 RegisterCommand(1, 33, 20, "grpLoadMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1306 RegisterCommand(1, 33, 30, "grpTextout", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1307 RegisterCommand(1, 33, 31, "wipe", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1308 RegisterCommand(1, 33, 32, "shake", (CmdImpl) &Grp::impl_shake);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1309 RegisterCommand(1, 33, 50, "grpLoad", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1310 RegisterCommand(1, 33, 51, "grpMaskLoad", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1311 RegisterCommand(1, 33, 70, "grpBuffer", (CmdImpl) &Grp::impl_grpBuffer);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1312 RegisterCommand(1, 33, 71, "grpMaskBuffer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1313 RegisterCommand(1, 33, 72, "grpDisplay", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1314 RegisterCommand(1, 33, 73, "grpOpenBG", (CmdImpl) &Grp::impl_grpOpen);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1315 RegisterCommand(1, 33, 74, "grpMaskOpen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1316 RegisterCommand(1, 33, 75, "grpMulti", (CmdImpl) &Grp::impl_grpMulti); //FIXME: or not...
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1317 RegisterCommand(1, 33, 76, "grpOpen", (CmdImpl) &Grp::impl_grpOpen);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1318 RegisterCommand(1, 33, 77, "grpMulti", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1319 RegisterCommand(1, 33, 100, "grpCopy", (CmdImpl) &Grp::impl_grpCopy);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1320 RegisterCommand(1, 33, 101, "grpMaskCopy", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1321 RegisterCommand(1, 33, 102, "grpMaskBlend", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1322 RegisterCommand(1, 33, 120, "grpCopyWithMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1323 RegisterCommand(1, 33, 121, "grpMaskCopyWithMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1324 RegisterCommand(1, 33, 140, "grpCopyInvMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1325 RegisterCommand(1, 33, 141, "grpMaskCopyInvMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1326 RegisterCommand(1, 33, 160, "grpRotate", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1327 RegisterCommand(1, 33, 161, "grpMaskRotate", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1328 RegisterCommand(1, 33, 162, "grpRotateAdd", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1329 RegisterCommand(1, 33, 163, "grpMaskRotateAdd", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1330 RegisterCommand(1, 33, 164, "grpRotateSub", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1331 RegisterCommand(1, 33, 165, "grpMaskRotateSub", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1332 RegisterCommand(1, 33, 200, "grpOutline", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1333 RegisterCommand(1, 33, 201, "grpFill", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1334 RegisterCommand(1, 33, 300, "grpInvert", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1335 RegisterCommand(1, 33, 301, "grpMono", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1336 RegisterCommand(1, 33, 302, "grpColour", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1337 RegisterCommand(1, 33, 303, "grpLight", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1338 RegisterCommand(1, 33, 400, "grpSwap", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1339 RegisterCommand(1, 33, 401, "grpStretchBlt", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1340 RegisterCommand(1, 33, 402, "grpZoom", NULL); // (258, 208, 401, 315, 0, 0, 639, 479, 1, 0, 0, 639, 479, 1750) XXX
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1341 RegisterCommand(1, 33, 403, "grpFade", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1342 RegisterCommand(1, 33, 404, "grpFlash", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1343 RegisterCommand(1, 33, 406, "grpPan", (CmdImpl) &Grp::impl_grpPan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1344 RegisterCommand(1, 33, 407, "grpShift", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1345 RegisterCommand(1, 33, 408, "grpSlide", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1346 RegisterCommand(1, 33, 409, "grpMaskStretchBlt", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1347 RegisterCommand(1, 33, 410, "grpNumber", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1348 RegisterCommand(1, 33, 411, "grpMaskNumber", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1349 RegisterCommand(1, 33, 500, "grpCMaskCopy", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1350 RegisterCommand(1, 33, 501, "grpAnd", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1351 RegisterCommand(1, 33, 502, "grpOr", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1352 RegisterCommand(1, 33, 600, "grpAdd", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1353 RegisterCommand(1, 33, 601, "grpMaskAdd", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1354 RegisterCommand(1, 33, 620, "grpAddWithMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1355 RegisterCommand(1, 33, 621, "grpMaskAddWithMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1356 RegisterCommand(1, 33, 640, "grpAddInvMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1357 RegisterCommand(1, 33, 641, "grpMaskAddInvMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1358 RegisterCommand(1, 33, 700, "grpSub", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1359 RegisterCommand(1, 33, 701, "grpMaskSub", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1360 RegisterCommand(1, 33, 720, "grpSubWithMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1361 RegisterCommand(1, 33, 721, "grpMaskSubWithMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1362 RegisterCommand(1, 33, 740, "grpSubInvMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1363 RegisterCommand(1, 33, 741, "grpMaskSubInvMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1364 RegisterCommand(1, 33, 1050, "recLoad", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1365 RegisterCommand(1, 33, 1051, "recMaskLoad", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1366 RegisterCommand(1, 33, 1052, "recDisplay", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1367 RegisterCommand(1, 33, 1053, "recOpenBg", (CmdImpl) &Grp::impl_grpOpen);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1368 RegisterCommand(1, 33, 1054, "recMaskOpen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1369 RegisterCommand(1, 33, 1056, "recOpen", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1370 RegisterCommand(1, 33, 1055, "recMulti", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1371 RegisterCommand(1, 33, 1057, "recMulti", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1372 RegisterCommand(1, 33, 1100, "recCopy", (CmdImpl) &Grp::impl_recCopy);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1373 RegisterCommand(1, 33, 1101, "recMaskCopy", (CmdImpl) &Grp::impl_recCopy); //TODO: use source's alpha
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1374 RegisterCommand(1, 33, 1102, "recMaskBlend", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1375 RegisterCommand(1, 33, 1120, "recCopyWithMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1376 RegisterCommand(1, 33, 1121, "recMaskCopyWithMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1377 RegisterCommand(1, 33, 1140, "recCopyInvMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1378 RegisterCommand(1, 33, 1141, "recMaskCopyInvMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1379 RegisterCommand(1, 33, 1160, "recRotate", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1380 RegisterCommand(1, 33, 1161, "recMaskRotate", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1381 RegisterCommand(1, 33, 1162, "recRotateAdd", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1382 RegisterCommand(1, 33, 1163, "recMaskRotateAdd", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1383 RegisterCommand(1, 33, 1164, "recRotateSub", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1384 RegisterCommand(1, 33, 1165, "recMaskRotateSub", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1385 RegisterCommand(1, 33, 1200, "recOutline", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1386 RegisterCommand(1, 33, 1201, "recFill", (CmdImpl) &Grp::impl_recFill);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1387 RegisterCommand(1, 33, 1300, "recInvert", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1388 RegisterCommand(1, 33, 1301, "recMono", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1389 RegisterCommand(1, 33, 1302, "recColour", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1390 RegisterCommand(1, 33, 1303, "recLight", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1391 RegisterCommand(1, 33, 1400, "recSwap", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1392 RegisterCommand(1, 33, 1401, "recStretchBlt", (CmdImpl) &Grp::impl_recCopy);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1393 RegisterCommand(1, 33, 1402, "recZoom", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1394 RegisterCommand(1, 33, 1403, "recFade", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1395 RegisterCommand(1, 33, 1404, "recFlash", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1396 RegisterCommand(1, 33, 1406, "recPan", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1397 RegisterCommand(1, 33, 1407, "recShift", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1398 RegisterCommand(1, 33, 1408, "recSlide", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1399 RegisterCommand(1, 33, 1409, "recMaskStretchBlt", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1400 RegisterCommand(1, 33, 1500, "recCMaskCopy", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1401 RegisterCommand(1, 33, 1501, "recAnd", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1402 RegisterCommand(1, 33, 1502, "recOr", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1403 RegisterCommand(1, 33, 1600, "recAdd", (CmdImpl) &Grp::impl_recAdd);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1404 RegisterCommand(1, 33, 1601, "recMaskAdd", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1405 RegisterCommand(1, 33, 1620, "recAddWithMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1406 RegisterCommand(1, 33, 1621, "recMaskAddWithMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1407 RegisterCommand(1, 33, 1640, "recAddInvMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1408 RegisterCommand(1, 33, 1641, "recMaskAddInvMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1409 RegisterCommand(1, 33, 1700, "recSub", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1410 RegisterCommand(1, 33, 1701, "recMaskSub", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1411 RegisterCommand(1, 33, 1720, "recSubWithMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1412 RegisterCommand(1, 33, 1721, "recMaskSubWithMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1413 RegisterCommand(1, 33, 1740, "recSubInvMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1414 RegisterCommand(1, 33, 1741, "recMaskSubInvMask", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1415
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1416 // SerialPDT
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1417 RegisterCommand(1, 34, 2100, "snmPlay", (CmdImpl) &Grp::impl_snmPlay);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1418 RegisterCommand(1, 34, 2101, "snmPlayEx", (CmdImpl) &Grp::impl_snmPlay);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1419 RegisterCommand(1, 34, 2102, "snmLoop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1420 RegisterCommand(1, 34, 2103, "snmPlayCmp", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1421 RegisterCommand(1, 34, 2104, "snmPlayCmpEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1422 RegisterCommand(1, 34, 2105, "snmLoopCmp", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1423 RegisterCommand(1, 34, 2106, "snmPlayNc", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1424 RegisterCommand(1, 34, 2107, "snmPlayNcEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1425 RegisterCommand(1, 34, 2108, "snmLoopNc", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1426 RegisterCommand(1, 34, 2109, "??? (undocumented)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1427 RegisterCommand(1, 34, 2110, "snmStretch", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1428 RegisterCommand(1, 34, 2111, "snmStretchEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1429 RegisterCommand(1, 34, 2112, "snmStretchLoop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1430 RegisterCommand(1, 34, 2113, "snmStretchCmp", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1431 RegisterCommand(1, 34, 2114, "snmStretchCmpEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1432 RegisterCommand(1, 34, 2115, "snmStretchLoopCmp", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1433 RegisterCommand(1, 34, 2116, "snmStretchNc", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1434 RegisterCommand(1, 34, 2117, "snmStretchNcEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1435 RegisterCommand(1, 34, 2118, "snmStretchLoopNc", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1436 RegisterCommand(1, 34, 2119, "??? (undocumented)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1437 RegisterCommand(1, 34, 2120, "snmScroll", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1438 RegisterCommand(1, 34, 2121, "snmScrollEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1439 RegisterCommand(1, 34, 2122, "snmScrollLoop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1440
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1441 RegisterCommand(1, 34, 3100, "snmBgPlay", (CmdImpl) &Grp::impl_snmPlay);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1442 RegisterCommand(1, 34, 3101, "snmBgPlayEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1443 RegisterCommand(1, 34, 3102, "snmBgLoop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1444 RegisterCommand(1, 34, 3103, "snmBgPlayCmp", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1445 RegisterCommand(1, 34, 3104, "snmBgPlayCmpEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1446 RegisterCommand(1, 34, 3105, "snmBgLoopCmp", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1447 RegisterCommand(1, 34, 3106, "snmBgPlayNc", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1448 RegisterCommand(1, 34, 3107, "snmBgPlayNcEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1449 RegisterCommand(1, 34, 3108, "snmBgLoopNc", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1450 RegisterCommand(1, 34, 3109, "??? (undocumented)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1451 RegisterCommand(1, 34, 3110, "snmBgStretch", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1452 RegisterCommand(1, 34, 3111, "snmBgStretchEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1453 RegisterCommand(1, 34, 3112, "snmBgStretchLoop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1454 RegisterCommand(1, 34, 3113, "snmBgStretchCmp", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1455 RegisterCommand(1, 34, 3114, "snmBgStretchCmpEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1456 RegisterCommand(1, 34, 3115, "snmBgStretchLoopCmp", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1457 RegisterCommand(1, 34, 3116, "snmBgStretchNc", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1458 RegisterCommand(1, 34, 3117, "snmBgStretchNcEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1459 RegisterCommand(1, 34, 3118, "snmBgStretchLoopNc", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1460 RegisterCommand(1, 34, 3119, "??? (undocumented)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1461 RegisterCommand(1, 34, 3120, "snmBgScroll", (CmdImpl) &Grp::impl_snmBgScroll);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1462 RegisterCommand(1, 34, 3121, "snmBgScrollEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1463 RegisterCommand(1, 34, 3122, "snmBgScrollLoop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1464
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1465 // Obj
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1466 RegisterCommand(1, 60, 2, "objCopyFgToBg", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1467
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1468 RegisterCommand(1, 61, 2, "objCopy", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1469 RegisterCommand(1, 61, 3, "objCopyToBg", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1470 RegisterCommand(1, 61, 4, "objWipeCopyOn", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1471 RegisterCommand(1, 61, 5, "objWipeCopyOff", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1472 RegisterCommand(1, 61, 10, "objClear", (CmdImpl) &Grp::impl_objClear);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1473 RegisterCommand(1, 61, 11, "objDelete", (CmdImpl) &Grp::impl_objClear);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1474 RegisterCommand(1, 61, 14, "objSwap ??? (undocumented)", NULL);
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1475
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1476 // ObjBg
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1477 RegisterCommand(1, 62, 2, "objBgCopyToFg", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1478 RegisterCommand(1, 62, 3, "objBgCopy", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1479 RegisterCommand(1, 62, 4, "objBgWipeCopyOn", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1480 RegisterCommand(1, 62, 5, "objBgWipeCopyOff", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1481 RegisterCommand(1, 62, 10, "objBgClear", (CmdImpl) &Grp::impl_objClear);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1482 RegisterCommand(1, 62, 11, "objBgDelete", (CmdImpl) &Grp::impl_objClear);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1483 RegisterCommand(1, 62, 14, "objSwap ??? (undocumented)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1484
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1485 // Obj
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1486 RegisterCommand(1, 71, 1000, "objOfFile", (CmdImpl) &Grp::impl_createObj);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1487 RegisterCommand(1, 71, 1001, "objOfFile2", (CmdImpl) &Grp::impl_createObj);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1488 RegisterCommand(1, 71, 1002, "objOfFile3", (CmdImpl) &Grp::impl_createObj);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1489 RegisterCommand(1, 71, 1003, "objOfFileGan/Anm", (CmdImpl) &Grp::impl_createObj);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1490 RegisterCommand(1, 71, 1100, "objOfArea", (CmdImpl) &Grp::impl_createObj);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1491 RegisterCommand(1, 71, 1101, "objOfRect", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1492 RegisterCommand(1, 71, 1200, "objOfText", (CmdImpl) &Grp::impl_createObj);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1493 RegisterCommand(1, 71, 1300, "objDriftOfFile", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1494 RegisterCommand(1, 71, 1400, "objOfDigits", (CmdImpl) &Grp::impl_createObj);
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1495
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1496 RegisterCommand(2, 71, 1000, "subObjOfFile", (CmdImpl) &Grp::impl_createObj);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1497 RegisterCommand(2, 71, 1001, "subObjOfFile2", (CmdImpl) &Grp::impl_createObj);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1498 RegisterCommand(2, 71, 1002, "subObjOfFile3", (CmdImpl) &Grp::impl_createObj);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1499 RegisterCommand(2, 71, 1003, "subObjOfGan", (CmdImpl) &Grp::impl_createObj);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1500 RegisterCommand(2, 71, 1100, "subObjOfArea", (CmdImpl) &Grp::impl_createObj);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1501 RegisterCommand(2, 71, 1101, "subObjOfRect", (CmdImpl) &Grp::impl_createObj);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1502 RegisterCommand(2, 71, 1200, "subObjOfText", (CmdImpl) &Grp::impl_createObj);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1503 RegisterCommand(2, 71, 1300, "subObjDriftOfFile", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1504 RegisterCommand(2, 71, 1400, "subObjOfDigits", (CmdImpl) &Grp::impl_createObj);
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1505
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1506 // ObjBg
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1507 //I suppose it's the same thing as createObj*, but I didn't see it in action. For now, mark it unhandled.
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1508 RegisterCommand(1, 72, 1000, "objBgOfFile", (CmdImpl) &Grp::impl_createObj);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1509 RegisterCommand(1, 72, 1001, "objBgOfFile2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1510 RegisterCommand(1, 72, 1002, "objBgOfFile3", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1511 RegisterCommand(1, 72, 1003, "objBgOfFileGan/Anm", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1512 RegisterCommand(1, 72, 1100, "objBgOfArea", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1513 RegisterCommand(1, 72, 1101, "objBgOfRect", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1514 RegisterCommand(1, 72, 1200, "objBgOfText", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1515 RegisterCommand(1, 72, 1300, "objBgDriftOfFile", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1516 RegisterCommand(1, 72, 1400, "objBgOfDigits", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1517
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1518 RegisterCommand(2, 72, 1000, "objBgOfFile", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1519 RegisterCommand(2, 72, 1001, "objBgOfFile2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1520 RegisterCommand(2, 72, 1002, "objBgOfFile3", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1521 RegisterCommand(2, 72, 1003, "objBgOfFileGan/Anm", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1522 RegisterCommand(2, 72, 1100, "objBgOfArea", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1523 RegisterCommand(2, 72, 1101, "objBgOfRect", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1524 RegisterCommand(2, 72, 1200, "objBgOfText", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1525 RegisterCommand(2, 72, 1300, "objBgDriftOfFile", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1526 RegisterCommand(2, 72, 1400, "objBgOfDigits", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1527
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1528 /*RegisterCommand(1, 72, 1000, "objBgOfFile", (CmdImpl) &Grp::impl_createObj);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1529 RegisterCommand(1, 72, 1003, "objBgOfFileGan", (CmdImpl) &Grp::impl_createObj);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1530 RegisterCommand(1, 72, 1100, "objBgOfArea", (CmdImpl) &Grp::impl_createObj);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1531 RegisterCommand(1, 72, 1200, "objBgOfText", (CmdImpl) &Grp::impl_createObj);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1532 RegisterCommand(1, 72, 1300, "objBgDriftOfFile", (CmdImpl) &Grp::impl_createObj);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1533 RegisterCommand(1, 72, 1400, "objBgOfDigits", (CmdImpl) &Grp::impl_createObj);
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1534
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1535 RegisterCommand(2, 72, 1000, "subObjBgOfFile", NULL);//FIXME
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1536 RegisterCommand(2, 72, 1003, "subObjBgOfGan", NULL);//FIXME
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1537 RegisterCommand(2, 72, 1100, "subObjBgOfArea", NULL);//FIXME
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1538 RegisterCommand(2, 72, 1200, "subObjBgOfText", NULL);//FIXME
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1539 RegisterCommand(2, 72, 1300, "subObjBgDriftOfFile", NULL);//FIXME
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1540 RegisterCommand(2, 72, 1400, "subObjBgOfDigits", NULL);//FIXME;*/
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1541
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1542 // Gan
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1543 RegisterCommand(1, 73, 0, "ganStop?", NULL); //That's what xclannad says, but I'm not sure...
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1544 RegisterCommand(1, 73, 1000, "objStop (gan)", (CmdImpl) &Grp::impl_gan); //That's what rldev says
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1545 RegisterCommand(1, 73, 3, "ganIsPlaying", (CmdImpl) &Grp::impl_gan);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1546
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1547 RegisterCommand(1, 73, 1001, "ganLoop", (CmdImpl) &Grp::impl_gan);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1548 RegisterCommand(1, 73, 1002, "ganRepeat", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1549 RegisterCommand(1, 73, 1003, "ganPlay", (CmdImpl) &Grp::impl_gan);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1550 RegisterCommand(1, 73, 1004, "ganOneShotRepeat", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1551 RegisterCommand(1, 73, 1005, "ganPlayOnce", (CmdImpl) &Grp::impl_gan);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1552 RegisterCommand(1, 73, 1006, "ganPlayEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1553 RegisterCommand(1, 73, 1007, "ganPlayOnceEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1554 RegisterCommand(1, 73, 1008, "ganPlayBlink", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1555 RegisterCommand(1, 73, 1009, "ganPlayChew", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1556
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1557 RegisterCommand(1, 73, 2001, "objLoop (gan)", (CmdImpl) &Grp::impl_gan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1558 RegisterCommand(1, 73, 2002, "objRepeat (gan)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1559 RegisterCommand(1, 73, 2003, "objPlay (gan)", (CmdImpl) &Grp::impl_gan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1560 RegisterCommand(1, 73, 2004, "objOneShotRepeat (gan)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1561 RegisterCommand(1, 73, 2005, "objPlayOnce (gan)", (CmdImpl) &Grp::impl_gan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1562 RegisterCommand(1, 73, 2006, "objPlayEx (gan)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1563 RegisterCommand(1, 73, 2007, "objPlayOnceEx (gan)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1564 RegisterCommand(1, 73, 2008, "objPlayBlink (gan)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1565 RegisterCommand(1, 73, 2009, "objPlayChew (gan)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1566
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1567 RegisterCommand(1, 73, 3001, "ganLoop2", (CmdImpl) &Grp::impl_gan);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1568 RegisterCommand(1, 73, 3002, "ganRepeat2", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1569 RegisterCommand(1, 73, 3003, "ganPlay2", (CmdImpl) &Grp::impl_gan);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1570 RegisterCommand(1, 73, 3004, "ganOneShotRepeat2", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1571 RegisterCommand(1, 73, 3005, "ganPlayOnce2", (CmdImpl) &Grp::impl_gan);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1572 RegisterCommand(1, 73, 3006, "ganPlayEx2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1573 RegisterCommand(1, 73, 3007, "ganPlayOnceEx2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1574 RegisterCommand(1, 73, 3008, "ganPlayBlink2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1575 RegisterCommand(1, 73, 3009, "ganPlayChew2", NULL);
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1576
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1577 // FIXME
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1578 RegisterCommand(2, 73, 0, "ganSubStop?", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1579 RegisterCommand(2, 73, 1000, "ganSubStop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1580 RegisterCommand(2, 73, 3, "ganSubIsPlaying", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1581 RegisterCommand(2, 73, 2003, "objSubPlay", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1582 RegisterCommand(2, 73, 1001, "ganSubLoop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1583 RegisterCommand(2, 73, 1003, "ganSubPlay", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1584 RegisterCommand(2, 73, 1005, "ganSubPlayOnce", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1585 RegisterCommand(2, 73, 3001, "ganSubLoop2", (CmdImpl) &Grp::impl_gan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1586 RegisterCommand(2, 73, 3003, "ganSubPlay2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1587 RegisterCommand(2, 73, 3005, "ganSubPlayOnce2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1588
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1589 // GanBg
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1590 RegisterCommand(1, 74, 1000, "objBgStop (gan)", (CmdImpl) &Grp::impl_gan);
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1591
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1592 RegisterCommand(1, 74, 1001, "ganBgLoop", (CmdImpl) &Grp::impl_gan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1593 RegisterCommand(1, 74, 1003, "ganBgPlay", (CmdImpl) &Grp::impl_gan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1594 RegisterCommand(1, 74, 1005, "ganBgPlayOnce", (CmdImpl) &Grp::impl_gan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1595 RegisterCommand(1, 74, 1006, "ganBgPlayEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1596 RegisterCommand(1, 74, 1007, "ganBgPlayOnceEx", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1597 RegisterCommand(1, 74, 1008, "ganBgPlayBlink", NULL);
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1598
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1599 RegisterCommand(1, 74, 2001, "objBgLoop (gan)", (CmdImpl) &Grp::impl_gan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1600 RegisterCommand(1, 74, 2003, "objBgPlay (gan)", (CmdImpl) &Grp::impl_gan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1601 RegisterCommand(1, 74, 2005, "objBgPlayOnce (gan)", (CmdImpl) &Grp::impl_gan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1602 RegisterCommand(1, 74, 2006, "objBgPlayEx (gan)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1603 RegisterCommand(1, 74, 2007, "objBgPlayOnceEx (gan)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1604 RegisterCommand(1, 74, 2008, "objBgPlayBlink (gan)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1605
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1606 RegisterCommand(1, 74, 3001, "ganBgLoop2", (CmdImpl) &Grp::impl_gan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1607 RegisterCommand(1, 74, 3003, "ganBgPlay2", (CmdImpl) &Grp::impl_gan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1608 RegisterCommand(1, 74, 3005, "ganBgPlayOnce2", (CmdImpl) &Grp::impl_gan);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1609 RegisterCommand(1, 74, 3006, "ganBgPlayEx2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1610 RegisterCommand(1, 74, 3007, "ganBgPlayOnceEx2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1611 RegisterCommand(1, 74, 3008, "ganBgPlayBlink2", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1612
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1613 // Obj
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1614 RegisterCommand(1, 81, 1000, "objMove", (CmdImpl) &Grp::impl_objSetPos);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1615 RegisterCommand(1, 82, 1000, "objBgMove", (CmdImpl) &Grp::impl_objSetPos);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1616 RegisterCommand(1, 81, 1001, "objLeft", (CmdImpl) &Grp::impl_objSetPos);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1617 RegisterCommand(1, 82, 1001, "objBgLeft", (CmdImpl) &Grp::impl_objSetPos);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1618 RegisterCommand(1, 81, 1002, "objTop", (CmdImpl) &Grp::impl_objSetPos);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1619 RegisterCommand(1, 82, 1002, "objBgTop", (CmdImpl) &Grp::impl_objSetPos);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1620 RegisterCommand(1, 81, 1003, "objAlpha", (CmdImpl) &Grp::impl_objAlpha);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1621 RegisterCommand(1, 82, 1003, "objBgAlpha", (CmdImpl) &Grp::impl_objAlpha);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1622 RegisterCommand(1, 81, 1004, "objShow", (CmdImpl) &Grp::impl_objShow);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1623 RegisterCommand(1, 82, 1004, "objBgShow", (CmdImpl) &Grp::impl_objShow);
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1624 RegisterCommand(1, 81, 1005, "objDispArea", NULL);
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1625 RegisterCommand(1, 82, 1005, "objBgDispArea", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1626 RegisterCommand(1, 81, 1006, "objAdjust", (CmdImpl) &Grp::impl_objSetPos);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1627 RegisterCommand(1, 82, 1006, "objBgAdjust", NULL); //FIXME: (CmdImpl) &Grp::impl_objSetPos);
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1628 RegisterCommand(1, 81, 1007, "objAdjustX", NULL);
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1629 RegisterCommand(1, 82, 1007, "objBgAdjustX", NULL);
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1630 RegisterCommand(1, 81, 1008, "objAdjustY", NULL);
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1631 RegisterCommand(1, 82, 1008, "objBgAdjustY", NULL);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1632 RegisterCommand(1, 81, 1009, "objMono", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1633 RegisterCommand(1, 82, 1009, "objBgMono", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1634 RegisterCommand(1, 81, 1010, "objInvert", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1635 RegisterCommand(1, 82, 1010, "objBgInvert", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1636 RegisterCommand(1, 81, 1011, "objLight", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1637 RegisterCommand(1, 82, 1011, "objBgLight", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1638 RegisterCommand(1, 81, 1012, "objTint", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1639 RegisterCommand(1, 82, 1012, "objBgTint", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1640 RegisterCommand(1, 81, 1013, "objTintR", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1641 RegisterCommand(1, 82, 1013, "objBgTintR", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1642 RegisterCommand(1, 81, 1014, "objTintG", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1643 RegisterCommand(1, 82, 1014, "objBgTintG", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1644 RegisterCommand(1, 81, 1015, "objTintB", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1645 RegisterCommand(1, 82, 1015, "objBgTintB", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1646 RegisterCommand(1, 81, 1016, "objColour", NULL); //FIXME: (CmdImpl) &Grp::impl_objColour);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1647 RegisterCommand(1, 82, 1016, "objBgColour", NULL); //FIXME: (CmdImpl) &Grp::impl_objColour);
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1648 RegisterCommand(1, 81, 1017, "objColR", NULL);
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1649 RegisterCommand(1, 82, 1017, "objBgColR", NULL);
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1650 RegisterCommand(1, 81, 1018, "objColG", NULL);
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1651 RegisterCommand(1, 82, 1018, "objBgColG", NULL);
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1652 RegisterCommand(1, 81, 1019, "objColB", NULL);
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1653 RegisterCommand(1, 82, 1019, "objBgColB", NULL);
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1654 RegisterCommand(1, 81, 1020, "objColLevel", NULL);
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1655 RegisterCommand(1, 82, 1020, "objBgColLevel", NULL);
60
e16e13d8cd68 Replaced SATURATE -> ADD, implemented objComposite, corrected minor things
Thibaut GIRKA <thib@sitedethib.com>
parents: 56
diff changeset
1656 RegisterCommand(1, 81, 1021, "objComposite", (CmdImpl) &Grp::impl_objComposite); //FIXME: May be broken
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1657 RegisterCommand(1, 82, 1021, "objBgComposite", (CmdImpl) &Grp::impl_objComposite);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1658 RegisterCommand(1, 81, 1024, "objSetText", (CmdImpl) &Grp::impl_objSetText);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1659 RegisterCommand(1, 82, 1024, "objBgSetText", (CmdImpl) &Grp::impl_objSetText);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1660 RegisterCommand(1, 81, 1025, "objTextOpts", (CmdImpl) &Grp::impl_objTextOpts); //FIXME: Incomplete
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1661 RegisterCommand(1, 82, 1025, "objBgTextOpts", (CmdImpl) &Grp::impl_objTextOpts);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1662 RegisterCommand(1, 81, 1026, "objLayer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1663 RegisterCommand(1, 82, 1026, "objBgLayer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1664 RegisterCommand(1, 81, 1027, "objDepth", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1665 RegisterCommand(1, 82, 1027, "objBgDepth", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1666 RegisterCommand(1, 81, 1028, "objScrollRate", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1667 RegisterCommand(1, 82, 1028, "objBgScrollRate", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1668 RegisterCommand(1, 81, 1029, "objScrollRateX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1669 RegisterCommand(1, 82, 1029, "objBgScrollRateX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1670 RegisterCommand(1, 81, 1030, "objScrollRateY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1671 RegisterCommand(1, 82, 1030, "objBgScrollRateY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1672 RegisterCommand(1, 81, 1031, "objDriftOpts", NULL); //(CmdImpl) &Grp::impl_objDriftOpts);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1673 RegisterCommand(1, 82, 1031, "objBgDriftOpts", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1674 RegisterCommand(1, 81, 1032, "objOrder", (CmdImpl) &Grp::impl_objOrder);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1675 RegisterCommand(1, 82, 1032, "objBgOrder", (CmdImpl) &Grp::impl_objOrder);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1676 RegisterCommand(1, 81, 1033, "objQuarterView", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1677 RegisterCommand(1, 82, 1033, "objBgQuarterView", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1678 RegisterCommand(1, 81, 1034, "objDispRect", (CmdImpl) &Grp::impl_objDispArea);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1679 RegisterCommand(1, 82, 1034, "objBgDispRect", (CmdImpl) &Grp::impl_objDispArea);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1680 RegisterCommand(1, 81, 1035, "objDispCorner", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1681 RegisterCommand(1, 82, 1035, "objBgDispCorner", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1682 RegisterCommand(1, 81, 1036, "objAdjustVert", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1683 RegisterCommand(1, 82, 1036, "objBgAdjustVert", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1684 RegisterCommand(1, 81, 1037, "objSetDigits", (CmdImpl) &Grp::impl_objSetDigits);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1685 RegisterCommand(1, 82, 1037, "objBgSetDigits", (CmdImpl) &Grp::impl_objSetDigits);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1686 RegisterCommand(1, 81, 1038, "objNumOpts", (CmdImpl) &Grp::impl_objNumOpts);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1687 RegisterCommand(1, 82, 1038, "objBgNumOpts", (CmdImpl) &Grp::impl_objNumOpts);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1688 RegisterCommand(1, 81, 1039, "objPattNo", (CmdImpl) &Grp::impl_objPattNo);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1689 RegisterCommand(1, 82, 1039, "objBgPattNo", (CmdImpl) &Grp::impl_objPattNo);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1690 RegisterCommand(1, 81, 1041, "objAdjustAll", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1691 RegisterCommand(1, 82, 1041, "objBgAdjustAll", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1692 RegisterCommand(1, 81, 1042, "objAdjustAllX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1693 RegisterCommand(1, 82, 1042, "objBgAdjustAllX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1694 RegisterCommand(1, 81, 1043, "objAdjustAllY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1695 RegisterCommand(1, 82, 1043, "objBgAdjustAllY", NULL);
71
1fd20d231376 Fix objScale with 2D zoom; implement objWidth and objHeight.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 65
diff changeset
1696 RegisterCommand(1, 81, 1046, "objScale", (CmdImpl) &Grp::impl_objScale);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1697 RegisterCommand(1, 82, 1046, "objBgScale", (CmdImpl) &Grp::impl_objScale);
74
f8751d74918b Remove “duplicate” functions as they can be remplaced by a nearly-identical existing function.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 72
diff changeset
1698 RegisterCommand(1, 81, 1047, "objWidth", (CmdImpl) &Grp::impl_objScale);
f8751d74918b Remove “duplicate” functions as they can be remplaced by a nearly-identical existing function.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 72
diff changeset
1699 RegisterCommand(1, 82, 1047, "objBgWidth", (CmdImpl) &Grp::impl_objScale);
f8751d74918b Remove “duplicate” functions as they can be remplaced by a nearly-identical existing function.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 72
diff changeset
1700 RegisterCommand(1, 81, 1048, "objHeight", (CmdImpl) &Grp::impl_objScale);
f8751d74918b Remove “duplicate” functions as they can be remplaced by a nearly-identical existing function.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 72
diff changeset
1701 RegisterCommand(1, 82, 1048, "objBgHeight", (CmdImpl) &Grp::impl_objScale);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1702 RegisterCommand(1, 81, 1049, "objRotate", (CmdImpl) &Grp::impl_objRotate);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1703 RegisterCommand(1, 82, 1049, "objBgRotate", (CmdImpl) &Grp::impl_objRotate);
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1704 RegisterCommand(1, 81, 1050, "objRepOrigin", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1705 RegisterCommand(1, 82, 1050, "objBgRepOrigin", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1706 RegisterCommand(1, 81, 1051, "objRepOriginX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1707 RegisterCommand(1, 82, 1051, "objBgRepOriginX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1708 RegisterCommand(1, 81, 1052, "objRepOriginY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1709 RegisterCommand(1, 82, 1052, "objBgRepOriginY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1710 RegisterCommand(1, 81, 1053, "objOrigin", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1711 RegisterCommand(1, 82, 1053, "objBgOrigin", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1712 RegisterCommand(1, 81, 1054, "objOriginX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1713 RegisterCommand(1, 82, 1054, "objBgOriginX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1714 RegisterCommand(1, 81, 1055, "objOriginY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1715 RegisterCommand(1, 82, 1055, "objBgOriginY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1716 RegisterCommand(1, 81, 1056, "objFadeOpts", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1717 RegisterCommand(1, 82, 1056, "objBgFadeOpts", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1718 RegisterCommand(1, 81, 2006, "objAdjust2?", NULL); //FIXME: (CmdImpl) &Grp::impl_objSetPos); I don't know if it is usefull or properly implemented
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1719 RegisterCommand(1, 82, 2006, "objBgAdjust2?", NULL); //FIXME: (CmdImpl) &Grp::impl_objSetPos); See above
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1720
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1721 RegisterCommand(2, 81, 1000, "childObjMove", (CmdImpl) &Grp::impl_objSetPos);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1722 RegisterCommand(2, 82, 1000, "childObjBgMove", (CmdImpl) &Grp::impl_objSetPos);
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1723 RegisterCommand(2, 81, 1001, "childObjLeft", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1724 RegisterCommand(2, 82, 1001, "childObjBgLeft", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1725 RegisterCommand(2, 81, 1002, "childObjTop", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1726 RegisterCommand(2, 82, 1002, "childObjBgTop", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1727 RegisterCommand(2, 81, 1003, "childObjAlpha", (CmdImpl) &Grp::impl_objAlpha);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1728 RegisterCommand(2, 82, 1003, "childObjBgAlpha", (CmdImpl) &Grp::impl_objAlpha);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1729 RegisterCommand(2, 81, 1004, "childObjShow", (CmdImpl) &Grp::impl_objShow);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1730 RegisterCommand(2, 82, 1004, "childObjBgShow", (CmdImpl) &Grp::impl_objShow);
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1731 RegisterCommand(2, 81, 1005, "childObjDispArea", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1732 RegisterCommand(2, 82, 1005, "childObjBgDispArea", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1733 RegisterCommand(2, 81, 1006, "childObjAdjust", (CmdImpl) &Grp::impl_objSetPos);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1734 RegisterCommand(2, 82, 1006, "childObjBgAdjust", (CmdImpl) &Grp::impl_objSetPos);
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1735 RegisterCommand(2, 81, 1007, "childObjAdjustX", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1736 RegisterCommand(2, 82, 1007, "childObjBgAdjustX", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1737 RegisterCommand(2, 81, 1008, "childObjAdjustY", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1738 RegisterCommand(2, 82, 1008, "childObjBgAdjustY", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1739 RegisterCommand(2, 81, 2006, "childObjAdjust2?", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1740 RegisterCommand(2, 82, 2006, "childObjBgAdjust2?", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1741 RegisterCommand(2, 81, 1016, "childObjColour", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1742 RegisterCommand(2, 82, 1016, "childObjBgColour", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1743 RegisterCommand(2, 81, 1017, "childObjColR", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1744 RegisterCommand(2, 82, 1017, "childObjBgColR", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1745 RegisterCommand(2, 81, 1018, "childObjColG", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1746 RegisterCommand(2, 82, 1018, "childObjBgColG", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1747 RegisterCommand(2, 81, 1019, "childObjColB", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1748 RegisterCommand(2, 82, 1019, "childObjBgColB", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1749 RegisterCommand(2, 81, 1020, "childObjColLevel", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1750 RegisterCommand(2, 82, 1020, "childObjBgColLevel", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1751 RegisterCommand(2, 81, 1021, "childObjComposite", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1752 RegisterCommand(2, 82, 1021, "childObjBgComposite", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1753 RegisterCommand(2, 81, 1024, "childObjSetText", (CmdImpl) &Grp::impl_objSetText);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1754 RegisterCommand(2, 82, 1024, "childObjBgSetText", (CmdImpl) &Grp::impl_objSetText);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1755 RegisterCommand(2, 81, 1025, "childObjTextOpts", (CmdImpl) &Grp::impl_objTextOpts);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1756 RegisterCommand(2, 82, 1025, "childObjBgTextOpts", (CmdImpl) &Grp::impl_objTextOpts);
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1757 RegisterCommand(2, 81, 1032, "childObjOrder", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1758 RegisterCommand(2, 82, 1032, "childObjBgOrder", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1759 RegisterCommand(2, 81, 1034, "childObjDispRect", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1760 RegisterCommand(2, 82, 1034, "childObjBgDispRect", NULL);
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1761 RegisterCommand(2, 81, 1037, "childObjSetDigits", (CmdImpl) &Grp::impl_objSetDigits);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1762 RegisterCommand(2, 82, 1037, "childObjBgSetDigits", (CmdImpl) &Grp::impl_objSetDigits);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1763 RegisterCommand(2, 81, 1038, "childObjNumOpts", (CmdImpl) &Grp::impl_objNumOpts);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1764 RegisterCommand(2, 82, 1038, "childObjBgNumOpts", (CmdImpl) &Grp::impl_objNumOpts);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1765 RegisterCommand(2, 81, 1039, "childObjPattNo", (CmdImpl) &Grp::impl_objPattNo);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1766 RegisterCommand(2, 82, 1039, "childObjBgPattNo", (CmdImpl) &Grp::impl_objPattNo);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1767 RegisterCommand(2, 81, 1046, "childObjScale", (CmdImpl) &Grp::impl_objScale);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1768 RegisterCommand(2, 82, 1046, "childObjBgScale", (CmdImpl) &Grp::impl_objScale);
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1769 RegisterCommand(2, 81, 1047, "childObjWidth", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1770 RegisterCommand(2, 82, 1047, "childObjBgWidth", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1771 RegisterCommand(2, 81, 1049, "childObjRotate", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1772 RegisterCommand(2, 82, 1049, "childObjBgRotate", NULL);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1773
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1774 // Obj
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1775 RegisterCommand(1, 84, 1000, "objGetPos", (CmdImpl) &Grp::impl_objPosDims);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1776 RegisterCommand(1, 84, 1100, "objGetDims", (CmdImpl) &Grp::impl_objPosDims);
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1777
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1778 RegisterCommand(2, 84, 1000, "childObjGetPos", (CmdImpl) &Grp::impl_objPosDims);
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1779 RegisterCommand(2, 84, 1100, "childObjGetDims", (CmdImpl) &Grp::impl_objPosDims);
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1780
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1781 // ObjRange
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1782 RegisterCommand(1, 90, 1000, "objRangeMove", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1783 RegisterCommand(1, 91, 1000, "objBgRangeMove", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1784 RegisterCommand(1, 90, 1001, "objRangeLeft", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1785 RegisterCommand(1, 91, 1001, "objBgRangeLeft", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1786 RegisterCommand(1, 90, 1002, "objRangeTop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1787 RegisterCommand(1, 91, 1002, "objBgRangeTop", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1788 RegisterCommand(1, 90, 1003, "objRangeAlpha", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1789 RegisterCommand(1, 91, 1003, "objBgRangeAlpha", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1790 RegisterCommand(1, 90, 1004, "objRangeShow", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1791 RegisterCommand(1, 91, 1004, "objBgRangeShow", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1792 RegisterCommand(1, 90, 1005, "objRangeDispArea", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1793 RegisterCommand(1, 91, 1005, "objBgRangeDispArea", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1794 RegisterCommand(1, 90, 1006, "objRangeAdjust", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1795 RegisterCommand(1, 91, 1006, "objBgRangeAdjust", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1796 RegisterCommand(1, 90, 1007, "objRangeAdjustX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1797 RegisterCommand(1, 91, 1007, "objBgRangeAdjustX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1798 RegisterCommand(1, 90, 1008, "objRangeAdjustY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1799 RegisterCommand(1, 91, 1008, "objBgRangeAdjustY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1800 RegisterCommand(1, 90, 1009, "objRangeMono", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1801 RegisterCommand(1, 91, 1009, "objBgRangeMono", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1802 RegisterCommand(1, 90, 1010, "objRangeInvert", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1803 RegisterCommand(1, 91, 1010, "objBgRangeInvert", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1804 RegisterCommand(1, 90, 1011, "objRangeLight", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1805 RegisterCommand(1, 91, 1011, "objBgRangeLight", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1806 RegisterCommand(1, 90, 1012, "objRangeTint", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1807 RegisterCommand(1, 91, 1012, "objBgRangeTint", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1808 RegisterCommand(1, 90, 1013, "objRangeTintR", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1809 RegisterCommand(1, 91, 1013, "objBgRangeTintR", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1810 RegisterCommand(1, 90, 1014, "objRangeTintG", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1811 RegisterCommand(1, 91, 1014, "objBgRangeTintG", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1812 RegisterCommand(1, 90, 1015, "objRangeTintB", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1813 RegisterCommand(1, 91, 1015, "objBgRangeTintB", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1814 RegisterCommand(1, 90, 1016, "objRangeColour", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1815 RegisterCommand(1, 91, 1016, "objBgRangeColour", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1816 RegisterCommand(1, 90, 1017, "objRangeColR", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1817 RegisterCommand(1, 91, 1017, "objBgRangeColR", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1818 RegisterCommand(1, 90, 1018, "objRangeColG", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1819 RegisterCommand(1, 91, 1018, "objBgRangeColG", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1820 RegisterCommand(1, 90, 1019, "objRangeColB", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1821 RegisterCommand(1, 91, 1019, "objBgRangeColB", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1822 RegisterCommand(1, 90, 1020, "objRangeColLevel", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1823 RegisterCommand(1, 91, 1020, "objBgRangeColLevel", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1824 RegisterCommand(1, 90, 1021, "objRangeComposite", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1825 RegisterCommand(1, 91, 1021, "objBgRangeComposite", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1826 RegisterCommand(1, 90, 1024, "objRangeSetText", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1827 RegisterCommand(1, 91, 1024, "objBgRangeSetText", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1828 RegisterCommand(1, 90, 1025, "objRangeTextOpts", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1829 RegisterCommand(1, 91, 1025, "objBgRangeTextOpts", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1830 RegisterCommand(1, 90, 1026, "objRangeLayer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1831 RegisterCommand(1, 91, 1026, "objBgRangeLayer", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1832 RegisterCommand(1, 90, 1027, "objRangeDepth", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1833 RegisterCommand(1, 91, 1027, "objBgRangeDepth", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1834 RegisterCommand(1, 90, 1028, "objRangeScrollRate", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1835 RegisterCommand(1, 91, 1028, "objBgRangeScrollRate", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1836 RegisterCommand(1, 90, 1029, "objRangeScrollRateX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1837 RegisterCommand(1, 91, 1029, "objBgRangeScrollRateX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1838 RegisterCommand(1, 90, 1030, "objRangeScrollRateY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1839 RegisterCommand(1, 91, 1030, "objBgRangeScrollRateY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1840 RegisterCommand(1, 90, 1031, "objRangeDriftOpts", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1841 RegisterCommand(1, 91, 1031, "objBgRangeDriftOpts", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1842 RegisterCommand(1, 90, 1032, "objRangeOrder", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1843 RegisterCommand(1, 91, 1032, "objBgRangeOrder", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1844 RegisterCommand(1, 90, 1033, "objRangeQuarterView", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1845 RegisterCommand(1, 91, 1033, "objBgRangeQuarterView", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1846 RegisterCommand(1, 90, 1034, "objRangeDispRect", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1847 RegisterCommand(1, 91, 1034, "objBgRangeDispRect", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1848 RegisterCommand(1, 90, 1035, "objRangeDispCorner", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1849 RegisterCommand(1, 91, 1035, "objBgRangeDispCorner", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1850 RegisterCommand(1, 90, 1036, "objRangeAdjustVert", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1851 RegisterCommand(1, 91, 1036, "objBgRangeAdjustVert", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1852 RegisterCommand(1, 90, 1037, "objRangeSetDigits", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1853 RegisterCommand(1, 91, 1037, "objBgRangeSetDigits", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1854 RegisterCommand(1, 90, 1038, "objRangeNumOpts", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1855 RegisterCommand(1, 91, 1038, "objBgRangeNumOpts", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1856 RegisterCommand(1, 90, 1039, "objRangePattNo", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1857 RegisterCommand(1, 91, 1039, "objBgRangePattNo", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1858 RegisterCommand(1, 90, 1041, "objRangeAdjustAll", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1859 RegisterCommand(1, 91, 1041, "objBgRangeAdjustAll", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1860 RegisterCommand(1, 90, 1042, "objRangeAdjustAllX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1861 RegisterCommand(1, 91, 1042, "objBgRangeAdjustAllX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1862 RegisterCommand(1, 90, 1043, "objRangeAdjustAllY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1863 RegisterCommand(1, 91, 1043, "objBgRangeAdjustAllY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1864 RegisterCommand(1, 90, 1046, "objRangeScale", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1865 RegisterCommand(1, 91, 1046, "objBgRangeScale", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1866 RegisterCommand(1, 90, 1047, "objRangeWidth", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1867 RegisterCommand(1, 91, 1047, "objBgRangeWidth", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1868 RegisterCommand(1, 90, 1048, "objRangeHeight", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1869 RegisterCommand(1, 91, 1048, "objBgRangeHeight", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1870 RegisterCommand(1, 90, 1049, "objRangeRotate", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1871 RegisterCommand(1, 91, 1049, "objBgRangeRotate", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1872 RegisterCommand(1, 90, 1050, "objRangeRepOrigin", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1873 RegisterCommand(1, 91, 1050, "objBgRangeRepOrigin", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1874 RegisterCommand(1, 90, 1051, "objRangeRepOriginX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1875 RegisterCommand(1, 91, 1051, "objBgRangeRepOriginX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1876 RegisterCommand(1, 90, 1052, "objRangeRepOriginY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1877 RegisterCommand(1, 91, 1052, "objBgRangeRepOriginY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1878 RegisterCommand(1, 90, 1053, "objRangeOrigin", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1879 RegisterCommand(1, 91, 1053, "objBgRangeOrigin", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1880 RegisterCommand(1, 90, 1054, "objRangeOriginX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1881 RegisterCommand(1, 91, 1054, "objBgRangeOriginX", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1882 RegisterCommand(1, 90, 1055, "objRangeOriginY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1883 RegisterCommand(1, 91, 1055, "objBgRangeOriginY", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1884 RegisterCommand(1, 90, 1056, "objRangeFadeOpts", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1885 RegisterCommand(1, 91, 1056, "objBgRangeFadeOpts", NULL);
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1886
72
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1887 RegisterCommand(1, 255, 50, "??? (Clannad)", NULL);
f9eb96a4cce0 Register all (?) commands, to help finding non-implemented ones in game.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 71
diff changeset
1888 RegisterCommand(1, 255, 101, "__SaveBufferIdx", NULL);
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1889
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
1890 anm1 = NULL;
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
1891 anm2 = NULL;
0
223b71206888 Initial import
thib
parents:
diff changeset
1892 }
223b71206888 Initial import
thib
parents:
diff changeset
1893
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1894 Grp::~Grp() {
0
223b71206888 Initial import
thib
parents:
diff changeset
1895 map<int,GrpObj>::iterator it;
223b71206888 Initial import
thib
parents:
diff changeset
1896 for (it=grpobj.begin(); it!=grpobj.end(); it++) {
223b71206888 Initial import
thib
parents:
diff changeset
1897 PicBase* p = it->second.DeletePic();
223b71206888 Initial import
thib
parents:
diff changeset
1898 delete p;
223b71206888 Initial import
thib
parents:
diff changeset
1899 }
223b71206888 Initial import
thib
parents:
diff changeset
1900
223b71206888 Initial import
thib
parents:
diff changeset
1901 delete screen;
223b71206888 Initial import
thib
parents:
diff changeset
1902 delete screen_front;
223b71206888 Initial import
thib
parents:
diff changeset
1903 parent.Root().DeleteSurface(surface);
50
35ce1a30f3f9 * Added va_end where there is a va_start
thib
parents: 48
diff changeset
1904 parent.Root().DeleteSurface(surface_update);
0
223b71206888 Initial import
thib
parents:
diff changeset
1905 int i;
223b71206888 Initial import
thib
parents:
diff changeset
1906 for (i=0; i<MAXPDT; i++) {
223b71206888 Initial import
thib
parents:
diff changeset
1907 if (ssurface[i]) parent.Root().DeleteSurface(ssurface[i]);
223b71206888 Initial import
thib
parents:
diff changeset
1908 if (dsurface[i]) parent.Root().DeleteSurface(dsurface[i]);
223b71206888 Initial import
thib
parents:
diff changeset
1909 }
223b71206888 Initial import
thib
parents:
diff changeset
1910 }
223b71206888 Initial import
thib
parents:
diff changeset
1911
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1912 Surface* Grp::Dsurface(int pdt) {
0
223b71206888 Initial import
thib
parents:
diff changeset
1913 if (pdt == 0) return surface;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
1914 if (dsurface[pdt] == 0) { // とりあえず画面の大きさということにする
0
223b71206888 Initial import
thib
parents:
diff changeset
1915 if (pdt == WORKPDT)
223b71206888 Initial import
thib
parents:
diff changeset
1916 dsurface[pdt] = parent.Root().NewSurface(parent.Width(), parent.Height(), ALPHA_MASK);
223b71206888 Initial import
thib
parents:
diff changeset
1917 else
223b71206888 Initial import
thib
parents:
diff changeset
1918 dsurface[pdt] = parent.Root().NewSurface(parent.Width(), parent.Height(), NO_MASK);
223b71206888 Initial import
thib
parents:
diff changeset
1919 }
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
1920 if (ssurface[pdt]) { // ssurface が存在すれば、dsurface にコピーして返す
0
223b71206888 Initial import
thib
parents:
diff changeset
1921 DSurfaceMove(ssurface[pdt], Rect(*ssurface[pdt]), dsurface[pdt], Rect(0,0));
223b71206888 Initial import
thib
parents:
diff changeset
1922 parent.Root().DeleteSurface(ssurface[pdt]);
223b71206888 Initial import
thib
parents:
diff changeset
1923 ssurface[pdt] = 0;
223b71206888 Initial import
thib
parents:
diff changeset
1924 }
223b71206888 Initial import
thib
parents:
diff changeset
1925 return dsurface[pdt];
223b71206888 Initial import
thib
parents:
diff changeset
1926 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
1927
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1928 GrpObj* Grp::GetGraphicObj(int grp, bool fg) {
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1929 if (fg)
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1930 return &grpobj[grp];
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1931 else
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1932 return &bs_obj[grp];
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1933 }
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1934
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1935 GrpObj* Grp::GetGraphicObj(int grp, int index, bool fg) {
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1936 GrpObj* g = GetGraphicObj(grp, fg);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1937 return &g->children_obj[index];
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1938 }
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1939
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1940 GrpObj* Grp::GetGraphicObjVarMode(Cmd& cmd, int &base_arg, bool fg) {
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1941 GrpObj* g;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1942 if (cmd.cmd1 == 2) {
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1943 g = GetGraphicObj(cmd.args[base_arg].value, cmd.args[base_arg+1].value, fg);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1944 base_arg += 1;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1945 }
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1946 else
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1947 g = GetGraphicObj(cmd.args[base_arg].value, fg);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1948 return g;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1949 }
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
1950
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
1951 #include <SDL.h>
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1952 Surface* Grp::Ssurface(int pdt) {
0
223b71206888 Initial import
thib
parents:
diff changeset
1953 if (pdt == 0) return surface;
223b71206888 Initial import
thib
parents:
diff changeset
1954 if (ssurface[pdt]) {
223b71206888 Initial import
thib
parents:
diff changeset
1955 return ssurface[pdt];
223b71206888 Initial import
thib
parents:
diff changeset
1956 }
223b71206888 Initial import
thib
parents:
diff changeset
1957 return Dsurface(pdt);
223b71206888 Initial import
thib
parents:
diff changeset
1958 }
223b71206888 Initial import
thib
parents:
diff changeset
1959
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1960 void Grp::LoadSurface(const char* str, int pdt) {
0
223b71206888 Initial import
thib
parents:
diff changeset
1961 string s = str;
223b71206888 Initial import
thib
parents:
diff changeset
1962 if (cgm_info.find(s) != cgm_info.end()) {
223b71206888 Initial import
thib
parents:
diff changeset
1963 cgm_data.insert(cgm_info[s]);
223b71206888 Initial import
thib
parents:
diff changeset
1964 }
223b71206888 Initial import
thib
parents:
diff changeset
1965 Surface* bg = parent.Root().NewSurface(s.c_str());
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
1966 if (bg == NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
1967 s += ".g00";
223b71206888 Initial import
thib
parents:
diff changeset
1968 bg = parent.Root().NewSurface(s.c_str());
223b71206888 Initial import
thib
parents:
diff changeset
1969 }
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1970 if (bg != NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
1971 if (ssurface[pdt]) parent.Root().DeleteSurface(ssurface[pdt]);
223b71206888 Initial import
thib
parents:
diff changeset
1972 ssurface[pdt] = bg;
223b71206888 Initial import
thib
parents:
diff changeset
1973 if (pdt == 0) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
1974 /* とりあえず Princess Bride のアニメーション効果専用 */
0
223b71206888 Initial import
thib
parents:
diff changeset
1975 Rect r(*ssurface[0]);
223b71206888 Initial import
thib
parents:
diff changeset
1976 Rect dr(*surface);
223b71206888 Initial import
thib
parents:
diff changeset
1977 int x = (dr.width()-r.width())/2;
223b71206888 Initial import
thib
parents:
diff changeset
1978 int y = (dr.height()-r.height())/2;
223b71206888 Initial import
thib
parents:
diff changeset
1979 DSurfaceMove(ssurface[0], r, surface, Rect(x,y));
223b71206888 Initial import
thib
parents:
diff changeset
1980 parent.Root().DeleteSurface(ssurface[0]);
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
1981 ssurface[0] = NULL;
0
223b71206888 Initial import
thib
parents:
diff changeset
1982 screen->SetSurface(surface, 0, 0);
223b71206888 Initial import
thib
parents:
diff changeset
1983 }
223b71206888 Initial import
thib
parents:
diff changeset
1984 } else {
223b71206888 Initial import
thib
parents:
diff changeset
1985 if (str[0] != 0)
223b71206888 Initial import
thib
parents:
diff changeset
1986 fprintf(stderr,"Cannot find surface %d <- '%s'\n",pdt,str);
223b71206888 Initial import
thib
parents:
diff changeset
1987 }
223b71206888 Initial import
thib
parents:
diff changeset
1988 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
1989
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
1990 void Grp::InitSel(void) {
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
1991 int i;
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
1992 int args[16];
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
1993 char key[10];
0
223b71206888 Initial import
thib
parents:
diff changeset
1994 for (i=0; i<999; i++) {
223b71206888 Initial import
thib
parents:
diff changeset
1995 sprintf(key, "#SEL.%03d",i);
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
1996 if (config->GetParam(key, 15, &args[0], &args[1],
0
223b71206888 Initial import
thib
parents:
diff changeset
1997 &args[2], &args[3], &args[4], &args[5], &args[6], &args[7],
223b71206888 Initial import
thib
parents:
diff changeset
1998 &args[8], &args[9], &args[10], &args[11], &args[12], &args[13],
223b71206888 Initial import
thib
parents:
diff changeset
1999 &args[14])) {
223b71206888 Initial import
thib
parents:
diff changeset
2000
223b71206888 Initial import
thib
parents:
diff changeset
2001 sprintf(key, "#SELR.%03d", i);
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
2002 if (config->GetParam(key, 16, &args[0], &args[1],
0
223b71206888 Initial import
thib
parents:
diff changeset
2003 &args[2], &args[3], &args[4], &args[5], &args[6], &args[7],
223b71206888 Initial import
thib
parents:
diff changeset
2004 &args[8], &args[9], &args[10], &args[11], &args[12], &args[13],
223b71206888 Initial import
thib
parents:
diff changeset
2005 &args[14], &args[15])) continue;
223b71206888 Initial import
thib
parents:
diff changeset
2006 }
223b71206888 Initial import
thib
parents:
diff changeset
2007 SEL& s = anmtype[i];
223b71206888 Initial import
thib
parents:
diff changeset
2008 s.from = Rect(args[0], args[1], args[2]+1, args[3]+1);
223b71206888 Initial import
thib
parents:
diff changeset
2009 s.to = Rect(args[4], args[5]);
223b71206888 Initial import
thib
parents:
diff changeset
2010 s.time = args[6];
223b71206888 Initial import
thib
parents:
diff changeset
2011 s.sel_no = args[7];
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
2012 int j;
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
2013 for (j=0; j<8; j++) s.args[j] = args[8+j];
0
223b71206888 Initial import
thib
parents:
diff changeset
2014 }
223b71206888 Initial import
thib
parents:
diff changeset
2015 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2016
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2017 void Grp::SetSkipMode(SkipMode _mode) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2018 if ( (skip_mode & SKIP_IN_MENU) && (_mode & SKIP_IN_MENU) == 0) {
223b71206888 Initial import
thib
parents:
diff changeset
2019 RefreshObj();
223b71206888 Initial import
thib
parents:
diff changeset
2020 } else if ( (skip_mode & SKIP_IN_MENU) == 0 && (_mode & SKIP_IN_MENU) ) {
223b71206888 Initial import
thib
parents:
diff changeset
2021 }
223b71206888 Initial import
thib
parents:
diff changeset
2022 skip_mode = _mode;
223b71206888 Initial import
thib
parents:
diff changeset
2023 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2024
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2025 void Grp::SetObjChanged(int num) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2026 changed_obj.insert(num);
223b71206888 Initial import
thib
parents:
diff changeset
2027 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2028
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2029 void Grp::RefreshObj(void) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2030 if (!deleted_pic.empty()) {
223b71206888 Initial import
thib
parents:
diff changeset
2031 vector<PicBase*>::iterator it;
223b71206888 Initial import
thib
parents:
diff changeset
2032 for (it=deleted_pic.begin(); it!=deleted_pic.end(); it++) {
223b71206888 Initial import
thib
parents:
diff changeset
2033 if (*it) delete *it;
223b71206888 Initial import
thib
parents:
diff changeset
2034 }
223b71206888 Initial import
thib
parents:
diff changeset
2035 deleted_pic.clear();
223b71206888 Initial import
thib
parents:
diff changeset
2036 }
223b71206888 Initial import
thib
parents:
diff changeset
2037 if (!changed_obj.empty()) {
223b71206888 Initial import
thib
parents:
diff changeset
2038 set<int>::iterator it;
223b71206888 Initial import
thib
parents:
diff changeset
2039 for (it=changed_obj.begin(); it != changed_obj.end(); it++) {
223b71206888 Initial import
thib
parents:
diff changeset
2040 if (grpobj.find(*it) == grpobj.end()) continue;
223b71206888 Initial import
thib
parents:
diff changeset
2041 GrpObj& obj = grpobj[*it];
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2042 obj.Refresh(obj);
0
223b71206888 Initial import
thib
parents:
diff changeset
2043 }
223b71206888 Initial import
thib
parents:
diff changeset
2044 changed_obj.clear();
223b71206888 Initial import
thib
parents:
diff changeset
2045 }
223b71206888 Initial import
thib
parents:
diff changeset
2046 if (reserved_load_surface0.length() != 0) {
223b71206888 Initial import
thib
parents:
diff changeset
2047 LoadSurface(reserved_load_surface0.c_str(), 0);
223b71206888 Initial import
thib
parents:
diff changeset
2048 reserved_load_surface0 = "";
223b71206888 Initial import
thib
parents:
diff changeset
2049 }
223b71206888 Initial import
thib
parents:
diff changeset
2050 screen->ReBlit();
223b71206888 Initial import
thib
parents:
diff changeset
2051 }
223b71206888 Initial import
thib
parents:
diff changeset
2052
223b71206888 Initial import
thib
parents:
diff changeset
2053
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2054 #include <SDL.h>
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2055 void Grp::StartAnm(int type) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2056 SEL sel;
223b71206888 Initial import
thib
parents:
diff changeset
2057
223b71206888 Initial import
thib
parents:
diff changeset
2058 if (anmtype.find(type) == anmtype.end()) {
223b71206888 Initial import
thib
parents:
diff changeset
2059 if (anmtype.find(0) == anmtype.end()) {
223b71206888 Initial import
thib
parents:
diff changeset
2060 sel.sel_no = 1;
223b71206888 Initial import
thib
parents:
diff changeset
2061 sel.from = Rect(*surface);
223b71206888 Initial import
thib
parents:
diff changeset
2062 sel.to = Rect(0,0);
223b71206888 Initial import
thib
parents:
diff changeset
2063 sel.time = 0;
223b71206888 Initial import
thib
parents:
diff changeset
2064 } else {
223b71206888 Initial import
thib
parents:
diff changeset
2065 sel = anmtype[0];
223b71206888 Initial import
thib
parents:
diff changeset
2066 }
223b71206888 Initial import
thib
parents:
diff changeset
2067 } else {
223b71206888 Initial import
thib
parents:
diff changeset
2068 sel = anmtype[type];
223b71206888 Initial import
thib
parents:
diff changeset
2069 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2070 if (anm1 != NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2071 fprintf(stderr,"Warning: StartAnm() called before anm1 finished\n");
223b71206888 Initial import
thib
parents:
diff changeset
2072 anm1->Abort();
223b71206888 Initial import
thib
parents:
diff changeset
2073 delete anm1;
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2074 anm1 = NULL;
0
223b71206888 Initial import
thib
parents:
diff changeset
2075 }
223b71206888 Initial import
thib
parents:
diff changeset
2076 map<int,GrpObj>::iterator it;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2077 // 現在表示中のobjectを消去
0
223b71206888 Initial import
thib
parents:
diff changeset
2078 deleted_pic.push_back(screen);
223b71206888 Initial import
thib
parents:
diff changeset
2079 for (it=grpobj.begin(); it!=grpobj.end(); it++) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2080 if (! (it->second.attr & GrpObj::WIPEON)) { // 画像切り替え時に object 削除
0
223b71206888 Initial import
thib
parents:
diff changeset
2081 deleted_pic.push_back(it->second.DeletePic());
223b71206888 Initial import
thib
parents:
diff changeset
2082 } else {
223b71206888 Initial import
thib
parents:
diff changeset
2083 GrpObj& new_obj = bs_obj[it->first];
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2084 if (new_obj.name.empty()) { // 新しい object が存在しなければ内容を引き継ぐ
0
223b71206888 Initial import
thib
parents:
diff changeset
2085 new_obj = it->second;
223b71206888 Initial import
thib
parents:
diff changeset
2086 it->second.DeletePic();
223b71206888 Initial import
thib
parents:
diff changeset
2087 } else {
223b71206888 Initial import
thib
parents:
diff changeset
2088 new_obj.attr = GrpObj::Attribute(new_obj.attr | GrpObj::WIPEON);
223b71206888 Initial import
thib
parents:
diff changeset
2089 deleted_pic.push_back(it->second.DeletePic());
223b71206888 Initial import
thib
parents:
diff changeset
2090 }
223b71206888 Initial import
thib
parents:
diff changeset
2091 }
223b71206888 Initial import
thib
parents:
diff changeset
2092 }
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2093 grpobj.clear(); // 全オブジェクト削除
0
223b71206888 Initial import
thib
parents:
diff changeset
2094
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2095 // 全画像オブジェクトの前にscreen 移動
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2096 // 新しい screen_front を作成しておく
0
223b71206888 Initial import
thib
parents:
diff changeset
2097 screen = screen_front;
223b71206888 Initial import
thib
parents:
diff changeset
2098 screen->hide();
223b71206888 Initial import
thib
parents:
diff changeset
2099 screen->SetSurface(surface_update, 0, 0);
223b71206888 Initial import
thib
parents:
diff changeset
2100 parent.Root().BlitSurface(Dsurface(1), Rect(*surface_update), surface_update, Rect(0,0));
223b71206888 Initial import
thib
parents:
diff changeset
2101
223b71206888 Initial import
thib
parents:
diff changeset
2102 screen_front = parent.create_leaf(Rect(0, 0, parent.Width(), parent.Height()), 0);
223b71206888 Initial import
thib
parents:
diff changeset
2103 screen_front->hide();
223b71206888 Initial import
thib
parents:
diff changeset
2104 screen_front->ZMove(screen);
223b71206888 Initial import
thib
parents:
diff changeset
2105
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2106 // 新しい object へ更新、surface_update へ新しい object を表示
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2107 // (object 作成時は picture は hide されている)
0
223b71206888 Initial import
thib
parents:
diff changeset
2108 for (it=bs_obj.begin(); it!=bs_obj.end(); it++) {
223b71206888 Initial import
thib
parents:
diff changeset
2109 grpobj[it->first] = it->second;
223b71206888 Initial import
thib
parents:
diff changeset
2110 it->second.DeletePic();
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2111 CreateObj(it->first);//FIXME: Adapt to groups
0
223b71206888 Initial import
thib
parents:
diff changeset
2112 GrpObj& g = grpobj[it->first];
223b71206888 Initial import
thib
parents:
diff changeset
2113 if (g.picture) {
223b71206888 Initial import
thib
parents:
diff changeset
2114 g.Update();
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
2115 if (g.alpha == 0 || (g.attr & GrpObj::HIDDEN)) ;
0
223b71206888 Initial import
thib
parents:
diff changeset
2116 else g.picture->SimpleBlit(surface_update);
223b71206888 Initial import
thib
parents:
diff changeset
2117 g.picture->hide();
223b71206888 Initial import
thib
parents:
diff changeset
2118 }
223b71206888 Initial import
thib
parents:
diff changeset
2119 }
223b71206888 Initial import
thib
parents:
diff changeset
2120 bs_obj.clear();
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2121 // 画像効果開始
0
223b71206888 Initial import
thib
parents:
diff changeset
2122 switch(sel.sel_no) {
223b71206888 Initial import
thib
parents:
diff changeset
2123 default:
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2124 case 0: case 50: // 0 と 50 の違いが良くわからない
0
223b71206888 Initial import
thib
parents:
diff changeset
2125 if (skip_mode & SKIP_GRP_NOEFFEC)
223b71206888 Initial import
thib
parents:
diff changeset
2126 anm1 = new WidAnmAlpha(event, screen, ALPHA_MAX, ALPHA_MAX, 0);
223b71206888 Initial import
thib
parents:
diff changeset
2127 else if (skip_mode & SKIP_GRP_FAST)
223b71206888 Initial import
thib
parents:
diff changeset
2128 anm1 = new WidAnmAlpha(event, screen, 0, ALPHA_MAX, sel.time/4);
223b71206888 Initial import
thib
parents:
diff changeset
2129 else
223b71206888 Initial import
thib
parents:
diff changeset
2130 anm1 = new WidAnmAlpha(event, screen, 0, ALPHA_MAX, sel.time);
223b71206888 Initial import
thib
parents:
diff changeset
2131 break;
223b71206888 Initial import
thib
parents:
diff changeset
2132 }
223b71206888 Initial import
thib
parents:
diff changeset
2133 if (anm1) anm1->Play();
223b71206888 Initial import
thib
parents:
diff changeset
2134 if (skip_mode & SKIP_GRP_NOEFFEC) AbortAnm();
223b71206888 Initial import
thib
parents:
diff changeset
2135 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2136
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2137 void Grp::StartShake(int total, const int* pattern) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2138 if (anm2) {
223b71206888 Initial import
thib
parents:
diff changeset
2139 fprintf(stderr,"Warning: StartShake() called before another animation finished\n");
223b71206888 Initial import
thib
parents:
diff changeset
2140 anm2->Abort();
223b71206888 Initial import
thib
parents:
diff changeset
2141 delete anm2;
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2142 anm2 = NULL;
0
223b71206888 Initial import
thib
parents:
diff changeset
2143 }
223b71206888 Initial import
thib
parents:
diff changeset
2144 if (skip_mode & SKIP_GRP_NOEFFEC) return;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2145 AnmAlphaMove* new_anm = new AnmAlphaMove(event, &parent); // shake screen では元画面の座標を揺らす
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2146 int i;
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2147 int tm = 0;
0
223b71206888 Initial import
thib
parents:
diff changeset
2148 for (i=0; i<total; i+=3) {
223b71206888 Initial import
thib
parents:
diff changeset
2149 int x = pattern[i];
223b71206888 Initial import
thib
parents:
diff changeset
2150 int y = pattern[i+1];
223b71206888 Initial import
thib
parents:
diff changeset
2151 new_anm->ptns.push_back(AnmAlphaMove::Ptn(Rect(x,y), Rect(0,0), 255, tm));
223b71206888 Initial import
thib
parents:
diff changeset
2152 tm += pattern[i+2];
223b71206888 Initial import
thib
parents:
diff changeset
2153 }
223b71206888 Initial import
thib
parents:
diff changeset
2154 new_anm->ptns.push_back(AnmAlphaMove::Ptn(Rect(0,0), Rect(0,0), 255, tm));
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2155 new_anm->SetPtn(); // パターン登録終了
0
223b71206888 Initial import
thib
parents:
diff changeset
2156 new_anm->Play();
223b71206888 Initial import
thib
parents:
diff changeset
2157 anm2 = new_anm;
223b71206888 Initial import
thib
parents:
diff changeset
2158 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2159
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2160 void Grp::AbortAnm(void) {
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2161 if (anm1 == NULL) return;
0
223b71206888 Initial import
thib
parents:
diff changeset
2162 anm1->Abort();
223b71206888 Initial import
thib
parents:
diff changeset
2163 delete anm1;
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2164 anm1 = NULL;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2165 /* 画像効果終了 */
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2166 /* 古い画面への画像効果があれば消去 */
0
223b71206888 Initial import
thib
parents:
diff changeset
2167 if (anm2 && anm2->pic[0] != screen) {
223b71206888 Initial import
thib
parents:
diff changeset
2168 anm2->Abort();
223b71206888 Initial import
thib
parents:
diff changeset
2169 delete anm2;
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2170 anm2 = NULL;
0
223b71206888 Initial import
thib
parents:
diff changeset
2171 }
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2172 /* pdt1 -> pdt0 へコピー */
0
223b71206888 Initial import
thib
parents:
diff changeset
2173 DSurfaceMove(dsurface[1], Rect(*dsurface[1]), surface, Rect(0,0));
223b71206888 Initial import
thib
parents:
diff changeset
2174 screen->SetSurface(surface, 0, 0);
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2175 // 画像効果開始時に存在したobjectを消去
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2176 // 新しい object 表示
0
223b71206888 Initial import
thib
parents:
diff changeset
2177 RefreshObj();
223b71206888 Initial import
thib
parents:
diff changeset
2178 return;
223b71206888 Initial import
thib
parents:
diff changeset
2179 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2180
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2181 void Grp::LoadSurface(const char* str) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2182 if (anm1 != NULL) AbortAnm(); // 前の描画が終わってなければ強制終了
0
223b71206888 Initial import
thib
parents:
diff changeset
2183 LoadSurface(str, 1);
223b71206888 Initial import
thib
parents:
diff changeset
2184 bg_name = str;
223b71206888 Initial import
thib
parents:
diff changeset
2185 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2186
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2187 void Grp::LoadSurface(void) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2188 if (anm1 != NULL) AbortAnm(); // 前の描画が終わってなければ強制終了
0
223b71206888 Initial import
thib
parents:
diff changeset
2189 LoadSurface(bg_name.c_str(), 1);
223b71206888 Initial import
thib
parents:
diff changeset
2190 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2191
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2192 void Grp::AddSurface(const char* str) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2193 if (anm1 != NULL) AbortAnm(); // 前の描画が終わってなければ強制終了
0
223b71206888 Initial import
thib
parents:
diff changeset
2194 LoadSurface(bg_name.c_str());
223b71206888 Initial import
thib
parents:
diff changeset
2195
223b71206888 Initial import
thib
parents:
diff changeset
2196 string s = str;
223b71206888 Initial import
thib
parents:
diff changeset
2197 Surface* front = parent.Root().NewSurface(s.c_str());
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2198 if (front == NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2199 s += ".g00";
223b71206888 Initial import
thib
parents:
diff changeset
2200 front = parent.Root().NewSurface(s.c_str());
223b71206888 Initial import
thib
parents:
diff changeset
2201 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2202 if (front != NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2203 parent.Root().BlitSurface(front, Rect(*front), Dsurface(1), Rect(0,0));
223b71206888 Initial import
thib
parents:
diff changeset
2204 parent.Root().DeleteSurface(front);
223b71206888 Initial import
thib
parents:
diff changeset
2205 } else {
223b71206888 Initial import
thib
parents:
diff changeset
2206 fprintf(stderr,"Cannot find surface %s\n",str);
223b71206888 Initial import
thib
parents:
diff changeset
2207 }
223b71206888 Initial import
thib
parents:
diff changeset
2208 }
223b71206888 Initial import
thib
parents:
diff changeset
2209
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2210 void Grp::CreateObj(int index) {
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2211 GrpObjMap::iterator cur = grpobj.find(index);
0
223b71206888 Initial import
thib
parents:
diff changeset
2212 if (cur == grpobj.end()) return;
223b71206888 Initial import
thib
parents:
diff changeset
2213 GrpObj& g = grpobj[index];
223b71206888 Initial import
thib
parents:
diff changeset
2214 g.CreateSurface(&parent);
223b71206888 Initial import
thib
parents:
diff changeset
2215 g.order = index;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2216 if (g.picture == NULL) return; // エラー:surface が存在しない
0
223b71206888 Initial import
thib
parents:
diff changeset
2217 g.picture->hide();
223b71206888 Initial import
thib
parents:
diff changeset
2218 SetObjChanged(index);
223b71206888 Initial import
thib
parents:
diff changeset
2219 ZMoveObj(index);
223b71206888 Initial import
thib
parents:
diff changeset
2220 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2221
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2222 void Grp::CreateSubObj(int grp_index, int index) {
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2223 GrpObjMap::iterator cur = grpobj.find(grp_index);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2224 if (cur == grpobj.end()) return;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2225 GrpObj* g = &grpobj[grp_index];
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2226 cur = g->children_obj.find(index);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2227 if (cur == g->children_obj.end()) return;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2228 g = &g->children_obj[index];
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2229 g->CreateSurface(&parent);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2230 g->order = index;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2231 if (g->picture == NULL) return; // エラー:surface が存在しない
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2232 g->picture->hide();
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2233 //TODO
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2234 SetObjChanged(grp_index);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2235 /*ZMoveObj(index);*/
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2236 }
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2237
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2238 void Grp::ZMoveObj(int index) {
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2239 GrpObjMap::iterator cur = grpobj.find(index);
0
223b71206888 Initial import
thib
parents:
diff changeset
2240 if (cur == grpobj.end()) return;
223b71206888 Initial import
thib
parents:
diff changeset
2241 GrpObj& g = grpobj[index];
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2242 if (g.picture == NULL) return;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2243 // 自分より前に object があれば、その前に表示
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2244 // そうでなければ screen の前に表示
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2245 GrpObjMap::iterator cur_backobj = grpobj.end();
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2246 GrpObjMap::iterator it;
0
223b71206888 Initial import
thib
parents:
diff changeset
2247 for (it = grpobj.begin(); it != grpobj.end(); it++) {
223b71206888 Initial import
thib
parents:
diff changeset
2248 if (it == cur) continue;
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2249 if (it->second.picture == NULL) continue;
0
223b71206888 Initial import
thib
parents:
diff changeset
2250 if (it->second.order < g.order) {
223b71206888 Initial import
thib
parents:
diff changeset
2251 if (cur_backobj == grpobj.end()) {
223b71206888 Initial import
thib
parents:
diff changeset
2252 cur_backobj = it;
223b71206888 Initial import
thib
parents:
diff changeset
2253 } else if (cur_backobj->second.order < it->second.order) {
223b71206888 Initial import
thib
parents:
diff changeset
2254 cur_backobj = it;
223b71206888 Initial import
thib
parents:
diff changeset
2255 }
223b71206888 Initial import
thib
parents:
diff changeset
2256 }
223b71206888 Initial import
thib
parents:
diff changeset
2257 }
223b71206888 Initial import
thib
parents:
diff changeset
2258 if (cur_backobj == grpobj.end()) {
223b71206888 Initial import
thib
parents:
diff changeset
2259 g.picture->ZMove(screen);
223b71206888 Initial import
thib
parents:
diff changeset
2260 } else {
223b71206888 Initial import
thib
parents:
diff changeset
2261 g.picture->ZMove(cur_backobj->second.picture);
223b71206888 Initial import
thib
parents:
diff changeset
2262 }
223b71206888 Initial import
thib
parents:
diff changeset
2263 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2264
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2265 void Grp::SwapObj(int index1, int index2) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2266 // デフォルト値から order が変更されていた場合のみ、order は保存される
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2267 // まずは両方のobjectをswap
0
223b71206888 Initial import
thib
parents:
diff changeset
2268 if (grpobj.find(index1) == grpobj.end()) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2269 if (grpobj.find(index2) == grpobj.end()) return; // どちらの object も存在しない
0
223b71206888 Initial import
thib
parents:
diff changeset
2270 grpobj[index1] = grpobj[index2];
223b71206888 Initial import
thib
parents:
diff changeset
2271 if (grpobj[index1].order == index2)
223b71206888 Initial import
thib
parents:
diff changeset
2272 grpobj[index1].order = index1;
223b71206888 Initial import
thib
parents:
diff changeset
2273 grpobj[index2].DeletePic();
223b71206888 Initial import
thib
parents:
diff changeset
2274 grpobj.erase(index2);
223b71206888 Initial import
thib
parents:
diff changeset
2275 ZMoveObj(index1);
223b71206888 Initial import
thib
parents:
diff changeset
2276 return;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2277 } else if (grpobj.find(index2) == grpobj.end()) { // index2 が存在しない場合
0
223b71206888 Initial import
thib
parents:
diff changeset
2278 grpobj[index2] = grpobj[index1];
223b71206888 Initial import
thib
parents:
diff changeset
2279 if (grpobj[index2].order == index1)
223b71206888 Initial import
thib
parents:
diff changeset
2280 grpobj[index2].order = index2;
223b71206888 Initial import
thib
parents:
diff changeset
2281 grpobj[index1].DeletePic();
223b71206888 Initial import
thib
parents:
diff changeset
2282 grpobj.erase(index1);
223b71206888 Initial import
thib
parents:
diff changeset
2283 ZMoveObj(index2);
223b71206888 Initial import
thib
parents:
diff changeset
2284 return;
223b71206888 Initial import
thib
parents:
diff changeset
2285 } else {
223b71206888 Initial import
thib
parents:
diff changeset
2286 GrpObj obj = grpobj[index1];
223b71206888 Initial import
thib
parents:
diff changeset
2287 grpobj[index1] = grpobj[index2];
223b71206888 Initial import
thib
parents:
diff changeset
2288 grpobj[index2].DeletePic();
223b71206888 Initial import
thib
parents:
diff changeset
2289 if (grpobj[index1].order == index2)
223b71206888 Initial import
thib
parents:
diff changeset
2290 grpobj[index1].order = index1;
223b71206888 Initial import
thib
parents:
diff changeset
2291 ZMoveObj(index1);
223b71206888 Initial import
thib
parents:
diff changeset
2292 grpobj[index2] = obj;
223b71206888 Initial import
thib
parents:
diff changeset
2293 if (grpobj[index2].order == index1)
223b71206888 Initial import
thib
parents:
diff changeset
2294 grpobj[index2].order = index2;
223b71206888 Initial import
thib
parents:
diff changeset
2295 ZMoveObj(index2);
223b71206888 Initial import
thib
parents:
diff changeset
2296 obj.DeletePic();
223b71206888 Initial import
thib
parents:
diff changeset
2297 }
223b71206888 Initial import
thib
parents:
diff changeset
2298 }
223b71206888 Initial import
thib
parents:
diff changeset
2299
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2300 bool Grp::Pressed(int x, int y, void* pointer) { // マウスクリックでキャンセル
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2301 Grp* g = (Grp*)pointer;
0
223b71206888 Initial import
thib
parents:
diff changeset
2302 if (g->status == WAIT_MOVIE)
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
2303 g->music->StopMovie();
0
223b71206888 Initial import
thib
parents:
diff changeset
2304 if (g->status == WAIT_ANM)
223b71206888 Initial import
thib
parents:
diff changeset
2305 g->AbortAnm();
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2306 if (g->status == WAIT_SHAKE && g->anm2 != NULL) {
18
4d7486cb20a9 Sync with upstream
thib
parents: 14
diff changeset
2307 g->anm2->Abort();
0
223b71206888 Initial import
thib
parents:
diff changeset
2308 delete g->anm2;
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2309 g->anm2 = NULL;
0
223b71206888 Initial import
thib
parents:
diff changeset
2310 }
223b71206888 Initial import
thib
parents:
diff changeset
2311 return false; // event deleted
223b71206888 Initial import
thib
parents:
diff changeset
2312 }
223b71206888 Initial import
thib
parents:
diff changeset
2313
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2314 /* mode.cgm の decode 用 */
0
223b71206888 Initial import
thib
parents:
diff changeset
2315 static unsigned char decode_char[256] = {
223b71206888 Initial import
thib
parents:
diff changeset
2316 0x8b, 0xe5, 0x5d, 0xc3, 0xa1, 0xe0, 0x30, 0x44,
223b71206888 Initial import
thib
parents:
diff changeset
2317 0x00, 0x85, 0xc0, 0x74, 0x09, 0x5f, 0x5e, 0x33,
223b71206888 Initial import
thib
parents:
diff changeset
2318 0xc0, 0x5b, 0x8b, 0xe5, 0x5d, 0xc3, 0x8b, 0x45,
223b71206888 Initial import
thib
parents:
diff changeset
2319 0x0c, 0x85, 0xc0, 0x75, 0x14, 0x8b, 0x55, 0xec,
223b71206888 Initial import
thib
parents:
diff changeset
2320 0x83, 0xc2, 0x20, 0x52, 0x6a, 0x00, 0xe8, 0xf5,
223b71206888 Initial import
thib
parents:
diff changeset
2321 0x28, 0x01, 0x00, 0x83, 0xc4, 0x08, 0x89, 0x45,
223b71206888 Initial import
thib
parents:
diff changeset
2322 0x0c, 0x8b, 0x45, 0xe4, 0x6a, 0x00, 0x6a, 0x00,
223b71206888 Initial import
thib
parents:
diff changeset
2323 0x50, 0x53, 0xff, 0x15, 0x34, 0xb1, 0x43, 0x00,
223b71206888 Initial import
thib
parents:
diff changeset
2324 0x8b, 0x45, 0x10, 0x85, 0xc0, 0x74, 0x05, 0x8b,
223b71206888 Initial import
thib
parents:
diff changeset
2325 0x4d, 0xec, 0x89, 0x08, 0x8a, 0x45, 0xf0, 0x84,
223b71206888 Initial import
thib
parents:
diff changeset
2326 0xc0, 0x75, 0x78, 0xa1, 0xe0, 0x30, 0x44, 0x00,
223b71206888 Initial import
thib
parents:
diff changeset
2327 0x8b, 0x7d, 0xe8, 0x8b, 0x75, 0x0c, 0x85, 0xc0,
223b71206888 Initial import
thib
parents:
diff changeset
2328 0x75, 0x44, 0x8b, 0x1d, 0xd0, 0xb0, 0x43, 0x00,
223b71206888 Initial import
thib
parents:
diff changeset
2329 0x85, 0xff, 0x76, 0x37, 0x81, 0xff, 0x00, 0x00,
223b71206888 Initial import
thib
parents:
diff changeset
2330 0x04, 0x00, 0x6a, 0x00, 0x76, 0x43, 0x8b, 0x45,
223b71206888 Initial import
thib
parents:
diff changeset
2331 0xf8, 0x8d, 0x55, 0xfc, 0x52, 0x68, 0x00, 0x00,
223b71206888 Initial import
thib
parents:
diff changeset
2332 0x04, 0x00, 0x56, 0x50, 0xff, 0x15, 0x2c, 0xb1,
223b71206888 Initial import
thib
parents:
diff changeset
2333 0x43, 0x00, 0x6a, 0x05, 0xff, 0xd3, 0xa1, 0xe0,
223b71206888 Initial import
thib
parents:
diff changeset
2334 0x30, 0x44, 0x00, 0x81, 0xef, 0x00, 0x00, 0x04,
223b71206888 Initial import
thib
parents:
diff changeset
2335 0x00, 0x81, 0xc6, 0x00, 0x00, 0x04, 0x00, 0x85,
223b71206888 Initial import
thib
parents:
diff changeset
2336 0xc0, 0x74, 0xc5, 0x8b, 0x5d, 0xf8, 0x53, 0xe8,
223b71206888 Initial import
thib
parents:
diff changeset
2337 0xf4, 0xfb, 0xff, 0xff, 0x8b, 0x45, 0x0c, 0x83,
223b71206888 Initial import
thib
parents:
diff changeset
2338 0xc4, 0x04, 0x5f, 0x5e, 0x5b, 0x8b, 0xe5, 0x5d,
223b71206888 Initial import
thib
parents:
diff changeset
2339 0xc3, 0x8b, 0x55, 0xf8, 0x8d, 0x4d, 0xfc, 0x51,
223b71206888 Initial import
thib
parents:
diff changeset
2340 0x57, 0x56, 0x52, 0xff, 0x15, 0x2c, 0xb1, 0x43,
223b71206888 Initial import
thib
parents:
diff changeset
2341 0x00, 0xeb, 0xd8, 0x8b, 0x45, 0xe8, 0x83, 0xc0,
223b71206888 Initial import
thib
parents:
diff changeset
2342 0x20, 0x50, 0x6a, 0x00, 0xe8, 0x47, 0x28, 0x01,
223b71206888 Initial import
thib
parents:
diff changeset
2343 0x00, 0x8b, 0x7d, 0xe8, 0x89, 0x45, 0xf4, 0x8b,
223b71206888 Initial import
thib
parents:
diff changeset
2344 0xf0, 0xa1, 0xe0, 0x30, 0x44, 0x00, 0x83, 0xc4,
223b71206888 Initial import
thib
parents:
diff changeset
2345 0x08, 0x85, 0xc0, 0x75, 0x56, 0x8b, 0x1d, 0xd0,
223b71206888 Initial import
thib
parents:
diff changeset
2346 0xb0, 0x43, 0x00, 0x85, 0xff, 0x76, 0x49, 0x81,
223b71206888 Initial import
thib
parents:
diff changeset
2347 0xff, 0x00, 0x00, 0x04, 0x00, 0x6a, 0x00, 0x76
223b71206888 Initial import
thib
parents:
diff changeset
2348 };
223b71206888 Initial import
thib
parents:
diff changeset
2349
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2350 void Grp::LoadCgm() {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2351 /* cgm ファイル読み込み */
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
2352 const char* fname = config->GetParaStr("#CGTABLE_FILE");
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2353 if (fname == NULL) return;
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
2354 ARCINFO* info = FileSearcher::GetInstance()->Find(FileSearcher::ALL, fname, "");
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2355 if (info == NULL) return;
0
223b71206888 Initial import
thib
parents:
diff changeset
2356 char* data = info->CopyRead();
223b71206888 Initial import
thib
parents:
diff changeset
2357 int sz = info->Size();
223b71206888 Initial import
thib
parents:
diff changeset
2358 delete info;
223b71206888 Initial import
thib
parents:
diff changeset
2359
223b71206888 Initial import
thib
parents:
diff changeset
2360
8
55b577e5f5b5 Some memory leaks fixed
thib
parents: 5
diff changeset
2361 if ( strncmp(data, "CGTABLE", 7) != 0) {
55b577e5f5b5 Some memory leaks fixed
thib
parents: 5
diff changeset
2362 delete[] data;
55b577e5f5b5 Some memory leaks fixed
thib
parents: 5
diff changeset
2363 return;
55b577e5f5b5 Some memory leaks fixed
thib
parents: 5
diff changeset
2364 }
20
824b89018ea8 * CG completion percentage (maybe not working properly?)
thib
parents: 18
diff changeset
2365 cgm_size = read_little_endian_int(data+0x10);
0
223b71206888 Initial import
thib
parents:
diff changeset
2366
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2367 int i, j;
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2368 // xor 解除
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2369 for (i=0; i < sz-0x20; i++) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2370 data[i+0x20]^=decode_char[i&0xff];
223b71206888 Initial import
thib
parents:
diff changeset
2371 }
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2372 // 展開
0
223b71206888 Initial import
thib
parents:
diff changeset
2373 int dest_size = cgm_size * 36;
223b71206888 Initial import
thib
parents:
diff changeset
2374 char* dest = new char[dest_size+1024];
223b71206888 Initial import
thib
parents:
diff changeset
2375 char* src = data + 0x28;
223b71206888 Initial import
thib
parents:
diff changeset
2376 char* dest_orig = dest;
223b71206888 Initial import
thib
parents:
diff changeset
2377 ARCINFO::Extract2k(dest,src,dest+dest_size,data+sz);
223b71206888 Initial import
thib
parents:
diff changeset
2378 dest = dest_orig;
223b71206888 Initial import
thib
parents:
diff changeset
2379 for (i=0; i<cgm_size; i++) {
223b71206888 Initial import
thib
parents:
diff changeset
2380 char* s = dest + i * 36;
223b71206888 Initial import
thib
parents:
diff changeset
2381 int n = read_little_endian_int(dest + i * 36 + 32);
223b71206888 Initial import
thib
parents:
diff changeset
2382 cgm_info[s] = n;
223b71206888 Initial import
thib
parents:
diff changeset
2383 }
8
55b577e5f5b5 Some memory leaks fixed
thib
parents: 5
diff changeset
2384 delete[] data;
0
223b71206888 Initial import
thib
parents:
diff changeset
2385 delete[] dest_orig;
223b71206888 Initial import
thib
parents:
diff changeset
2386 }
223b71206888 Initial import
thib
parents:
diff changeset
2387
223b71206888 Initial import
thib
parents:
diff changeset
2388 /*****************************************************
223b71206888 Initial import
thib
parents:
diff changeset
2389 *
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2390 * Grp :: Save, Load : セーブファイル処理
0
223b71206888 Initial import
thib
parents:
diff changeset
2391 *
223b71206888 Initial import
thib
parents:
diff changeset
2392 */
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2393 void Grp::Save(std::string& str) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2394 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2395
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2396 void Grp::Load(const char* str) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2397 status = NORMAL;
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2398 if (anm1 != NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2399 AbortAnm();
223b71206888 Initial import
thib
parents:
diff changeset
2400 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2401 if (anm2 != NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2402 anm2->Abort();
223b71206888 Initial import
thib
parents:
diff changeset
2403 delete anm2;
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2404 anm2 = NULL;
0
223b71206888 Initial import
thib
parents:
diff changeset
2405 }
223b71206888 Initial import
thib
parents:
diff changeset
2406 map<int,GrpObj>::iterator it;
223b71206888 Initial import
thib
parents:
diff changeset
2407 for (it=grpobj.begin(); it!=grpobj.end(); it++) {
223b71206888 Initial import
thib
parents:
diff changeset
2408 PicBase* p = it->second.DeletePic();
223b71206888 Initial import
thib
parents:
diff changeset
2409 delete p;
223b71206888 Initial import
thib
parents:
diff changeset
2410 }
223b71206888 Initial import
thib
parents:
diff changeset
2411 grpobj.clear();
223b71206888 Initial import
thib
parents:
diff changeset
2412
223b71206888 Initial import
thib
parents:
diff changeset
2413 bg_name = "";
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
2414 music->StopCDROM(100);
0
223b71206888 Initial import
thib
parents:
diff changeset
2415 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2416
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2417 void Grp::SaveSys(string& save) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2418 char buf[1024];
223b71206888 Initial import
thib
parents:
diff changeset
2419 save = "\n[Graphics]\n";
223b71206888 Initial import
thib
parents:
diff changeset
2420 save += "CGM_CG=";
223b71206888 Initial import
thib
parents:
diff changeset
2421
223b71206888 Initial import
thib
parents:
diff changeset
2422 set<int>::iterator it;
223b71206888 Initial import
thib
parents:
diff changeset
2423 for (it=cgm_data.begin(); it != cgm_data.end(); it++) {
223b71206888 Initial import
thib
parents:
diff changeset
2424 sprintf(buf,"%d,",*it);
223b71206888 Initial import
thib
parents:
diff changeset
2425 save += buf;
223b71206888 Initial import
thib
parents:
diff changeset
2426 }
223b71206888 Initial import
thib
parents:
diff changeset
2427 save += "\n";
223b71206888 Initial import
thib
parents:
diff changeset
2428 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2429
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2430 void Grp::LoadSys(const char* save) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2431 cgm_data.clear();
223b71206888 Initial import
thib
parents:
diff changeset
2432 save = strstr(save, "\n[Graphics]\n");
223b71206888 Initial import
thib
parents:
diff changeset
2433
223b71206888 Initial import
thib
parents:
diff changeset
2434 if (save) {
223b71206888 Initial import
thib
parents:
diff changeset
2435 save += strlen("\n[Graphics]\n");
223b71206888 Initial import
thib
parents:
diff changeset
2436 do {
223b71206888 Initial import
thib
parents:
diff changeset
2437 if (save[0] == '[') break; // next section
223b71206888 Initial import
thib
parents:
diff changeset
2438 if (strncmp(save, "CGM_CG=",7) == 0) {
223b71206888 Initial import
thib
parents:
diff changeset
2439 save += 7;
223b71206888 Initial import
thib
parents:
diff changeset
2440 while(isdigit(*save)) {
223b71206888 Initial import
thib
parents:
diff changeset
2441 int n = atoi(save);
223b71206888 Initial import
thib
parents:
diff changeset
2442 cgm_data.insert(n);
223b71206888 Initial import
thib
parents:
diff changeset
2443 save = strchr(save, ',');
223b71206888 Initial import
thib
parents:
diff changeset
2444 if (save) save++;
223b71206888 Initial import
thib
parents:
diff changeset
2445 }
223b71206888 Initial import
thib
parents:
diff changeset
2446 }
223b71206888 Initial import
thib
parents:
diff changeset
2447 save = strchr(save, '\n');
223b71206888 Initial import
thib
parents:
diff changeset
2448 if (save) save++;
223b71206888 Initial import
thib
parents:
diff changeset
2449 } while (save);
223b71206888 Initial import
thib
parents:
diff changeset
2450 }
223b71206888 Initial import
thib
parents:
diff changeset
2451 return;
223b71206888 Initial import
thib
parents:
diff changeset
2452 }
223b71206888 Initial import
thib
parents:
diff changeset
2453
223b71206888 Initial import
thib
parents:
diff changeset
2454
223b71206888 Initial import
thib
parents:
diff changeset
2455 /*****************************************************
223b71206888 Initial import
thib
parents:
diff changeset
2456 *
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2457 * Grp :: Wait , Exec : コマンド実行部
0
223b71206888 Initial import
thib
parents:
diff changeset
2458 *
223b71206888 Initial import
thib
parents:
diff changeset
2459 */
223b71206888 Initial import
thib
parents:
diff changeset
2460 static vector<int> drawn_images;
223b71206888 Initial import
thib
parents:
diff changeset
2461 static int draw_n = 0;
223b71206888 Initial import
thib
parents:
diff changeset
2462 extern bool grpdump_req;
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2463 bool Grp::Wait(unsigned int current_time, Cmd& cmd) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2464 if (grpdump_req) {
223b71206888 Initial import
thib
parents:
diff changeset
2465 grpdump_req = 0;
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2466 GrpObjMap::iterator it;
48
ed6c21dde840 * use correct format (%p) for pointers
thib
parents: 43
diff changeset
2467 fprintf(stderr,"front %p(%d) / %p(%d)\n",screen,screen->IsHidden(),screen_front,screen_front->IsHidden());
0
223b71206888 Initial import
thib
parents:
diff changeset
2468 for (it=grpobj.begin(); it != grpobj.end(); it++) {
223b71206888 Initial import
thib
parents:
diff changeset
2469 GrpObj& obj = it->second;
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2470 obj._debug_Dump(it->first, 0);
0
223b71206888 Initial import
thib
parents:
diff changeset
2471 }
223b71206888 Initial import
thib
parents:
diff changeset
2472 std::list<PicBase*>::iterator it2;
223b71206888 Initial import
thib
parents:
diff changeset
2473 for (it2=parent.children.begin(); it2!=parent.children.end();it2++) {
48
ed6c21dde840 * use correct format (%p) for pointers
thib
parents: 43
diff changeset
2474 fprintf(stderr,"%p(%d)\n",*it2,(*it2)->IsHidden());
0
223b71206888 Initial import
thib
parents:
diff changeset
2475 }
223b71206888 Initial import
thib
parents:
diff changeset
2476 RefreshObj();
223b71206888 Initial import
thib
parents:
diff changeset
2477
223b71206888 Initial import
thib
parents:
diff changeset
2478 }
223b71206888 Initial import
thib
parents:
diff changeset
2479 #if 0
223b71206888 Initial import
thib
parents:
diff changeset
2480 if (event.presscount(MOUSE_UP)) {
223b71206888 Initial import
thib
parents:
diff changeset
2481 std::list<PicBase*>::iterator lit;
223b71206888 Initial import
thib
parents:
diff changeset
2482 draw_n++; int i=0;
223b71206888 Initial import
thib
parents:
diff changeset
2483 for (lit=parent.children.end(); lit!=parent.children.begin(); ) {
223b71206888 Initial import
thib
parents:
diff changeset
2484 lit--;
223b71206888 Initial import
thib
parents:
diff changeset
2485 (*lit)->hide();
223b71206888 Initial import
thib
parents:
diff changeset
2486 i++;
223b71206888 Initial import
thib
parents:
diff changeset
2487 if (i >= draw_n) break;
223b71206888 Initial import
thib
parents:
diff changeset
2488 }
223b71206888 Initial import
thib
parents:
diff changeset
2489 if (drawn_images.empty()) {
223b71206888 Initial import
thib
parents:
diff changeset
2490 map<int, GrpObj>::iterator it;
223b71206888 Initial import
thib
parents:
diff changeset
2491 for (it=grpobj.begin(); it!=grpobj.end(); it++) {
223b71206888 Initial import
thib
parents:
diff changeset
2492 if (it->second.picture) {
223b71206888 Initial import
thib
parents:
diff changeset
2493 drawn_images.push_back(it->first);
223b71206888 Initial import
thib
parents:
diff changeset
2494 PicBase* p = it->second.DeletePic();
223b71206888 Initial import
thib
parents:
diff changeset
2495 delete p;
223b71206888 Initial import
thib
parents:
diff changeset
2496 }
223b71206888 Initial import
thib
parents:
diff changeset
2497 }
223b71206888 Initial import
thib
parents:
diff changeset
2498 } else {
223b71206888 Initial import
thib
parents:
diff changeset
2499 vector<int>::iterator it;
223b71206888 Initial import
thib
parents:
diff changeset
2500 for (it=drawn_images.begin(); it!=drawn_images.end(); it++) {
223b71206888 Initial import
thib
parents:
diff changeset
2501 CreateObj(*it);
223b71206888 Initial import
thib
parents:
diff changeset
2502 }
223b71206888 Initial import
thib
parents:
diff changeset
2503 drawn_images.clear();
223b71206888 Initial import
thib
parents:
diff changeset
2504 }
223b71206888 Initial import
thib
parents:
diff changeset
2505 }
223b71206888 Initial import
thib
parents:
diff changeset
2506 #endif
223b71206888 Initial import
thib
parents:
diff changeset
2507 if (status == WAIT_ANM) {
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2508 if (anm1 != NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2509 if (!anm1->IsEnd()) return true;
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
2510 //FIXME: Handle animation loops
0
223b71206888 Initial import
thib
parents:
diff changeset
2511 AbortAnm();
223b71206888 Initial import
thib
parents:
diff changeset
2512 }
223b71206888 Initial import
thib
parents:
diff changeset
2513 } else if (status == WAIT_SHAKE) {
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2514 if (anm2 != NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2515 if (!anm2->IsEnd()) return true;
223b71206888 Initial import
thib
parents:
diff changeset
2516 delete anm2;
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2517 anm2 = NULL;
0
223b71206888 Initial import
thib
parents:
diff changeset
2518 }
223b71206888 Initial import
thib
parents:
diff changeset
2519 status = NORMAL;
223b71206888 Initial import
thib
parents:
diff changeset
2520 } else if (status == WAIT_SE) {
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
2521 if (music->IsStopSE()) status = NORMAL;
0
223b71206888 Initial import
thib
parents:
diff changeset
2522 return true;
223b71206888 Initial import
thib
parents:
diff changeset
2523 } else if (status == WAIT_MOVIE) {
53
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
2524 if (music->IsStopMovie()) {
ddbcbd000206 * MuSys, AyuSysConfig, FileSearcher (former FILESEARCHER) and KeyHolder (former KEYHOLDER) are now singletons
thib
parents: 52
diff changeset
2525 music->StopMovie();
0
223b71206888 Initial import
thib
parents:
diff changeset
2526 status = NORMAL;
223b71206888 Initial import
thib
parents:
diff changeset
2527 screen->ReBlit();
223b71206888 Initial import
thib
parents:
diff changeset
2528 }
223b71206888 Initial import
thib
parents:
diff changeset
2529 return true;
223b71206888 Initial import
thib
parents:
diff changeset
2530 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2531 if (anm2 != NULL) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2532 if (anm2->IsEnd()) {
223b71206888 Initial import
thib
parents:
diff changeset
2533 delete anm2;
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2534 anm2 = NULL;
0
223b71206888 Initial import
thib
parents:
diff changeset
2535 }
223b71206888 Initial import
thib
parents:
diff changeset
2536 }
223b71206888 Initial import
thib
parents:
diff changeset
2537 return false;
223b71206888 Initial import
thib
parents:
diff changeset
2538 }
223b71206888 Initial import
thib
parents:
diff changeset
2539
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2540 void Grp::DeleteObjPic(int num) { // object の surface のみ削除
0
223b71206888 Initial import
thib
parents:
diff changeset
2541 if (grpobj.find(num) == grpobj.end()) return;
223b71206888 Initial import
thib
parents:
diff changeset
2542 deleted_pic.push_back(grpobj[num].DeletePic());
223b71206888 Initial import
thib
parents:
diff changeset
2543 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2544
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2545 void Grp::DeleteSubObjPic(int num_grp, int num) {
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2546 if (grpobj.find(num_grp) == grpobj.end()) return;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2547 if (grpobj[num_grp].children_obj.find(num) == grpobj[num_grp].children_obj.end()) return;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2548 deleted_pic.push_back(grpobj[num_grp].children_obj[num].DeletePic());
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2549 }
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2550
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2551 void Grp::DeleteObj(int num) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2552 if (grpobj.find(num) == grpobj.end()) return;
223b71206888 Initial import
thib
parents:
diff changeset
2553 deleted_pic.push_back(grpobj[num].DeletePic());
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2554 GrpObjMap::iterator it;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2555 for (it = grpobj[num].children_obj.begin(); it != grpobj[num].children_obj.end(); it++) {
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2556 deleted_pic.push_back(it->second.DeletePic());
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2557 }
0
223b71206888 Initial import
thib
parents:
diff changeset
2558 grpobj.erase(num);
223b71206888 Initial import
thib
parents:
diff changeset
2559 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 50
diff changeset
2560
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2561 void Grp::DeleteSubObj(int num_grp, int num) {
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2562 if (grpobj.find(num_grp) == grpobj.end()) return;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2563 if (grpobj[num_grp].children_obj.find(num) == grpobj[num_grp].children_obj.end()) return;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2564 deleted_pic.push_back(grpobj[num_grp].children_obj[num].DeletePic());
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2565 grpobj[num_grp].children_obj.erase(num);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2566 }
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2567
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
2568 void Grp::Exec(Cmd& cmd) {
0
223b71206888 Initial import
thib
parents:
diff changeset
2569 if (cmd.cmd_type == CMD_TEXTEND) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2570 music->StopKoe(500); // テキスト終了で声を止める
0
223b71206888 Initial import
thib
parents:
diff changeset
2571 cmd.clear();
223b71206888 Initial import
thib
parents:
diff changeset
2572 return;
223b71206888 Initial import
thib
parents:
diff changeset
2573 }
223b71206888 Initial import
thib
parents:
diff changeset
2574 if (cmd.cmd_type == CMD_WAITFRAMEUPDATE) {
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2575 // wait する場合は RefreshObj() しておく
0
223b71206888 Initial import
thib
parents:
diff changeset
2576 RefreshObj();
223b71206888 Initial import
thib
parents:
diff changeset
2577 }
223b71206888 Initial import
thib
parents:
diff changeset
2578 if (cmd.cmd_type != CMD_OTHER) return;
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
2579
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
2580 CommandHandler::Exec(cmd);
26
f45da03ca631 * Corrected --disable-vorbis in configure.ac
thib
parents: 20
diff changeset
2581
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
2582 //TODO: ???
65
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2583 if (cmd.cmd1 == 1 && cmd.cmd2 == 60 && cmd.cmd3 == 0) { // ??? : KANOGI : 画像オブジェクトの削除?
4416cfac86ae Convert EUC-JP files to UTF8
Thibaut Girka <thib@sitedethib.com>
parents: 60
diff changeset
2584 DeleteObjPic(cmd.args[0].value); // 旧ファイル名のsurfaceを削除
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
2585 GrpObj& g = grpobj[cmd.args[0].value];
0
223b71206888 Initial import
thib
parents:
diff changeset
2586 g.attr = GrpObj::Attribute(g.attr | GrpObj::HIDDEN);
223b71206888 Initial import
thib
parents:
diff changeset
2587 cmd.clear();
223b71206888 Initial import
thib
parents:
diff changeset
2588 }
5
aa0577c1a494 Support for animated things like Botan
thib
parents: 4
diff changeset
2589
60
e16e13d8cd68 Replaced SATURATE -> ADD, implemented objComposite, corrected minor things
Thibaut GIRKA <thib@sitedethib.com>
parents: 56
diff changeset
2590 // Refresh changed objects...
e16e13d8cd68 Replaced SATURATE -> ADD, implemented objComposite, corrected minor things
Thibaut GIRKA <thib@sitedethib.com>
parents: 56
diff changeset
2591 //FIXME: should may be go away?
e16e13d8cd68 Replaced SATURATE -> ADD, implemented objComposite, corrected minor things
Thibaut GIRKA <thib@sitedethib.com>
parents: 56
diff changeset
2592 //Seems it'll work only for objects in the foreground
e16e13d8cd68 Replaced SATURATE -> ADD, implemented objComposite, corrected minor things
Thibaut GIRKA <thib@sitedethib.com>
parents: 56
diff changeset
2593 if ( (cmd.cmd1 == 1 || cmd.cmd1 == 2) && cmd.cmd2 == 81) {
55
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2594 GrpObj* g;
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2595 if (cmd.cmd1 == 2)
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2596 g = GetGraphicObj(cmd.args[0].value, cmd.args[1].value);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2597 else
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2598 g = GetGraphicObj(cmd.args[0].value);
f1a27ee7e03c * started the same changes on scn2k_text.cc
thib
parents: 54
diff changeset
2599 if (g->attr & GrpObj::UPDATE_ALL)
54
d7cde171a1de * scn2k_grp.cc now handles commands in a cleanier way \o/
thib
parents: 53
diff changeset
2600 SetObjChanged(cmd.args[0].value);
0
223b71206888 Initial import
thib
parents:
diff changeset
2601 }
223b71206888 Initial import
thib
parents:
diff changeset
2602 }
223b71206888 Initial import
thib
parents:
diff changeset
2603