128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
{
saycommandon = (init != NULL);
if (saycommandon)
SDL_StartTextInput();
else
SDL_StopTextInput();
if (!editmode)
keyrepeat = saycommandon;
if (!init)
init = "";
strcpy_s(commandbuf, init);
}
COMMAND(saycommand, ARG_VARI)
void
|
|
|
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
{
saycommandon = (init != NULL);
if (saycommandon)
SDL_StartTextInput();
else
SDL_StopTextInput();
if (!editmode)
Cube.sharedInstance.repeatsKeys = saycommandon;
if (!init)
init = "";
strcpy_s(commandbuf, init);
}
COMMAND(saycommand, ARG_VARI)
void
|