neverball
16 years agoslalom.map: Made rails smoother
elviz [Tue, 10 Jun 2008 22:32:33 +0000 (22:32 +0000)]
slalom.map: Made rails smoother

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

16 years agofence.map: Corrected position of post
elviz [Tue, 10 Jun 2008 22:22:52 +0000 (22:22 +0000)]
fence.map: Corrected position of post

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

16 years agoMerged accurate-goals branch
elviz [Tue, 10 Jun 2008 21:34:09 +0000 (21:34 +0000)]
Merged accurate-goals branch

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

16 years agosparselines.map: Made round elements smoother
elviz [Tue, 10 Jun 2008 21:16:02 +0000 (21:16 +0000)]
sparselines.map: Made round elements smoother

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

16 years agohardrise.map: Rounded rails
elviz [Tue, 10 Jun 2008 20:38:05 +0000 (20:38 +0000)]
hardrise.map: Rounded rails

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

16 years agoairways.map: Made round elements smoother
elviz [Tue, 10 Jun 2008 18:50:38 +0000 (18:50 +0000)]
airways.map: Made round elements smoother

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

16 years agoPO update
parasti [Tue, 10 Jun 2008 15:18:15 +0000 (15:18 +0000)]
PO update

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

16 years agoHack share/item to use OBJ geometry
parasti [Tue, 10 Jun 2008 15:17:56 +0000 (15:17 +0000)]
Hack share/item to use OBJ geometry

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

16 years agoAdd item models
parasti [Tue, 10 Jun 2008 15:17:41 +0000 (15:17 +0000)]
Add item models

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

16 years agoMove item-related functions into a separate module
parasti [Tue, 10 Jun 2008 15:17:18 +0000 (15:17 +0000)]
Move item-related functions into a separate module

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

16 years agoeuro_coin.png, coin-no.png: flip vertically/horizontally
parasti [Tue, 10 Jun 2008 14:47:51 +0000 (14:47 +0000)]
euro_coin.png, coin-no.png: flip vertically/horizontally

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

16 years agoUpdate Latvian translation
parasti [Tue, 10 Jun 2008 14:06:17 +0000 (14:06 +0000)]
Update Latvian translation

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

16 years agoPO update
parasti [Tue, 10 Jun 2008 14:06:05 +0000 (14:06 +0000)]
PO update

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

16 years agoImplement simple material localisation system
parasti [Tue, 10 Jun 2008 14:05:47 +0000 (14:05 +0000)]
Implement simple material localisation system

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

16 years agoring.map: Made curve smoother
elviz [Tue, 10 Jun 2008 13:35:28 +0000 (13:35 +0000)]
ring.map: Made curve smoother

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

16 years agohump.map: Made curves smoother
elviz [Tue, 10 Jun 2008 03:23:29 +0000 (03:23 +0000)]
hump.map: Made curves smoother

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

16 years agospiralin.map: Made curves smoother
elviz [Tue, 10 Jun 2008 02:34:48 +0000 (02:34 +0000)]
spiralin.map: Made curves smoother

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

16 years agopaths.map: Made curves smoother
elviz [Tue, 10 Jun 2008 02:12:42 +0000 (02:12 +0000)]
paths.map: Made curves smoother

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

16 years agopoker.map: Made cones smoother
elviz [Tue, 10 Jun 2008 01:50:03 +0000 (01:50 +0000)]
poker.map: Made cones smoother

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

16 years agoquads.map: Made rounded corners smoother
elviz [Mon, 9 Jun 2008 23:48:51 +0000 (23:48 +0000)]
quads.map: Made rounded corners smoother

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

16 years agocurbs.map: Made rounded corners smoother
elviz [Mon, 9 Jun 2008 23:11:31 +0000 (23:11 +0000)]
curbs.map: Made rounded corners smoother

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

16 years agoAdd a map for texture transform testing
parasti [Mon, 9 Jun 2008 21:52:58 +0000 (21:52 +0000)]
Add a map for texture transform testing

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

16 years agoVertically flip basic-ball.png and eyeball.png
parasti [Mon, 9 Jun 2008 21:52:47 +0000 (21:52 +0000)]
Vertically flip basic-ball.png and eyeball.png

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

16 years agoInvert vertical texture coordinates in a few OBJs
parasti [Mon, 9 Jun 2008 21:52:32 +0000 (21:52 +0000)]
Invert vertical texture coordinates in a few OBJs

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

16 years agoload_surface: flip image vertically before creating surface
parasti [Mon, 9 Jun 2008 21:52:13 +0000 (21:52 +0000)]
load_surface: flip image vertically before creating surface

In load_surface, the "upside down" image obtained from image_load is
flipped back into a "non-upside down" state.  A more efficient approach
would probably be passing additional parameters to image_load to prevent
flipping in the first place, but I opted for this less-intrusive change
because load_surface is currently used only once during run time and for
a single purpose:  to load a window manager icon usable by SDL.

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

16 years agoNew function to flip images horizontally/vertically
parasti [Mon, 9 Jun 2008 21:52:05 +0000 (21:52 +0000)]
New function to flip images horizontally/vertically

This adds a new function image_flip for flipping images either
horizontally or vertically or both in one pass.  Not used anywhere at
the moment, but hey...  Someday someone is maybe going to want to
duplicate that effort.

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

16 years agoAdapt texture coordinate handling to match OpenGL conventions
parasti [Mon, 9 Jun 2008 21:51:55 +0000 (21:51 +0000)]
Adapt texture coordinate handling to match OpenGL conventions

This patch updates coin, background, GUI (images), billboard and map
handling code to generate texture coordinates that work with OpenGL's
"upside down" conventions.  Unfortunately, textures that are created
with make_image_from_font still use the inverted coordinates.  This
inconsistency can be avoided by flipping the pixel data obtained from
SDL_ttf before uploading it to OpenGL, however, I decided against it as
the thought of sacrificing performance for consistency didn't seem to
make much sense in this instance.

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

16 years agoUse OpenGL memory layout conventions for storing image data
parasti [Mon, 9 Jun 2008 21:51:42 +0000 (21:51 +0000)]
Use OpenGL memory layout conventions for storing image data

glTexImage2D manual page has this to say:

> The first element corresponds to the lower left corner of the texture
> image.  Subsequent elements progress left-to-right through the
> remaining texels in the lowest row of the texture image, and then in
> successively higher rows of the texture image.  The final element
> corresponds to the upper right corner of the texture image.

So from the viewpoint of OpenGL, we were actually storing the images
"upside down", and this required special care when dealing with texture
coordinates.  This patch attempts to "do the right thing" by flipping
images at load time.

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

16 years agogoals.map: Made rounded corners smoother
elviz [Mon, 9 Jun 2008 21:25:52 +0000 (21:25 +0000)]
goals.map: Made rounded corners smoother

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

16 years agogoslow.map: Made rounded corners smoother
elviz [Mon, 9 Jun 2008 19:22:18 +0000 (19:22 +0000)]
goslow.map: Made rounded corners smoother

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

16 years agoeasyhalfpipe: add cautions
mym [Mon, 9 Jun 2008 14:37:40 +0000 (14:37 +0000)]
easyhalfpipe: add cautions

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

16 years agomapc: increase max lump count
mym [Mon, 9 Jun 2008 14:08:52 +0000 (14:08 +0000)]
mapc: increase max lump count

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

16 years agolearngrow: rounded curves
mym [Mon, 9 Jun 2008 14:08:18 +0000 (14:08 +0000)]
learngrow: rounded curves

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

16 years agoroundfloors.map: Removed bogus lump
elviz [Mon, 9 Jun 2008 13:43:59 +0000 (13:43 +0000)]
roundfloors.map: Removed bogus lump

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

16 years agocross: rounded curves
mym [Mon, 9 Jun 2008 13:14:00 +0000 (13:14 +0000)]
cross: rounded curves

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

16 years agoroundfloors: rounded curves
mym [Mon, 9 Jun 2008 13:05:44 +0000 (13:05 +0000)]
roundfloors: rounded curves

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

16 years agoslightcurve: rounded curves
mym [Sun, 8 Jun 2008 14:21:43 +0000 (14:21 +0000)]
slightcurve: rounded curves

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

16 years agoroundcoins: set detail lumps
mym [Sun, 8 Jun 2008 13:30:41 +0000 (13:30 +0000)]
roundcoins: set detail lumps

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

16 years agoroundlaby: fix floor lump
mym [Sun, 8 Jun 2008 13:12:29 +0000 (13:12 +0000)]
roundlaby: fix floor lump

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

16 years agohole and easyhalfpipe: fix env
mym [Sat, 7 Jun 2008 13:58:34 +0000 (13:58 +0000)]
hole and easyhalfpipe: fix env

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

16 years agoroundcoins: rounded curves
mym [Sat, 7 Jun 2008 13:55:19 +0000 (13:55 +0000)]
roundcoins: rounded curves

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

16 years agoeasyhalfpipe: adjust camera position
mym [Sat, 7 Jun 2008 09:21:53 +0000 (09:21 +0000)]
easyhalfpipe: adjust camera position

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

16 years agoroundlaby: rounded curves
mym [Sat, 7 Jun 2008 09:05:01 +0000 (09:05 +0000)]
roundlaby: rounded curves

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

16 years agoeasy set: re-order levels 11-14
mym [Sat, 7 Jun 2008 07:46:51 +0000 (07:46 +0000)]
easy set: re-order levels 11-14

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

16 years agoEnforce coding guidelines
parasti [Sat, 7 Jun 2008 01:50:08 +0000 (01:50 +0000)]
Enforce coding guidelines

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

16 years agomapc: move bounding sphere code to separate function
parasti [Sat, 7 Jun 2008 01:49:58 +0000 (01:49 +0000)]
mapc: move bounding sphere code to separate function

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

16 years agomapc: optimise clip_edge, uniq_geom and test_lump_side
parasti [Sat, 7 Jun 2008 01:49:49 +0000 (01:49 +0000)]
mapc: optimise clip_edge, uniq_geom and test_lump_side

uau writes again[*]:
> I did some further optimization today that gives a similar magnitude of
> speedup overall. There are 3 distinct optimizations. In clip_edge() reject
> all pairs (i, j) with 'bad' i immediately instead of testing separately for
> each possible j. In uniq_geom(), for each possible 'vj' field value keep a
> list of the geoms that have that vj value, and test new geoms for equality
> against that list only instead of all geoms. In test_lump_side() first check
> whether a bounding sphere of the lump is completely on one side.

[*] http://www.nevercorner.net/forum/viewtopic.php?pid=17431#p17431

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

16 years agoNevermania: Tweaks
elviz [Fri, 6 Jun 2008 16:24:17 +0000 (16:24 +0000)]
Nevermania: Tweaks

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

16 years agoEasy/Medium/Hard: Removed unsupported attributes
elviz [Fri, 6 Jun 2008 16:03:41 +0000 (16:03 +0000)]
Easy/Medium/Hard: Removed unsupported attributes

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

16 years agorails.map: Reduced time
elviz [Fri, 6 Jun 2008 12:04:05 +0000 (12:04 +0000)]
rails.map: Reduced time

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

16 years agoeasyhalfpipe: tweaks and rounded curves
mym [Thu, 5 Jun 2008 13:10:50 +0000 (13:10 +0000)]
easyhalfpipe: tweaks and rounded curves

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

16 years agomuseum.map: Rounded goal plaque
elviz [Wed, 4 Jun 2008 09:57:59 +0000 (09:57 +0000)]
museum.map: Rounded goal plaque

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

16 years agoMinor map cleanup
elviz [Wed, 4 Jun 2008 01:31:54 +0000 (01:31 +0000)]
Minor map cleanup

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

16 years agoNevermania: Tweaks
parasti [Tue, 3 Jun 2008 23:32:43 +0000 (23:32 +0000)]
Nevermania: Tweaks

(cherry picked from r2215 by elviz)

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

16 years agoufo.map: Switched to decal edges
parasti [Tue, 3 Jun 2008 23:32:23 +0000 (23:32 +0000)]
ufo.map: Switched to decal edges

(cherry picked from r2213 by elviz)

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

16 years agomountains.map: Switched to decal edges
parasti [Tue, 3 Jun 2008 23:32:08 +0000 (23:32 +0000)]
mountains.map: Switched to decal edges

(cherry picked from r2212 by elviz)

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

16 years agooddities.map: Switched to decal edges
parasti [Tue, 3 Jun 2008 23:31:56 +0000 (23:31 +0000)]
oddities.map: Switched to decal edges

(cherry picked from r2207 by elviz)

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

16 years agoNevermania: Tweaks
parasti [Tue, 3 Jun 2008 23:31:43 +0000 (23:31 +0000)]
Nevermania: Tweaks

(cherry picked from r2199 by elviz)

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

16 years agoNevermania: Adjusted rotated textures
parasti [Tue, 3 Jun 2008 23:31:21 +0000 (23:31 +0000)]
Nevermania: Adjusted rotated textures

(cherry-picked from r2194 by elviz)

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

16 years agohallways.map: fix a misrotated arrow
parasti [Tue, 3 Jun 2008 23:30:49 +0000 (23:30 +0000)]
hallways.map: fix a misrotated arrow

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

16 years agomapc: perform texture rotation around the positive axes
parasti [Tue, 3 Jun 2008 23:30:38 +0000 (23:30 +0000)]
mapc: perform texture rotation around the positive axes

This patch eliminates an inconsistency in texture rotation between
GtkRadiant and Neverball.  Previously the texture was rotated by the
given angle around whichever axis/direction the "base" vector
corresponded with;  GtkRadiant always rotates the texture around the
positive axis.  Closes ticket #113.

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

16 years agoatrium.map: Switched to decal edges
elviz [Tue, 3 Jun 2008 12:21:05 +0000 (12:21 +0000)]
atrium.map: Switched to decal edges

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

16 years ago'make DEBUG=1' to build with debugging symbols
parasti [Mon, 2 Jun 2008 15:20:35 +0000 (15:20 +0000)]
'make DEBUG=1' to build with debugging symbols

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

16 years agorails.map: Switched to decal edges
elviz [Mon, 2 Jun 2008 11:45:18 +0000 (11:45 +0000)]
rails.map: Switched to decal edges

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

16 years agodiscs.map: Switched to decal edges
elviz [Mon, 2 Jun 2008 09:17:46 +0000 (09:17 +0000)]
discs.map: Switched to decal edges

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

16 years agoslope.map: Switched to decal edges
elviz [Mon, 2 Jun 2008 08:25:16 +0000 (08:25 +0000)]
slope.map: Switched to decal edges

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

16 years agoswarm.map: Small optimization
elviz [Sat, 31 May 2008 11:43:06 +0000 (11:43 +0000)]
swarm.map: Small optimization

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

16 years agoswarm.map: Used decal edges
elviz [Sat, 31 May 2008 10:01:05 +0000 (10:01 +0000)]
swarm.map: Used decal edges

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

16 years agoNevermania: Tweaks
elviz [Fri, 30 May 2008 13:45:30 +0000 (13:45 +0000)]
Nevermania: Tweaks

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

16 years agoTexture lighting fixes
elviz [Fri, 30 May 2008 13:23:15 +0000 (13:23 +0000)]
Texture lighting fixes

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

16 years agoNevermania: Relaxed Medium times further
elviz [Fri, 23 May 2008 07:11:54 +0000 (07:11 +0000)]
Nevermania: Relaxed Medium times further

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

16 years agoadventure.map: Tweaks
elviz [Thu, 22 May 2008 03:10:45 +0000 (03:10 +0000)]
adventure.map: Tweaks

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

16 years agoadventure.map: New unlock-goal high-score presets
elviz [Sun, 18 May 2008 04:16:19 +0000 (04:16 +0000)]
adventure.map: New unlock-goal high-score presets

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

16 years agoufo.map: Extended fighter paths
elviz [Sat, 17 May 2008 18:44:00 +0000 (18:44 +0000)]
ufo.map: Extended fighter paths

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

16 years agotree.map: Added third blue coin
elviz [Wed, 14 May 2008 22:57:48 +0000 (22:57 +0000)]
tree.map: Added third blue coin

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

16 years agorails.map: New Hard best-time preset
elviz [Mon, 12 May 2008 15:30:19 +0000 (15:30 +0000)]
rails.map: New Hard best-time preset

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

16 years agotree.map: Fine-tuned branches and leaves
elviz [Sun, 11 May 2008 21:28:12 +0000 (21:28 +0000)]
tree.map: Fine-tuned branches and leaves

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

16 years agoReadme: Updated the header information.
CSY [Sun, 11 May 2008 13:51:12 +0000 (13:51 +0000)]
Readme: Updated the header information.

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

16 years agoManual: Added a section to document Neverputt.
CSY [Sun, 11 May 2008 13:50:26 +0000 (13:50 +0000)]
Manual: Added a section to document Neverputt.

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

16 years agoufo.map: Made fighter sequence easier
elviz [Sun, 11 May 2008 02:52:56 +0000 (02:52 +0000)]
ufo.map: Made fighter sequence easier

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

16 years agoadventure.map: Added visual cue to thwomp mechanism
elviz [Sun, 11 May 2008 00:11:16 +0000 (00:11 +0000)]
adventure.map: Added visual cue to thwomp mechanism

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

16 years agoadventure.map: Moved blue coin
elviz [Sat, 10 May 2008 23:21:45 +0000 (23:21 +0000)]
adventure.map: Moved blue coin

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

16 years agoHigh scores: Patched the remaining normal levels of Neverball Hard.
CSY [Sat, 10 May 2008 12:22:48 +0000 (12:22 +0000)]
High scores: Patched the remaining normal levels of Neverball Hard.

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

16 years agoHigh scores: Grid's duplicated time_hs is supposed to be goal_hs.
CSY [Sat, 10 May 2008 02:06:58 +0000 (02:06 +0000)]
High scores: Grid's duplicated time_hs is supposed to be goal_hs.

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

16 years agoHigh scores: Patched basically the first half of Neverball Hard (not including bonus...
CSY [Fri, 9 May 2008 20:27:00 +0000 (20:27 +0000)]
High scores: Patched basically the first half of Neverball Hard (not including bonus levels).

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

16 years agopaths: s/unlock_hs/goal_hs/
parasti [Thu, 8 May 2008 22:57:41 +0000 (22:57 +0000)]
paths: s/unlock_hs/goal_hs/

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

16 years agoDue to a damaged working copy on another system, the set-hard.txt was part of the...
CSY [Thu, 8 May 2008 21:46:57 +0000 (21:46 +0000)]
Due to a damaged working copy on another system, the set-hard.txt was part of the csy-extras branch instead of the trunk. This merges this change to the trunk.

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

16 years agoHigh scores: Did and fixed a level of Neverball Hard and updated descriptions.
CSY [Thu, 8 May 2008 20:33:36 +0000 (20:33 +0000)]
High scores: Did and fixed a level of Neverball Hard and updated descriptions.

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

16 years agomapc: rename most "swap_*" functions to "apply_*_swaps"
parasti [Thu, 8 May 2008 16:15:33 +0000 (16:15 +0000)]
mapc: rename most "swap_*" functions to "apply_*_swaps"

The only remaining swap_ functions are those that swap elements directly
without using a pre-built "swaps" mapping table.

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

16 years agoSmall white-space and indentation tweaks
parasti [Thu, 8 May 2008 16:14:53 +0000 (16:14 +0000)]
Small white-space and indentation tweaks

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

16 years agomapc: minimise expensive swap operations when reordering data
parasti [Thu, 8 May 2008 16:14:14 +0000 (16:14 +0000)]
mapc: minimise expensive swap operations when reordering data

uau writes[*]:
> This patch fixes extremely inefficient reordering of some data
> structures in mapc.  On my machine it makes mapc run about 3.4 times
> as fast as before when tested with ufo.map (which was an especially
> slow case). The patch is over 200 lines long but the changes are quite
> simple and just repeated for different data structures.
>
> The old code worked as follows: Decide to change A to B, go over all
> objects and change references to A to references to B. Decide to
> change C to D, go over all objects and change references to C to
> references to D. Decide to change E to F, go over all objects... and
> so on. This code first builds a mapping table of what should change to
> what (A->B, B->B, C->D, D->D, E->F, F->F) and then goes over all
> objects only once changing everything according to the table.

[*] http://www.nevercorner.net/forum/viewtopic.php?id=1445

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

16 years agobumper.map: Removed duplicate lump
elviz [Wed, 7 May 2008 20:18:10 +0000 (20:18 +0000)]
bumper.map: Removed duplicate lump

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

16 years agoAccidentally committed mapc.c
KrabbyKrap [Wed, 7 May 2008 05:07:56 +0000 (05:07 +0000)]
Accidentally committed mapc.c

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

16 years agoRestart updates
KrabbyKrap [Wed, 7 May 2008 05:04:17 +0000 (05:04 +0000)]
Restart updates

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

16 years agoNevermania: Tweaks
elviz [Wed, 7 May 2008 01:32:06 +0000 (01:32 +0000)]
Nevermania: Tweaks

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

16 years agoNevermania: Tweaks
elviz [Tue, 6 May 2008 01:12:09 +0000 (01:12 +0000)]
Nevermania: Tweaks

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

16 years agoNevermania: Tweaks
elviz [Fri, 2 May 2008 22:25:47 +0000 (22:25 +0000)]
Nevermania: Tweaks

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

16 years agoRevert "Merge 'putt-collisions' branch"
parasti [Fri, 2 May 2008 18:25:20 +0000 (18:25 +0000)]
Revert "Merge 'putt-collisions' branch"

Patch still without review and apparently also quite buggy[*].

[*] http://www.nevercorner.net/forum/viewtopic.php?pid=17093#p17093

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

16 years agoMerge 'putt-collisions' branch
KrabbyKrap [Thu, 1 May 2008 23:04:35 +0000 (23:04 +0000)]
Merge 'putt-collisions' branch

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

16 years agoAllow spaces in config values
parasti [Wed, 30 Apr 2008 21:21:07 +0000 (21:21 +0000)]
Allow spaces in config values

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