Skip to content

Commit

Permalink
Add game source code
Browse files Browse the repository at this point in the history
  • Loading branch information
mlesniew committed Mar 26, 2019
1 parent b588085 commit 5ac6942
Show file tree
Hide file tree
Showing 55 changed files with 1,524 additions and 0 deletions.
531 changes: 531 additions & 0 deletions GRAFIKA.PAS

Large diffs are not rendered by default.

Binary file added GRAFIKA/BACK1.SPR
Binary file not shown.
Binary file added GRAFIKA/BACK2.SPR
Binary file not shown.
Binary file added GRAFIKA/BACK3.SPR
Binary file not shown.
Binary file added GRAFIKA/BACK4.SPR
Binary file not shown.
Binary file added GRAFIKA/BACK5.SPR
Binary file not shown.
Binary file added GRAFIKA/BACK6.SPR
Binary file not shown.
Binary file added GRAFIKA/BPANCERZ.SPR
Binary file not shown.
Binary file added GRAFIKA/DYSK.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P1.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P10.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P11.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P12.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P13.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P14.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P15.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P2.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P3.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P4.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P5.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P6.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P7.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P8.SPR
Binary file not shown.
Binary file added GRAFIKA/E1P9.SPR
Binary file not shown.
Binary file added GRAFIKA/KONIEC.SPR
Binary file not shown.
Binary file added GRAFIKA/LASER.SPR
Binary file not shown.
Binary file added GRAFIKA/MENERGII.SPR
Binary file not shown.
Binary file added GRAFIKA/P.PAL
Binary file not shown.
Binary file added GRAFIKA/P1K1.SPR
Binary file not shown.
Binary file added GRAFIKA/P1K2.SPR
Binary file not shown.
Binary file added GRAFIKA/P2K1.SPR
Binary file not shown.
Binary file added GRAFIKA/P2K2.SPR
Binary file not shown.
Binary file added GRAFIKA/P3K1.SPR
Binary file not shown.
Binary file added GRAFIKA/P3K2.SPR
Binary file not shown.
Binary file added GRAFIKA/P4K1.SPR
Binary file not shown.
Binary file added GRAFIKA/P4K2.SPR
Binary file not shown.
Binary file added GRAFIKA/PRZYS.SPR
Binary file not shown.
Binary file added GRAFIKA/S1.SPR
Binary file not shown.
Binary file added GRAFIKA/S2.SPR
Binary file not shown.
Binary file added GRAFIKA/TEMP.SPR
Binary file not shown.
Binary file added GRAFIKA/TYTDUZY.SPR
Binary file not shown.
Binary file added GRAFIKA/TYTUL.SPR
Binary file not shown.
Binary file added GRAFIKA/W1K1.SPR
Binary file not shown.
Binary file added GRAFIKA/W1K2.SPR
Binary file not shown.
Binary file added GRAFIKA/W2K1.SPR
Binary file not shown.
Binary file added GRAFIKA/W2K2.SPR
Binary file not shown.
Binary file added GRAFIKA/W3K1.SPR
Binary file not shown.
Binary file added GRAFIKA/W3K2.SPR
Binary file not shown.
Binary file added GRAFIKA/W4K1.SPR
Binary file not shown.
Binary file added GRAFIKA/W4K2.SPR
Binary file not shown.
Binary file added GRAFIKA/ZWYC.SPR
Binary file not shown.
17 changes: 17 additions & 0 deletions Info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Micha� Le�niewski
Kod zrodlowy gry "Kosmici atakuja"
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Do skompilowania gry potrzebny jest Borland Turbo Pascal w wersji 7.0. Niekt�re starsze wersje tego kompilatora r�wnie� powinny skompilowa� kod, ale nie by�o to sprawdzane.

Aby gra si� skompilowa�a, wystarczy otworzy� w �rodowisku plik g��wny ("KOSMITA.PAS"). Pozosta�e pliki s� za��czane automatycznie dyrektyw� $I (include) i zostan� skompilowane w jedn� ca�o��. W przypadku niekt�rych kompilator�w / wersji nale�y W��CZY� mo�liwo�� wstawiania polece� assemblerowych. Mo�e r�wnie� okaza� si� konieczne W��CZENIE instrukcji 286 (przy problemach z poleceniem shl i shr).

Gra potrzebuje relatywnie du�o pami�ci, wykorzystuje jedynie pami�� podstawow� (bez EMS, XMS). W zwi�zku z tym gra mo�e nie uruchomi� si� bezpo�rednio po skompilowaniu ze �rodowiska TP. Nale�y w�wczas zamkn�� TP i uruchomi� plik EXE z linii polece�.

Nale�y pami�ta�, �e w katalogu z plikiem EXE powinien by� podkatalog GRAFIKA z ca�� zawarto�ci�. Inaczej gra si� nie uruchomi lub zawiesi.

Lista plik�w:
KOSMITA.PAS Plik g��wny gry
GRAFIKA.PAS Plik zawieraj�cy procedury graficzne napisane cz�ciowo w postaci "wstawek assemblerowych"
ZNAKI.PAS Plik wykorzystywany przez GRAFIKA.PAS, zawiera tablic� bitow� wszystkich znak�w (czcionk�)
MYSZ.PAS Plik zawieraj�cy procedury obs�uguj�ce mysz. R�wnie� g��wnie w assemblerze.
Loading

0 comments on commit 5ac6942

Please sign in to comment.