ARCADE FOREVER

[Proyecto] AdvMenu+, Modificando el codigo fuente del Advmenu

« Older   Newer »
  Share  
Alex-Arcade
view post Posted on 8/8/2014, 00:11 by: Alex-Arcade     +1   -1




Hi Daesdae!

Hice algunos cambios en los diseños y estaría muy agradecido si usted proporciona el archivo "text.cc" corregido a la opción de "ayuda"

Mis modos de visualización de cambio.
Menu.cc
SPOILER (click to view)
} else if (rs.mode_get() == mode_full || rs.mode_get() == mode_full_mixed) {
// full mode
if (rs.mode_get() == mode_full_mixed)
backdrop_mac = 4;
else
backdrop_mac = 1;
name_dy = 0;

win_x = scr_x;// + bar_left_dx;
win_y = scr_y;// + bar_top_dy;

space_x = 0;
space_y = 0;

coln = 1;
rown = 1;
win_dx = 0;
win_dy = 0;

backdrop_x = win_x;
backdrop_y = win_y;
backdrop_dx = scr_dx;// - bar_left_dx - bar_right_dx;
backdrop_dy = scr_dy;// - bar_top_dy - bar_bottom_dy;
box = false;

//bar_right_x = scr_x + bar_left_dx + backdrop_dx;
//bar_bottom_y = scr_y + bar_top_dy + backdrop_dy;
//bar_top_dx = bar_bottom_dx = bar_left_dx + bar_right_dx + backdrop_dx;
//bar_left_dy = bar_right_dy = backdrop_dy;

if (!flipxy) {
switch (rs.mode_get()) {
default: /* for warnings */
case mode_tile_giant :
coln = 3;//16;
rown = 2;//12;
name_dy = 0;
space_x = 0;//retira linhas ao redor quadro
space_y = 0;
//bar_left_dx = 0;
//bar_right_dx = 0;
//bar_top_dy = 0;
//bar_bottom_dy = 0;
break;
case mode_tile_enormous :
coln = 4;//12;
rown = 3;//9;
name_dy = name_dy = 0;//name_dy = 0;
space_x = 0;
space_y = 0;
//bar_left_dx = 0;
//bar_right_dx = 0;
//bar_top_dy = 0;
//bar_bottom_dy = 0;
break;
case mode_tile_big :
coln = 4;//8;
rown = 3;//6;
name_dy = 0;
space_x = 0;
space_y = 0;
name_dy = int_font_dy_get();//Adicionado
break;
case mode_tile_normal :
coln = 5;
rown = 4;
space_x = 0;
space_y = 0;
name_dy = name_dy = 0;//name_dy = int_font_dy_get();
break;
case mode_tile_small :
coln = 5;
rown = 4;
space_x = 0;
space_y = 0;
name_dy = int_font_dy_get();
break;
}
} else {
switch (rs.mode_get()) {
default: /* for warnings */
case mode_tile_giant :
coln = 2;//12;
rown = 3;//16;
name_dy = int_font_dy_get();//name_dy = 0;
space_x = 0;
space_y = 0;
//bar_left_dx = 0;
//bar_right_dx = 0;
//bar_top_dy = 0;
//bar_bottom_dy = 0;
break;
case mode_tile_enormous :
coln = 3;//9;
rown = 4;//12;
name_dy = name_dy = 0;//name_dy = 0;
space_x = 0;
space_y = 0;
//bar_left_dx = 0;
//bar_right_dx = 0;
//bar_top_dy = 0;
//bar_bottom_dy = 0;
break;
case mode_tile_big :
coln = 3;//6;
rown = 4;//8;
name_dy = int_font_dy_get();//name_dy = 0;
space_x = 3;//0;
space_y = 0;
break;
case mode_tile_normal :
coln = 4;//4;
rown = 5;//5;
name_dy = name_dy = 0;//name_dy = int_font_dy_get();
break;
case mode_tile_small :
coln = 4;//3;
rown = 5;//4;
name_dy = int_font_dy_get();
break;
}
}


SPOILER (click to view)
 
Top
647 replies since 8/9/2009, 21:56   30302 views
  Share