JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vor.git
17 years agoremoved and renamed more variables.
Joshua Grams [Sat, 17 Feb 2007 16:55:00 +0000 (16:55 +0000)]
removed and renamed more variables.

17 years agoPut all ship-death code into kill_ship(), removed unnecessary variables.
Joshua Grams [Sat, 17 Feb 2007 16:06:23 +0000 (16:06 +0000)]
Put all ship-death code into kill_ship(), removed unnecessary variables.

17 years agoRemoved unnecessary command-line options. 0.5
Joshua Grams [Sat, 17 Feb 2007 03:50:28 +0000 (03:50 +0000)]
Removed unnecessary command-line options.

* args.c (opt_music): removed (consolidated with opt_sound).

17 years agoAdded a 48x48 version of the ship for use as an icon.
Joshua Grams [Sat, 17 Feb 2007 02:56:40 +0000 (02:56 +0000)]
Added a 48x48 version of the ship for use as an icon.

17 years agoRemoved old icons (now recommending ship.png).
Joshua Grams [Sat, 17 Feb 2007 02:36:23 +0000 (02:36 +0000)]
Removed old icons (now recommending ship.png).

17 years agoupdated website URL in README.
Joshua Grams [Sat, 17 Feb 2007 02:15:06 +0000 (02:15 +0000)]
updated website URL in README.

17 years agoNo more svn in README, fixed contact form URL.
Joshua Grams [Sat, 17 Feb 2007 00:36:45 +0000 (00:36 +0000)]
No more svn in README, fixed contact form URL.

17 years agoupdated version number.
Joshua Grams [Sat, 17 Feb 2007 00:14:01 +0000 (00:14 +0000)]
updated version number.

17 years agomusic on by default
Joshua Grams [Sat, 17 Feb 2007 00:13:43 +0000 (00:13 +0000)]
music on by default

17 years agoMakefile: moved font_guts to data-clean.
Joshua Grams [Sat, 17 Feb 2007 00:13:00 +0000 (00:13 +0000)]
Makefile: moved font_guts to data-clean.

17 years agostoring font template uncompressed, updated gfx.mk appropriately.
Joshua Grams [Sat, 17 Feb 2007 00:12:11 +0000 (00:12 +0000)]
storing font template uncompressed, updated gfx.mk appropriately.

17 years agoAdded .gitignore, stopped tracking data/font.png.
Joshua Grams [Fri, 16 Feb 2007 14:18:21 +0000 (14:18 +0000)]
Added .gitignore, stopped tracking data/font.png.

17 years agoChanges from August-November 2006 -- detailed history was lost.
Jason Woofenden [Fri, 16 Feb 2007 14:06:37 +0000 (14:06 +0000)]
Changes from August-November 2006 -- detailed history was lost.

Rounding errors that were causing crashes on x86.
POV-Ray font.
High score name entry.

17 years agostarted fiddling with explosion graphics: now it's not dependant on framerate
Jason Woofenden [Tue, 11 Jul 2006 18:22:34 +0000 (18:22 +0000)]
started fiddling with explosion graphics: now it's not dependant on framerate
only lock surfaces if SDL_MUSTLOCK() says we must
comented out alpha fading thing on 'game over' and other messages

17 years agooops, put background back
Joshua Grams [Thu, 29 Jun 2006 19:01:39 +0000 (19:01 +0000)]
oops, put background back

17 years agoprint total FPS
Joshua Grams [Thu, 29 Jun 2006 19:01:26 +0000 (19:01 +0000)]
print total FPS

17 years agomore refactoring in main.c
Joshua Grams [Wed, 28 Jun 2006 20:16:37 +0000 (20:16 +0000)]
more refactoring in main.c

17 years agostarted ship in the middle vertically (instead of the top of the ship in the middle)
Jason Woofenden [Mon, 26 Jun 2006 19:34:14 +0000 (19:34 +0000)]
started ship in the middle vertically (instead of the top of the ship in the middle)

17 years agonow scrolling to center of ship, not its top-left corner
Joshua Grams [Thu, 22 Jun 2006 21:55:24 +0000 (21:55 +0000)]
now scrolling to center of ship, not its top-left corner

17 years agooops, was drawing *inactive* bang dots
Joshua Grams [Thu, 22 Jun 2006 21:53:30 +0000 (21:53 +0000)]
oops, was drawing *inactive* bang dots

17 years agorefactoring main loop organization
Joshua Grams [Tue, 13 Jun 2006 20:33:17 +0000 (20:33 +0000)]
refactoring main loop organization

17 years agostarted factoring out global t_frame
Joshua Grams [Tue, 13 Jun 2006 19:49:29 +0000 (19:49 +0000)]
started factoring out global t_frame

17 years agomade it so engine dots are created throughout the time of the frame so it looks right...
Jason Woofenden [Tue, 30 May 2006 16:00:45 +0000 (16:00 +0000)]
made it so engine dots are created throughout the time of the frame so it looks right even with a big lag.
factored out move_engine_dots
added now config var THRUSTER_STRENGTH
added new config var ENGINE_DOTS_PER_TIC
adjusted settings so there are fewer engine dots and they don't push the rocks so hard

18 years agooops, didn't mean to commit those other files
Jason Woofenden [Sat, 15 Apr 2006 16:26:44 +0000 (16:26 +0000)]
oops, didn't mean to commit those other files

18 years agofixed crashing bug in move_dust() (bounds checking wasn't right)
Jason Woofenden [Sat, 15 Apr 2006 16:22:32 +0000 (16:22 +0000)]
fixed crashing bug in move_dust() (bounds checking wasn't right)

18 years agooops, didn't fix bang dots correctly.
Joshua Grams [Fri, 14 Apr 2006 14:15:02 +0000 (14:15 +0000)]
oops, didn't fix bang dots correctly.

18 years agoparticle generation no longer depends on the framerate
Joshua Grams [Fri, 14 Apr 2006 14:02:25 +0000 (14:02 +0000)]
particle generation no longer depends on the framerate
(now that particles are part of the gameplay, not just visual effects).

18 years agonow really removed SDL_SetAlpha calls on Windows
Joshua Grams [Wed, 12 Apr 2006 19:28:58 +0000 (19:28 +0000)]
now really removed SDL_SetAlpha calls on Windows

18 years agoslightly less half-assed event handling
Joshua Grams [Wed, 12 Apr 2006 19:13:07 +0000 (19:13 +0000)]
slightly less half-assed event handling
removed message fades on windows

18 years agoincludes fixes
Joshua Grams [Wed, 12 Apr 2006 17:01:30 +0000 (17:01 +0000)]
includes fixes

18 years agoMakefile.win fixes
Joshua Grams [Wed, 12 Apr 2006 16:57:21 +0000 (16:57 +0000)]
Makefile.win fixes

18 years agoplatform-independent arg parsing
Joshua Grams [Wed, 12 Apr 2006 16:55:57 +0000 (16:55 +0000)]
platform-independent arg parsing

18 years agomore changes for windows
Joshua Grams [Tue, 11 Apr 2006 11:08:37 +0000 (11:08 +0000)]
more changes for windows

18 years agowindows port, maybe?
Joshua Grams [Mon, 10 Apr 2006 01:07:58 +0000 (01:07 +0000)]
windows port, maybe?

18 years agofinish moving data files around (I think)
Joshua Grams [Mon, 10 Apr 2006 00:58:34 +0000 (00:58 +0000)]
finish moving data files around (I think)

18 years agoremoving most data subdirs
Joshua Grams [Mon, 10 Apr 2006 00:47:05 +0000 (00:47 +0000)]
removing most data subdirs

18 years agobumped dev version to 0.5pre
Joshua Grams [Sun, 26 Mar 2006 11:35:35 +0000 (11:35 +0000)]
bumped dev version to 0.5pre

18 years agogrr...had -ggdb in Makefile
Joshua Grams [Sun, 26 Mar 2006 11:32:08 +0000 (11:32 +0000)]
grr...had -ggdb in Makefile

18 years agobumped version to 0.4
Joshua Grams [Sun, 26 Mar 2006 11:30:20 +0000 (11:30 +0000)]
bumped version to 0.4

18 years agoremoved ship fade in code (unused)
Joshua Grams [Sun, 26 Mar 2006 11:17:57 +0000 (11:17 +0000)]
removed ship fade in code (unused)

18 years agooops, missed some.
Joshua Grams [Sun, 26 Mar 2006 11:17:20 +0000 (11:17 +0000)]
oops, missed some.

18 years agomade bang dots hit rocks, removed blast_rocks function.
Joshua Grams [Sun, 26 Mar 2006 11:16:30 +0000 (11:16 +0000)]
made bang dots hit rocks, removed blast_rocks function.

18 years agooops, updated todo
Joshua Grams [Sun, 26 Mar 2006 11:15:42 +0000 (11:15 +0000)]
oops, updated todo

18 years agorefactored messages a bit
Joshua Grams [Sun, 26 Mar 2006 10:50:28 +0000 (10:50 +0000)]
refactored messages a bit

18 years agoseparate scores for easy mode.
Joshua Grams [Sun, 26 Mar 2006 02:52:35 +0000 (02:52 +0000)]
separate scores for easy mode.

18 years agofixed messages
Joshua Grams [Sun, 26 Mar 2006 01:56:24 +0000 (01:56 +0000)]
fixed messages

18 years agoeasy mode; messages at game over.
Joshua Grams [Sun, 26 Mar 2006 01:25:34 +0000 (01:25 +0000)]
easy mode; messages at game over.

18 years agoAdded Jason's comments from openbubbles bounce code.
Joshua Grams [Sat, 25 Mar 2006 22:12:55 +0000 (22:12 +0000)]
Added Jason's comments from openbubbles bounce code.

18 years agoproper moving-away detection in bounce()?
Joshua Grams [Sat, 25 Mar 2006 21:16:48 +0000 (21:16 +0000)]
proper moving-away detection in bounce()?

18 years agocorrect bounce math?
Joshua Grams [Sat, 25 Mar 2006 20:57:18 +0000 (20:57 +0000)]
correct bounce math?

18 years agoengine dots push rocks
Jason Woofenden [Sat, 25 Mar 2006 20:22:53 +0000 (20:22 +0000)]
engine dots push rocks
pixel collision functions return what sprite was hit
new config var: ENGINE_DOT_WEIGHT

18 years agoremoved new ship fade, blast leaves rocks collidable, some refactoring.
Joshua Grams [Sat, 25 Mar 2006 13:07:00 +0000 (13:07 +0000)]
removed new ship fade, blast leaves rocks collidable, some refactoring.

18 years agooops, pressing space was skipping high score entry.
Joshua Grams [Fri, 24 Mar 2006 20:39:11 +0000 (20:39 +0000)]
oops, pressing space was skipping high score entry.

18 years agoRemoved control of ship during dead pause; the new ship
Joshua Grams [Fri, 24 Mar 2006 20:22:42 +0000 (20:22 +0000)]
Removed control of ship during dead pause; the new ship
velocity change upon dying makes it unnecessary.

18 years agoMade it easier (I hope) to avoid getting killed twice in a row.
Joshua Grams [Fri, 24 Mar 2006 20:18:28 +0000 (20:18 +0000)]
Made it easier (I hope) to avoid getting killed twice in a row.
We now take the square root of the ship's velocity, instead of just half.
This appears to put it nicely in the middle of the hole left by the
explosion, whatever speed you are going.

Also, you now have control over your ship during the DEAD_PAUSE; so it fades
in, and is invulnerable until it becomes fully opaque.  Note that the dead
pause is still the same length as it was before.

18 years agofade new ships in,
Joshua Grams [Fri, 24 Mar 2006 17:13:00 +0000 (17:13 +0000)]
fade new ships in,
add complaints from HappyPenguin to todo,
some refactoring.

18 years agosprites now have a flag field (MOVE/DRAW/COLLIDE).
Joshua Grams [Fri, 24 Mar 2006 00:46:58 +0000 (00:46 +0000)]
sprites now have a flag field (MOVE/DRAW/COLLIDE).
rocks which have been blasted do not collide.

18 years agowe now return you to your regularly scheduled exploding ship.
Joshua Grams [Fri, 24 Mar 2006 00:09:35 +0000 (00:09 +0000)]
we now return you to your regularly scheduled exploding ship.

18 years agorenamed *_SPRITE to *, made rocks bounce off each other.
Joshua Grams [Thu, 23 Mar 2006 22:44:21 +0000 (22:44 +0000)]
renamed *_SPRITE to *, made rocks bounce off each other.

18 years agorewording bounce calculations.
Joshua Grams [Thu, 23 Mar 2006 16:56:23 +0000 (16:56 +0000)]
rewording bounce calculations.

18 years agoadded area back to get_shape, bounce() uses area.
Joshua Grams [Thu, 23 Mar 2006 15:40:06 +0000 (15:40 +0000)]
added area back to get_shape, bounce() uses area.
fixed 'sticking to rocks' bug in bounce().

18 years ago* sprite.c (collide): fixed yov computation.
Joshua Grams [Thu, 23 Mar 2006 15:38:29 +0000 (15:38 +0000)]
* sprite.c (collide): fixed yov computation.

18 years agobouncy ship :)
Joshua Grams [Thu, 23 Mar 2006 14:36:15 +0000 (14:36 +0000)]
bouncy ship :)

18 years agomoved grid stuff from rocks.c to sprite.c
Joshua Grams [Wed, 22 Mar 2006 14:02:58 +0000 (14:02 +0000)]
moved grid stuff from rocks.c to sprite.c

18 years ago* rocks.c (struct rock): changed generic ones to Sprite.
Joshua Grams [Tue, 21 Mar 2006 22:18:29 +0000 (22:18 +0000)]
* rocks.c (struct rock): changed generic ones to Sprite.

18 years agoditched the separate shape struct.
Joshua Grams [Tue, 21 Mar 2006 21:25:16 +0000 (21:25 +0000)]
ditched the separate shape struct.

18 years agoUpdated collide to take two sprites.
Joshua Grams [Tue, 21 Mar 2006 17:33:25 +0000 (17:33 +0000)]
Updated collide to take two sprites.
removed references to stdint.h (using inttypes.h where necessary).
Makefile: update header dependencies.

18 years agorenamed shape files to sprite, added todo list to svn.
Joshua Grams [Tue, 21 Mar 2006 13:21:50 +0000 (13:21 +0000)]
renamed shape files to sprite, added todo list to svn.

18 years agorefactoring towards sprites, updated todo
Joshua Grams [Tue, 21 Mar 2006 12:43:36 +0000 (12:43 +0000)]
refactoring towards sprites, updated todo

18 years agocommented DEAD_PAUSE_LENGTH and updated URL
Jason Woofenden [Thu, 16 Mar 2006 00:55:46 +0000 (00:55 +0000)]
commented DEAD_PAUSE_LENGTH and updated URL

18 years agominor rearrangements and the beginnings of a Windows port.
Joshua Grams [Thu, 2 Feb 2006 22:38:39 +0000 (22:38 +0000)]
minor rearrangements and the beginnings of a Windows port.

18 years ago* rocks.c (hit_rock, pixel_hit_rock): fix more possible bugs.
Joshua Grams [Thu, 5 Jan 2006 04:12:20 +0000 (04:12 +0000)]
* rocks.c (hit_rock, pixel_hit_rock): fix more possible bugs.

18 years ago* rocks.c (hit_rocks): oops, had r(ight) where I should have had t(op).
Joshua Grams [Thu, 5 Jan 2006 03:47:00 +0000 (03:47 +0000)]
* rocks.c (hit_rocks): oops, had r(ight) where I should have had t(op).
(pixel_hit_rocks): added bucket validity checks.

18 years ago* rocks.c (bucket): rewrote to work with either division rounding mode (symmetric...
Joshua Grams [Thu, 5 Jan 2006 03:40:56 +0000 (03:40 +0000)]
* rocks.c (bucket): rewrote to work with either division rounding mode (symmetric or floored).
(hit_rocks): rewrote to check validity of all buckets before using them.

18 years ago* rocks.c (init_buckets): oops, we weren't allocating big enough arrays.
Joshua Grams [Thu, 5 Jan 2006 00:09:57 +0000 (00:09 +0000)]
* rocks.c (init_buckets): oops, we weren't allocating big enough arrays.

18 years ago* rocks.c: refactored stuff and fixed linked-list bug (I think).
Joshua Grams [Wed, 4 Jan 2006 23:37:51 +0000 (23:37 +0000)]
* rocks.c: refactored stuff and fixed linked-list bug (I think).

* file.c (add_path): renamed to add_data_path, changed all callers.

* main.c (load_image): new function - changed all image loads.

* mt.c (frnd, crnd): converted literals to standard constants.
* mt.h: including inttypes.h instead of the less common stdint.h.

18 years agooops, have to check all 9 buckets.
Joshua Grams [Mon, 11 Jul 2005 18:39:39 +0000 (18:39 +0000)]
oops, have to check all 9 buckets.
maybe I should consider doing the 4 resort/check cycles instead...

18 years agofixed 2 more dot collision bugs (last ones?)
Joshua Grams [Mon, 11 Jul 2005 18:21:34 +0000 (18:21 +0000)]
fixed 2 more dot collision bugs (last ones?)

18 years agoRocks now sorted on a grid to speed collision checking.
Joshua Grams [Mon, 11 Jul 2005 17:13:54 +0000 (17:13 +0000)]
Rocks now sorted on a grid to speed collision checking.

18 years agonow deleting dots which hit rocks.
Joshua Grams [Sun, 10 Jul 2005 22:27:01 +0000 (22:27 +0000)]
now deleting dots which hit rocks.

18 years agooops, fixed off-by-one error in new_engine_dots
Joshua Grams [Sun, 10 Jul 2005 20:55:04 +0000 (20:55 +0000)]
oops, fixed off-by-one error in new_engine_dots

18 years agoraised max for -g to 200
Jason Woofenden [Sun, 10 Jul 2005 20:19:27 +0000 (20:19 +0000)]
raised max for -g to 200

18 years agocleaned up bang dots code a bit
Joshua Grams [Sun, 10 Jul 2005 12:23:44 +0000 (12:23 +0000)]
cleaned up bang dots code a bit

18 years agoremoved debug stuff because it ws useless.
Joshua Grams [Sat, 9 Jul 2005 11:29:53 +0000 (11:29 +0000)]
removed debug stuff because it ws useless.
removed some unnecessary globals.
went back to using ticks for everything (gives nice sized numbers for things).

18 years agow00t! Finally rearranged the scroll equations so they make sense to me.
Joshua Grams [Fri, 8 Jul 2005 21:22:32 +0000 (21:22 +0000)]
w00t!  Finally rearranged the scroll equations so they make sense to me.
Also moved reset_rocks() call to init_rocks() from main().

18 years ago* mt.c: Added (Mersenne Twister random number generator).
Joshua Grams [Thu, 7 Jul 2005 23:29:54 +0000 (23:29 +0000)]
* mt.c: Added (Mersenne Twister random number generator).
* sound.h: moved #defines out to here, used them in main.c.
* dust.c: moved space dust functions out to here.

18 years agoFriction doesn't make sense any more, dropped that.
Joshua Grams [Thu, 7 Jul 2005 21:13:33 +0000 (21:13 +0000)]
Friction doesn't make sense any more, dropped that.
Tail engine is just dumb, dropped that.
Undocumented -l option.
Rewrote particle generation for jets (same results, shorter code).

18 years agorenamed framelen and friends (again)
Joshua Grams [Thu, 7 Jul 2005 18:11:01 +0000 (18:11 +0000)]
renamed framelen and friends (again)

18 years ago* file.c (g_score_mode): renamed to g_score_mask.
Joshua Grams [Thu, 7 Jul 2005 14:15:53 +0000 (14:15 +0000)]
* file.c (g_score_mode): renamed to g_score_mask.
* Makefile (install-data uninstall-data): removed score-file stuff.

18 years agoMoved macros and such from config.h to common.h
Joshua Grams [Thu, 7 Jul 2005 13:49:09 +0000 (13:49 +0000)]
Moved macros and such from config.h to common.h
Now using ~/.vor-scores as our only choice for score file.
(it can get deleted if you put it in with data)
(and locking issues if multiple users on one machine, etc.)
Now passing DATA_PREFIX from Makefile as INSTALL suggests.

18 years agoWe now limit how far ahead you can get. This is measured in screen
Joshua Grams [Wed, 6 Jul 2005 23:05:39 +0000 (23:05 +0000)]
We now limit how far ahead you can get.  This is measured in screen
widths, and has a command-line option --max-lead.

Also added error checking to command-line parsing.

18 years agoNow have a "barrier" (which can fall behind) to enforce minimum speed.
Joshua Grams [Wed, 6 Jul 2005 22:04:29 +0000 (22:04 +0000)]
Now have a "barrier" (which can fall behind) to enforce minimum speed.

18 years agorenamed gamerate to framelen
Joshua Grams [Wed, 6 Jul 2005 22:00:17 +0000 (22:00 +0000)]
renamed gamerate to framelen

18 years agonew option --bounciness (default changed from 100% to 50%).
Joshua Grams [Tue, 5 Jul 2005 21:21:41 +0000 (21:21 +0000)]
new option --bounciness (default changed from 100% to 50%).
pressing space at the Game Over screen now goes only to score display.
  (press space again to start a new game)
refactored the Makefile again.
moved command-line parsing stuff out to args.c/args.h.
rearranged command-line help.

18 years agoAdded constant SCREENDXMIN instead of using 7.5 everywhere.
Joshua Grams [Mon, 4 Jul 2005 16:50:12 +0000 (16:50 +0000)]
Added constant SCREENDXMIN instead of using 7.5 everywhere.
Fixed options array so the help displays properly.
Removed some stupid stuff from rocks.c.

18 years agoOK, now we're really done with 0.3
Joshua Grams [Mon, 4 Jul 2005 13:14:37 +0000 (13:14 +0000)]
OK, now we're really done with 0.3

18 years agopoking some changes back into 0.3 before anyone notices. :)
Joshua Grams [Mon, 4 Jul 2005 13:08:35 +0000 (13:08 +0000)]
poking some changes back into 0.3 before anyone notices. :)

18 years agoRefactored Makefile
Joshua Grams [Mon, 4 Jul 2005 12:55:44 +0000 (12:55 +0000)]
Refactored Makefile
 * clean now only cleans up program, not graphics.
 * maintainer-clean cleans up everything.
Switched from getopt to argp for command-line parsing.
Also new command-line option --game-speed (-g N%).
Cleaned up some unnecessary stuff in config.h

18 years agofinal changes to README, bumped to version 3
Joshua Grams [Mon, 4 Jul 2005 02:55:22 +0000 (02:55 +0000)]
final changes to README, bumped to version 3

18 years agoUpdated feature list in README
Joshua Grams [Mon, 4 Jul 2005 02:32:57 +0000 (02:32 +0000)]
Updated feature list in README
Removed speed indicator graphic