debian/0000755000000000000000000000000012216273737007200 5ustar debian/source/0000755000000000000000000000000012216116530010463 5ustar debian/source/format0000644000000000000000000000001412216116530011671 0ustar 3.0 (quilt) debian/overgod.60000644000000000000000000000307312216116530010722 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH OVERGOD 6 "20 May 2006" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME overgod \- a bi-directional scrolling arcade game .SH SYNOPSIS .B overgod .SH DESCRIPTION .B Overgod is an arcade game with bi-directional scrolling where you need to destroy all enemies in an area in a given time. The game is a mix of the classic arcade games Asteroids and Thrust with a lot of additional features. .B Overgod can also be played in two-player duel or cooperative modes, or in a special "Time Attack" version where enemies endlessly appear. .SH DEFAULT KEYS .TP .B Up Move the craft forward. .TP .B Left, Right Turn the craft left and right. .TP .B Down Brake. .TP .B A Fire darts. .TP .B S Fire secondary. .TP .B D Toggle linked fire. .TP .B Escape Pause the game and allow to quit. .BR .SH AUTHOR Overgod was written by Linley Henzell This manual page was written by Sam Hocevar for the Debian GNU/Linux system (but may be used by others). debian/control0000644000000000000000000000275312216116530010575 0ustar Source: overgod Section: games Priority: optional Maintainer: Debian Games Team Uploaders: Barry deFreese Build-Depends: debhelper (>= 9), liballegro4-dev Standards-Version: 3.9.4 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-games/overgod.git Vcs-Git: git://anonscm.debian.org/pkg-games/overgod.git Package: overgod Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, overgod-data (>= ${source:Version}) Description: bi-directional scrolling arcade game Overgod is an arcade game with bi-directional scrolling where you need to destroy all enemies in an area in a given time. The game is a mix of the classic arcade games Asteroids and Thrust with a lot of additional features. . Overgod can also be played in two-player duel or cooperative modes, or in a special "Time Attack" version where enemies endlessly appear. Package: overgod-data Architecture: all Depends: ${misc:Depends} Description: graphics and audio data for overgod Overgod is an arcade game with bi-directional scrolling where you need to destroy all enemies in an area in a given time. The game is a mix of the classic arcade games Asteroids and Thrust with a lot of additional features. . Overgod can also be played in two-player duel or cooperative modes, or in a special "Time Attack" version where enemies endlessly appear. . This package contains the architecture-independent data for overgod. For more information, see the overgod package. debian/overgod.docs0000644000000000000000000000001312216116530011474 0ustar readme.txt debian/overgod.manpages0000644000000000000000000000002112216116530012336 0ustar debian/overgod.6 debian/compat0000644000000000000000000000000212216116530010361 0ustar 9 debian/overgod.desktop0000644000000000000000000000035212216116530012223 0ustar [Desktop Entry] Name=Overgod Comment=Play a bi-directional scrolling arcade game Exec=overgod Icon=overgod Terminal=false Type=Application Categories=Game;ArcadeGame; StartupNotify=false Keywords=arcade;shooter;science-fiction;retro; debian/overgod-data.install0000644000000000000000000000007112216273713013134 0ustar gfx usr/share/games/overgod wavs usr/share/games/overgod debian/rules0000755000000000000000000000160612216116530010246 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) CFLAGS+=$(shell allegro-config --cflags) LIBS=$(shell allegro-config --libs) -lm %: dh $@ override_dh_auto_configure: override_dh_auto_build: $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) *.c -o overgod $(LIBS) override_dh_install: mkdir -p $(CURDIR)/debian/overgod/usr/games cp debian/overgod.sh $(CURDIR)/debian/overgod/usr/games/overgod chmod +x debian/overgod/usr/games/overgod mkdir -p $(CURDIR)/debian/overgod-data/usr/share/games/overgod cp overgod.cfg $(CURDIR)/debian/overgod-data/usr/share/games/overgod/default.cfg dh_install override_dh_clean: rm -f overgod dh_clean debian/patches/0000755000000000000000000000000012216116530010612 5ustar debian/patches/050_fix_speaker_text.patch0000644000000000000000000000213412216116530015563 0ustar Description: Swap calls to play_wav2 to correct speaker orientation. Author: Barry deFreese Index: overgod-1.0/menu.c =================================================================== --- overgod-1.0.orig/menu.c 2013-08-03 17:20:28.849242495 -0400 +++ overgod-1.0/menu.c 2013-08-03 17:22:14.761767687 -0400 @@ -1999,18 +1999,18 @@ } textprintf_right_ex(screen, small_font, 520, 240, COLOUR_WHITE, -1, "Testing left speaker. . ."); if (options.sound_mode == SOUNDMODE_REVERSED) - play_wav2(NWAV_PPIPE, 800, 255, 0); + play_wav2(NWAV_PPIPE, 800, 255, 255); else - play_wav2(NWAV_PPIPE, 800, 255, 255); + play_wav2(NWAV_PPIPE, 800, 255, 0); rest(1000); rectfill(screen, 404, 214, 546, 276, COLOUR_GREY2); textprintf_right_ex(screen, small_font, 520, 240, COLOUR_WHITE, -1, "Testing right speaker. . ."); if (options.sound_mode == SOUNDMODE_REVERSED) - play_wav2(NWAV_PPIPE, 800, 255, 255); + play_wav2(NWAV_PPIPE, 800, 255, 0); else - play_wav2(NWAV_PPIPE, 800, 255, 0); + play_wav2(NWAV_PPIPE, 800, 255, 255); rest(1000); } debian/patches/030_security_build_warns.patch0000644000000000000000000001672012216116530016463 0ustar Desription: After enabling hardening flags, sever warnings turned to errors. This patch fixes those errors. Mosty format string issues. Author: Barry deFreese Index: overgod-1.0/displ_in.c =================================================================== --- overgod-1.0.orig/displ_in.c 2013-08-02 12:46:32.000000000 -0400 +++ overgod-1.0/displ_in.c 2013-08-02 13:12:48.807121062 -0400 @@ -1298,7 +1298,7 @@ rectfill(screen, 400, 117, 450, 118, COLOUR_YELLOW8); rectfill(screen, 449, 117, 450, ypos + 5, COLOUR_YELLOW8); hline(screen, 449, ypos + 5, 433, COLOUR_YELLOW8); - textprintf_right_ex(screen, small_font, 430, ypos, COLOUR_GREEN8, -1, progtxt); + textprintf_right_ex(screen, small_font, 430, ypos, COLOUR_GREEN8, -1, "%s", progtxt); ypos += 11; // do {rest(30);} while (!key [KEY_X]); // rest(200); Index: overgod-1.0/display.c =================================================================== --- overgod-1.0.orig/display.c 2005-09-11 05:42:46.000000000 -0400 +++ overgod-1.0/display.c 2013-08-02 13:19:39.977159944 -0400 @@ -1672,9 +1672,9 @@ char dstr [30]; secondary_name(actor[a].secondary, dstr); if (game.users == 1) - textprintf_ex(bmp, small_font, x + 250, y + 20, COLOUR_YELLOW6, -1, dstr); + textprintf_ex(bmp, small_font, x + 250, y + 20, COLOUR_YELLOW6, -1, "%s", dstr); else - textprintf_ex(bmp, small_font, x + 220, y, COLOUR_YELLOW6, -1, dstr); + textprintf_ex(bmp, small_font, x + 220, y, COLOUR_YELLOW6, -1, "%s", dstr); } @@ -6744,7 +6744,7 @@ circle(bmp, x, y, 3 + x2 / 2, x1); drawing_mode(DRAW_MODE_SOLID, NULL, 0, 0); secondary_name(pickup[dr].subtype, dstr); - textprintf_centre_ex(bmp, small_font, x, y + 12, COLOUR_GREY3, -1, dstr); + textprintf_centre_ex(bmp, small_font, x, y + 12, COLOUR_GREY3, -1, "%s", dstr); break; case PICKUP_SECONDARY: x1 = TRANS_DGREY; @@ -6760,7 +6760,7 @@ drawing_mode(DRAW_MODE_SOLID, NULL, 0, 0); circlefill(bmp, x, y, 3 + pulsate(64, 2, counter), COLOUR_YELLOW4 + pulsate(64, 3, counter)); secondary_name(pickup[dr].subtype, dstr); - textprintf_centre_ex(bmp, small_font, x, y + 12, COLOUR_YELLOW4 + pulsate(16, 2, counter), -1, dstr); + textprintf_centre_ex(bmp, small_font, x, y + 12, COLOUR_YELLOW4 + pulsate(16, 2, counter), -1, "%s", dstr); draw_a_light(bmp, 10 + pulsate(64, 5, counter), x, y); break; case PICKUP_REPAIR: Index: overgod-1.0/menu.c =================================================================== --- overgod-1.0.orig/menu.c 2013-08-02 12:46:32.000000000 -0400 +++ overgod-1.0/menu.c 2013-08-02 13:34:43.089638237 -0400 @@ -1186,7 +1186,7 @@ } - textprintf_right_ex(menu_bmp, small_font, ox, oys + oy * i, col, -1, ostr); + textprintf_right_ex(menu_bmp, small_font, ox, oys + oy * i, col, -1, "%s", ostr); } @@ -1390,7 +1390,7 @@ } - textprintf_centre_ex(menu_bmp, small_font, ox, oys + oy * i, col, -1, ostr); + textprintf_centre_ex(menu_bmp, small_font, ox, oys + oy * i, col, -1, "%s", ostr); } @@ -1517,7 +1517,7 @@ strcpy(ostr, "Exit"); break; } - textprintf_centre_ex(menu_bmp, small_font, ox, oys + oy * i, col, -1, ostr); + textprintf_centre_ex(menu_bmp, small_font, ox, oys + oy * i, col, -1, "%s", ostr); } @@ -2464,9 +2464,9 @@ // textprintf_ex(menu_bmp, font2, 280, y + 20, COLOUR_WHITE, "%i", ship); ship_description1(ship, descr_string); - textprintf_centre_ex(menu_bmp, small_font, 436, y + 70, COLOUR_YELLOW7, -1, descr_string); + textprintf_centre_ex(menu_bmp, small_font, 436, y + 70, COLOUR_YELLOW7, -1, "%s", descr_string); ship_description2(ship, descr_string); - textprintf_centre_ex(menu_bmp, small_font, 436, y + 80, COLOUR_YELLOW7, -1, descr_string); + textprintf_centre_ex(menu_bmp, small_font, 436, y + 80, COLOUR_YELLOW7, -1, "%s", descr_string); /* int line_colour = 255; int box_colour = 255; @@ -2586,7 +2586,7 @@ col = COLOUR_YELLOW4 + (menu_counter / 4) % 4; strcpy(sstr, hs_single[i].name); - textprintf_ex(menu_bmp, small_font, ox, oys + oy * i, col, -1, sstr); + textprintf_ex(menu_bmp, small_font, ox, oys + oy * i, col, -1, "%s", sstr); if (hs_single[i].level == 16) strcpy(sstr, ""); @@ -2596,7 +2596,7 @@ strcpy(sstr, ""); anum(sstr, hs_single[i].level); } - textprintf_right_ex(menu_bmp, small_font, ox + 90, oys + oy * i, col, -1, sstr); + textprintf_right_ex(menu_bmp, small_font, ox + 90, oys + oy * i, col, -1, "%s", sstr); // strcpy(sstr, ship_name_short(hs_single[i].ship)); // textprintf_right_ex(menu_bmp, small_font, ox + 190, oys + oy * i, col, -1, sstr); @@ -2609,7 +2609,7 @@ rank_name(get_rank(hs_single[i].score, hs_single[i].level), sstr); if (hs_single[i].level == 16) col = COLOUR_YELLOW8; - textprintf_ex(menu_bmp, small_font, ox + 220, oys + oy * i, col, -1, sstr); + textprintf_ex(menu_bmp, small_font, ox + 220, oys + oy * i, col, -1, "%s", sstr); } @@ -2636,7 +2636,7 @@ col = COLOUR_YELLOW4 + (menu_counter / 2) % 4; strcpy(sstr, hs_coop[i].name); - textprintf_ex(menu_bmp, small_font, ox, oys + oy * i, col, -1, sstr); + textprintf_ex(menu_bmp, small_font, ox, oys + oy * i, col, -1, "%s", sstr); if (hs_coop[i].level == 16) strcpy(sstr, ""); @@ -2652,7 +2652,7 @@ textprintf_right_ex(menu_bmp, small_font, ox + 106, oys + oy * i, COLOUR_WHITE, -1, "v"); if (game.mode_god == 1) textprintf_right_ex(menu_bmp, small_font, ox + 114, oys + oy * i, COLOUR_WHITE, -1, "g");*/ - textprintf_right_ex(menu_bmp, small_font, ox + 90, oys + oy * i, col, -1, sstr); + textprintf_right_ex(menu_bmp, small_font, ox + 90, oys + oy * i, col, -1, "%s", sstr); // strcpy(sstr, ship_name_short(hs_coop[i].ship)); // textprintf_right_ex(menu_bmp, small_font, ox + 190, oys + oy * i, col, -1, sstr); @@ -2665,7 +2665,7 @@ if (hs_coop[i].level == 16) col = COLOUR_YELLOW8; rank_name(get_rank(hs_coop[i].score, hs_coop[i].level), sstr); - textprintf_ex(menu_bmp, small_font, ox + 220, oys + oy * i, col, -1, sstr); + textprintf_ex(menu_bmp, small_font, ox + 220, oys + oy * i, col, -1, "%s", sstr); } @@ -3592,7 +3592,7 @@ if (key [i] != 0) { scancode_to_keyname(i, sstr); - textprintf_ex(menu_bmp, small_font, 200, 250 + row * 10, COLOUR_ORANGE8, -1, sstr); + textprintf_ex(menu_bmp, small_font, 200, 250 + row * 10, COLOUR_ORANGE8, -1, "%s", sstr); row ++; } } Index: overgod-1.0/tile.c =================================================================== --- overgod-1.0.orig/tile.c 2005-09-11 03:35:48.000000000 -0400 +++ overgod-1.0/tile.c 2013-08-02 13:35:09.693770159 -0400 @@ -1104,7 +1104,7 @@ void tile_progress_update(const char progtxt []) { static int ypos = 10, xpos = 10; - textprintf_centre_ex(screen, small_font, 320, ypos, COLOUR_GREEN8, -1, progtxt); + textprintf_centre_ex(screen, small_font, 320, ypos, COLOUR_GREEN8, -1, "%s", progtxt); ypos += 10; if (ypos > 470) { Index: overgod-1.0/stuff.c =================================================================== --- overgod-1.0.orig/stuff.c 2005-09-11 03:35:48.000000000 -0400 +++ overgod-1.0/stuff.c 2013-08-02 13:36:54.314288945 -0400 @@ -167,7 +167,7 @@ void error_message_out(const char *errm) { set_gfx_mode(GFX_TEXT, 0, 0, 0, 0); - allegro_message(errm); + allegro_message("%s", errm); exit(1); } debian/patches/020_config_file.diff0000644000000000000000000000176312216116530014300 0ustar Description: Create config file in home dir. Author: Unknown. Index: overgod-1.0/main.c =================================================================== --- overgod-1.0.orig/main.c 2006-05-21 00:49:10.000000000 +0200 +++ overgod-1.0/main.c 2006-05-21 00:50:19.000000000 +0200 @@ -101,8 +101,8 @@ //#include #include -//#include -//#include +#include +#include //#include #include @@ -214,8 +214,6 @@ exit(1); } - set_config_file("lacew.cfg"); - install_keyboard(); install_timer(); @@ -254,7 +252,13 @@ set_color_depth(8); - set_config_file("overgod.cfg"); + char *home, config_file[4096]; + home = getenv("HOME"); + if(!home) + home = "."; + snprintf(config_file, 4095, "%s/.overgod.cfg", home); + config_file[4095] = '\0'; + set_config_file(config_file); options.resolution = get_config_int("Options", "Resolution", 0); debian/patches/series0000644000000000000000000000017612216116530012033 0ustar 010_data_path.diff 020_config_file.diff 030_security_build_warns.patch 040_fix_array_overrun.patch 050_fix_speaker_text.patch debian/patches/010_data_path.diff0000644000000000000000000002100712216116530013751 0ustar Description: Fix paths to data files. Author: Unknown. Index: overgod-1.0/displ_in.c =================================================================== --- overgod-1.0.orig/displ_in.c 2006-05-21 00:24:40.000000000 +0200 +++ overgod-1.0/displ_in.c 2006-05-21 00:27:05.000000000 +0200 @@ -143,7 +143,7 @@ RGB temp_palette [256]; RGB temp_palette3 [1024]; - DATAFILE *datf = load_datafile("gfx//data.dat"); + DATAFILE *datf = load_datafile("/usr/share/games/overgod/gfx/data.dat"); if (datf == NULL) { set_gfx_mode(GFX_TEXT, 0, 0, 0, 0); @@ -166,7 +166,7 @@ //rest(1000); - BITMAP *temp_bitmap = load_bitmap("gfx//gb_si.bmp", temp_palette); + BITMAP *temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_si.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (ships)"); @@ -321,8 +321,8 @@ #ifdef FIX_FONT RGB font_palette [256]; -// BITMAP *fbmp = load_bitmap("gfx//font_cel.bmp", font_palette); - BITMAP *fbmp = load_bitmap("gfx//font_oc.bmp", font_palette); +// BITMAP *fbmp = load_bitmap("/usr/share/games/overgod/gfx/font_cel.bmp", font_palette); + BITMAP *fbmp = load_bitmap("/usr/share/games/overgod/gfx/font_oc.bmp", font_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (font_cel)"); @@ -395,7 +395,7 @@ #ifdef GENERATE_SHIPS - temp_bitmap = load_bitmap("gfx//gb_ship.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_ship.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("gb_ship"); @@ -472,7 +472,7 @@ // Load in enemy bitmaps: - temp_bitmap = load_bitmap("gfx//gb_nme1.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_nme1.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (gb_nme1.bmp not loaded correctly?)"); @@ -496,7 +496,7 @@ progress_update("Enemies 1"); - temp_bitmap = load_bitmap("gfx//gb_nme2.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_nme2.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (gb_nme2.bmp not loaded correctly?)"); @@ -519,7 +519,7 @@ //extern BITMAP *enemy_bmps [ENEMY_BMPS]; - temp_bitmap = load_bitmap("gfx//gb_nmebm.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_nmebm.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (gb_nmebm.bmp not loaded correctly?)"); @@ -533,7 +533,7 @@ progress_update("Enemies 3"); - temp_bitmap = load_bitmap("gfx//gb_big1.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_big1.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (gb_big1.bmp not loaded correctly?)"); @@ -548,7 +548,7 @@ progress_update("Enemies 4"); - temp_bitmap = load_bitmap("gfx//gb_big2.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_big2.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (gb_big2.bmp not loaded correctly?)"); @@ -564,7 +564,7 @@ progress_update("Enemies 5"); - temp_bitmap = load_bitmap("gfx//gb_big3.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_big3.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (gb_big3.bmp not loaded correctly?)"); @@ -580,7 +580,7 @@ progress_update("Enemies 6"); - temp_bitmap = load_bitmap("gfx//gb_med1.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_med1.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (gb_med1.bmp not loaded correctly?)"); @@ -597,7 +597,7 @@ progress_update("Enemies 7"); -/* temp_bitmap = load_bitmap("gfx//enemy3.bmp", temp_palette); +/* temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/enemy3.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (enemy3.bmp not loaded correctly?)"); @@ -621,7 +621,7 @@ /* progress_update("Enemy3 Loaded"); - temp_bitmap = load_bitmap("gfx//small1.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/small1.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (small1.bmp not loaded correctly?)"); @@ -635,7 +635,7 @@ progress_update("Small1 Loaded"); */ - temp_bitmap = load_bitmap("gfx//gb_small.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_small.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (gm_small.bmp not loaded correctly?)"); @@ -682,7 +682,7 @@ progress_update("Small Things"); - temp_bitmap = load_bitmap("gfx//gb_small2.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_small2.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (gm_small2.bmp not loaded correctly?)"); @@ -733,7 +733,7 @@ /* - temp_bitmap = load_bitmap("gfx//small2.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/small2.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (small2.bmp not loaded correctly?)"); @@ -748,7 +748,7 @@ progress_update("Small3 Loaded"); - temp_bitmap = load_bitmap("gfx//enemy2.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/enemy2.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (enemy2.bmp not loaded correctly?)"); @@ -763,7 +763,7 @@ progress_update("Enemy2 Loaded"); */ - temp_bitmap = load_bitmap("gfx//gb_lsh.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_lsh.bmp", temp_palette); if (temp_bitmap == NULL) { bitmap_error("temp_bitmap (gb_lsh.bmp not loaded correctly?)"); @@ -1138,7 +1138,7 @@ RGB temp_palette [256]; // RGB temp_palette3 [1024]; - BITMAP *temp_bitmap = load_bitmap("gfx//gb_tiles.bmp", temp_palette); + BITMAP *temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_tiles.bmp", temp_palette); if (temp_bitmap == NULL) { @@ -1164,7 +1164,7 @@ destroy_bitmap(temp_bitmap); - temp_bitmap = load_bitmap("gfx//gb_maze.bmp", temp_palette); + temp_bitmap = load_bitmap("/usr/share/games/overgod/gfx/gb_maze.bmp", temp_palette); if (temp_bitmap == NULL) { Index: overgod-1.0/menu.c =================================================================== --- overgod-1.0.orig/menu.c 2006-05-21 00:24:41.000000000 +0200 +++ overgod-1.0/menu.c 2006-05-21 00:27:10.000000000 +0200 @@ -414,7 +414,7 @@ destroy_bitmap(temp_bmp); */ - BITMAP *temp_bmp = load_bitmap("gfx//gb_title.bmp", temp_palette); + BITMAP *temp_bmp = load_bitmap("/usr/share/games/overgod/gfx/gb_title.bmp", temp_palette); if (!temp_bmp) { @@ -464,7 +464,7 @@ destroy_bitmap(temp_bmp);*/ /* - temp_bmp = load_bitmap("gfx//title_s.bmp", temp_palette); + temp_bmp = load_bitmap("/usr/share/games/overgod/gfx/title_s.bmp", temp_palette); if (!temp_bmp) { @@ -484,7 +484,7 @@ destroy_bitmap(temp_bmp); */ -/* upgrade_box1 = load_bitmap("gfx//upg_box.bmp", temp_palette); +/* upgrade_box1 = load_bitmap("/usr/share/games/overgod/gfx/upg_box.bmp", temp_palette); if (!upgrade_box1) { @@ -493,7 +493,7 @@ exit(1); } - upgrade_box2 = load_bitmap("gfx//upg_box2.bmp", temp_palette); + upgrade_box2 = load_bitmap("/usr/share/games/overgod/gfx/upg_box2.bmp", temp_palette); if (!upgrade_box2) { @@ -502,7 +502,7 @@ exit(1); } - upgrade_box3 = load_bitmap("gfx//upg_box3.bmp", temp_palette); + upgrade_box3 = load_bitmap("/usr/share/games/overgod/gfx/upg_box3.bmp", temp_palette); if (!upgrade_box3) { Index: overgod-1.0/sound.c =================================================================== --- overgod-1.0.orig/sound.c 2006-05-21 00:24:41.000000000 +0200 +++ overgod-1.0/sound.c 2006-05-21 00:25:28.000000000 +0200 @@ -446,9 +446,9 @@ void load_new_sample_in(int samp, const char *sfile) { - char sfile_name [50]; + char sfile_name [1024]; - strcpy(sfile_name, ".//wavs//"); + strcpy(sfile_name, "/usr/share/games/overgod/wavs/"); strcat(sfile_name, sfile); strcat(sfile_name, ".wav"); @@ -1545,9 +1545,9 @@ void load_beat_sample_in(int samp, const char *sfile) { - char sfile_name [50]; + char sfile_name [1024]; - strcpy(sfile_name, ".//wavs//beat//"); + strcpy(sfile_name, "/usr/share/games/overgod/wavs/beat/"); strcat(sfile_name, sfile); strcat(sfile_name, ".wav"); debian/patches/040_fix_array_overrun.patch0000644000000000000000000000106112216116530015760 0ustar Description: SHIELD_BMPS allows overrun of array so add BMP_SHIELDS_DR8 and BMP_SHIELD_DL1 to the enum to bump it down. Author: Barry deFreese Index: overgod-1.0/display.h =================================================================== --- overgod-1.0.orig/display.h 2005-09-10 15:32:02.000000000 -0400 +++ overgod-1.0/display.h 2013-08-03 17:15:50.603862751 -0400 @@ -280,6 +280,8 @@ BMP_SHIELD_DR5, BMP_SHIELD_DR6, BMP_SHIELD_DR7, +BMP_SHIELD_DR8, +BMP_SHIELD_DL1, BMP_SHIELD_DL2, BMP_SHIELD_DL3, BMP_SHIELD_DL4, debian/watch0000644000000000000000000000013312216116530010211 0ustar version=3 opts="uversionmangle=s/(\d)(\d)/$1.$2/" \ http://sf.net/overgod/overgod(.+)\.zip debian/copyright0000644000000000000000000000204112216273704011122 0ustar This package was debianized by Sam Hocevar on Sat, 20 May 2006 17:11:57 -0500 It was downloaded from https://sourceforge.net/projects/overgod/ Upstream Author: Linley Henzell Copyright 2005 Linley Henzell overgod is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. overgod is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian GNU/Linux systems, the complete text of the GNU General Public License 2 can be found in `/usr/share/common-licenses/GPL-2'. debian/overgod.preinst0000644000000000000000000000033512216116530012237 0ustar #!/bin/sh # dpkg does not replace symlinks with directories and vice versa, therefore # maintainer scripts need to be used. set -e if [ -L /usr/share/doc/overgod ] ; then rm -f /usr/share/doc/overgod fi #DEBHELPER# debian/overgod.install0000644000000000000000000000016112216116530012216 0ustar overgod usr/lib/games/overgod debian/overgod.xpm usr/share/pixmaps debian/overgod.desktop usr/share/applications debian/overgod.menu0000644000000000000000000000022012216116530011510 0ustar ?package(overgod):needs="X11" section="Games/Action" \ title="Overgod" command="/usr/games/overgod" \ icon="/usr/share/pixmaps/overgod.xpm" debian/changelog0000644000000000000000000000432712216116530011043 0ustar overgod (1.0-4) unstable; urgency=low * Team upload. * Add VCS fields in debian/control. * Dpkg does not replace symlinks with directories and vice versa, therefore maintainer scripts need to be used. Add overgod.preinst script. (Closes: #720153) * Add keywords to desktop file. * Do not refer to symlink license in debian/copyright. * Install readme.txt with overgod.docs. -- Markus Koschany Tue, 17 Sep 2013 20:20:04 +0200 overgod (1.0-3) unstable; urgency=low * Adopt package for the Debian Games Team. (Closes: #711563). + Set maintainer to Debian Games Team. + Add myself to uploaders. * Move to source format 3.0 (quilt). + Drop quilt from build-depends. * Add watch file. * Add ${misc:Depends} for packages. * Add desktop file and put icon in correct directory. (Closes: #689635). + Fix Debian menu file as well. * Add patch to fix array overrun. (Closes: #716604). * Add patch to fix speaker test. (Closes: #454806). + Thanks to Josh Triplett for the pointers. * Bump debhelper build-dep and compat to 9. * Bump Standards Version to 3.9.4. -- Barry deFreese Thu, 01 Aug 2013 22:43:58 -0400 overgod (1.0-2) unstable; urgency=low * Orphan the package, see #711563. * Change versioned build dependency liballegro4.2-dev to unversioned dependency on liballegro4-dev. (Closes: #710603) -- Tobias Hansen Sat, 08 Jun 2013 00:10:30 +0200 overgod (1.0-1.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS with binutils-gold": add patch from Ubuntu / Julian Taylor: - debian/rules: link with needed libm (LP: #833899) (Closes: #555880) * Make package binNMUable by using ${source:Version} instead of ${Source-Version} (lintian error). -- gregor herrmann Tue, 20 Dec 2011 16:38:08 +0100 overgod (1.0-1) unstable; urgency=low * Initial Release (Closes: #368275). * debian/patches/010_data_path.diff: + New patch -- fix data files path to comply with policy. * debian/patches/020_config_file.diff: + New patch -- use ~/.overgod.cfg as the configuration file path. -- Sam Hocevar (Debian packages) Sat, 20 May 2006 17:11:57 -0500 debian/overgod.xpm0000644000000000000000000001230712216116530011361 0ustar /* XPM */ static char * overgod_xpm[] = { "32 32 193 2", " c None", ". c #EF0350", "+ c #F40057", "@ c #F60053", "# c #F50058", "$ c #F70053", "% c #E60D4C", "& c #F00850", "* c #DF1649", "= c #F10C51", "- c #E8134D", "; c #F00E57", "> c #D91E47", ", c #F21052", "' c #DA2048", ") c #DB2148", "! c #D52746", "~ c #C4323B", "{ c #CF2B44", "] c #C33240", "^ c #EC1B50", "/ c #D02D45", "( c #CA3143", "_ c #C6353D", ": c #EE1D51", "< c #C63542", "[ c #E6234E", "} c #C7363E", "| c #C33A3D", "1 c #BE3D3B", "2 c #C9373F", "3 c #E12A4D", "4 c #B34734", "5 c #D53249", "6 c #AF4A34", "7 c #BC423C", "8 c #E32B4E", "9 c #B44835", "0 c #EA2851", "a c #AC4D34", "b c #B04B35", "c c #B54936", "d c #D7344A", "e c #E42D4F", "f c #B24C36", "g c #AE4F35", "h c #BB4838", "i c #C44240", "j c #AB522F", "k c #DA3646", "l c #B34D37", "m c #A7552F", "n c #BC4939", "o c #E63051", "p c #C2473B", "q c #B94C39", "r c #A55830", "s c #BD4A3A", "t c #B54F38", "u c #E83152", "v c #BB4E3A", "w c #DD3A49", "x c #C64A3E", "y c #E5384C", "z c #E6394D", "A c #8D6E26", "B c #916C26", "C c #E13D4C", "D c #9C662D", "E c #E73A4E", "F c #8F7028", "G c #E23F4D", "H c #8D7321", "I c #917122", "J c #E4404E", "K c #DA474B", "L c #E5414E", "M c #DC4847", "N c #E0454D", "O c #E1464E", "P c #DC4A4D", "Q c #DE4A48", "R c #E2474F", "S c #DF4C49", "T c #D65147", "U c #DB4F48", "V c #E14D4A", "W c #DC5049", "X c #EB4753", "Y c #D85349", "Z c #E24E4B", "` c #D05942", " . c #DD514A", ".. c #DE524B", "+. c #DF534C", "@. c #E94D54", "#. c #DB564B", "$. c #CF5E43", "%. c #EB4E4F", "&. c #D45C45", "*. c #D95A46", "=. c #DD584D", "-. c #DF5948", ";. c #E85350", ">. c #DE594D", ",. c #DB5C48", "'. c #DC5D48", "). c #E65851", "!. c #DA6149", "~. c #DB624A", "{. c #D8674B", "]. c #D86B47", "^. c #D96C47", "/. c #DA6D48", "(. c #D77149", "_. c #D9724A", ":. c #D5754A", "<. c #D37844", "[. c #D77645", "}. c #E36F4C", "|. c #EB6A54", "1. c #DB744C", "2. c #D87746", "3. c #D57A46", "4. c #D67B47", "5. c #D27E47", "6. c #D37F48", "7. c #E87350", "8. c #CD8442", "9. c #D58049", "0. c #D28343", "a. c #CF8644", "b. c #D48444", "c. c #D18745", "d. c #CE8A46", "e. c #CF8B46", "f. c #D08C47", "g. c #CE8F42", "h. c #CF9043", "i. c #CC9343", "j. c #D09144", "k. c #CD9444", "l. c #D19244", "m. c #CE9545", "n. c #CD9940", "o. c #CE9A41", "p. c #CC9E43", "q. c #C9A143", "r. c #CAA244", "s. c #CCA33E", "t. c #C8A63F", "u. c #CAA740", "v. c #C6AA41", "w. c #C7AB42", "x. c #C6AE3C", "y. c #C8AC43", "z. c #C5AE43", "A. c #C7AF3D", "B. c #C3B23E", "C. c #C8B13E", "D. c #C5B33F", "E. c #C6B440", "F. c #C2B740", "G. c #C7B541", "H. c #C3B842", "I. c #C5B93B", "J. c #C1BC3B", "K. c #C4B943", "L. c #C6BA3C", "M. c #C3BD3C", "N. c #C4BE3D", "O. c #C0C03E", "P. c #C1C13F", "Q. c #C5BF3F", "R. c #C2C240", "S. c #BFC539", "T. c #BEC541", "U. c #C0C63A", "V. c #BFC642", "W. c #C1C73B", "X. c #BDCA3C", "Y. c #E6C052", "Z. c #E6C54D", "`. c #E3C84E", " + c #E4C94F", ".+ c #E5CA50", "++ c #E1CD51", "@+ c #E3CE4A", "#+ c #E5CF4B", "$+ c #E1D24C", "%+ c #DFE24F", "&+ c #E0E450", "*+ c #E2E551", " ", " G ....0 ", " G ..k.K.R.R.u.m.0 ", " +.Q.P.R.R.R.R.U.v.0 G ", " ..K.R.P.R.R.R.T.u.o # V d.5.: ", " G M.R.U.z.x.y.Q.J.E > @ O H.X.^. ", " V O.R.l.5 t h #.H.E ' | b Q H.W.k.: ", " k.R.R.&.A I b % -.(.= @ - n n P E.W.n.^ ", " y E.R.R.$.F ) ,.[.= - ( - n.y.w.H.W.o.[ # ", " Z P.R.O.*.6 -.[.= 1 F b Q M.R.R.R.s.d m ", " V P.R.S.A.y @ '.(.} g Q H.R.R.R.R.n.b ' ", " o A.S.E.p.j.G ' ,.h.i.H.T.R.R.R.R.n.7 ", " k.E.y : 5.G 1 4 W Q.R.R.R.R.R.T.y.9.. ", " y y 0 9.G @ | 6 W K.U.P.R.R.R.T.w.w - ", " 0 0.G ] U 5._._.^.O.R.R.w.w m ! ", " # 3 l.^.3.%.Z.$+|.:.R.R.8.r D ", " _ c u.d.X .+%+%+`.1.U.J.c.} ( ", " < a M 5.X `.%+%+%+Y.2.H.G ~./., ", " ) l K y.;.`.%+%+%+++X 4.P a * ~.^.= y : ", " L g.A.Q.}.%+%+%+++@.3.U b | , ~.^.= G I.5. ", " # R Q.P.M.).@+%+#+@.a.{.~ | , ~.^.G R E.U.m.: ", " ' i D.R.U.0.).7.).<.w.j.G @ = ~.M.Q.T.R.J.y ", " ' s D.R.R.S.E.H.w. .q e 0.y % ~.O.R.R.K.y ", " & 3 D.P.R.R.R.L.Q 9 1 # 0 b.y j p E.R.R.y.o ", " # '.W.L.H.K.Q.n.c 1 0 0.y ! H v G.R.U.5. ", " = ^.N x x +.>.! 0 f.o a H B k E.P.M.L ", " ; & / / # r.w.Y ` T o.V.T.H.o ", " o A.U.O.R.O.S.T.H.S ", " o z.U.R.P.R.R.R.J.V ", " G u.H.S.T.H.q.=.L ", " G '.,.G ", " "}; debian/overgod.sh0000644000000000000000000000031512216273723011173 0ustar #!/bin/sh MASTER="/usr/share/games/overgod/default.cfg" CONFIG="${HOME}/.overgod.cfg" if [ ! -f "${CONFIG}" ]; then cp "${MASTER}" "${CONFIG}" >/dev/null 2>&1 fi exec /usr/lib/games/overgod/overgod