ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/bin/cfplus
(Generate patch)

Comparing deliantra/Deliantra-Client/bin/cfplus (file contents):
Revision 1.151 by root, Mon Apr 16 21:12:51 2007 UTC vs.
Revision 1.152 by root, Tue Apr 24 01:13:15 2007 UTC

207 title => "Server Query", 207 title => "Server Query",
208 child => my $vbox = new CFPlus::UI::VBox, 208 child => my $vbox = new CFPlus::UI::VBox,
209 ; 209 ;
210 210
211 my @dialog = my $label = new CFPlus::UI::Label 211 my @dialog = my $label = new CFPlus::UI::Label
212 max_w => $::WIDTH * 0.4, 212 max_w => $::WIDTH * 0.8,
213 ellipsise => 0, 213 ellipsise => 0,
214 text => $prompt; 214 text => $prompt;
215 215
216 if ($flags & CS_QUERY_YESNO) { 216 if ($flags & CS_QUERY_YESNO) {
217 push @dialog, my $hbox = new CFPlus::UI::HBox; 217 push @dialog, my $hbox = new CFPlus::UI::HBox;
234 ); 234 );
235 235
236 $dialog->grab_focus; 236 $dialog->grab_focus;
237 237
238 } elsif ($flags & CS_QUERY_SINGLECHAR) { 238 } elsif ($flags & CS_QUERY_SINGLECHAR) {
239 $dialog->{tooltip} = "#charcreation_focus";
240
241 if ($prompt =~ /Now choose a character|Press any key for the next race/i) { 239 if ($prompt =~ /Now choose a character|Press any key for the next race/i) {
242 $MESSAGE_WINDOW->show; 240 $dialog->{tooltip} = "#charcreation_focus";
243 241
244 unshift @dialog, new CFPlus::UI::Label 242 unshift @dialog, new CFPlus::UI::Label
245 max_w => $::WIDTH * 0.4, 243 max_w => $::WIDTH * 0.8,
246 ellipsise => 0, 244 ellipsise => 0,
247 markup => "\nOr use your keyboard and the text entry below:\n"; 245 markup => "\nOr use your keyboard and the text entry below:\n";
248 246
249 unshift @dialog, my $table = new CFPlus::UI::Table; 247 unshift @dialog, my $table = new CFPlus::UI::Table;
250 248
262 $conn->send ("reply d"); 260 $conn->send ("reply d");
263 destroy_query_dialog $conn; 261 destroy_query_dialog $conn;
264 0 262 0
265 }, 263 },
266 ); 264 );
265
266 if ($conn->{chargen_race_description}) {
267 unshift @dialog, new CFPlus::UI::Label
268 max_w => $::WIDTH * 0.8,
269 ellipsise => 0,
270 markup => "<span foreground='#ccccff'>$conn->{chargen_race_description}</span>",
271 ;
272 }
273
274 if ($conn->{chargen_race_title}) {
275 unshift @dialog, new CFPlus::UI::Face
276 face => $conn->{player}{face},
277 bg => [.2, .2, .2, 1],
278 min_w => 64,
279 min_h => 64,
280 ;
281 }
282
283 if ($conn->{chargen_race_title}) {
284 unshift @dialog, new CFPlus::UI::Label
285 allign => 1,
286 ellipsise => 0,
287 markup => "<span foreground='#ccccff' size='large'>Race: $conn->{chargen_race_title}</span>",
288 ;
289 }
267 290
268 unshift @dialog, new CFPlus::UI::Label 291 unshift @dialog, new CFPlus::UI::Label
269 max_w => $::WIDTH * 0.4, 292 max_w => $::WIDTH * 0.4,
270 ellipsise => 0, 293 ellipsise => 0,
271 markup => (CFPlus::Pod::section_label ui => "chargen_race"), 294 markup => (CFPlus::Pod::section_label ui => "chargen_race"),

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines