neverball
17 years agoFixed an issue where the chan array was cleared during audio_free,
parasti [Thu, 23 Nov 2006 10:58:55 +0000 (10:58 +0000)]
Fixed an issue where the chan array was cleared during audio_free,
resulting in all sounds being (and remaining) muted after toggling the
audio setting in the conf screen.

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

17 years agoAdjusted conf screen to be usable with joystick / keyboard.
parasti [Wed, 22 Nov 2006 17:33:30 +0000 (17:33 +0000)]
Adjusted conf screen to be usable with joystick / keyboard.

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

17 years agoMoved images in the tech tab to the right.
parasti [Wed, 22 Nov 2006 11:59:22 +0000 (11:59 +0000)]
Moved images in the tech tab to the right.

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

17 years agoPort r705:735 from /branches/help.
parasti [Tue, 21 Nov 2006 13:03:06 +0000 (13:03 +0000)]
Port r705:735 from /branches/help.

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

17 years agoSet sound channels in output to stereo.
parasti [Sun, 19 Nov 2006 22:21:47 +0000 (22:21 +0000)]
Set sound channels in output to stereo.

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

17 years agoChanged date format for Latvian.
parasti [Sat, 18 Nov 2006 22:15:22 +0000 (22:15 +0000)]
Changed date format for Latvian.

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

17 years agoPO update.
parasti [Fri, 17 Nov 2006 15:49:50 +0000 (15:49 +0000)]
PO update.

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

17 years agoLet translators change date format. This should solve the "date too
parasti [Fri, 17 Nov 2006 15:49:23 +0000 (15:49 +0000)]
Let translators change date format.  This should solve the "date too
long for GUI" issue (ticket #76).

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

17 years agoSpell-checked most of the code.
parasti [Mon, 13 Nov 2006 19:20:06 +0000 (19:20 +0000)]
Spell-checked most of the code.

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

17 years agoRan 'aspell --mode=ccpp' on share/mapc.c. Can't believe it said 'geol'
parasti [Mon, 13 Nov 2006 18:40:01 +0000 (18:40 +0000)]
Ran 'aspell --mode=ccpp' on share/mapc.c.  Can't believe it said 'geol'
instead of 'goal' all this time.  :)

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

17 years agoFixed a glitch where 12 display lists were created instead of 2, and
parasti [Sun, 12 Nov 2006 00:31:17 +0000 (00:31 +0000)]
Fixed a glitch where 12 display lists were created instead of 2, and
only one of them was deleted.

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

17 years agoPO update.
parasti [Sat, 11 Nov 2006 21:08:52 +0000 (21:08 +0000)]
PO update.

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

17 years agoAdded long mode names.
parasti [Sat, 11 Nov 2006 21:05:45 +0000 (21:05 +0000)]
Added long mode names.
Modified layout of level start screen.

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

17 years agoRenamed a bunch of variables that were referring to "secrets".
parasti [Thu, 9 Nov 2006 17:30:58 +0000 (17:30 +0000)]
Renamed a bunch of variables that were referring to "secrets".

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

17 years agoDo not internationalize "Last" because of a couple of encoding quirks
parasti [Tue, 7 Nov 2006 18:40:14 +0000 (18:40 +0000)]
Do not internationalize "Last" because of a couple of encoding quirks
with filenames.

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

17 years agoChange the "special" attribute name to "bonus" to fit the meaning of
parasti [Tue, 7 Nov 2006 00:56:29 +0000 (00:56 +0000)]
Change the "special" attribute name to "bonus" to fit the meaning of
bonus levels more precisely.

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

17 years agoSimplify code in set_enter() and gui_set().
parasti [Mon, 6 Nov 2006 22:48:52 +0000 (22:48 +0000)]
Simplify code in set_enter() and gui_set().

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

17 years agoModify chomp() to brutally remove any combination of trailing line feeds
parasti [Mon, 6 Nov 2006 17:15:36 +0000 (17:15 +0000)]
Modify chomp() to brutally remove any combination of trailing line feeds
and carriage returns.  Rename chomp() to strip_eol().

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

17 years agoremove goal special attribute and set a normal goal texture
mym [Sun, 5 Nov 2006 07:06:20 +0000 (07:06 +0000)]
remove goal special attribute and set a normal goal texture

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

17 years agoupdated shot of easy2 level hurdles-ton
tonesfrommars [Sat, 4 Nov 2006 22:38:04 +0000 (22:38 +0000)]
updated shot of easy2 level hurdles-ton

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

17 years agore-design of easy2 level hurdles-ton.map
tonesfrommars [Sat, 4 Nov 2006 22:34:22 +0000 (22:34 +0000)]
re-design of easy2 level hurdles-ton.map

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

17 years agoremoved some T-sections and repaired texture mismatches in gondola of snow.map
tonesfrommars [Sat, 4 Nov 2006 22:33:09 +0000 (22:33 +0000)]
removed some T-sections and repaired texture mismatches in gondola of snow.map

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

17 years agoTesting a simple potential fix to the repeated path inaccuracy.
rlk [Sat, 4 Nov 2006 17:38:37 +0000 (17:38 +0000)]
Testing a simple potential fix to the repeated path inaccuracy.

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

17 years agoremoved a remaining special goal
mym [Sat, 4 Nov 2006 16:54:54 +0000 (16:54 +0000)]
removed a remaining special goal

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

17 years agotweaks in flip-mym
mym [Sat, 4 Nov 2006 13:15:06 +0000 (13:15 +0000)]
tweaks in flip-mym

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

17 years agoDon't leave the game running in the background after a time-out. Also
parasti [Fri, 3 Nov 2006 17:26:15 +0000 (17:26 +0000)]
Don't leave the game running in the background after a time-out.  Also
fixed an issue with music not being played during replays.

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

17 years agocorrected a vicious bug which was easing the resolution
mym [Fri, 3 Nov 2006 16:51:40 +0000 (16:51 +0000)]
corrected a vicious bug which was easing the resolution

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

17 years agotypo fix
mym [Fri, 3 Nov 2006 14:48:57 +0000 (14:48 +0000)]
typo fix

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

17 years agoincrease switchs diameters and some minor tweaks
mym [Fri, 3 Nov 2006 14:30:02 +0000 (14:30 +0000)]
increase switchs diameters and some minor tweaks

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

17 years agoRemove drawball for real this time and fix an accidental regression.
parasti [Fri, 3 Nov 2006 13:17:17 +0000 (13:17 +0000)]
Remove drawball for real this time and fix an accidental regression.

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

17 years agonew level (hard, bonus): flip-mym
mym [Fri, 3 Nov 2006 12:31:24 +0000 (12:31 +0000)]
new level (hard, bonus): flip-mym

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

17 years agoIncrease max switch value to add a new level
mym [Fri, 3 Nov 2006 12:30:11 +0000 (12:30 +0000)]
Increase max switch value to add a new level

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

17 years agoPO update.
parasti [Thu, 2 Nov 2006 22:57:01 +0000 (22:57 +0000)]
PO update.

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

17 years agoTemporarily remove i18n of screenshot filenames. That'll need more
parasti [Thu, 2 Nov 2006 22:56:24 +0000 (22:56 +0000)]
Temporarily remove i18n of screenshot filenames.  That'll need more
work.

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

17 years agoRemove the drawball variable and the burst of stars that appears at
parasti [Thu, 2 Nov 2006 18:12:43 +0000 (18:12 +0000)]
Remove the drawball variable and the burst of stars that appears at
time-out.

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

17 years agoSubstitute "degrees" for the degree sign, fix grammar, remove some
parasti [Sun, 29 Oct 2006 00:54:26 +0000 (00:54 +0000)]
Substitute "degrees" for the degree sign, fix grammar, remove some
hard-coded tabs.

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

17 years agoRemove byte order mark. Compiler doesn't like it.
parasti [Sun, 29 Oct 2006 00:50:11 +0000 (00:50 +0000)]
Remove byte order mark.  Compiler doesn't like it.

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

17 years agochanged a few awkward phrases in help menus
tonesfrommars [Sun, 29 Oct 2006 00:37:10 +0000 (00:37 +0000)]
changed a few awkward phrases in help menus

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

17 years agoremoved skip entries for goals and 2 goal-special textures from mym1 and mym2
mym [Thu, 26 Oct 2006 08:23:22 +0000 (08:23 +0000)]
removed skip entries for goals and 2 goal-special textures from mym1 and mym2

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

17 years agoAdd a 'win' target to tools/Makefile for cross-compiling.
parasti [Wed, 25 Oct 2006 12:26:54 +0000 (12:26 +0000)]
Add a 'win' target to tools/Makefile for cross-compiling.

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

17 years agoupdate secrets tab: rename tab, remove special goals, add a technique
mym [Wed, 25 Oct 2006 08:19:51 +0000 (08:19 +0000)]
update secrets tab: rename tab, remove special goals, add a technique

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

17 years agoEnable compile time specification of data and locale directories and prefs file
luc [Tue, 24 Oct 2006 12:40:24 +0000 (12:40 +0000)]
Enable compile time specification of data and locale directories and prefs file

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

17 years agoupdate mym's sets to the new special levels definition
mym [Tue, 24 Oct 2006 11:45:15 +0000 (11:45 +0000)]
update mym's sets to the new special levels definition

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

17 years agoeliminated T-intersections and reduced brush count in nostairs-para.map
tonesfrommars [Mon, 23 Oct 2006 01:04:01 +0000 (01:04 +0000)]
eliminated T-intersections and reduced brush count in nostairs-para.map

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

17 years agofixed misaligned texture in wall of mym's circuit1.map
tonesfrommars [Mon, 23 Oct 2006 01:02:26 +0000 (01:02 +0000)]
fixed misaligned texture in wall of mym's circuit1.map

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

17 years agoadd infos in Modes and Secrets tabs
mym [Sun, 22 Oct 2006 13:17:44 +0000 (13:17 +0000)]
add infos in Modes and Secrets tabs

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

17 years agoUpdate Latvian translation.
parasti [Sun, 22 Oct 2006 12:54:30 +0000 (12:54 +0000)]
Update Latvian translation.

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

17 years agoPartially porting revision 609 from the save-replay-i18n branch to trunk
parasti [Sat, 21 Oct 2006 19:08:35 +0000 (19:08 +0000)]
Partially porting revision 609 from the save-replay-i18n branch to trunk
(a fix to demo_play_save()).  Branching practice.

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

17 years agoupdate special goal help shot
mym [Sat, 21 Oct 2006 14:31:20 +0000 (14:31 +0000)]
update special goal help shot

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

17 years agoPO update.
parasti [Sat, 21 Oct 2006 12:38:47 +0000 (12:38 +0000)]
PO update.

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

17 years agoDo not internationalize replay filenames. This is done purely out of
parasti [Sat, 21 Oct 2006 12:37:43 +0000 (12:37 +0000)]
Do not internationalize replay filenames.  This is done purely out of
desperation.  Multibyte characters make the in-game text editor and the
MAXNAM constant unhappy.

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

17 years agoChanges to Easy2 level pyramid-ton.map
tonesfrommars [Sat, 21 Oct 2006 05:39:04 +0000 (05:39 +0000)]
Changes to Easy2 level pyramid-ton.map

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

17 years agoRemoved a smiling face from goal-special.tga...
parasti [Fri, 20 Oct 2006 17:17:41 +0000 (17:17 +0000)]
Removed a smiling face from goal-special.tga...

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

17 years agoPO update.
parasti [Fri, 20 Oct 2006 15:33:20 +0000 (15:33 +0000)]
PO update.

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

17 years agoRemove "Credits" tab from the Help screen. Also rename a bunch of state
parasti [Fri, 20 Oct 2006 15:02:19 +0000 (15:02 +0000)]
Remove "Credits" tab from the Help screen.  Also rename a bunch of state
structures in st_help.c from helpN to somewhat more descriptive names.

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

17 years agoa try to set the Secrets tab of the help screen
mym [Fri, 20 Oct 2006 12:44:44 +0000 (12:44 +0000)]
a try to set the Secrets tab of the help screen

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

17 years agoPO update. Been a loooong while.
parasti [Mon, 16 Oct 2006 20:29:01 +0000 (20:29 +0000)]
PO update.  Been a loooong while.

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

17 years agoDon't provide a default name string. As a side effect this makes ticket
parasti [Mon, 16 Oct 2006 12:42:01 +0000 (12:42 +0000)]
Don't provide a default name string.  As a side effect this makes ticket
#82 (default player name i18n) obsolete.

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

17 years agoupdated URL of forum and table in readme file
tonesfrommars [Mon, 16 Oct 2006 04:59:42 +0000 (04:59 +0000)]
updated URL of forum and table in readme file

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

17 years agoMinor code clean-up.
parasti [Sun, 15 Oct 2006 14:03:14 +0000 (14:03 +0000)]
Minor code clean-up.

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

17 years agoDon't internationalise player name. Temporary solution to ticket #82.
parasti [Sat, 14 Oct 2006 12:44:02 +0000 (12:44 +0000)]
Don't internationalise player name.  Temporary solution to ticket #82.

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

17 years agoRecreate Dev-C++'s democonv project.
parasti [Fri, 13 Oct 2006 14:24:55 +0000 (14:24 +0000)]
Recreate Dev-C++'s democonv project.

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

17 years agoRevert revision [590]. The provided Makefile should be sufficient for
parasti [Fri, 13 Oct 2006 14:06:37 +0000 (14:06 +0000)]
Revert revision [590].  The provided Makefile should be sufficient for
MinGW builds.

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

17 years agoIn convert-replays.bat, use a separate variable for the name of the
parasti [Thu, 12 Oct 2006 15:34:28 +0000 (15:34 +0000)]
In convert-replays.bat, use a separate variable for the name of the
executable.

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

17 years agoSuppress SDL main() substitution and use SDL_endian.h instead of the
parasti [Thu, 12 Oct 2006 10:17:06 +0000 (10:17 +0000)]
Suppress SDL main() substitution and use SDL_endian.h instead of the
deprecated SDL_byteorder.h

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

17 years agoadd a mingw Makefile for the replay converter tool
mym [Thu, 12 Oct 2006 09:38:37 +0000 (09:38 +0000)]
add a mingw Makefile for the replay converter tool

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

17 years agoFix grammar.
parasti [Wed, 11 Oct 2006 16:14:48 +0000 (16:14 +0000)]
Fix grammar.

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

17 years agoSet 'svn:eol-style' to native on tools/README.
parasti [Wed, 11 Oct 2006 16:12:41 +0000 (16:12 +0000)]
Set 'svn:eol-style' to native on tools/README.

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

17 years agoAdd a README in the tools directory. Documents democonv and convert-replays.
parasti [Wed, 11 Oct 2006 15:16:47 +0000 (15:16 +0000)]
Add a README in the tools directory.  Documents democonv and convert-replays.

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

17 years agodemoconv: treat date/time as local time, DST unknown, and do some
parasti [Wed, 11 Oct 2006 12:02:32 +0000 (12:02 +0000)]
democonv:  treat date/time as local time, DST unknown,  and do some
error checks on the format.

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

17 years agoFix indentation.
parasti [Tue, 10 Oct 2006 14:42:29 +0000 (14:42 +0000)]
Fix indentation.

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

17 years agoAlso don't link democonv to SDL in the rest of the world, not just Windows.
parasti [Tue, 10 Oct 2006 13:53:33 +0000 (13:53 +0000)]
Also don't link democonv to SDL in the rest of the world, not just Windows.

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

17 years agoAdd a --prefix option to convert-replays.bat and do some error checking.
parasti [Tue, 10 Oct 2006 13:42:39 +0000 (13:42 +0000)]
Add a --prefix option to convert-replays.bat and do some error checking.

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

17 years agoDon't output convert-replays.bat usage to stderr to keep things simple
parasti [Tue, 10 Oct 2006 11:47:43 +0000 (11:47 +0000)]
Don't output convert-replays.bat usage to stderr to keep things simple
later on.

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

17 years agoDon't include i18n.h with base_config.h, don't link with SDL libs as we
parasti [Tue, 10 Oct 2006 11:43:19 +0000 (11:43 +0000)]
Don't include i18n.h with base_config.h, don't link with SDL libs as we
only need the macro constants, and make convert-replays.bat output
pretty usage message based on output of 'democonv --help'.

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

17 years agoMove usage info to democonv.c, stop messing with enabledelayedexpansion.
parasti [Tue, 10 Oct 2006 09:18:17 +0000 (09:18 +0000)]
Move usage info to democonv.c, stop messing with enabledelayedexpansion.
Some of this is untested stuff and will be for a few more hours.

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

17 years agoUse the delayed environment variable expansion correctly.
parasti [Mon, 9 Oct 2006 20:30:14 +0000 (20:30 +0000)]
Use the delayed environment variable expansion correctly.

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

17 years agoWrap democonv with a convienent but awkward batch file.
parasti [Mon, 9 Oct 2006 20:15:53 +0000 (20:15 +0000)]
Wrap democonv with a convienent but awkward batch file.

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

17 years agoRemove a tab. Was giving me nightmares. :)
parasti [Mon, 9 Oct 2006 15:51:01 +0000 (15:51 +0000)]
Remove a tab.  Was giving me nightmares.  :)

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

17 years agoSet democonv's stdin/stdout to binary mode on Windows. Add a Dev-C++
parasti [Mon, 9 Oct 2006 12:10:30 +0000 (12:10 +0000)]
Set democonv's stdin/stdout to binary mode on Windows.  Add a Dev-C++
project file for the replay converter.  I'm too lazy to set up MinGW.

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

17 years agoChange the parameter of demo_exists() to const.
parasti [Mon, 9 Oct 2006 11:27:31 +0000 (11:27 +0000)]
Change the parameter of demo_exists() to const.

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

17 years agoA somewhat more intelligent approach to copying the raw replay data.
parasti [Mon, 9 Oct 2006 10:48:50 +0000 (10:48 +0000)]
A somewhat more intelligent approach to copying the raw replay data.

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

17 years agoMake the democonv functions static.
parasti [Mon, 9 Oct 2006 08:58:27 +0000 (08:58 +0000)]
Make the democonv functions static.

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

17 years agoAdd a "tools" subdirectory and put the initial mock-up of the demo
parasti [Mon, 9 Oct 2006 02:13:18 +0000 (02:13 +0000)]
Add a "tools" subdirectory and put the initial mock-up of the demo
converter in there.  Likely to not work on Windows, because they prefer
to make a distinction between text mode and binary mode.  Enough hacking
for today.

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

17 years agoCertain asset filenames are loaded from the solid data, so don't store
parasti [Sun, 8 Oct 2006 18:00:59 +0000 (18:00 +0000)]
Certain asset filenames are loaded from the solid data, so don't store
'em in the replays.

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

17 years agoChange a "magic number" to a preprocessor macro. Also don't store and
parasti [Sun, 8 Oct 2006 17:46:58 +0000 (17:46 +0000)]
Change a "magic number" to a preprocessor macro.  Also don't store and
retrieve Neverball version to/from replays.

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

17 years agoDo not display file name of the level at replay selection.
parasti [Sun, 8 Oct 2006 17:14:44 +0000 (17:14 +0000)]
Do not display file name of the level at replay selection.

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

17 years agoIsolate basename stuff in a completely separate function bname(),
parasti [Sun, 8 Oct 2006 16:47:58 +0000 (16:47 +0000)]
Isolate basename stuff in a completely separate function bname(),
getting rid of the "middle man" demo_header_open().

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

17 years agoOn Windows, when renaming Last to the destination filename, check if the
parasti [Wed, 27 Sep 2006 12:17:25 +0000 (12:17 +0000)]
On Windows, when renaming Last to the destination filename, check if the
destination exists and, if yes, try to remove it first.  Fix:  #27.

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

17 years agoFix a small bug in the Windows portion of config_user_path().
parasti [Tue, 26 Sep 2006 23:38:37 +0000 (23:38 +0000)]
Fix a small bug in the Windows portion of config_user_path().

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

17 years agoPut all the time conversion operations in a separate function, a kind of
parasti [Wed, 20 Sep 2006 18:19:21 +0000 (18:19 +0000)]
Put all the time conversion operations in a separate function, a kind of
a gmtime() inverse which the library unfortunately does not provide.

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

17 years agoReuse a variable in date_to_str(). It also appears to make a bit more
parasti [Mon, 18 Sep 2006 20:56:31 +0000 (20:56 +0000)]
Reuse a variable in date_to_str().  It also appears to make a bit more
sense that way.

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

17 years agoUse mktime() to normalize the computed local time structure. HACK
parasti [Mon, 18 Sep 2006 20:37:31 +0000 (20:37 +0000)]
Use mktime() to normalize the computed local time structure.  HACK
ALERT!

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

17 years agoMinor simplification of code in date_to_str().
parasti [Mon, 18 Sep 2006 18:02:09 +0000 (18:02 +0000)]
Minor simplification of code in date_to_str().

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

17 years agoStore replay date/time as an ISO 8601 formatted string. This involves
parasti [Mon, 18 Sep 2006 17:51:34 +0000 (17:51 +0000)]
Store replay date/time as an ISO 8601 formatted string.  This involves
some hackery to get the correct local time, but solves several issues
with the current implementation which stores a time_t value cast to an
integer, namely type-punning and different representations of time_t
across different platforms.

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

17 years agoAdd SVG icons for both Ball and Putt. Huge thanks to Cheeseness!
parasti [Mon, 11 Sep 2006 14:54:09 +0000 (14:54 +0000)]
Add SVG icons for both Ball and Putt.  Huge thanks to Cheeseness!

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

17 years agoRemove the msvc subdirectory because it's heavily outdated and
parasti [Thu, 7 Sep 2006 21:29:08 +0000 (21:29 +0000)]
Remove the msvc subdirectory because it's heavily outdated and
completely unmaintained.  Also remove a redundant copyright template.

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

17 years agoClean up the AUTHORS file a bit.
parasti [Thu, 7 Sep 2006 21:24:26 +0000 (21:24 +0000)]
Clean up the AUTHORS file a bit.

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

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