neverball
17 years agoRename growup and growdn PNGs to grow and shrink.
parasti [Sun, 20 Aug 2006 12:35:39 +0000 (12:35 +0000)]
Rename growup and growdn PNGs to grow and shrink.

git-svn-id: https://s.snth.net/svn/neverball/trunk@557 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoDo the check for goal open only if the item is a coin.
parasti [Sat, 19 Aug 2006 20:38:03 +0000 (20:38 +0000)]
Do the check for goal open only if the item is a coin.

git-svn-id: https://s.snth.net/svn/neverball/trunk@556 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoUpdate Ball's code to use the "coin" item type.
parasti [Sat, 19 Aug 2006 16:56:45 +0000 (16:56 +0000)]
Update Ball's code to use the "coin" item type.

git-svn-id: https://s.snth.net/svn/neverball/trunk@555 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoRemove all coin-specific geometry functions except coin_head, coin_tail
parasti [Sat, 19 Aug 2006 16:55:24 +0000 (16:55 +0000)]
Remove all coin-specific geometry functions except coin_head, coin_tail
and coin_edge.  Modify item geometry functions to support "coin" item
type.

git-svn-id: https://s.snth.net/svn/neverball/trunk@554 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoAdd a "coin" item type. In effect this makes coin-specific functions
parasti [Sat, 19 Aug 2006 16:52:53 +0000 (16:52 +0000)]
Add a "coin" item type.  In effect this makes coin-specific functions
obsolete, so they're being removed.  This is purely an internal change,
mappers need not worry about it.

This commit contains changes to mapc and solid.

git-svn-id: https://s.snth.net/svn/neverball/trunk@553 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoMissed this one. Remove check for custom coin values. Items take care of this.
parasti [Wed, 16 Aug 2006 09:38:07 +0000 (09:38 +0000)]
Missed this one.  Remove check for custom coin values.  Items take care of this.

git-svn-id: https://s.snth.net/svn/neverball/trunk@552 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoAlmost completely separate coins and items in share/geom.c. Items still
parasti [Tue, 15 Aug 2006 22:23:38 +0000 (22:23 +0000)]
Almost completely separate coins and items in share/geom.c.  Items still
make use of coin drawing functions.  (Eventually they would get their
own look, maybe even by loading custom objects or something.  I still
suck at OpenGL, mind you.  Additionally, I hope to make the coin
functions obsolete by turning coins into items as well.  There's some
redundancy because this has not yet happened.)

Update Ball's drawing / state functions to manipulate items.  There's
still a minor mess with the 'grow_' set of functions.

git-svn-id: https://s.snth.net/svn/neverball/trunk@551 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoModify maps that make use of "grow / shrink coins" to use items instead.
parasti [Tue, 15 Aug 2006 22:08:31 +0000 (22:08 +0000)]
Modify maps that make use of "grow / shrink coins" to use items instead.

git-svn-id: https://s.snth.net/svn/neverball/trunk@550 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoIntroduce the "item" concept. First batch of changes, related to solid
parasti [Tue, 15 Aug 2006 22:05:24 +0000 (22:05 +0000)]
Introduce the "item" concept.  First batch of changes, related to solid
and mapc.  I'll hopefully write more about this on the forum tomorrow.
This is a "proposition", however, it is not "proof of concept".

git-svn-id: https://s.snth.net/svn/neverball/trunk@549 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoRemove "proof of concept" launching of levels from the command line.
parasti [Sun, 13 Aug 2006 22:43:34 +0000 (22:43 +0000)]
Remove "proof of concept" launching of levels from the command line.
(Revision [202].)  Breaking replays for a development feature isn't
worth it.  Anyhow, a branch would be a better place for this.

git-svn-id: https://s.snth.net/svn/neverball/trunk@548 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoPO update.
parasti [Mon, 7 Aug 2006 17:40:14 +0000 (17:40 +0000)]
PO update.

git-svn-id: https://s.snth.net/svn/neverball/trunk@547 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoSpanish translation update.
parasti [Mon, 7 Aug 2006 17:38:34 +0000 (17:38 +0000)]
Spanish translation update.

git-svn-id: https://s.snth.net/svn/neverball/trunk@546 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoadded new tones' level in easy3
mym [Mon, 7 Aug 2006 08:47:55 +0000 (08:47 +0000)]
added new tones' level in easy3

git-svn-id: https://s.snth.net/svn/neverball/trunk@545 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoAdded new easy-2 level pyramid-ton.map for review.
tonesfrommars [Mon, 7 Aug 2006 06:14:03 +0000 (06:14 +0000)]
Added new easy-2 level pyramid-ton.map for review.

git-svn-id: https://s.snth.net/svn/neverball/trunk@544 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoRevert revision [530] (global loading of sets at start-up). No
parasti [Sun, 6 Aug 2006 17:32:24 +0000 (17:32 +0000)]
Revert revision [530] (global loading of sets at start-up).  No
response from Jean[1] yet, so meanwhile I'd better not leave code in a
state like this.

[1] http://www.nevercorner.net/forum/viewtopic.php?id=660

git-svn-id: https://s.snth.net/svn/neverball/trunk@543 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoupdated easy2/3 shots
mym [Sun, 6 Aug 2006 11:03:50 +0000 (11:03 +0000)]
updated easy2/3 shots

git-svn-id: https://s.snth.net/svn/neverball/trunk@542 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoRevert revision [536] to avoid making further changes on an unstable
parasti [Fri, 4 Aug 2006 10:40:40 +0000 (10:40 +0000)]
Revert revision [536] to avoid making further changes on an unstable
base.  Feel free to re-add once some sort of consensus is reached.
See the discussion[1] for more information.

[1] http://www.nevercorner.net/forum/viewtopic.php?id=660

git-svn-id: https://s.snth.net/svn/neverball/trunk@541 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoupdate fr.po
mym [Fri, 4 Aug 2006 08:38:54 +0000 (08:38 +0000)]
update fr.po

git-svn-id: https://s.snth.net/svn/neverball/trunk@540 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoPO update.
parasti [Thu, 3 Aug 2006 17:47:31 +0000 (17:47 +0000)]
PO update.

git-svn-id: https://s.snth.net/svn/neverball/trunk@539 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoRemove Spanish translation team e-mail.
parasti [Thu, 3 Aug 2006 17:44:32 +0000 (17:44 +0000)]
Remove Spanish translation team e-mail.

git-svn-id: https://s.snth.net/svn/neverball/trunk@538 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoAdd Spanish translation and try not to mess anything up while doing
parasti [Thu, 3 Aug 2006 17:42:47 +0000 (17:42 +0000)]
Add Spanish translation and try not to mess anything up while doing
it.  Thanks, mdm!

git-svn-id: https://s.snth.net/svn/neverball/trunk@537 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoReplace strong level path from replay with a couple (name/version) of the level.
mrtout [Wed, 2 Aug 2006 18:07:54 +0000 (18:07 +0000)]
Replace strong level path from replay with a couple (name/version) of the level.
Each replay are now easealy associated with an existing level in an existing set.
Bump replay file version number.
Fix #74 (and other bugs not reported).

git-svn-id: https://s.snth.net/svn/neverball/trunk@536 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoRe-add demo base name handling.
parasti [Wed, 2 Aug 2006 17:43:48 +0000 (17:43 +0000)]
Re-add demo base name handling.

git-svn-id: https://s.snth.net/svn/neverball/trunk@535 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoSince the --replay command line option, extension and basename stuff is not exclusive...
mrtout [Wed, 2 Aug 2006 16:55:32 +0000 (16:55 +0000)]
Since the --replay command line option, extension and basename stuff is not exclusive to demo_scan_file().
Therefore, add demo_header_open() that share the job.

Fix #83

git-svn-id: https://s.snth.net/svn/neverball/trunk@534 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agofix #84
mrtout [Wed, 2 Aug 2006 16:27:29 +0000 (16:27 +0000)]
fix #84

git-svn-id: https://s.snth.net/svn/neverball/trunk@533 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoan other proposition for #81
mrtout [Wed, 2 Aug 2006 15:35:01 +0000 (15:35 +0000)]
an other proposition for #81

git-svn-id: https://s.snth.net/svn/neverball/trunk@532 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoa proposition for #81
mrtout [Wed, 2 Aug 2006 15:24:36 +0000 (15:24 +0000)]
a proposition for #81

git-svn-id: https://s.snth.net/svn/neverball/trunk@531 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoglobal level and set loading at the begin of the game
mrtout [Wed, 2 Aug 2006 14:25:26 +0000 (14:25 +0000)]
global level and set loading at the begin of the game

git-svn-id: https://s.snth.net/svn/neverball/trunk@530 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoVery minimalistic simplification of some code in ball/util.c.
parasti [Wed, 2 Aug 2006 12:36:10 +0000 (12:36 +0000)]
Very minimalistic simplification of some code in ball/util.c.

git-svn-id: https://s.snth.net/svn/neverball/trunk@529 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoClean-up the level structure.
parasti [Wed, 2 Aug 2006 10:43:05 +0000 (10:43 +0000)]
Clean-up the level structure.

git-svn-id: https://s.snth.net/svn/neverball/trunk@528 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoClean-up recently added code in share/solid.c.
parasti [Wed, 2 Aug 2006 10:11:40 +0000 (10:11 +0000)]
Clean-up recently added code in share/solid.c.

git-svn-id: https://s.snth.net/svn/neverball/trunk@527 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoReformat code to fit in 80 columns. Jean, I cannot answer your
parasti [Wed, 2 Aug 2006 09:42:49 +0000 (09:42 +0000)]
Reformat code to fit in 80 columns.  Jean, I cannot answer your
question but I'm pretty sure that this is not the right place to ask
it.

git-svn-id: https://s.snth.net/svn/neverball/trunk@526 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoRetab ball/level.h.
parasti [Tue, 1 Aug 2006 21:30:12 +0000 (21:30 +0000)]
Retab ball/level.h.

git-svn-id: https://s.snth.net/svn/neverball/trunk@525 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoPut metadata near the begin of the sol files, therefore loading set is realy faster
mrtout [Tue, 1 Aug 2006 20:44:11 +0000 (20:44 +0000)]
Put metadata near the begin of the sol files, therefore loading set is realy faster

git-svn-id: https://s.snth.net/svn/neverball/trunk@524 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agofix #18
mrtout [Tue, 1 Aug 2006 19:59:36 +0000 (19:59 +0000)]
fix #18

git-svn-id: https://s.snth.net/svn/neverball/trunk@523 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoFix #69
mrtout [Tue, 1 Aug 2006 19:35:20 +0000 (19:35 +0000)]
Fix #69

git-svn-id: https://s.snth.net/svn/neverball/trunk@522 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoKill tabs.
parasti [Tue, 1 Aug 2006 18:14:14 +0000 (18:14 +0000)]
Kill tabs.

git-svn-id: https://s.snth.net/svn/neverball/trunk@521 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agodisplay play mode on the level title
mrtout [Tue, 1 Aug 2006 16:40:57 +0000 (16:40 +0000)]
display play mode on the level title

git-svn-id: https://s.snth.net/svn/neverball/trunk@520 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoupdate french translation
mrtout [Tue, 1 Aug 2006 16:27:06 +0000 (16:27 +0000)]
update french translation

git-svn-id: https://s.snth.net/svn/neverball/trunk@519 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoMinor code simplification in share/i18n.c
parasti [Tue, 1 Aug 2006 15:12:16 +0000 (15:12 +0000)]
Minor code simplification in share/i18n.c

git-svn-id: https://s.snth.net/svn/neverball/trunk@518 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoMark audio files for localisation (just Ball) and allow for comments
parasti [Sat, 22 Jul 2006 22:57:38 +0000 (22:57 +0000)]
Mark audio files for localisation (just Ball) and allow for comments
tagged with "TRANSLATORS" to be included in PO files.

git-svn-id: https://s.snth.net/svn/neverball/trunk@517 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoFix code formatting.
parasti [Mon, 17 Jul 2006 16:39:23 +0000 (16:39 +0000)]
Fix code formatting.

git-svn-id: https://s.snth.net/svn/neverball/trunk@516 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoMisc.
parasti [Mon, 17 Jul 2006 14:39:54 +0000 (14:39 +0000)]
Misc.

Change a bunch of perror() calls by ones to strerror() to simplify the
code and to allow translators to choose the position of the message
themselves.

Move code around for viewing pleasure.

Try and avoid carrying 'res' around.  C has better ways.

Another language lesson:  use idioms.  'else if', 'else if', 'else
if' look a lot better as a switch statement.

Update Latvian translation.

git-svn-id: https://s.snth.net/svn/neverball/trunk@515 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoAnother portable object update.
parasti [Sun, 16 Jul 2006 17:04:28 +0000 (17:04 +0000)]
Another portable object update.

git-svn-id: https://s.snth.net/svn/neverball/trunk@514 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoFix format string. Oops.
parasti [Sun, 16 Jul 2006 17:04:07 +0000 (17:04 +0000)]
Fix format string.  Oops.

git-svn-id: https://s.snth.net/svn/neverball/trunk@513 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoPO update...
parasti [Sun, 16 Jul 2006 16:41:57 +0000 (16:41 +0000)]
PO update...

git-svn-id: https://s.snth.net/svn/neverball/trunk@512 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agodemo_header_write() now writes the header. :-P
parasti [Sun, 16 Jul 2006 10:10:09 +0000 (10:10 +0000)]
demo_header_write() now writes the header.  :-P

git-svn-id: https://s.snth.net/svn/neverball/trunk@511 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoPut "replay" field back: doesn't work only in the "end" screen.
parasti [Sat, 15 Jul 2006 22:37:38 +0000 (22:37 +0000)]
Put "replay" field back:  doesn't work only in the "end" screen.

git-svn-id: https://s.snth.net/svn/neverball/trunk@510 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoMoved extension and basename stuff to demo_scan_file(), so
parasti [Sat, 15 Jul 2006 21:56:41 +0000 (21:56 +0000)]
Moved extension and basename stuff to demo_scan_file(), so
demo_header_read() now does just that:  reads the header.  The
"replay" field in demo status screen is broken, so I left it empty for
now.

I'm a bit over my head here, so this commit might introduce a thousand
bugs:  if you find any, this is most likely what caused it.

git-svn-id: https://s.snth.net/svn/neverball/trunk@509 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoBoring clean-up: there are some things 'indent' is really not good at.
parasti [Sat, 15 Jul 2006 16:56:43 +0000 (16:56 +0000)]
Boring clean-up:  there are some things 'indent' is really not good at.

git-svn-id: https://s.snth.net/svn/neverball/trunk@508 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoChanged unlink() to remove(). Some warnings about implicit
parasti [Fri, 14 Jul 2006 23:01:40 +0000 (23:01 +0000)]
Changed unlink() to remove().  Some warnings about implicit
declarations were seen on Windows (no unistd.h available) and I don't
see why this would not work.  Please yell if this breaks something.

git-svn-id: https://s.snth.net/svn/neverball/trunk@507 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoDirectly link to libpng.
parasti [Fri, 14 Jul 2006 10:41:51 +0000 (10:41 +0000)]
Directly link to libpng.

git-svn-id: https://s.snth.net/svn/neverball/trunk@506 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoMore clean-up. Also removed the FPS lock, see
parasti [Wed, 12 Jul 2006 21:32:42 +0000 (21:32 +0000)]
More clean-up.  Also removed the FPS lock, see
http://www.nevercorner.net/forum/viewtopic.php?pid=4111#p4111 for
reasoning.  Sorry, Dave!

git-svn-id: https://s.snth.net/svn/neverball/trunk@505 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoSome very humble code pretty-up.
parasti [Wed, 12 Jul 2006 15:51:20 +0000 (15:51 +0000)]
Some very humble code pretty-up.

git-svn-id: https://s.snth.net/svn/neverball/trunk@504 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoYet another Latvian translation update.
parasti [Tue, 11 Jul 2006 12:28:34 +0000 (12:28 +0000)]
Yet another Latvian translation update.

git-svn-id: https://s.snth.net/svn/neverball/trunk@503 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoadded parasti(spelling?) to special thanks of AUTHORS.
jolynsbass [Tue, 11 Jul 2006 00:23:40 +0000 (00:23 +0000)]
added parasti(spelling?) to special thanks of AUTHORS.

git-svn-id: https://s.snth.net/svn/neverball/trunk@502 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoLatvian translation update.
parasti [Mon, 10 Jul 2006 12:16:59 +0000 (12:16 +0000)]
Latvian translation update.

git-svn-id: https://s.snth.net/svn/neverball/trunk@501 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoBegin rewriting Latvian translation.
parasti [Mon, 10 Jul 2006 10:40:14 +0000 (10:40 +0000)]
Begin rewriting Latvian translation.

git-svn-id: https://s.snth.net/svn/neverball/trunk@500 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoPO update.
parasti [Mon, 10 Jul 2006 10:37:18 +0000 (10:37 +0000)]
PO update.

git-svn-id: https://s.snth.net/svn/neverball/trunk@499 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoSimplify call to memset in config_init(). Don't link to FreeType,
parasti [Sun, 9 Jul 2006 19:55:38 +0000 (19:55 +0000)]
Simplify call to memset in config_init().  Don't link to FreeType,
because it's an SDL_ttf dependency and not used directly.

git-svn-id: https://s.snth.net/svn/neverball/trunk@498 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agotweaks in 2 maps
mym [Sat, 8 Jul 2006 13:37:46 +0000 (13:37 +0000)]
tweaks in 2 maps

git-svn-id: https://s.snth.net/svn/neverball/trunk@497 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agotweaks
mym [Sat, 8 Jul 2006 11:42:22 +0000 (11:42 +0000)]
tweaks

git-svn-id: https://s.snth.net/svn/neverball/trunk@496 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoAdd Dev-Cpp project for Putt.
parasti [Fri, 7 Jul 2006 12:09:19 +0000 (12:09 +0000)]
Add Dev-Cpp project for Putt.

git-svn-id: https://s.snth.net/svn/neverball/trunk@495 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoCheck in Dev-Cpp project for Ball.
parasti [Fri, 7 Jul 2006 11:57:06 +0000 (11:57 +0000)]
Check in Dev-Cpp project for Ball.

git-svn-id: https://s.snth.net/svn/neverball/trunk@494 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoRemove SDL_mixer from base config (I doubt mapc needs that) and update
parasti [Fri, 7 Jul 2006 11:07:27 +0000 (11:07 +0000)]
Remove SDL_mixer from base config (I doubt mapc needs that) and update
mapc project file.

git-svn-id: https://s.snth.net/svn/neverball/trunk@493 78b8d119-cf0a-0410-b17c-f493084dd1d7

17 years agoAdd Dev-Cpp project file for mapc.
parasti [Thu, 6 Jul 2006 19:27:29 +0000 (19:27 +0000)]
Add Dev-Cpp project file for mapc.

git-svn-id: https://s.snth.net/svn/neverball/trunk@492 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoSimplify code: say it in C.
parasti [Wed, 5 Jul 2006 20:02:05 +0000 (20:02 +0000)]
Simplify code:  say it in C.

git-svn-id: https://s.snth.net/svn/neverball/trunk@491 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoChange SOL "magic number" to 0x4c4f53af. See rationale in the log of
parasti [Wed, 5 Jul 2006 16:40:39 +0000 (16:40 +0000)]
Change SOL "magic number" to 0x4c4f53af.  See rationale in the log of
changeset:485 (s/NBR/SOL/).

git-svn-id: https://s.snth.net/svn/neverball/trunk@490 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoRemove put_string and get_string: not used anymore.
parasti [Wed, 5 Jul 2006 16:29:28 +0000 (16:29 +0000)]
Remove put_string and get_string:  not used anymore.

git-svn-id: https://s.snth.net/svn/neverball/trunk@489 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoTurn w and h parameters of image_snap into local variables.
parasti [Wed, 5 Jul 2006 16:26:54 +0000 (16:26 +0000)]
Turn w and h parameters of image_snap into local variables.

git-svn-id: https://s.snth.net/svn/neverball/trunk@488 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoMoving st_demo_* declarations back in the header, to keep them in one place.
parasti [Wed, 5 Jul 2006 14:15:51 +0000 (14:15 +0000)]
Moving st_demo_* declarations back in the header, to keep them in one place.

git-svn-id: https://s.snth.net/svn/neverball/trunk@487 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoSomewhat improve code uniformity.
parasti [Wed, 5 Jul 2006 13:56:38 +0000 (13:56 +0000)]
Somewhat improve code uniformity.

git-svn-id: https://s.snth.net/svn/neverball/trunk@486 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoChange magic number of replays. (See
parasti [Wed, 5 Jul 2006 11:07:54 +0000 (11:07 +0000)]
Change magic number of replays.  (See
http://www.nevercorner.net/forum/viewtopic.php?id=591.)  It is now
0x52424EAF which when written to the file in little-endian byte order
reads as "\xafNBR" (non-printable byte and "Never-Ball-Replay").
Don't change it.  :-P

Also some minor code clean-up.

git-svn-id: https://s.snth.net/svn/neverball/trunk@485 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agototal reforge of learngrow
mym [Tue, 4 Jul 2006 22:05:26 +0000 (22:05 +0000)]
total reforge of learngrow

git-svn-id: https://s.snth.net/svn/neverball/trunk@484 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoAutosave.
parasti [Tue, 4 Jul 2006 21:19:42 +0000 (21:19 +0000)]
Autosave.

Just kidding.  Saving some cosmetic changes while I haven't forgot.

git-svn-id: https://s.snth.net/svn/neverball/trunk@483 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoMore docstring clean-up. Renamed REPLAY_VERSION to DEMO_VERSION.
parasti [Tue, 4 Jul 2006 21:03:35 +0000 (21:03 +0000)]
More docstring clean-up.  Renamed REPLAY_VERSION to DEMO_VERSION.

git-svn-id: https://s.snth.net/svn/neverball/trunk@482 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoRemoved gettextdbg() which apparently served no purpose whatsoever.
parasti [Tue, 4 Jul 2006 20:53:52 +0000 (20:53 +0000)]
Removed gettextdbg() which apparently served no purpose whatsoever.
Fixed some indentation (from 8 to 4 spaces), moved some "docstrings"
above functions to keep the interface in sight and pretty things up a
little.

git-svn-id: https://s.snth.net/svn/neverball/trunk@481 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoMinor code clean-up.
parasti [Tue, 4 Jul 2006 14:49:27 +0000 (14:49 +0000)]
Minor code clean-up.

git-svn-id: https://s.snth.net/svn/neverball/trunk@480 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agonew neverputt ico/png. fixed neverball ico.
jammnrose [Mon, 3 Jul 2006 06:42:04 +0000 (06:42 +0000)]
new neverputt ico/png. fixed neverball ico.

git-svn-id: https://s.snth.net/svn/neverball/trunk@479 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agotexture values for edge2-prplecheck.jpg were not present
jammnrose [Mon, 3 Jul 2006 04:10:18 +0000 (04:10 +0000)]
texture values for edge2-prplecheck.jpg were not present

git-svn-id: https://s.snth.net/svn/neverball/trunk@478 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoPO update.
parasti [Sun, 2 Jul 2006 00:56:35 +0000 (00:56 +0000)]
PO update.

git-svn-id: https://s.snth.net/svn/neverball/trunk@477 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoCall SDL_WM_SetIcon before SDL_SetVideoMode as suggested by the docs.
parasti [Sat, 1 Jul 2006 15:13:58 +0000 (15:13 +0000)]
Call SDL_WM_SetIcon before SDL_SetVideoMode as suggested by the docs.

git-svn-id: https://s.snth.net/svn/neverball/trunk@476 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoRemove "angle" attribute of info_player_start. See
parasti [Sat, 1 Jul 2006 10:39:39 +0000 (10:39 +0000)]
Remove "angle" attribute of info_player_start.  See
http://www.nevercorner.net/forum/viewtopic.php?id=614.

git-svn-id: https://s.snth.net/svn/neverball/trunk@475 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoRemove redundant else clause.
parasti [Sat, 1 Jul 2006 10:19:06 +0000 (10:19 +0000)]
Remove redundant else clause.

git-svn-id: https://s.snth.net/svn/neverball/trunk@474 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agotweaks to reduce risk to fall out
mym [Tue, 27 Jun 2006 15:38:27 +0000 (15:38 +0000)]
tweaks to reduce risk to fall out

git-svn-id: https://s.snth.net/svn/neverball/trunk@473 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agomass barrier changes
mym [Tue, 27 Jun 2006 14:59:41 +0000 (14:59 +0000)]
mass barrier changes

git-svn-id: https://s.snth.net/svn/neverball/trunk@472 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agotweaks in learngrow
mym [Mon, 26 Jun 2006 12:16:59 +0000 (12:16 +0000)]
tweaks in learngrow

git-svn-id: https://s.snth.net/svn/neverball/trunk@471 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoreduce risks to fall out easily, and some tweaks
mym [Sun, 25 Jun 2006 21:06:23 +0000 (21:06 +0000)]
reduce risks to fall out easily, and some tweaks

git-svn-id: https://s.snth.net/svn/neverball/trunk@470 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoadd a gray-turf texture to back and side faces
mym [Sun, 25 Jun 2006 18:23:47 +0000 (18:23 +0000)]
add a gray-turf texture to back and side faces

git-svn-id: https://s.snth.net/svn/neverball/trunk@469 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoThere was a space missing between parameters in a call to grow_ball()...
parasti [Sun, 25 Jun 2006 11:50:09 +0000 (11:50 +0000)]
There was a space missing between parameters in a call to grow_ball()...

git-svn-id: https://s.snth.net/svn/neverball/trunk@468 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agolight fix in learngrow
mym [Sat, 24 Jun 2006 21:40:58 +0000 (21:40 +0000)]
light fix in learngrow

git-svn-id: https://s.snth.net/svn/neverball/trunk@467 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoimprovment of learngrow
mym [Sat, 24 Jun 2006 18:39:31 +0000 (18:39 +0000)]
improvment of learngrow

git-svn-id: https://s.snth.net/svn/neverball/trunk@466 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoReverting some demo header modifications to keep the size constant. See
parasti [Sat, 24 Jun 2006 10:15:37 +0000 (10:15 +0000)]
Reverting some demo header modifications to keep the size constant.  See
http://www.nevercorner.net/forum/viewtopic.php?id=611 for more info.

git-svn-id: https://s.snth.net/svn/neverball/trunk@465 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agonew attempt for learngrow
mym [Fri, 23 Jun 2006 23:39:01 +0000 (23:39 +0000)]
new attempt for learngrow

git-svn-id: https://s.snth.net/svn/neverball/trunk@464 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoimprove learngrow
mym [Fri, 23 Jun 2006 14:09:48 +0000 (14:09 +0000)]
improve learngrow

git-svn-id: https://s.snth.net/svn/neverball/trunk@463 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agotweak in learngrow
mym [Fri, 23 Jun 2006 09:32:21 +0000 (09:32 +0000)]
tweak in learngrow

git-svn-id: https://s.snth.net/svn/neverball/trunk@462 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agonew easy level
mym [Fri, 23 Jun 2006 09:29:45 +0000 (09:29 +0000)]
new easy level

git-svn-id: https://s.snth.net/svn/neverball/trunk@461 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoRemoving bright "Set Complete" message from level selection screen. All levels
parasti [Thu, 22 Jun 2006 16:40:23 +0000 (16:40 +0000)]
Removing bright "Set Complete" message from level selection screen.  All levels
unlocked == set complete.

git-svn-id: https://s.snth.net/svn/neverball/trunk@460 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoRandom tiny modifications:
parasti [Sun, 18 Jun 2006 17:06:45 +0000 (17:06 +0000)]
Random tiny modifications:

  * MANUAL: hopelessly tried to update and failed;
  * share/base_config.c: removed redundant call to getenv;
  * data/map-easy2/canals-ton.map: changed texture from turf-grey-dark
    back to turf-grey.

git-svn-id: https://s.snth.net/svn/neverball/trunk@459 78b8d119-cf0a-0410-b17c-f493084dd1d7

18 years agoUpdate INSTALL.
parasti [Sun, 18 Jun 2006 15:24:27 +0000 (15:24 +0000)]
Update INSTALL.

git-svn-id: https://s.snth.net/svn/neverball/trunk@458 78b8d119-cf0a-0410-b17c-f493084dd1d7