neverball
13 years agoshare/common.h: add illusion of sanity
parasti [Mon, 24 Jan 2011 10:43:18 +0000 (10:43 +0000)]
share/common.h: add illusion of sanity

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

13 years agoFix corner cases like 0.251f in seconds-to-milliseconds conversion
parasti [Mon, 24 Jan 2011 10:34:03 +0000 (10:34 +0000)]
Fix corner cases like 0.251f in seconds-to-milliseconds conversion

Do this by rounding the final floating-point value to the nearest
integer rather than simply casting to int.  Thanks to Elviz for
finding and debugging this.

(Also, it sucks to have to reimplement parts of C99.)

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

13 years agoreverting change to locks.map in r3456
tonesfrommars [Mon, 24 Jan 2011 07:51:07 +0000 (07:51 +0000)]
reverting change to locks.map in r3456

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

13 years agogolf-jambalaya: additional refinements, rework pyramid blockers
tonesfrommars [Mon, 24 Jan 2011 07:22:04 +0000 (07:22 +0000)]
golf-jambalaya: additional refinements, rework pyramid blockers

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

13 years agoNevermania: Restrict time values to millisecond precision
elviz [Mon, 24 Jan 2011 03:40:56 +0000 (03:40 +0000)]
Nevermania: Restrict time values to millisecond precision

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

13 years agolocks.map: restore switch behavior as per discussion and reduce lump count
tonesfrommars [Mon, 24 Jan 2011 02:08:55 +0000 (02:08 +0000)]
locks.map: restore switch behavior as per discussion and reduce lump count

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

13 years agotimer-test_2.map: Add test case
elviz [Mon, 24 Jan 2011 01:59:32 +0000 (01:59 +0000)]
timer-test_2.map: Add test case

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

13 years agoConvert all path-related (body, switch) logic to use integer milliseconds
parasti [Sun, 23 Jan 2011 16:06:31 +0000 (16:06 +0000)]
Convert all path-related (body, switch) logic to use integer milliseconds

This is an experimental change, so keep an eye out for problems.  It
will almost certainly break maps that expect higher time granularity
than 1 millisecond (0.001 second), any such maps will need to be fixed
manually.

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

13 years agogolf-jambalaya: texture tweek & cleanup
tonesfrommars [Sun, 23 Jan 2011 03:45:25 +0000 (03:45 +0000)]
golf-jambalaya: texture tweek & cleanup

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

13 years agoNevermania: Wrap wood-check around edges
elviz [Fri, 21 Jan 2011 22:19:02 +0000 (22:19 +0000)]
Nevermania: Wrap wood-check around edges

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

13 years agocurtain-check-diagonal: Use new force-shadow flag
elviz [Fri, 21 Jan 2011 19:50:30 +0000 (19:50 +0000)]
curtain-check-diagonal: Use new force-shadow flag

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

13 years agoAdd a material flag to force shadowing even on transparent materials
parasti [Fri, 21 Jan 2011 10:25:37 +0000 (10:25 +0000)]
Add a material flag to force shadowing even on transparent materials

I probably shouldn't do this.

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

13 years agomore golf-jambalaya improvements.
tonesfrommars [Fri, 21 Jan 2011 05:14:12 +0000 (05:14 +0000)]
more golf-jambalaya improvements.

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

13 years agobankaround.map: smoother curves.
tonesfrommars [Fri, 21 Jan 2011 01:51:41 +0000 (01:51 +0000)]
bankaround.map: smoother curves.

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

13 years agomap-vidski: Set svn:eol-style to native
elviz [Fri, 21 Jan 2011 00:28:13 +0000 (00:28 +0000)]
map-vidski: Set svn:eol-style to native

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

13 years agocourses.txt: Use version from golf-jambalaya branch
elviz [Fri, 21 Jan 2011 00:22:18 +0000 (00:22 +0000)]
courses.txt: Use version from golf-jambalaya branch

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

13 years agoFix shadow geom code that was never executed
parasti [Thu, 20 Jan 2011 12:08:34 +0000 (12:08 +0000)]
Fix shadow geom code that was never executed

(Even though I don't see any difference either way.)

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

13 years agobigpipe.map: adjust for revised texture curtain-check-diagonal.
tonesfrommars [Thu, 20 Jan 2011 07:07:51 +0000 (07:07 +0000)]
bigpipe.map: adjust for revised texture curtain-check-diagonal.

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

13 years agogolf jambalaya: smoother curves in bigpipe.map and texture tweeks.
tonesfrommars [Thu, 20 Jan 2011 06:52:29 +0000 (06:52 +0000)]
golf jambalaya: smoother curves in bigpipe.map and texture tweeks.

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

13 years agoadding golf jambalaya putt course to trunk
tonesfrommars [Thu, 20 Jan 2011 05:47:47 +0000 (05:47 +0000)]
adding golf jambalaya putt course to trunk

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

13 years agocurtain-check-diagonal: Get rid of material type hack
elviz [Thu, 20 Jan 2011 01:21:12 +0000 (01:21 +0000)]
curtain-check-diagonal: Get rid of material type hack

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

13 years agoNeverputt: use directional light (like Neverball does)
parasti [Fri, 14 Jan 2011 22:49:13 +0000 (22:49 +0000)]
Neverputt: use directional light (like Neverball does)

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

13 years agoNeverputt: tweak course selection layout logic
parasti [Thu, 13 Jan 2011 12:13:00 +0000 (12:13 +0000)]
Neverputt: tweak course selection layout logic

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

13 years agoAvoid sending multiple commands per path node
parasti [Thu, 13 Jan 2011 07:12:23 +0000 (07:12 +0000)]
Avoid sending multiple commands per path node

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

13 years agoAlso change ball config screen to say "Ball Model"
parasti [Thu, 13 Jan 2011 07:12:16 +0000 (07:12 +0000)]
Also change ball config screen to say "Ball Model"

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

13 years agoNevermania: More consistent use of brick textures
elviz [Thu, 13 Jan 2011 01:11:45 +0000 (01:11 +0000)]
Nevermania: More consistent use of brick textures

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

13 years agoReduce more duplication
parasti [Mon, 10 Jan 2011 10:47:52 +0000 (10:47 +0000)]
Reduce more duplication

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

13 years agonew level shots for changed medium levels and one more change to accordian.sol for...
tonesfrommars [Mon, 10 Jan 2011 01:22:56 +0000 (01:22 +0000)]
new level shots for changed medium levels and one more change to accordian.sol for set consistancy.

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

13 years agofinal revisions to spiralup, spiraldn
tonesfrommars [Mon, 10 Jan 2011 00:57:53 +0000 (00:57 +0000)]
final revisions to spiralup, spiraldn

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

13 years agoFix looping path node traversal (wasn't walking all nodes in some cases)
parasti [Sun, 9 Jan 2011 22:22:07 +0000 (22:22 +0000)]
Fix looping path node traversal (wasn't walking all nodes in some cases)

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

13 years agoFactor duplicate path node traversal into a function
parasti [Sun, 9 Jan 2011 22:22:00 +0000 (22:22 +0000)]
Factor duplicate path node traversal into a function

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

13 years agoDemonstrate faulty path_corner traversal
parasti [Sun, 9 Jan 2011 22:21:53 +0000 (22:21 +0000)]
Demonstrate faulty path_corner traversal

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

13 years agodouble.ogg: Removed noise at beginning
elviz [Sun, 9 Jan 2011 15:57:47 +0000 (15:57 +0000)]
double.ogg: Removed noise at beginning

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

13 years agoadded mtrl/marble-grey and new version of spiraldn.map
tonesfrommars [Sun, 9 Jan 2011 05:24:45 +0000 (05:24 +0000)]
added mtrl/marble-grey and new version of spiraldn.map

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

13 years agoaccordian.map: Move goal lump after edge lumps to prevent transparency problems
elviz [Sun, 9 Jan 2011 02:27:07 +0000 (02:27 +0000)]
accordian.map: Move goal lump after edge lumps to prevent transparency problems

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

13 years agoRebuilt level shots of several recently modified maps
elviz [Sat, 8 Jan 2011 20:00:49 +0000 (20:00 +0000)]
Rebuilt level shots of several recently modified maps

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

13 years agospiraldn.map, spiralup.map: as per rlks notes, replace grey ramps with something...
tonesfrommars [Sat, 8 Jan 2011 06:06:03 +0000 (06:06 +0000)]
spiraldn.map, spiralup.map: as per rlks notes, replace grey ramps with something a little more interesting

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

13 years agohardrise.map: added trim to match set and fine tuned camera position
tonesfrommars [Sat, 8 Jan 2011 05:02:10 +0000 (05:02 +0000)]
hardrise.map: added trim to match set and fine tuned camera position

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

13 years agoaccordian.map: fine tune flyin camera position
tonesfrommars [Wed, 5 Jan 2011 07:22:35 +0000 (07:22 +0000)]
accordian.map: fine tune flyin camera position

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

13 years agoaccordian.map: use rail models where possible and texturing overhaul
tonesfrommars [Wed, 5 Jan 2011 07:17:17 +0000 (07:17 +0000)]
accordian.map: use rail models where possible and texturing overhaul

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

13 years agospeedbumps.map: texture tweek
tonesfrommars [Wed, 5 Jan 2011 06:51:43 +0000 (06:51 +0000)]
speedbumps.map: texture tweek

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

13 years agospeedbumps.map: moved trim to top of platforms as per rlks comments in svn wiki for...
tonesfrommars [Wed, 5 Jan 2011 06:34:46 +0000 (06:34 +0000)]
speedbumps.map: moved trim to top of platforms as per rlks comments in svn wiki for texturing consistency with rest of easy set

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

13 years agoFix requirement to pad descriptions with empty lines
parasti [Mon, 3 Jan 2011 16:05:36 +0000 (16:05 +0000)]
Fix requirement to pad descriptions with empty lines

(Thanks to penma for the reminder.)

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

13 years agocurved.map- make underside of wings glass-dark for visibility in speed runs
tonesfrommars [Sun, 2 Jan 2011 21:42:45 +0000 (21:42 +0000)]
curved.map- make underside of wings glass-dark for visibility in speed runs

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

13 years agooops, adding timer-test_2.map
tonesfrommars [Thu, 30 Dec 2010 19:18:52 +0000 (19:18 +0000)]
oops, adding timer-test_2.map

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

13 years agoadding new timer test to misc set
tonesfrommars [Thu, 30 Dec 2010 19:16:54 +0000 (19:16 +0000)]
adding new timer test to misc set

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

13 years agoMove key event handling into functions just for readability
parasti [Wed, 29 Dec 2010 21:24:11 +0000 (21:24 +0000)]
Move key event handling into functions just for readability

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

13 years agoFix missing switch breaks for key-up events
parasti [Wed, 29 Dec 2010 18:33:09 +0000 (18:33 +0000)]
Fix missing switch breaks for key-up events

OTOH, it went unnoticed for three years, so why bother.

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

13 years agoblue-wave.png: corrected RGB profile
tonesfrommars [Wed, 22 Dec 2010 20:13:59 +0000 (20:13 +0000)]
blue-wave.png: corrected RGB profile

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

13 years agocorrected some grammatical errors and english idioms in mym level intro texts
tonesfrommars [Mon, 20 Dec 2010 07:19:59 +0000 (07:19 +0000)]
corrected some grammatical errors and english idioms in mym level intro texts

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

13 years agohardrise.map: Texture fix
elviz [Mon, 20 Dec 2010 05:13:34 +0000 (05:13 +0000)]
hardrise.map: Texture fix

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

13 years agochanged texture under slope in hardrise.map to glass-dark for minimized view obstruction
tonesfrommars [Sun, 19 Dec 2010 22:25:51 +0000 (22:25 +0000)]
changed texture under slope in hardrise.map to glass-dark for minimized view obstruction

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

13 years agoaligned danger texture in my level turn.map
tonesfrommars [Sat, 18 Dec 2010 20:47:03 +0000 (20:47 +0000)]
aligned danger texture in my level turn.map

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

13 years agoFactor out one more widget
parasti [Sat, 18 Dec 2010 20:07:36 +0000 (20:07 +0000)]
Factor out one more widget

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

13 years agoFactor out common state code in conf screen
parasti [Sat, 18 Dec 2010 20:07:26 +0000 (20:07 +0000)]
Factor out common state code in conf screen

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

13 years agoMake a separate screen for video settings
parasti [Sat, 18 Dec 2010 20:07:11 +0000 (20:07 +0000)]
Make a separate screen for video settings

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

13 years agoFactor out common widgets in conf screen
parasti [Sat, 18 Dec 2010 20:07:00 +0000 (20:07 +0000)]
Factor out common widgets in conf screen

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

13 years agoRename the "ball" option to "ball model" in conf screen
parasti [Sat, 18 Dec 2010 20:06:46 +0000 (20:06 +0000)]
Rename the "ball" option to "ball model" in conf screen

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

13 years agoDetermine the parent screen of resolution conf screen dynamically
parasti [Sat, 18 Dec 2010 20:06:36 +0000 (20:06 +0000)]
Determine the parent screen of resolution conf screen dynamically

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

13 years agoRemove some redundant variables
parasti [Sat, 11 Dec 2010 00:20:07 +0000 (00:20 +0000)]
Remove some redundant variables

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

13 years agoFinalize the first update at server init, no point doing it later
parasti [Sat, 4 Dec 2010 20:43:42 +0000 (20:43 +0000)]
Finalize the first update at server init, no point doing it later

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

13 years agoFix structure access beyond its lifetime
parasti [Mon, 29 Nov 2010 19:00:52 +0000 (19:00 +0000)]
Fix structure access beyond its lifetime

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

13 years agoCall the standalone level 00, not 99
parasti [Mon, 29 Nov 2010 19:00:46 +0000 (19:00 +0000)]
Call the standalone level 00, not 99

Also very important.

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

13 years agoProvide default values for the %s and %l replacements in replay names
parasti [Mon, 29 Nov 2010 19:00:38 +0000 (19:00 +0000)]
Provide default values for the %s and %l replacements in replay names

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

13 years agoFix an assertion failure due to a NULL sets array
parasti [Mon, 29 Nov 2010 19:00:32 +0000 (19:00 +0000)]
Fix an assertion failure due to a NULL sets array

Crashes the game when trying to save a replay for a standalone level.

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

13 years agoPromote ad-hoc OS-to-VFS path translation function
parasti [Mon, 29 Nov 2010 19:00:25 +0000 (19:00 +0000)]
Promote ad-hoc OS-to-VFS path translation function

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

13 years agoVery important optimization
parasti [Mon, 29 Nov 2010 19:00:16 +0000 (19:00 +0000)]
Very important optimization

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

13 years agoSlightly clean up ball/set.c
parasti [Sun, 28 Nov 2010 00:03:30 +0000 (00:03 +0000)]
Slightly clean up ball/set.c

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

13 years agoFix score loader improperly reading player names with spaces
parasti [Sun, 28 Nov 2010 00:03:23 +0000 (00:03 +0000)]
Fix score loader improperly reading player names with spaces

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

13 years agoDocument worldspawn keys "back" and "grad"
parasti [Thu, 25 Nov 2010 19:33:02 +0000 (19:33 +0000)]
Document worldspawn keys "back" and "grad"

Must have missed these.

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

13 years agoAdd level testing to the default build menu in Radiant
parasti [Thu, 25 Nov 2010 19:32:54 +0000 (19:32 +0000)]
Add level testing to the default build menu in Radiant

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

13 years agoReimplement loading of standalone levels from the command line
parasti [Thu, 25 Nov 2010 19:32:45 +0000 (19:32 +0000)]
Reimplement loading of standalone levels from the command line

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

13 years agoFix path separator finding in Windows
parasti [Thu, 25 Nov 2010 19:32:34 +0000 (19:32 +0000)]
Fix path separator finding in Windows

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

13 years agoRemove unused state structure member
parasti [Thu, 25 Nov 2010 19:32:27 +0000 (19:32 +0000)]
Remove unused state structure member

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

13 years agoAdd a catch-all state for exiting the level
parasti [Thu, 25 Nov 2010 14:01:44 +0000 (14:01 +0000)]
Add a catch-all state for exiting the level

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

13 years agoMove include lines around
parasti [Thu, 25 Nov 2010 14:01:33 +0000 (14:01 +0000)]
Move include lines around

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

13 years agoMerge fall-out and time-out states
parasti [Wed, 24 Nov 2010 23:47:19 +0000 (23:47 +0000)]
Merge fall-out and time-out states

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

13 years agoBump
parasti [Wed, 24 Nov 2010 14:47:01 +0000 (14:47 +0000)]
Bump

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

13 years agofixed errors in coin-pad-red-dark.png
tonesfrommars [Sun, 21 Nov 2010 20:51:09 +0000 (20:51 +0000)]
fixed errors in coin-pad-red-dark.png

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

13 years agoadded texture coin-pad-red-dark
tonesfrommars [Sun, 21 Nov 2010 20:28:14 +0000 (20:28 +0000)]
added texture coin-pad-red-dark

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

13 years agopaths.map: Structure and texture fixes
elviz [Fri, 19 Nov 2010 12:21:23 +0000 (12:21 +0000)]
paths.map: Structure and texture fixes

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

13 years agoDocument ENABLE_FS
parasti [Tue, 16 Nov 2010 22:00:58 +0000 (22:00 +0000)]
Document ENABLE_FS

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

13 years agoImplement a stdio-based backend for the VFS (no archive support)
parasti [Tue, 16 Nov 2010 22:00:52 +0000 (22:00 +0000)]
Implement a stdio-based backend for the VFS (no archive support)

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

13 years agoFix fs_gets to return NULL on encountering EOF with no data read
parasti [Tue, 16 Nov 2010 22:00:43 +0000 (22:00 +0000)]
Fix fs_gets to return NULL on encountering EOF with no data read

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

13 years agoRewrite directory scanner to use linked lists
parasti [Tue, 16 Nov 2010 22:00:37 +0000 (22:00 +0000)]
Rewrite directory scanner to use linked lists

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

13 years agoSplit VFS into a backend-dependent and a backend-independent module
parasti [Tue, 16 Nov 2010 22:00:29 +0000 (22:00 +0000)]
Split VFS into a backend-dependent and a backend-independent module

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

13 years agoRemove unused path_resolve routine
parasti [Tue, 16 Nov 2010 22:00:21 +0000 (22:00 +0000)]
Remove unused path_resolve routine

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

13 years agoFix time scaling relying on floating-point quirks
parasti [Fri, 12 Nov 2010 10:52:04 +0000 (10:52 +0000)]
Fix time scaling relying on floating-point quirks

(In other words, actually check what Nuncabola does there.)

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

13 years agoFix speed GUI not being greyed out on zero speed
parasti [Thu, 11 Nov 2010 21:34:23 +0000 (21:34 +0000)]
Fix speed GUI not being greyed out on zero speed

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

13 years agoaccordian.map: Texture fixes
elviz [Thu, 11 Nov 2010 21:33:16 +0000 (21:33 +0000)]
accordian.map: Texture fixes

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

13 years agotitle.map: Removed misplaced chrome from glass bridge
elviz [Thu, 11 Nov 2010 19:44:06 +0000 (19:44 +0000)]
title.map: Removed misplaced chrome from glass bridge

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

13 years agoPort adjustable replay playback speed from Nuncabola
parasti [Thu, 11 Nov 2010 19:42:58 +0000 (19:42 +0000)]
Port adjustable replay playback speed from Nuncabola

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

13 years agoFix inconsistent naming
parasti [Tue, 9 Nov 2010 16:02:58 +0000 (16:02 +0000)]
Fix inconsistent naming

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

13 years agoMove joystick-recentered tracking to share/state
parasti [Tue, 9 Nov 2010 15:50:56 +0000 (15:50 +0000)]
Move joystick-recentered tracking to share/state

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

13 years agoRemove obsolete input value conversion to/from short ints
parasti [Tue, 9 Nov 2010 15:50:43 +0000 (15:50 +0000)]
Remove obsolete input value conversion to/from short ints

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

13 years agoUse normalized floats to represent joystick axis values
parasti [Tue, 9 Nov 2010 15:50:34 +0000 (15:50 +0000)]
Use normalized floats to represent joystick axis values

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

13 years agoFix awkward requirement for non-zero joystick axis value in gui_stick
parasti [Tue, 9 Nov 2010 15:50:12 +0000 (15:50 +0000)]
Fix awkward requirement for non-zero joystick axis value in gui_stick

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

13 years agoAdd a macro for copying strings to static arrays
parasti [Mon, 1 Nov 2010 13:41:08 +0000 (13:41 +0000)]
Add a macro for copying strings to static arrays

Yay for macros.
Yay for false sense of security.

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

13 years agoRemove unused replay header field "goal enabled"
parasti [Mon, 1 Nov 2010 13:40:56 +0000 (13:40 +0000)]
Remove unused replay header field "goal enabled"

CMD_GOAL_OPEN in the first update handles this.

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

13 years agoClean up demo_play_init
parasti [Mon, 1 Nov 2010 13:40:49 +0000 (13:40 +0000)]
Clean up demo_play_init

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