curblaster.git
2 years agoUpdate MATT-README.txt main
Matthew Mondor [Tue, 11 Apr 2023 05:09:25 +0000 (05:09 +0000)]
Update MATT-README.txt

2 years agoUpdate MATT-README.txt
Matthew Mondor [Tue, 11 Apr 2023 05:01:38 +0000 (05:01 +0000)]
Update MATT-README.txt

2 years agoImprove command key layout.
Matthew Mondor [Tue, 11 Apr 2023 04:55:44 +0000 (04:55 +0000)]
Improve command key layout.

2 years agoMinor code cleanup and properly reset player position when changing
Matthew Mondor [Tue, 11 Apr 2023 04:19:46 +0000 (04:19 +0000)]
Minor code cleanup and properly reset player position when changing
level or restarting a new game.

2 years agoDisable leaveok() and adjust messages to properly position cursor.
Matthew Mondor [Mon, 10 Apr 2023 21:19:20 +0000 (21:19 +0000)]
Disable leaveok() and adjust messages to properly position cursor.

2 years ago- Replace the halfdelay() using function by the simulated frame one.
Matthew Mondor [Mon, 10 Apr 2023 17:48:00 +0000 (17:48 +0000)]
- Replace the halfdelay() using function by the simulated frame one.
- Build and test against curses vs ncurses, better performance was
  achieved for me using it, versus using the ncurses port that
  poll(2)ed excessively long even with timeout(0).  This seems to
  be fine on ncurses that is native on Linux systems.  Thus, use
  X/Open standard curses.h instead of ncurses.h that works on both.
- Remove explicit cursor displacement code now that its visibility
  is hidden with curs_set().  Theoretically curses should also do
  this transparently with leaveok().

2 years agoReimplement the way the game timing is done, simplifying it and
Matthew Mondor [Mon, 10 Apr 2023 15:34:47 +0000 (15:34 +0000)]
Reimplement the way the game timing is done, simplifying it and
keeping the code more easily portable to non-unix systems.  Some
timing artifacts are more detectable than when using setitimer(2)
but they are still minimal versus the original implementation using
halfdelay().  Those were slightly less apparent when restoring the
maximum speed to 4, that was previously customized.  It is suspected
that some other code needed to be adapted for that limit to be
changed gracefully.

2 years agoAdd safe_refresh() temporarily blocking SIGALRM to avoid
Matthew Mondor [Thu, 6 Apr 2023 09:00:35 +0000 (09:00 +0000)]
Add safe_refresh() temporarily blocking SIGALRM to avoid
potentially interrupting I/O syscalls.

2 years agoUpdate MATT-README.txt
Matthew Mondor [Thu, 6 Apr 2023 04:19:07 +0000 (04:19 +0000)]
Update MATT-README.txt

2 years agoUse curs_set(3) in stable_getch() to disable/enable visible cursor.
Matthew Mondor [Thu, 6 Apr 2023 04:16:36 +0000 (04:16 +0000)]
Use curs_set(3) in stable_getch() to disable/enable visible cursor.

2 years agoInitial import of early custom changes after fork from https://codeberg.org/gwync...
Matthew Mondor [Tue, 4 Apr 2023 03:07:28 +0000 (03:07 +0000)]
Initial import of early custom changes after fork from https://codeberg.org/gwync/curblaster.git

2 years agogitignore
Gwyn Ciesla [Mon, 26 Sep 2022 20:37:04 +0000 (15:37 -0500)]
gitignore

2 years agoAdd compile
Gwyn Ciesla [Mon, 26 Sep 2022 19:30:17 +0000 (14:30 -0500)]
Add compile

2 years agoAutotools updates.
Gwyn Ciesla [Mon, 26 Sep 2022 19:24:47 +0000 (14:24 -0500)]
Autotools updates.

2 years agoFix make clean. 1.14
Gwyn Ciesla [Wed, 14 Sep 2022 22:33:49 +0000 (17:33 -0500)]
Fix make clean.

2 years ago1.14, autotools.
Gwyn Ciesla [Wed, 14 Sep 2022 22:17:53 +0000 (17:17 -0500)]
1.14, autotools.

2 years agoUpdate make clean
Gwyn Ciesla [Wed, 10 Aug 2022 16:29:55 +0000 (11:29 -0500)]
Update make clean

2 years agocppcheck updates.
Gwyn Ciesla [Tue, 12 Jul 2022 19:23:02 +0000 (14:23 -0500)]
cppcheck updates.

2 years agoAdd gitignore.
Gwyn Ciesla [Fri, 8 Jul 2022 15:35:57 +0000 (10:35 -0500)]
Add gitignore.

4 years agoUse constant game object in powerup determination.
Gwyn Ciesla [Thu, 27 Aug 2020 14:34:39 +0000 (09:34 -0500)]
Use constant game object in powerup determination.

4 years agocppcheck cleanup.
Gwyn Ciesla [Thu, 27 Aug 2020 14:22:34 +0000 (09:22 -0500)]
cppcheck cleanup.

5 years agoUse phony.
Gwyn Ciesla [Tue, 22 Oct 2019 21:43:01 +0000 (16:43 -0500)]
Use phony.

6 years agocppcheck cleanup.
Gwyn Ciesla [Mon, 8 Apr 2019 01:38:51 +0000 (20:38 -0500)]
cppcheck cleanup.

7 years agoFix parameter to strncpy in powerup.cpp.
Gwyn Ciesla [Thu, 26 Apr 2018 19:54:22 +0000 (14:54 -0500)]
Fix parameter to strncpy in powerup.cpp.

7 years agoPut gatebeams in a vector as an experiment.
Gwyn Ciesla [Fri, 5 Jan 2018 20:47:23 +0000 (14:47 -0600)]
Put gatebeams in a vector as an experiment.

7 years agostruct to class
Gwyn Ciesla [Thu, 4 Jan 2018 23:45:35 +0000 (17:45 -0600)]
struct to class
Cleanup
Refactor sound loading.

7 years agostrn cleanup.
Gwyn Ciesla [Mon, 27 Nov 2017 23:28:32 +0000 (17:28 -0600)]
strn cleanup.

7 years ago1.13 1.13
Gwyn Ciesla [Thu, 24 Aug 2017 11:36:40 +0000 (06:36 -0500)]
1.13
Fix cppcheck warnings about uninitialized structs.

8 years agoUpdate name.
Gwyn Ciesla [Thu, 16 Mar 2017 14:43:38 +0000 (09:43 -0500)]
Update name.

8 years ago1.12 1.12
Gwyn Ciesla [Tue, 31 Jan 2017 23:49:15 +0000 (17:49 -0600)]
1.12
cppcheck

10 years agoVersion 1.11. 1.11
Gwyn Ciesla [Wed, 24 Sep 2014 17:28:10 +0000 (12:28 -0500)]
Version 1.11.

10 years agoSDL2
Gwyn Ciesla [Wed, 24 Sep 2014 17:27:21 +0000 (12:27 -0500)]
SDL2
AppData

12 years agoZero triple shot on new game.
Gwyn Ciesla [Mon, 12 Nov 2012 12:34:41 +0000 (06:34 -0600)]
Zero triple shot on new game.

12 years agoZero laser at new game.
Gwyn Ciesla [Mon, 12 Nov 2012 12:28:12 +0000 (06:28 -0600)]
Zero laser at new game.

12 years ago1.10. 1.10
Gwyn Ciesla [Wed, 29 Aug 2012 15:49:28 +0000 (10:49 -0500)]
1.10.

12 years agoNew game corrections.
Gwyn Ciesla [Fri, 10 Aug 2012 11:47:52 +0000 (06:47 -0500)]
New game corrections.

12 years agoDrop bosses at new games, also.
Gwyn Ciesla [Wed, 8 Aug 2012 13:14:38 +0000 (08:14 -0500)]
Drop bosses at new games, also.

12 years agoPlay again?
Gwyn Ciesla [Wed, 8 Aug 2012 11:49:01 +0000 (06:49 -0500)]
Play again?

12 years agoShow controls at start an pause.
Gwyn Ciesla [Mon, 6 Aug 2012 21:44:50 +0000 (16:44 -0500)]
Show controls at start an pause.

12 years agoNotes from John Ertel.
Gwyn Ciesla [Mon, 6 Aug 2012 16:08:33 +0000 (11:08 -0500)]
Notes from John Ertel.

12 years ago1.09 1.09
Gwyn Ciesla [Mon, 6 Aug 2012 14:06:16 +0000 (09:06 -0500)]
1.09
Fix FORTIFY_SOURCE crash.

13 years ago1.08 1.08
Gwyn Ciesla [Fri, 6 Jan 2012 02:57:57 +0000 (20:57 -0600)]
1.08
Fixed filename declarations for gcc 4.7.0.

13 years agoUpdate email address. 1.07
Gwyn Ciesla [Sun, 4 Dec 2011 21:29:50 +0000 (15:29 -0600)]
Update email address.

13 years agoSilenced last compiler warnings. 1.06
Gwyn Ciesla [Thu, 16 Jun 2011 13:38:03 +0000 (08:38 -0500)]
Silenced last compiler warnings.
1.06.

14 years agoPassed channels through play_sound_effect to silence compiler warnings. 1.05
Gwyn Ciesla [Fri, 10 Jun 2011 18:23:34 +0000 (13:23 -0500)]
Passed channels through play_sound_effect to silence compiler warnings.
Version 1.05.

14 years agoStrip extra whitespace from Makefile.
Gwyn Ciesla [Fri, 18 Feb 2011 03:11:49 +0000 (21:11 -0600)]
Strip extra whitespace from Makefile.

15 years agoEliminated mishaps extern.
Gwyn Ciesla [Tue, 4 May 2010 12:15:12 +0000 (07:15 -0500)]
Eliminated mishaps extern.

15 years agoMade Makefile distcc-compatible.
Gwyn Ciesla [Fri, 9 Apr 2010 14:25:30 +0000 (09:25 -0500)]
Made Makefile distcc-compatible.

15 years agoAdded -Wall to Makefile.
Gwyn Ciesla [Wed, 7 Apr 2010 12:07:57 +0000 (07:07 -0500)]
Added -Wall to Makefile.

15 years agoDrop a term from boss initialization to fix a compiler warning.
Gwyn Ciesla [Fri, 26 Mar 2010 11:56:02 +0000 (06:56 -0500)]
Drop a term from boss initialization to fix a compiler warning.

15 years agoRemoved extraneous backup file.
Gwyn Ciesla [Mon, 22 Mar 2010 21:10:18 +0000 (16:10 -0500)]
Removed extraneous backup file.

15 years agoMade my flags overridable, bumped to 1.04. 1.04
Gwyn Ciesla [Thu, 18 Mar 2010 19:01:04 +0000 (14:01 -0500)]
Made my flags overridable, bumped to 1.04.

15 years agoVersion bump. 1.03
Gwyn Ciesla [Tue, 16 Mar 2010 18:16:37 +0000 (13:16 -0500)]
Version bump.

15 years agoMakefile fixes for Fedora review.
Gwyn Ciesla [Tue, 16 Mar 2010 18:15:16 +0000 (13:15 -0500)]
Makefile fixes for Fedora review.

15 years agoUpdated version, copyright date. 1.02
Gwyn Ciesla [Fri, 15 Jan 2010 16:53:22 +0000 (10:53 -0600)]
Updated version, copyright date.

15 years agoRenamed from curfender to curblaster.
Gwyn Ciesla [Fri, 15 Jan 2010 16:46:05 +0000 (10:46 -0600)]
Renamed from curfender to curblaster.

15 years agoRemoved Defender references, bumped to 1.01. 1.01
Gwyn Ciesla [Thu, 7 Jan 2010 13:53:55 +0000 (07:53 -0600)]
Removed Defender references, bumped to 1.01.

15 years agoEnd of level music, possible rrant pod fix
limb [Tue, 25 Aug 2009 19:33:13 +0000 (19:33 +0000)]
End of level music, possible rrant pod fix

git-svn-id: svn+ssh://svn/var/repos/curfender@863 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoModularized enemy shooting process.
limb [Wed, 22 Jul 2009 15:00:56 +0000 (15:00 +0000)]
Modularized enemy shooting process.

git-svn-id: svn+ssh://svn/var/repos/curfender@855 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoLander snatch bonus.
limb [Tue, 21 Jul 2009 19:31:28 +0000 (19:31 +0000)]
Lander snatch bonus.

git-svn-id: svn+ssh://svn/var/repos/curfender@854 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoAward points for pod pickup, vary with altitude.
limb [Tue, 21 Jul 2009 19:29:48 +0000 (19:29 +0000)]
Award points for pod pickup, vary with altitude.

git-svn-id: svn+ssh://svn/var/repos/curfender@853 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoDefanged regular shields, created super shields.
limb [Tue, 21 Jul 2009 19:10:31 +0000 (19:10 +0000)]
Defanged regular shields, created super shields.

git-svn-id: svn+ssh://svn/var/repos/curfender@852 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoPods dropped from too high and not caught will splat.
limb [Sat, 18 Jul 2009 05:21:41 +0000 (05:21 +0000)]
Pods dropped from too high and not caught will splat.

git-svn-id: svn+ssh://svn/var/repos/curfender@851 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoDropped unneeded gravitize includes in main
limb [Sat, 18 Jul 2009 05:10:26 +0000 (05:10 +0000)]
Dropped unneeded gravitize includes in main

git-svn-id: svn+ssh://svn/var/repos/curfender@850 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoDropped last draw extern.
limb [Sat, 18 Jul 2009 05:06:38 +0000 (05:06 +0000)]
Dropped last draw extern.

git-svn-id: svn+ssh://svn/var/repos/curfender@849 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoDropped extern in draw_object.
limb [Sat, 18 Jul 2009 05:01:42 +0000 (05:01 +0000)]
Dropped extern in draw_object.

git-svn-id: svn+ssh://svn/var/repos/curfender@848 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoUpdated man page for SDL_mixer.
limb [Sat, 18 Jul 2009 04:50:34 +0000 (04:50 +0000)]
Updated man page for SDL_mixer.

git-svn-id: svn+ssh://svn/var/repos/curfender@847 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoConvert life_loss to void, as it never returned anything anyway.
limb [Sat, 18 Jul 2009 04:48:19 +0000 (04:48 +0000)]
Convert life_loss to void, as it never returned anything anyway.
Internalize unneeded extern.

git-svn-id: svn+ssh://svn/var/repos/curfender@846 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoShot handling fixes, optimizations.
limb [Sat, 18 Jul 2009 04:10:46 +0000 (04:10 +0000)]
Shot handling fixes, optimizations.

git-svn-id: svn+ssh://svn/var/repos/curfender@845 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoTitle music integration.
limb [Thu, 16 Jul 2009 18:23:53 +0000 (18:23 +0000)]
Title music integration.

git-svn-id: svn+ssh://svn/var/repos/curfender@844 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoMake sure landers don't change elevation while carrying a pod.
limb [Mon, 15 Jun 2009 12:55:29 +0000 (12:55 +0000)]
Make sure landers don't change elevation while carrying a pod.

git-svn-id: svn+ssh://svn/var/repos/curfender@840 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoCreated title music, needs incorporation.
limb [Sun, 14 Jun 2009 02:39:37 +0000 (02:39 +0000)]
Created title music, needs incorporation.

git-svn-id: svn+ssh://svn/var/repos/curfender@839 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoFixed lander pod chase direction choice logic.
limb [Sat, 13 Jun 2009 04:38:52 +0000 (04:38 +0000)]
Fixed lander pod chase direction choice logic.

git-svn-id: svn+ssh://svn/var/repos/curfender@838 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoFixed boss, missile and crazy chase logic.
limb [Sat, 13 Jun 2009 04:08:32 +0000 (04:08 +0000)]
Fixed boss, missile and crazy chase logic.

git-svn-id: svn+ssh://svn/var/repos/curfender@837 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoDefinite smartbomb wrap fix, probable laser wrap fix.
limb [Sat, 13 Jun 2009 03:08:28 +0000 (03:08 +0000)]
Definite smartbomb wrap fix, probable laser wrap fix.

git-svn-id: svn+ssh://svn/var/repos/curfender@836 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoFixed mass encrazify conditions bug.
limb [Sat, 13 Jun 2009 02:20:26 +0000 (02:20 +0000)]
Fixed mass encrazify conditions bug.

git-svn-id: svn+ssh://svn/var/repos/curfender@835 bc5cbbab-a4ec-0310-bb52-ff3d296db539

15 years agoSmartbomb now only kills dead things.
limb [Sat, 13 Jun 2009 02:13:08 +0000 (02:13 +0000)]
Smartbomb now only kills dead things.

git-svn-id: svn+ssh://svn/var/repos/curfender@834 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoScaled landers, crazies, crawlers.
limb [Mon, 8 Jun 2009 15:46:57 +0000 (15:46 +0000)]
Scaled landers, crazies, crawlers.

git-svn-id: svn+ssh://svn/var/repos/curfender@833 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoLanders can change altitude.
limb [Mon, 8 Jun 2009 14:30:38 +0000 (14:30 +0000)]
Landers can change altitude.

git-svn-id: svn+ssh://svn/var/repos/curfender@832 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoLaser range fix.
limb [Mon, 8 Jun 2009 13:42:17 +0000 (13:42 +0000)]
Laser range fix.

git-svn-id: svn+ssh://svn/var/repos/curfender@831 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoRegen pods at correct level.
limb [Sun, 7 Jun 2009 02:50:26 +0000 (02:50 +0000)]
Regen pods at correct level.

git-svn-id: svn+ssh://svn/var/repos/curfender@829 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoIntegrated missle sound.
limb [Fri, 5 Jun 2009 18:23:07 +0000 (18:23 +0000)]
Integrated missle sound.

git-svn-id: svn+ssh://svn/var/repos/curfender@828 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoMissile sound
limb [Fri, 5 Jun 2009 18:22:17 +0000 (18:22 +0000)]
Missile sound

git-svn-id: svn+ssh://svn/var/repos/curfender@827 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoNewlines.
limb [Fri, 5 Jun 2009 17:35:30 +0000 (17:35 +0000)]
Newlines.

git-svn-id: svn+ssh://svn/var/repos/curfender@826 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoAdded lander-seeking missle powerup.
limb [Fri, 5 Jun 2009 17:33:26 +0000 (17:33 +0000)]
Added lander-seeking missle powerup.

git-svn-id: svn+ssh://svn/var/repos/curfender@825 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoScoring is more in line with risk.
limb [Thu, 4 Jun 2009 17:46:24 +0000 (17:46 +0000)]
Scoring is more in line with risk.
Game ends after level 24 is completed.

git-svn-id: svn+ssh://svn/var/repos/curfender@824 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoIncreased audio channels
limb [Wed, 3 Jun 2009 18:48:59 +0000 (18:48 +0000)]
Increased audio channels

git-svn-id: svn+ssh://svn/var/repos/curfender@823 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoIntegrate powerup create sound.
limb [Wed, 3 Jun 2009 18:44:03 +0000 (18:44 +0000)]
Integrate powerup create sound.

git-svn-id: svn+ssh://svn/var/repos/curfender@822 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoenemy shot logic fix
limb [Wed, 3 Jun 2009 18:17:57 +0000 (18:17 +0000)]
enemy shot logic fix

git-svn-id: svn+ssh://svn/var/repos/curfender@821 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoIntegrated enemy shot sound.
limb [Wed, 3 Jun 2009 18:11:16 +0000 (18:11 +0000)]
Integrated enemy shot sound.

git-svn-id: svn+ssh://svn/var/repos/curfender@820 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoModularized all functions and the game_opject structure.
limb [Wed, 3 Jun 2009 17:53:16 +0000 (17:53 +0000)]
Modularized all functions and the game_opject structure.

git-svn-id: svn+ssh://svn/var/repos/curfender@819 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoIntegrated pup-take, shield and crazify sounds.
limb [Tue, 2 Jun 2009 20:24:35 +0000 (20:24 +0000)]
Integrated pup-take, shield and crazify sounds.

git-svn-id: svn+ssh://svn/var/repos/curfender@817 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoMore sounds
limb [Tue, 2 Jun 2009 20:05:41 +0000 (20:05 +0000)]
More sounds

git-svn-id: svn+ssh://svn/var/repos/curfender@816 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoBoss scaling.
limb [Tue, 2 Jun 2009 12:46:27 +0000 (12:46 +0000)]
Boss scaling.

git-svn-id: svn+ssh://svn/var/repos/curfender@815 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoFixed "never get triple shot" bug.
limb [Fri, 29 May 2009 19:49:34 +0000 (19:49 +0000)]
Fixed "never get triple shot" bug.

git-svn-id: svn+ssh://svn/var/repos/curfender@814 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoWorking nosound flag
limb [Fri, 29 May 2009 16:23:48 +0000 (16:23 +0000)]
Working nosound flag

git-svn-id: svn+ssh://svn/var/repos/curfender@813 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoNosound?
limb [Fri, 29 May 2009 15:18:35 +0000 (15:18 +0000)]
Nosound?

git-svn-id: svn+ssh://svn/var/repos/curfender@812 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoWhoops.
limb [Fri, 29 May 2009 15:00:37 +0000 (15:00 +0000)]
Whoops.

git-svn-id: svn+ssh://svn/var/repos/curfender@811 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoFixed boss display issue.
limb [Fri, 29 May 2009 14:59:36 +0000 (14:59 +0000)]
Fixed boss display issue.

git-svn-id: svn+ssh://svn/var/repos/curfender@810 bc5cbbab-a4ec-0310-bb52-ff3d296db539

16 years agoBosses ready, but only showing bottom line.
limb [Fri, 29 May 2009 13:59:21 +0000 (13:59 +0000)]
Bosses ready, but only showing bottom line.

git-svn-id: svn+ssh://svn/var/repos/curfender@809 bc5cbbab-a4ec-0310-bb52-ff3d296db539