Skip to content

Commit

Permalink
retrospec játékok javítása
Browse files Browse the repository at this point in the history
  • Loading branch information
attuska committed Sep 20, 2022
1 parent 6b7f098 commit 82708dc
Show file tree
Hide file tree
Showing 7 changed files with 51 additions and 2 deletions.
1 change: 1 addition & 0 deletions alien8/packages/alien8/description/hu
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
&ZX-Spectrum &izometrikus típusú klasszikus játék szép kivitelű felújítása.
Csak ablakos módban biztonságos.
2 changes: 1 addition & 1 deletion deflektor/maintainer
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Páder Rezső <rezso@rezso.net>
Kiss Attila <attus@enterpriseforever.com>
1 change: 1 addition & 0 deletions deflektor/packages/deflektor/description/hu
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
A &ZX-Spectrum &"deflektor" nevű, egyedi, logikai
típusú klasszikus játékának felújítása.
Csak ablakos módban biztonságos.
17 changes: 17 additions & 0 deletions deflektor/patches/05-windowed.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff -Nur orig/deflektor.c mod/deflektor.c
--- orig/deflektor.c 2008-06-09 00:16:38.000000000 +0200
+++ mod/deflektor.c 2018-03-05 20:09:23.616693306 +0100
@@ -115,11 +115,11 @@
set_uformat(U_ASCII);
if(comprobar_dats()) return -1;
set_color_depth(16);
- if(set_gfx_mode(GFX_AUTODETECT_FULLSCREEN, RES_X, RES_Y, 0, 0))
+ if(set_gfx_mode(GFX_AUTODETECT_WINDOWED, RES_X, RES_Y, 0, 0))
{
modo_truecolor=1;
set_color_depth(32);
- if(set_gfx_mode(GFX_AUTODETECT_FULLSCREEN, RES_X, RES_Y, 0, 0))
+ if(set_gfx_mode(GFX_AUTODETECT_WINDOWED, RES_X, RES_Y, 0, 0))
{
allegro_message("No se ha podido establecer ningún modo de video.\nCould not set any video mode.");
return -1;
2 changes: 1 addition & 1 deletion humphrey/maintainer
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Páder Rezső <rezso@rezso.net>
Kiss Attila <attus@enterpriseforever.com>
1 change: 1 addition & 0 deletions humphrey/packages/humphrey/description/hu
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
Egy klasszikus &ZX &SPECTRUM játék szép felújítása.
Csak ablakos módban biztonságos.
29 changes: 29 additions & 0 deletions humphrey/patches/windowed.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
diff -Nur orig/humphrey.c mod/humphrey.c
--- orig/humphrey.c 2004-11-01 11:23:26.000000000 +0100
+++ mod/humphrey.c 2018-02-09 13:05:42.541702017 +0100
@@ -2138,16 +2138,6 @@
void ini_allegro(void)
{
allegro_init();
- modo_truecolor=0;
- modo_pc=1;
-
- set_color_depth(16);
- if(set_gfx_mode(GFX_AUTODETECT_FULLSCREEN, 640, 480, 0, 0))
- {
- modo_truecolor=1;
- set_color_depth(32);
- if(set_gfx_mode(GFX_AUTODETECT_FULLSCREEN, 640, 480, 0, 0))
- {
modo_pc=0;
modo_truecolor=0;
set_color_depth(16);
@@ -2161,8 +2151,6 @@
modo_pc=2;
}
}
- }
- }
}

//******************************************************************************

0 comments on commit 82708dc

Please sign in to comment.