neverball
16 years agoTexture cleanup (part 1)
elviz [Wed, 19 Sep 2007 20:39:19 +0000 (20:39 +0000)]
Texture cleanup (part 1)

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

16 years agoAdded a shell script that generates a dependency Makefile for a given
parasti [Wed, 19 Sep 2007 01:11:48 +0000 (01:11 +0000)]
Added a shell script that generates a dependency Makefile for a given
map.  (Not really useful nor used for anything at the moment.)

Fixed OBJ paths in map-misc/thwomp1.map to use Unix path delimiters.
The models would not show up otherwise.

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

16 years agoModified the automatic dependency generation to use a variant of an old
parasti [Wed, 19 Sep 2007 00:59:27 +0000 (00:59 +0000)]
Modified the automatic dependency generation to use a variant of an old
method developed by Tom Tromey and found on Paul D. Smith's GNU Make web
site[1].  This should fix problems caused by missing header files being
referenced from dependency Makefiles.

[1] http://make.mad-scientist.us/autodep.html

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

16 years agomap-mym(2): remove blue/brown coin pads
mym [Tue, 18 Sep 2007 18:48:25 +0000 (18:48 +0000)]
map-mym(2): remove blue/brown coin pads

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

16 years agoMoved most of the score manipulation functions into ball/score.
parasti [Mon, 17 Sep 2007 23:40:25 +0000 (23:40 +0000)]
Moved most of the score manipulation functions into ball/score.

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

16 years agoPatch from Lars Stoltenow (Penma) that adds a "--debug" option to mapc.
parasti [Mon, 17 Sep 2007 17:27:15 +0000 (17:27 +0000)]
Patch from Lars Stoltenow (Penma) that adds a "--debug" option to mapc.
Useful (and should only be used) for testing huge maps that take a long
time to compile at the cost of generating inefficient output.

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

16 years agoDev-C++ update from CSY.
parasti [Sat, 15 Sep 2007 01:49:34 +0000 (01:49 +0000)]
Dev-C++ update from CSY.

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

16 years agoMoved some "game mode" related stuff into ball/mode and removed the
parasti [Sat, 15 Sep 2007 00:26:06 +0000 (00:26 +0000)]
Moved some "game mode" related stuff into ball/mode and removed the
"mode" setting from neverballrc.  (The latter change is pretty much as
in r1050.)

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

16 years agoChanged some C++ style comments to C style comments.
jammnrose [Thu, 13 Sep 2007 03:12:03 +0000 (03:12 +0000)]
Changed some C++ style comments to C style comments.

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

16 years agoUpdated putt's main.c to fix the icon issue.
jammnrose [Thu, 13 Sep 2007 00:42:23 +0000 (00:42 +0000)]
Updated putt's main.c to fix the icon issue.

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

16 years agoUpdated plist files so icons attach properly when building in Mac.
jammnrose [Thu, 13 Sep 2007 00:18:26 +0000 (00:18 +0000)]
Updated plist files so icons attach properly when building in Mac.

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

16 years agoUpdated main.c with a conditional for Mac. Now the icon in the dock will stay as...
jammnrose [Thu, 13 Sep 2007 00:09:41 +0000 (00:09 +0000)]
Updated main.c with a conditional for Mac. Now the icon in the dock will stay as it should instead of switching to a png version.
Updated xcodeproj with some minor script improvements.

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

16 years agoPO update.
parasti [Wed, 12 Sep 2007 20:56:19 +0000 (20:56 +0000)]
PO update.

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

16 years agoRemoved superfluous make recursion and simplified things a bit.
parasti [Wed, 12 Sep 2007 20:27:08 +0000 (20:27 +0000)]
Removed superfluous make recursion and simplified things a bit.

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

16 years agoMade internationalisation optional; to compile the game without I18N,
parasti [Tue, 11 Sep 2007 23:58:30 +0000 (23:58 +0000)]
Made internationalisation optional;  to compile the game without I18N,
use "make DISABLE_NLS=1".  I moved most of the gettext-related Makefile
stuff to po/Makefile and added a couple of the more useful ("standard"?)
features found in autotools-based packages:  support for the LINGUAS
environment variable and the "update-po" target.

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

16 years agoUpdated xcodeproj for lang.c/.h again. Updated some various scripts within the xcodep...
jammnrose [Tue, 11 Sep 2007 13:02:00 +0000 (13:02 +0000)]
Updated xcodeproj for lang.c/.h again. Updated some various scripts within the xcodeproj to correctly set icons and backgrounds.

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

16 years agoUpdates to the xcodeproj because i18n.c/.h was changed to lang.c/.h.
jammnrose [Tue, 11 Sep 2007 04:30:27 +0000 (04:30 +0000)]
Updates to the xcodeproj because i18n.c/.h was changed to lang.c/.h.
Added shell script to simplify moving need libraries and tools. The two files you still need to manually add are SDLMain.h and SDLMain.m.

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

16 years agoSee r1115, I forgot to actually commit the files.
jammnrose [Tue, 11 Sep 2007 03:47:12 +0000 (03:47 +0000)]
See r1115, I forgot to actually commit the files.

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

16 years agoUpdated Mac icns files. Updated some scripts within the .xcodeproj to work correctly...
jammnrose [Tue, 11 Sep 2007 03:46:08 +0000 (03:46 +0000)]
Updated Mac icns files. Updated some scripts within the .xcodeproj to work correctly again.

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

16 years agoUpdated Dev-C++ project files. Patch provided by Challenge Space Yard.
parasti [Sun, 9 Sep 2007 19:19:40 +0000 (19:19 +0000)]
Updated Dev-C++ project files.  Patch provided by Challenge Space Yard.

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

16 years agoFixed a "simple" make variable being referenced without having a
parasti [Sun, 9 Sep 2007 12:37:10 +0000 (12:37 +0000)]
Fixed a "simple" make variable being referenced without having a
definition.

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

16 years agoFixed a minor inconsistency.
parasti [Sun, 9 Sep 2007 01:21:18 +0000 (01:21 +0000)]
Fixed a minor inconsistency.

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

16 years agoMakefile clean-up. This is actually the first batch of changes related
parasti [Sun, 9 Sep 2007 01:14:53 +0000 (01:14 +0000)]
Makefile clean-up.  This is actually the first batch of changes related
to the optional I18N stuff (ticket #114), but I somehow ended up
reorganising the whole file.

Makefile.mingw has been merged with the main Makefile.  Use "cross-make
MINGW=1".

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

16 years agoPainfully renamed share/i18n to share/lang.
parasti [Sat, 8 Sep 2007 23:01:55 +0000 (23:01 +0000)]
Painfully renamed share/i18n to share/lang.

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

16 years agoUpdated code to point to the current title.sol location and removed the
parasti [Sat, 8 Sep 2007 22:34:46 +0000 (22:34 +0000)]
Updated code to point to the current title.sol location and removed the
duplicate SOL.

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

16 years agoEntirely undid revision 1099. I think at the moment we're better off
parasti [Sat, 8 Sep 2007 22:30:35 +0000 (22:30 +0000)]
Entirely undid revision 1099.  I think at the moment we're better off
this way.  It seems that the physics stuff is in need of significantly
more attention than this.

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

16 years agoFixed a potential buffer overflow in make_dict and added dictionary
parasti [Sat, 8 Sep 2007 20:52:13 +0000 (20:52 +0000)]
Fixed a potential buffer overflow in make_dict and added dictionary
count to mapc output.

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

16 years agoMerge r739:1104 from the s_dict branch.
parasti [Sat, 8 Sep 2007 00:40:17 +0000 (00:40 +0000)]
Merge r739:1104 from the s_dict branch.

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

16 years agoUpdated the xcode project so it works will some of the recent path changes, code...
jammnrose [Thu, 6 Sep 2007 16:50:12 +0000 (16:50 +0000)]
Updated the xcode project so it works will some of the recent path changes, code change, etc...

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

16 years agoSet svn:eol-style property to native for Dev-C++ project files.
parasti [Sun, 2 Sep 2007 19:15:49 +0000 (19:15 +0000)]
Set svn:eol-style property to native for Dev-C++ project files.

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

16 years agoApplied a patch from Challenge Space Yard that should bring the Dev-C++
parasti [Sun, 2 Sep 2007 19:09:31 +0000 (19:09 +0000)]
Applied a patch from Challenge Space Yard that should bring the Dev-C++
project files up-to-date.

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

16 years agoAdded a default VERSION macro.
parasti [Sat, 1 Sep 2007 20:39:10 +0000 (20:39 +0000)]
Added a default VERSION macro.

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

16 years agoUndid revision 1099 (dt scaling mods) for Neverputt. Need to be damn
parasti [Mon, 27 Aug 2007 20:36:51 +0000 (20:36 +0000)]
Undid revision 1099 (dt scaling mods) for Neverputt.  Need to be damn
sure about it first.

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

16 years agoApplied my "bidirectional dt scaling" patch. Accordingly, the game can
parasti [Sat, 25 Aug 2007 21:52:34 +0000 (21:52 +0000)]
Applied my "bidirectional dt scaling" patch.  Accordingly, the game can
now not only perform multiple physics updates for a single graphics
update but also skip physics updates if the graphics updates happen too
often.  Closes ticket #101.

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

16 years agoFixed a bug where ball kept changing size if the game was restarted
parasti [Tue, 21 Aug 2007 15:03:42 +0000 (15:03 +0000)]
Fixed a bug where ball kept changing size if the game was restarted
during grow/shrink stage.  Closes ticket #112.

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

16 years agoLanguage selection in-game is no more. It might return some day, but
parasti [Fri, 17 Aug 2007 14:13:51 +0000 (14:13 +0000)]
Language selection in-game is no more.  It might return some day, but
the implementation was really bothering me.  We were using putenv to
change the language (which didn't work on Windows anyway) and, more
importantly, we entirely broke the semantics of the LANGUAGE environment
variable.  You can find information on that in the ABOUT-NLS file
distributed with gettext.  (/usr/share/gettext/ABOUT-NLS on Debian.)

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

16 years agoStill not quite happy with the Makefiles.
parasti [Sun, 5 Aug 2007 14:00:30 +0000 (14:00 +0000)]
Still not quite happy with the Makefiles.

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

16 years agoFixed function headers that were strangely missing parameter types and
parasti [Wed, 1 Aug 2007 16:09:21 +0000 (16:09 +0000)]
Fixed function headers that were strangely missing parameter types and
changed Makefile to make use of CFLAGS from the environment.

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

16 years agoDiscovered svnversion...
parasti [Sun, 29 Jul 2007 12:34:55 +0000 (12:34 +0000)]
Discovered svnversion...

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

16 years agoTypo.
parasti [Sat, 28 Jul 2007 11:46:23 +0000 (11:46 +0000)]
Typo.

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

16 years agoMore Windows crap...
parasti [Fri, 27 Jul 2007 22:36:25 +0000 (22:36 +0000)]
More Windows crap...

Start menu shortcuts are now installed in Neverball instead of Games.

Added replay converter to the installer.  There's no special option for
that, it's installed unconditionally with the rest of the game.

Added launcher batch files for neverball, neverputt and mapc.  Along
with the replay converter and the wrapper convert-replays batch file,
these are all installed in a subdirectory called "bin".  It's a bit of a
mess, though;  the main binaries and dynamic libraries are still in the
top directory.  I (and maybe a handful of other people) still get a nice
clean directory to add to PATH and the rest can still carelessly click
the executable files placed in an obvious location and not see any
console windows flashing by.

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

16 years agoRemoved svn:executable prop from some files.
parasti [Fri, 27 Jul 2007 16:17:45 +0000 (16:17 +0000)]
Removed svn:executable prop from some files.

Changed language_init to check the NEVERBALL_LOCALE environment variable
and use the hard-coded default location as a fall-back.  Useful for
shell scripts.

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

16 years agoneverball.nsi: changed "create shortcuts" label to simply "shortcuts".
parasti [Sat, 21 Jul 2007 19:51:26 +0000 (19:51 +0000)]
neverball.nsi:  changed "create shortcuts" label to simply "shortcuts".

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

16 years agoUpdate neverball.nsi to use the new icons (basic).
parasti [Thu, 19 Jul 2007 19:00:22 +0000 (19:00 +0000)]
Update neverball.nsi to use the new icons (basic).

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

16 years agoPerform some clean-up actions when exiting level from the intro screen,
parasti [Thu, 19 Jul 2007 18:24:15 +0000 (18:24 +0000)]
Perform some clean-up actions when exiting level from the intro screen,
in particular close the replay file if it is open.  This is probably
what was causing subsequent attempts to save replays fail mysteriously
on Windows.  (See ticket #108.)

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

16 years agoChanged tools/Makefile to justify the directory name, which is "tools",
parasti [Thu, 19 Jul 2007 17:46:43 +0000 (17:46 +0000)]
Changed tools/Makefile to justify the directory name, which is "tools",
not "tool".

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

16 years agoRemoved old unmaintained man pages.
parasti [Thu, 19 Jul 2007 13:46:58 +0000 (13:46 +0000)]
Removed old unmaintained man pages.

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

16 years agoChanged ico files again. Used the recommended settings in IcoFX for the sizes. Now...
jammnrose [Thu, 19 Jul 2007 06:11:35 +0000 (06:11 +0000)]
Changed ico files again. Used the recommended settings in IcoFX for the sizes. Now using the svg images as well. The putt version is a combination between the plain red ball and cheese's putter (his ball wasn't the same). This is for continuity. The neverball replay icon will need to be redone at some point as well.

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

16 years agoRestore the cheat setting in neverballrc.
lorant [Wed, 18 Jul 2007 16:50:37 +0000 (16:50 +0000)]
Restore the cheat setting in neverballrc.

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

16 years agoMake "restart" go to the "Ready" stage (rather than "Set").
lorant [Wed, 18 Jul 2007 15:38:12 +0000 (15:38 +0000)]
Make "restart" go to the "Ready" stage (rather than "Set").

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

16 years agoAdd the "force-quit" feature to neverball replays and neverputt.
lorant [Wed, 18 Jul 2007 11:19:03 +0000 (11:19 +0000)]
Add the "force-quit" feature to neverball replays and neverputt.

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

16 years agoDeleted some old files.
jammnrose [Wed, 18 Jul 2007 05:02:03 +0000 (05:02 +0000)]
Deleted some old files.

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

16 years agoAdded new ico's; new sizes as well as basic sizes. Added cheese's svg(beta [still...
jammnrose [Wed, 18 Jul 2007 04:58:09 +0000 (04:58 +0000)]
Added new ico's; new sizes as well as basic sizes. Added cheese's svg(beta [still needs work IMO]) of the neverputt logo.

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

16 years agoBug-fix: pause during the ready/set stage could cause "inter.ogg" to be played in...
lorant [Tue, 17 Jul 2007 10:44:31 +0000 (10:44 +0000)]
Bug-fix: pause during the ready/set stage could cause "inter.ogg" to be played in game.

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

16 years agoMerged source:branches/pause (revisions 954:1064) into trunk (replace the old pause...
lorant [Mon, 16 Jul 2007 17:52:14 +0000 (17:52 +0000)]
Merged source:branches/pause (revisions 954:1064) into trunk (replace the old pause screen).

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

16 years agoMerged changeset [1052] from source:branches/config-fix (make the tilting keys config...
lorant [Mon, 16 Jul 2007 09:56:15 +0000 (09:56 +0000)]
Merged changeset [1052] from source:branches/config-fix (make the tilting keys configurable).

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

16 years agoMerged changesets [1048] and [1049] from source:branches/config-fix into trunk (chang...
lorant [Mon, 16 Jul 2007 09:33:53 +0000 (09:33 +0000)]
Merged changesets [1048] and [1049] from source:branches/config-fix into trunk (change default camera rotation keys to 'S' and 'D', and remove cheat setting from neverballrc).

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

16 years agoMerged changeset [1047] from source:branches/config-fix into trunk (use any modifiers...
lorant [Mon, 16 Jul 2007 09:17:16 +0000 (09:17 +0000)]
Merged changeset [1047] from source:branches/config-fix into trunk (use any modifiers for fast camera rotation).

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

16 years agoMerged changeset [1046] from source:branches/config-fix into trunk (fix broken keybin...
lorant [Mon, 16 Jul 2007 09:05:14 +0000 (09:05 +0000)]
Merged changeset [1046] from source:branches/config-fix into trunk (fix broken keybindings configuration).

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

16 years agoMinor neverball.nsi + Makefile.mingw clean-up.
parasti [Sun, 15 Jul 2007 14:35:29 +0000 (14:35 +0000)]
Minor neverball.nsi + Makefile.mingw clean-up.

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

16 years agoshaker: fixed misaligned goal entity
mym [Sun, 15 Jul 2007 06:51:57 +0000 (06:51 +0000)]
shaker: fixed misaligned goal entity

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

16 years agoThe installer now automatically installs/uninstalls the game for all
parasti [Sun, 15 Jul 2007 00:19:23 +0000 (00:19 +0000)]
The installer now automatically installs/uninstalls the game for all
users if run from an administrator account.  It's not perfect, but...
riiiight, this is Windows we're talking about!

Added option to install desktop shortcuts.

Added some registry stuff for the "Add or Remove programs" panel.  The
game shows up in the list, can be removed, has version info, has links
to web sites, and an icon alongside.

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

16 years agoNSIS: changed main section's title to "Neverball/Neverputt".
parasti [Fri, 13 Jul 2007 21:33:19 +0000 (21:33 +0000)]
NSIS:  changed main section's title to "Neverball/Neverputt".

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

16 years agoMostly additions to the NSIS script: split the hidden section into a
parasti [Fri, 13 Jul 2007 21:31:39 +0000 (21:31 +0000)]
Mostly additions to the NSIS script:  split the hidden section into a
"main" section and a selectable (on by default) "mapping" section that
installs mapc and friends;  added a "Start menu shortcuts" section.

Added target-specific LDFLAGS for the setup target in Makefile.mingw to
strip the binaries.

Changed main Makefile a little just for the heck of it.

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

16 years agoChanged gen-install-dlls script to use MINGW_PREFIX env var instead of
parasti [Thu, 12 Jul 2007 19:25:02 +0000 (19:25 +0000)]
Changed gen-install-dlls script to use MINGW_PREFIX env var instead of
PREFIX.  The latter might already be used for other stuff.

Makefile clean-up (again).  Incorporated LDFLAGS into the main Makefile.

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

16 years agoMakefile.mingw mods: removed the native target ("make mingw-all WINE="
parasti [Thu, 12 Jul 2007 09:38:51 +0000 (09:38 +0000)]
Makefile.mingw mods:  removed the native target ("make mingw-all WINE="
does the same);  made install-dlls a prerequisite of SOLs (fails anyway,
but in a more informative manner);  added a crude clean-setup target to
undo the mess created by setup.

Simplified WINE invocation a bit.

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

16 years agoApplied a fix to the NSIS script and modified Makefiles a bit to make
parasti [Wed, 11 Jul 2007 22:37:08 +0000 (22:37 +0000)]
Applied a fix to the NSIS script and modified Makefiles a bit to make
compilation on MSYS less of a pain.  To create the Windows installer in
MSYS, use "make mingw-setup PREFIX=/mingw WINE= TODOS=echo" (note that
WINE is set to empty), then edit the install-dlls.sh script, and execute
the make command again.  This is a somewhat temporary solution;  the
TODOS stuff still needs to be sorted out.

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

16 years agoRemoved a superfluous period for pretty-printing. Would give me
parasti [Wed, 11 Jul 2007 20:41:21 +0000 (20:41 +0000)]
Removed a superfluous period for pretty-printing.  Would give me
nightmares for sure.

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

16 years agoFixed a problem with Makefile.mingw where make wasn't rebuilding targets
parasti [Wed, 11 Jul 2007 16:47:51 +0000 (16:47 +0000)]
Fixed a problem with Makefile.mingw where make wasn't rebuilding targets
properly.

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

16 years agoMore Windows installer stuff. The basic frame work should now be fully
parasti [Wed, 11 Jul 2007 13:06:59 +0000 (13:06 +0000)]
More Windows installer stuff.  The basic frame work should now be fully
usable.  (Might be buggy, though.)  To create a Windows installer in a
properly set-up cross-compilation environment you'll need NSIS and
Tofrodos (in Debian-speak:  "apt-get install nsis tofrodos").  Run
"cross-make -f Makefile.mingw setup" and follow the instructions (if
any).  The generated installer is placed in "..".

Also added a small hack to the main Makefile to allow running
"cross-make mingw-blahblah" nstead of "cross-make -f Makefile.mingw
blahblah".

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

16 years agoSomewhat localised game's version stuff to the Makefile. The Makefile
parasti [Wed, 11 Jul 2007 02:13:32 +0000 (02:13 +0000)]
Somewhat localised game's version stuff to the Makefile.  The Makefile
uses a small shell script to construct a suitable version string
("dev-r1234").  If that doesn't work, make fails.  The version can of
course also be set as any make variable, which is what you'd do if the
script failed or it's the release time.  (Yeah, right...)

I'm not really happy with how it works, but I guess it does what I want:
intelligent versioning for development builds;  complains loudly enough
for someone to make the effort and actually update it;  makes (will
make) the NSIS script version aware in a simple fashion.

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

16 years agoMoved files around. MANUAL, AUTHORS and TRANSLATIONS now reside in a
parasti [Tue, 10 Jul 2007 16:55:05 +0000 (16:55 +0000)]
Moved files around.  MANUAL, AUTHORS and TRANSLATIONS now reside in a
separate "doc" subdirectory, and maintenance scripts -- in "scripts".

Also added a preliminary NSIS script for the Windows installer stuff.
It's quite useless at the moment, but it could use some version control.

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

16 years agoRemoved Makefile.fink.
parasti [Tue, 10 Jul 2007 16:34:25 +0000 (16:34 +0000)]
Removed Makefile.fink.

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

16 years agoChanged config_user_path to check the APPDATA environment variable under
parasti [Mon, 9 Jul 2007 19:30:22 +0000 (19:30 +0000)]
Changed config_user_path to check the APPDATA environment variable under
Windows and, if it exists, create the config directory there.  Otherwise
just fall back to the old behaviour.  (Based loosely on the assumption
that if APPDATA doesn't exist, the user is probably using some archaic
version of Windows.)  Also, under Windows the config directory is now
called "Neverball" (or "Neverball-dev").  Effectively it is now located
either at "%APPDATA%\Neverball" or "data\Neverball".

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

16 years agoFixed a nasty but minor bug in config_user_path. EEXIST was being
parasti [Mon, 9 Jul 2007 16:37:36 +0000 (16:37 +0000)]
Fixed a nasty but minor bug in config_user_path.  EEXIST was being
assigned to errno instead of being compared.

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

16 years agoChanged back Makefile.mingw to compile maps with "wine mapc.exe" by
parasti [Sun, 8 Jul 2007 15:02:42 +0000 (15:02 +0000)]
Changed back Makefile.mingw to compile maps with "wine mapc.exe" by
default.  Compile on MSYS with "make -f Makefile.mingw native".

Added support for user-suplied CPPFLAGS to Makefile in order to simplify
and share some code between cross-make and cross-configure scripts.

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

16 years agocircuit1: increase goal's blocker speed
mym [Sun, 8 Jul 2007 05:45:30 +0000 (05:45 +0000)]
circuit1: increase goal's blocker speed

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

16 years agoMoved the call to Mix_CloseAudio after Mix_FreeChunk, as advised by the
parasti [Sun, 8 Jul 2007 02:48:37 +0000 (02:48 +0000)]
Moved the call to Mix_CloseAudio after Mix_FreeChunk, as advised by the
SDL_mixer docs.

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

16 years agoMoved libpng-config stuff to the main Makefile and modified (hacked
parasti [Sun, 8 Jul 2007 02:41:41 +0000 (02:41 +0000)]
Moved libpng-config stuff to the main Makefile and modified (hacked
actually) Makefile.mingw to get it to work in my cross-compilation
environment.

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

17 years agoPO update + Norwegian Nynorsk translation. (Thanks, huftis!)
parasti [Sat, 30 Jun 2007 19:06:02 +0000 (19:06 +0000)]
PO update + Norwegian Nynorsk translation.  (Thanks, huftis!)

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

17 years agoModified extractpo.sh to be usable in MSYS.
parasti [Thu, 28 Jun 2007 17:35:42 +0000 (17:35 +0000)]
Modified extractpo.sh to be usable in MSYS.

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

17 years agobackforth: fixed mistakenly invisible textures
mym [Thu, 28 Jun 2007 05:15:17 +0000 (05:15 +0000)]
backforth: fixed mistakenly invisible textures

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

17 years agoReverted a tiny change in handling executable extensions. 'make clean'
parasti [Thu, 28 Jun 2007 00:17:32 +0000 (00:17 +0000)]
Reverted a tiny change in handling executable extensions.  'make clean'
had stopped working properly.

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

17 years agoAdjusted Makefile and Makefile.mingw to allow compilation on both a
parasti [Wed, 27 Jun 2007 19:20:39 +0000 (19:20 +0000)]
Adjusted Makefile and Makefile.mingw to allow compilation on both a
cross-compilation and a native MinGW environment.  Might have broken
something.

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

17 years agomedium and hard sets: levels order tweaks
mym [Sun, 17 Jun 2007 17:44:50 +0000 (17:44 +0000)]
medium and hard sets: levels order tweaks

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

17 years agomove mazebump to easy V, shift other bonus levels, update shots, move hurdles to...
mym [Sat, 16 Jun 2007 16:47:56 +0000 (16:47 +0000)]
move mazebump to easy V, shift other bonus levels, update shots, move hurdles to misc

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

17 years agomazebumps: new caution texture utilization
mym [Sat, 16 Jun 2007 16:37:25 +0000 (16:37 +0000)]
mazebumps: new caution texture utilization

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

17 years agoround corners for bumper paths
mym [Thu, 14 Jun 2007 21:30:31 +0000 (21:30 +0000)]
round corners for bumper paths

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

17 years agomazebump: new textures and bumper speeds
mym [Thu, 14 Jun 2007 18:04:01 +0000 (18:04 +0000)]
mazebump: new textures and bumper speeds

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

17 years agoFixed white dot in empty GUI labels. (next-power-of-two function wasn't
rlk [Tue, 12 Jun 2007 14:46:39 +0000 (14:46 +0000)]
Fixed white dot in empty GUI labels.  (next-power-of-two function wasn't
handling zero correctly)

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

17 years agomazebump: new easy bonus level ?
mym [Tue, 12 Jun 2007 04:27:42 +0000 (04:27 +0000)]
mazebump: new easy bonus level ?

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

17 years agodance2: texture modifications
mym [Thu, 7 Jun 2007 07:15:07 +0000 (07:15 +0000)]
dance2: texture modifications

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

17 years agoroundcoins, thwomp2: texture tweaks
mym [Mon, 4 Jun 2007 20:11:24 +0000 (20:11 +0000)]
roundcoins, thwomp2: texture tweaks

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

17 years agohallways: new textures, add coin pads
mym [Sat, 2 Jun 2007 15:33:54 +0000 (15:33 +0000)]
hallways: new textures, add coin pads

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

17 years agomodify set-medium.txt
tonesfrommars [Sat, 2 Jun 2007 00:20:45 +0000 (00:20 +0000)]
modify set-medium.txt

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

17 years agorename med. level pyramid to "accordian.map"
tonesfrommars [Fri, 1 Jun 2007 22:23:06 +0000 (22:23 +0000)]
rename med. level pyramid to "accordian.map"

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

17 years agocorrect metadata for pyramid-ton
tonesfrommars [Fri, 1 Jun 2007 22:21:59 +0000 (22:21 +0000)]
correct metadata for pyramid-ton

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

17 years agomedium set: move telemaze and qbert after easytele
mym [Fri, 1 Jun 2007 07:43:39 +0000 (07:43 +0000)]
medium set: move telemaze and qbert after easytele

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

17 years agomedium set: improve levels coherence
mym [Thu, 31 May 2007 21:04:07 +0000 (21:04 +0000)]
medium set: improve levels coherence

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

17 years agoRemoved a supposed fix for rename failing on Windows if the destination
parasti [Wed, 30 May 2007 12:51:26 +0000 (12:51 +0000)]
Removed a supposed fix for rename failing on Windows if the destination
exists.  This is guess-work.  Replay saving is horribly broken on
Windows, maybe this is why.

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