[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Adonthell-commits] CVS: adonthell/src prefs.l,1.9,1.10 prefs.cc,1.19,1.
From: |
Alexandre Courbot <address@hidden> |
Subject: |
[Adonthell-commits] CVS: adonthell/src prefs.l,1.9,1.10 prefs.cc,1.19,1.20 lex.prefs.cc,1.9,1.10 |
Date: |
Sat, 27 Apr 2002 15:40:48 -0400 |
Update of /cvsroot/adonthell/adonthell/src
In directory subversions:/tmp/cvs-serv9739/src
Modified Files:
prefs.l prefs.cc lex.prefs.cc
Log Message:
CHANGED double-screen to double-size, on popular demand! :)
Index: prefs.l
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/prefs.l,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** prefs.l 27 Apr 2002 17:00:19 -0000 1.9
--- prefs.l 27 Apr 2002 19:40:46 -0000 1.10
***************
*** 32,36 ****
Screen-mode return PREFS_SCREEN_MODE;
! Double-screen return PREFS_DOUBLE_SCREEN;
Language return PREFS_LANGUAGE;
Audio-channels return PREFS_AUDIO_CHANNELS;
--- 32,36 ----
Screen-mode return PREFS_SCREEN_MODE;
! Double-size return PREFS_DOUBLE_SCREEN;
Language return PREFS_LANGUAGE;
Audio-channels return PREFS_AUDIO_CHANNELS;
Index: prefs.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/prefs.cc,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** prefs.cc 27 Apr 2002 17:00:19 -0000 1.19
--- prefs.cc 27 Apr 2002 19:40:46 -0000 1.20
***************
*** 269,274 ****
<< "# Screen-mode num\n# 0 Windowed mode\n"
<< "# 1 Fullscreen mode\n Screen-mode " << (int) screen_mode <<
"\n\n"
! << "# Double-screen num\n# 0 320x240 mode\n"
! << "# 1 640x480 (double) mode\n Double-screen " << (int)
double_screen << "\n\n"
<< "# Language [locale]\n# Where locale has the form fr_FR or de_DE,
etc.\n Language [" << language << "]\n\n"
<< "# Audio-channels num\n# 0 Mono\n# 1 Stereo\n"
--- 269,274 ----
<< "# Screen-mode num\n# 0 Windowed mode\n"
<< "# 1 Fullscreen mode\n Screen-mode " << (int) screen_mode <<
"\n\n"
! << "# Double-size num\n# 0 320x240 mode\n"
! << "# 1 640x480 (double) mode\n Double-size " << (int)
double_screen << "\n\n"
<< "# Language [locale]\n# Where locale has the form fr_FR or de_DE,
etc.\n Language [" << language << "]\n\n"
<< "# Audio-channels num\n# 0 Mono\n# 1 Stereo\n"
Index: lex.prefs.cc
===================================================================
RCS file: /cvsroot/adonthell/adonthell/src/lex.prefs.cc,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** lex.prefs.cc 27 Apr 2002 17:00:19 -0000 1.9
--- lex.prefs.cc 27 Apr 2002 19:40:46 -0000 1.10
***************
*** 306,310 ****
#define YY_NUM_RULES 16
#define YY_END_OF_BUFFER 17
! static yyconst short int yy_accept[100] =
{ 0,
0, 0, 0, 0, 17, 15, 14, 14, 1, 13,
--- 306,310 ----
#define YY_NUM_RULES 16
#define YY_END_OF_BUFFER 17
! static yyconst short int yy_accept[98] =
{ 0,
0, 0, 0, 0, 17, 15, 14, 14, 1, 13,
***************
*** 315,321 ****
0, 0, 0, 0, 0, 9, 0, 0, 0, 0,
0, 4, 0, 0, 0, 0, 0, 0, 0, 0,
! 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
! 2, 0, 0, 0, 8, 0, 0, 0, 0, 3,
! 5, 0, 0, 0, 0, 6, 0, 7, 0
} ;
--- 315,321 ----
0, 0, 0, 0, 0, 9, 0, 0, 0, 0,
0, 4, 0, 0, 0, 0, 0, 0, 0, 0,
! 0, 0, 0, 0, 0, 0, 0, 0, 0, 3,
! 2, 0, 0, 0, 8, 0, 0, 0, 5, 0,
! 0, 0, 0, 6, 0, 7, 0
} ;
***************
*** 336,340 ****
18, 1, 19, 20, 21, 1, 1, 22, 23, 24,
25, 26, 1, 27, 28, 29, 30, 31, 1, 1,
! 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
--- 336,340 ----
18, 1, 19, 20, 21, 1, 1, 22, 23, 24,
25, 26, 1, 27, 28, 29, 30, 31, 1, 1,
! 1, 32, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
***************
*** 353,434 ****
} ;
! static yyconst int yy_meta[32] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
! 1
} ;
! static yyconst short int yy_base[104] =
{ 0,
! 0, 11, 104, 103, 115, 118, 22, 24, 111, 107,
! 82, 86, 96, 93, 90, 118, 0, 118, 26, 104,
! 118, 100, 88, 74, 79, 75, 74, 0, 79, 84,
! 79, 79, 68, 70, 72, 63, 74, 70, 85, 71,
! 74, 63, 61, 14, 80, 65, 78, 58, 61, 62,
! 65, 53, 49, 58, 52, 118, 60, 45, 49, 49,
! 54, 118, 44, 44, 42, 40, 35, 37, 46, 38,
! 39, 38, 36, 40, 39, 38, 25, 36, 35, 34,
! 118, 22, 14, 35, 118, 15, 10, 16, 9, 118,
! 118, 10, 20, 9, 3, 118, 13, 118, 118, 45,
! 47, 49, 0
} ;
! static yyconst short int yy_def[104] =
{ 0,
! 100, 100, 101, 101, 99, 99, 99, 99, 102, 99,
! 99, 99, 99, 99, 99, 99, 103, 99, 99, 102,
! 99, 99, 99, 99, 99, 99, 99, 103, 99, 99,
! 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
! 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
! 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
! 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
! 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
! 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
! 99, 99, 99, 99, 99, 99, 99, 99, 0, 99,
! 99, 99, 99
} ;
! static yyconst short int yy_nxt[150] =
{ 0,
! 28, 7, 8, 9, 99, 10, 11, 12, 13, 14,
! 15, 16, 7, 8, 9, 99, 10, 11, 12, 13,
14, 15, 16, 19, 19, 19, 19, 19, 19, 49,
! 98, 97, 96, 95, 94, 93, 92, 91, 90, 89,
! 50, 51, 88, 87, 52, 6, 6, 17, 17, 20,
! 20, 86, 85, 84, 83, 82, 81, 80, 79, 78,
! 77, 76, 75, 74, 73, 72, 71, 70, 69, 68,
! 67, 66, 65, 64, 63, 62, 61, 60, 59, 58,
! 57, 56, 55, 54, 53, 48, 47, 46, 45, 44,
! 43, 42, 41, 40, 39, 38, 37, 36, 35, 34,
!
! 33, 32, 31, 30, 29, 22, 21, 27, 26, 25,
! 24, 23, 22, 21, 99, 18, 18, 5, 99, 99,
! 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
! 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
! 99, 99, 99, 99, 99, 99, 99, 99, 99
} ;
! static yyconst short int yy_chk[150] =
{ 0,
! 103, 1, 1, 1, 0, 1, 1, 1, 1, 1,
1, 1, 2, 2, 2, 0, 2, 2, 2, 2,
2, 2, 2, 7, 7, 8, 8, 19, 19, 44,
! 97, 95, 94, 93, 92, 89, 88, 87, 86, 84,
! 44, 44, 83, 82, 44, 100, 100, 101, 101, 102,
! 102, 80, 79, 78, 77, 76, 75, 74, 73, 72,
! 71, 70, 69, 68, 67, 66, 65, 64, 63, 61,
! 60, 59, 58, 57, 55, 54, 53, 52, 51, 50,
! 49, 48, 47, 46, 45, 43, 42, 41, 40, 39,
! 38, 37, 36, 35, 34, 33, 32, 31, 30, 29,
!
! 27, 26, 25, 24, 23, 22, 20, 15, 14, 13,
! 12, 11, 10, 9, 5, 4, 3, 99, 99, 99,
! 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
! 99, 99, 99, 99, 99, 99, 99, 99, 99, 99,
! 99, 99, 99, 99, 99, 99, 99, 99, 99
} ;
--- 353,434 ----
} ;
! static yyconst int yy_meta[33] =
{ 0,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 2, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
! 1, 1
} ;
! static yyconst short int yy_base[102] =
{ 0,
! 0, 11, 102, 101, 113, 116, 22, 24, 109, 105,
! 80, 84, 94, 91, 88, 116, 0, 116, 26, 102,
! 116, 98, 86, 72, 77, 73, 72, 0, 77, 82,
! 77, 77, 66, 68, 70, 61, 72, 68, 83, 69,
! 72, 61, 59, 14, 78, 63, 76, 56, 59, 60,
! 63, 51, 47, 56, 50, 116, 58, 43, 47, 47,
! 47, 116, 42, 42, 40, 38, 33, 30, 44, 36,
! 37, 36, 34, 38, 37, 36, 23, 34, 26, 116,
! 116, 21, 11, 34, 116, 10, 16, 9, 116, 10,
! 20, 9, 3, 116, 13, 116, 116, 45, 47, 49,
! 0
} ;
! static yyconst short int yy_def[102] =
{ 0,
! 98, 98, 99, 99, 97, 97, 97, 97, 100, 97,
! 97, 97, 97, 97, 97, 97, 101, 97, 97, 100,
! 97, 97, 97, 97, 97, 97, 97, 101, 97, 97,
! 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
! 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
! 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
! 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
! 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
! 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
! 97, 97, 97, 97, 97, 97, 0, 97, 97, 97,
! 97
} ;
! static yyconst short int yy_nxt[149] =
{ 0,
! 28, 7, 8, 9, 97, 10, 11, 12, 13, 14,
! 15, 16, 7, 8, 9, 97, 10, 11, 12, 13,
14, 15, 16, 19, 19, 19, 19, 19, 19, 49,
! 96, 95, 94, 93, 92, 91, 90, 89, 88, 87,
! 50, 51, 86, 85, 52, 6, 6, 17, 17, 20,
! 20, 84, 83, 82, 81, 80, 79, 78, 77, 76,
! 75, 74, 73, 72, 71, 70, 69, 68, 67, 66,
! 65, 64, 63, 62, 61, 60, 59, 58, 57, 56,
! 55, 54, 53, 48, 47, 46, 45, 44, 43, 42,
! 41, 40, 39, 38, 37, 36, 35, 34, 33, 32,
!
! 31, 30, 29, 22, 21, 27, 26, 25, 24, 23,
! 22, 21, 97, 18, 18, 5, 97, 97, 97, 97,
! 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
! 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
! 97, 97, 97, 97, 97, 97, 97, 97
} ;
! static yyconst short int yy_chk[149] =
{ 0,
! 101, 1, 1, 1, 0, 1, 1, 1, 1, 1,
1, 1, 2, 2, 2, 0, 2, 2, 2, 2,
2, 2, 2, 7, 7, 8, 8, 19, 19, 44,
! 95, 93, 92, 91, 90, 88, 87, 86, 84, 83,
! 44, 44, 82, 79, 44, 98, 98, 99, 99, 100,
! 100, 78, 77, 76, 75, 74, 73, 72, 71, 70,
! 69, 68, 67, 66, 65, 64, 63, 61, 60, 59,
! 58, 57, 55, 54, 53, 52, 51, 50, 49, 48,
! 47, 46, 45, 43, 42, 41, 40, 39, 38, 37,
! 36, 35, 34, 33, 32, 31, 30, 29, 27, 26,
!
! 25, 24, 23, 22, 20, 15, 14, 13, 12, 11,
! 10, 9, 5, 4, 3, 97, 97, 97, 97, 97,
! 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
! 97, 97, 97, 97, 97, 97, 97, 97, 97, 97,
! 97, 97, 97, 97, 97, 97, 97, 97
} ;
***************
*** 675,679 ****
{
yy_current_state = (int)
yy_def[yy_current_state];
! if ( yy_current_state >= 100 )
yy_c = yy_meta[(unsigned int) yy_c];
}
--- 675,679 ----
{
yy_current_state = (int)
yy_def[yy_current_state];
! if ( yy_current_state >= 98 )
yy_c = yy_meta[(unsigned int) yy_c];
}
***************
*** 681,685 ****
++yy_cp;
}
! while ( yy_base[yy_current_state] != 118 );
yy_find_action:
--- 681,685 ----
++yy_cp;
}
! while ( yy_base[yy_current_state] != 116 );
yy_find_action:
***************
*** 1080,1084 ****
{
yy_current_state = (int) yy_def[yy_current_state];
! if ( yy_current_state >= 100 )
yy_c = yy_meta[(unsigned int) yy_c];
}
--- 1080,1084 ----
{
yy_current_state = (int) yy_def[yy_current_state];
! if ( yy_current_state >= 98 )
yy_c = yy_meta[(unsigned int) yy_c];
}
***************
*** 1115,1123 ****
{
yy_current_state = (int) yy_def[yy_current_state];
! if ( yy_current_state >= 100 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int)
yy_c];
! yy_is_jam = (yy_current_state == 99);
return yy_is_jam ? 0 : yy_current_state;
--- 1115,1123 ----
{
yy_current_state = (int) yy_def[yy_current_state];
! if ( yy_current_state >= 98 )
yy_c = yy_meta[(unsigned int) yy_c];
}
yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int)
yy_c];
! yy_is_jam = (yy_current_state == 97);
return yy_is_jam ? 0 : yy_current_state;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Adonthell-commits] CVS: adonthell/src prefs.l,1.9,1.10 prefs.cc,1.19,1.20 lex.prefs.cc,1.9,1.10,
Alexandre Courbot <address@hidden> <=