diff --git a/!TheEsc/!RunImage,ff8 b/!TheEsc/!RunImage,ff8 index d24757c..c12aa3e 100644 Binary files a/!TheEsc/!RunImage,ff8 and b/!TheEsc/!RunImage,ff8 differ diff --git a/!TheEsc/Spr,ff9 b/!TheEsc/Spr,ff9 index 3a7db24..54e020a 100644 Binary files a/!TheEsc/Spr,ff9 and b/!TheEsc/Spr,ff9 differ diff --git a/!TheEsc/c/CTheEscape b/!TheEsc/c/CTheEscape index c9e7166..5056be2 100644 --- a/!TheEsc/c/CTheEscape +++ b/!TheEsc/c/CTheEscape @@ -52,6 +52,9 @@ int main(int argc, char *argv[]) screen_clear(); // Mission 1 + game1_briefing(); + screen_clear(); + game1_setup(); while(!lastoutcome) { diff --git a/!TheEsc/c/Graphics b/!TheEsc/c/Graphics index ac46a6b..eafcfe4 100644 --- a/!TheEsc/c/Graphics +++ b/!TheEsc/c/Graphics @@ -143,7 +143,7 @@ void draw_spritetext(char* text, int x, int y) { str[0] = text[i]; - if((text[i] != ' ') && (text[i] != '\n')) + if((text[i] != ' ') && (text[i] != '\n') && (text[i] != '~')) draw_sprite(str,currentx,currenty); switch (text[i]) @@ -151,6 +151,7 @@ void draw_spritetext(char* text, int x, int y) case 't': case 'i': case 'y': + case '.': currentx += 6 + 2; break; case 'm': @@ -161,7 +162,17 @@ void draw_spritetext(char* text, int x, int y) currentx += 10 + 2; break; case ' ': - currentx += 4 + 2; + currentx += 6 + 2; + break; + case '=': + currentx += 22 + 2; + break; + case '{': + case '}': + currentx += 26; + break; + case '~': + currentx -= 2; break; default: currentx += 8 + 2; @@ -170,7 +181,7 @@ void draw_spritetext(char* text, int x, int y) if(text[i] == '\n') { currentx = x; - currenty -= 32; + currenty -= 36; } } } diff --git a/!TheEsc/c/Mission1 b/!TheEsc/c/Mission1 index e2e834b..69ded00 100644 --- a/!TheEsc/c/Mission1 +++ b/!TheEsc/c/Mission1 @@ -420,6 +420,7 @@ void game_setup_npcs() for(i = 0; i < MAX_NPCS; i++) { game_respawn_npc(i); + NPCS[i].location.Y += 400; } } @@ -874,7 +875,7 @@ void game1_death() { sound_composition_tick(clock()); - if(clock() > (tick + 200)) + if(clock() > (tick + 100)) { if(input_readkey(98)) sound_composition_stop(); @@ -882,6 +883,26 @@ void game1_death() } } +void game1_briefing() +{ + screen_clear(); + + draw_spritetext( +"~~~~~~~~{chief engineers log - uss archimedes - stardate 1234567890=========================}\n\n\nthe federation has begun diplomatic relations with the planet korell. their unusual position within an asteroid belt \nmeans their planet has to be protected by a deflector shield. the federation has offered to help enhance this shield. \nonce this upgrade was completed we were preparing to leave when we recieved a priority one transmission from the \narchimedes saying a fleet of fighters from the neighbouring planet of durnovaria was en route to torell. it transpires \nthat the deflector shield may also have some military value that was concealed from the federation. the durnovarians \nhave said our shuttle is now considered a military target and will be treated as such. must to get back to the archimedes \nbefore we get dragged further into the conflict between the two planets.\n\n\n~~~~~~~~{==========================================~~~~~~~~=======}" +, 50, 700); + + draw_sprite("spacebar",(DISPLAY_X/2)-106,50); + + tick = clock(); + while(1) + { + if(clock() > (tick + 100)) + { + if(input_readkey(98)) + return; + } + } +} int game1_tick() {