Rev 5225 | Rev 5298 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5225 | Rev 5243 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | 4 | ||
Line 5... | Line 5... | ||
5 | #include "rskos.h" |
5 | #include "rskos.h" |
Line 6... | Line -... | ||
6 | - | ||
- | 6 | ||
Line 7... | Line 7... | ||
7 | #include "rsnoise.h" |
7 | #include "rsnoise.h" |
Line 8... | Line 8... | ||
8 | 8 | ||
Line 74... | Line 74... | ||
74 | 74 | ||
75 | for (i = 0; i < ROCKS_COUNT; i++) { |
75 | for (i = 0; i < ROCKS_COUNT; i++) { |
76 | texture_draw(&game.framebuffer, &game.tex_rocks[i], 250+80*rs_noise(i,150), 60+60*rs_noise(i,1110), DRAW_MODE_ADDITIVE ); |
76 | texture_draw(&game.framebuffer, &game.tex_rocks[i], 250+80*rs_noise(i,150), 60+60*rs_noise(i,1110), DRAW_MODE_ADDITIVE ); |
Line 77... | Line 77... | ||
77 | }; |
77 | }; |
78 | 78 | ||
79 | game_textout( GAME_WIDTH/2 - 100, 40, 1, "HELIOTHRYX"); |
79 | game_textout( GAME_WIDTH/2 - 100, 40, 1, "HELI0THRYX"); |
80 | game_textout( GAME_WIDTH/2 - 8, 58, 3, "TECHDEMO"); |
80 | game_textout( GAME_WIDTH/2 - 8, 58, 3, "TECHDEM0"); |
Line 81... | Line 81... | ||
81 | game_textout( 2, GAME_HEIGHT-10, 2, "DEVELOPER: ROMAN SHUVALOV` TOGLIATTI_ 2014"); |
81 | game_textout( 2, GAME_HEIGHT-10, 2, L_BOTTOM_LINE_DEVELOPER_INFO); |
82 | }; |
82 | }; |
Line 98... | Line 98... | ||
98 | texture_set_pixel(&game.framebuffer, game.bullet_x[i]-1, game.bullet_y[i], 0xFF00EE00); |
98 | texture_set_pixel(&game.framebuffer, game.bullet_x[i]-1, game.bullet_y[i], 0xFF00EE00); |
99 | texture_set_pixel(&game.framebuffer, game.bullet_x[i]-0, game.bullet_y[i], 0xFF00FF00); |
99 | texture_set_pixel(&game.framebuffer, game.bullet_x[i]-0, game.bullet_y[i], 0xFF00FF00); |
100 | }; |
100 | }; |
101 | }; |
101 | }; |
Line 102... | Line 102... | ||
102 | 102 | ||
103 | game_textout( 2, 2, 2, "THIS IS TECHDEMO` "); |
103 | game_textout( 2, 2, 2, L_TECHDEMO_LINE1 ); |
Line 104... | Line 104... | ||
104 | game_textout( 2, 12, 2, "USE ARROWS TO MOVE_ TO SHOOT_ |
104 | game_textout( 2, 12, 2, L_TECHDEMO_LINE2 ); |
Line 105... | Line 105... | ||
105 | 105 |