Changeset 31 for libcaca/trunk/src/aliens.c
- Timestamp:
- Dec 18, 2002, 7:44:47 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/src/aliens.c
r23 r31 33 33 break; 34 34 case ALIEN_BOOL: 35 draw_alien_bool( g, al->x[i], al->y[i], al->img[i] % 5);35 draw_alien_bool( g, al->x[i], al->y[i], al->img[i] % 6 ); 36 36 break; 37 37 case ALIEN_NONE: … … 135 135 { 136 136 gfx_color( GREEN ); 137 gfx_goto( x+1, y ); 138 gfx_putstr( ",---." ); 139 140 gfx_goto( x, y+1 ); 141 gfx_putchar( '(' ); 137 gfx_goto( x, y-1 ); 138 gfx_putstr( "__" ); 139 140 gfx_goto( x-1, y ); 141 gfx_putchar( '/' ); 142 gfx_goto( x+2, y ); 143 gfx_putchar( '\\' ); 144 145 switch( frame ) 146 { 147 case 3: 148 gfx_goto( x-2, y+1 ); 149 gfx_putstr( "//'`\\\\" ); 150 break; 151 case 4: 152 case 2: 153 gfx_goto( x-2, y+1 ); 154 gfx_putstr( "/(~~)\\" ); 155 break; 156 case 5: 157 case 1: 158 gfx_goto( x-2, y+1 ); 159 gfx_putstr( "((^^))" ); 160 break; 161 case 0: 162 gfx_goto( x-1, y+1 ); 163 gfx_putstr( "\\\\//" ); 164 break; 165 } 142 166 143 167 gfx_color( WHITE ); 144 switch( frame ) 145 { 146 case 4: 147 gfx_putstr( "##( )" ); 148 break; 149 case 3: 150 gfx_putstr( ")##( " ); 151 break; 152 case 2: 153 gfx_putstr( " )##(" ); 154 break; 155 case 1: 156 gfx_putstr( "( )##" ); 157 break; 158 case 0: 159 gfx_putstr( "#( )#" ); 160 break; 161 } 162 163 gfx_color( GREEN ); 164 gfx_goto( x+6, y+1 ); 165 gfx_putchar( ')' ); 166 167 gfx_goto( x+1, y+2 ); 168 gfx_putstr( "`---'" ); 168 gfx_goto( x, y ); 169 gfx_putstr( "oo" ); 169 170 } 170 171
Note: See TracChangeset
for help on using the changeset viewer.