neverball
13 years agoMake write routines take ints, floats and shorts by value not by address
parasti [Mon, 1 Nov 2010 13:40:12 +0000 (13:40 +0000)]
Make write routines take ints, floats and shorts by value not by address

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

13 years agoPlug a couple of display list leaks
parasti [Mon, 1 Nov 2010 13:40:02 +0000 (13:40 +0000)]
Plug a couple of display list leaks

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

13 years agoUndoing buggy fix 3339 on littlecones.map
mym [Mon, 1 Nov 2010 13:18:21 +0000 (13:18 +0000)]
Undoing buggy fix 3339 on littlecones.map

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

13 years agolittlecones.map: Removed an invisible edge (fixed by protonspring)
mym [Sat, 30 Oct 2010 10:29:48 +0000 (10:29 +0000)]
littlecones.map: Removed an invisible edge (fixed by protonspring)

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

13 years agoFix teleporter test stopping prematurely upon seeing an "inside" condition
parasti [Fri, 29 Oct 2010 22:32:49 +0000 (22:32 +0000)]
Fix teleporter test stopping prematurely upon seeing an "inside" condition

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

13 years agoCorrectly check switch test return value in Neverputt
parasti [Fri, 29 Oct 2010 12:32:04 +0000 (12:32 +0000)]
Correctly check switch test return value in Neverputt

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

13 years agoFix accidental switch/teleporter behavior changes
parasti [Fri, 29 Oct 2010 12:14:47 +0000 (12:14 +0000)]
Fix accidental switch/teleporter behavior changes

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

13 years agoStop recording if game init failed
parasti [Thu, 28 Oct 2010 23:54:52 +0000 (23:54 +0000)]
Stop recording if game init failed

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

13 years agoPO update
parasti [Thu, 28 Oct 2010 23:50:14 +0000 (23:50 +0000)]
PO update

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

13 years agoLoad the level even when the replay file could not be opened
parasti [Thu, 28 Oct 2010 23:50:02 +0000 (23:50 +0000)]
Load the level even when the replay file could not be opened

Also display a warning.

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

13 years agoshare/solid_all: clean up intersection tests
parasti [Thu, 28 Oct 2010 15:06:22 +0000 (15:06 +0000)]
share/solid_all: clean up intersection tests

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

13 years agoRevert "share/solid: wrap all structs with typedefs"
parasti [Thu, 28 Oct 2010 12:33:39 +0000 (12:33 +0000)]
Revert "share/solid: wrap all structs with typedefs"

This reverts r3328 by parasti.

Conflicts:

ball/game_client.c

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

13 years agoSlightly clean up game_run_cmd
parasti [Wed, 27 Oct 2010 17:46:00 +0000 (17:46 +0000)]
Slightly clean up game_run_cmd

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

13 years agoshare/solid: wrap all structs with typedefs
parasti [Wed, 27 Oct 2010 17:45:52 +0000 (17:45 +0000)]
share/solid: wrap all structs with typedefs

Just cuz.

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

13 years agoFix repeated animation on return from replay save screen
parasti [Tue, 26 Oct 2010 14:18:05 +0000 (14:18 +0000)]
Fix repeated animation on return from replay save screen

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

13 years agoFix simulation lockup when the ball gets pinched between solids
parasti [Tue, 26 Oct 2010 14:17:57 +0000 (14:17 +0000)]
Fix simulation lockup when the ball gets pinched between solids

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

13 years agoFix undefined C usage
parasti [Mon, 25 Oct 2010 21:07:37 +0000 (21:07 +0000)]
Fix undefined C usage

Subtracting to before the first item in an array is apparently asking
for trouble even if I don't intend to use the value.

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

13 years agoCredits
parasti [Sat, 23 Oct 2010 18:53:42 +0000 (18:53 +0000)]
Credits

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

13 years agoAdd a hack to work around path change problems
parasti [Fri, 22 Oct 2010 22:57:36 +0000 (22:57 +0000)]
Add a hack to work around path change problems

The path timing code is crap overall; it uses rounded floats for time
calculations that really should be exact, and path parts can change in
the middle of a time step. The latter causes visible problems on the
centrifuge test map; probably similar problems would be reproducible
for linear movement on a suitable map (perhaps a platform that quickly
descends at a constant speed over multiple path parts). Add a hack to
work around this by splitting movements if they'd continue over path
part changes.

From: Uoti Urpala

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

13 years agoReorganize the main simulation loop
parasti [Fri, 22 Oct 2010 22:57:30 +0000 (22:57 +0000)]
Reorganize the main simulation loop

From: Uoti Urpala

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

13 years agoImprove rotation behavior under constant centrifugal force
parasti [Fri, 22 Oct 2010 22:57:22 +0000 (22:57 +0000)]
Improve rotation behavior under constant centrifugal force

The ball had a tendency to slowly sink through walls when it was
"stably" leaning against them under centrifugal force. Rewrite
rotation calculations in a way that avoids this problem. There's still
at least one failure case though: when the path part of the rotating
body changes in the middle of the time step the result can be badly
off.

From: Uoti Urpala

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

13 years agocentrifuge.map: add a switch for the guard thwomp
parasti [Fri, 22 Oct 2010 16:39:59 +0000 (16:39 +0000)]
centrifuge.map: add a switch for the guard thwomp

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

13 years agoHave just one rotation test map
parasti [Fri, 22 Oct 2010 16:22:34 +0000 (16:22 +0000)]
Have just one rotation test map

(Also remove obsolete ODE test map.)

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

13 years agoUpdate copyright headers
parasti [Thu, 21 Oct 2010 17:03:41 +0000 (17:03 +0000)]
Update copyright headers

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

13 years agowalk-the-plank.map: rename back to nostairs.map
parasti [Thu, 21 Oct 2010 14:36:49 +0000 (14:36 +0000)]
walk-the-plank.map: rename back to nostairs.map

(Who'd have thought that renaming a level would totally break all the
replays of that level...)

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

13 years agoRemove "geometry" option
parasti [Wed, 20 Oct 2010 19:47:28 +0000 (19:47 +0000)]
Remove "geometry" option

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

13 years agowalk-the-plank.map: Updated contributor information
elviz [Mon, 18 Oct 2010 19:40:57 +0000 (19:40 +0000)]
walk-the-plank.map: Updated contributor information

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

13 years agoMerged newstairs branch
elviz [Fri, 15 Oct 2010 20:47:40 +0000 (20:47 +0000)]
Merged newstairs branch

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

13 years ago[newstairs] walk-the-plank.map: Set Medium most-coins score to the sum of all coins...
elviz [Fri, 15 Oct 2010 15:16:19 +0000 (15:16 +0000)]
[newstairs] walk-the-plank.map: Set Medium most-coins score to the sum of all coins above the first goal

git-svn-id: https://s.snth.net/svn/neverball/branches/newstairs@3313 78b8d119-cf0a-0410-b17c-f493084dd1d7

13 years ago[newstairs] nostairs.map: Rename to walk-the-plank.map as suggested by parasti
elviz [Fri, 15 Oct 2010 14:58:52 +0000 (14:58 +0000)]
[newstairs] nostairs.map: Rename to walk-the-plank.map as suggested by parasti

git-svn-id: https://s.snth.net/svn/neverball/branches/newstairs@3312 78b8d119-cf0a-0410-b17c-f493084dd1d7

13 years ago[newstairs] New version of nostairs.map
elviz [Thu, 14 Oct 2010 21:12:09 +0000 (21:12 +0000)]
[newstairs] New version of nostairs.map

git-svn-id: https://s.snth.net/svn/neverball/branches/newstairs@3311 78b8d119-cf0a-0410-b17c-f493084dd1d7

13 years agoCreate branch for work on nostairs.map
elviz [Thu, 14 Oct 2010 21:04:39 +0000 (21:04 +0000)]
Create branch for work on nostairs.map

git-svn-id: https://s.snth.net/svn/neverball/branches/newstairs@3310 78b8d119-cf0a-0410-b17c-f493084dd1d7

13 years agoFix impact point computation result stored in the wrong variable
parasti [Thu, 14 Oct 2010 19:11:47 +0000 (19:11 +0000)]
Fix impact point computation result stored in the wrong variable

Thanks to uau for discovering this.

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

13 years agoRevert "Pass linear body velocity to collision detection separately"
parasti [Thu, 14 Oct 2010 19:11:40 +0000 (19:11 +0000)]
Revert "Pass linear body velocity to collision detection separately"

This reverts r3227 by parasti.

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

13 years agoDefine gravity constants only once
parasti [Wed, 13 Oct 2010 21:16:37 +0000 (21:16 +0000)]
Define gravity constants only once

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

13 years agogoslow.map: Remove "Click to begin." intro text that made more sense in connection...
elviz [Sun, 10 Oct 2010 00:12:00 +0000 (00:12 +0000)]
goslow.map: Remove "Click to begin." intro text that made more sense in connection with the 1.4 level order

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

13 years agoIdentify the 40.0 in mouse-to-tilt calculation
parasti [Fri, 8 Oct 2010 21:31:53 +0000 (21:31 +0000)]
Identify the 40.0 in mouse-to-tilt calculation

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

13 years agoAdd cmd_free
parasti [Fri, 8 Oct 2010 15:20:25 +0000 (15:20 +0000)]
Add cmd_free

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

13 years agoMore cleaning up in the replay loader
parasti [Fri, 8 Oct 2010 15:20:14 +0000 (15:20 +0000)]
More cleaning up in the replay loader

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

13 years agoBe politically correct
parasti [Thu, 7 Oct 2010 23:20:10 +0000 (23:20 +0000)]
Be politically correct

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

13 years agoMinor clean up in the replay loader
parasti [Thu, 7 Oct 2010 23:16:23 +0000 (23:16 +0000)]
Minor clean up in the replay loader

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

13 years agoClean up comment formatting in a header
parasti [Thu, 7 Oct 2010 23:16:15 +0000 (23:16 +0000)]
Clean up comment formatting in a header

This must not be.

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

13 years agoRemove the "uniform" config option, it's broken anyway
parasti [Thu, 7 Oct 2010 18:34:54 +0000 (18:34 +0000)]
Remove the "uniform" config option, it's broken anyway

(With apologies to rlk.)

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

13 years agoRestore variable time step in main loop, do fixed stepping on per-case basis
parasti [Thu, 7 Oct 2010 18:34:40 +0000 (18:34 +0000)]
Restore variable time step in main loop, do fixed stepping on per-case basis

And for the record, there are only two cases:

1) game simulation
2) replay playback

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

13 years agoball/demo: only expose the filename of a replayed demo, nothing else is used
parasti [Wed, 6 Oct 2010 15:09:05 +0000 (15:09 +0000)]
ball/demo: only expose the filename of a replayed demo, nothing else is used

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

13 years agoWhitespace
parasti [Wed, 6 Oct 2010 15:08:57 +0000 (15:08 +0000)]
Whitespace

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

13 years agoNaming cleanup in command option parsing
parasti [Mon, 4 Oct 2010 19:05:00 +0000 (19:05 +0000)]
Naming cleanup in command option parsing

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

13 years agoReword a couple of comments
parasti [Mon, 4 Oct 2010 19:04:53 +0000 (19:04 +0000)]
Reword a couple of comments

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

13 years agoball/st_help: s/techniques/tricks/g
parasti [Sat, 25 Sep 2010 10:41:07 +0000 (10:41 +0000)]
ball/st_help: s/techniques/tricks/g

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

13 years agoshare/cmd.h: s/HEADER/CMD_HEADER/g
parasti [Thu, 23 Sep 2010 16:38:54 +0000 (16:38 +0000)]
share/cmd.h: s/HEADER/CMD_HEADER/g

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

13 years agofr.po: small fixes
mym [Thu, 23 Sep 2010 10:27:56 +0000 (10:27 +0000)]
fr.po: small fixes

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

13 years agoPO update
parasti [Wed, 22 Sep 2010 22:32:03 +0000 (22:32 +0000)]
PO update

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

13 years agoRemove a few rotten files
parasti [Sun, 19 Sep 2010 11:44:02 +0000 (11:44 +0000)]
Remove a few rotten files

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

13 years agoDelay loading of scanned replays
parasti [Sun, 19 Sep 2010 11:43:55 +0000 (11:43 +0000)]
Delay loading of scanned replays

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

13 years agoMake demo_fp directly accessible externally
parasti [Sun, 19 Sep 2010 11:43:47 +0000 (11:43 +0000)]
Make demo_fp directly accessible externally

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

13 years agoFix padding between replay thumbnails and status area
parasti [Sun, 19 Sep 2010 11:43:38 +0000 (11:43 +0000)]
Fix padding between replay thumbnails and status area

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

13 years agoClean up replay intro pause code
parasti [Sun, 19 Sep 2010 11:43:29 +0000 (11:43 +0000)]
Clean up replay intro pause code

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

13 years agoSimplify state transition tracking
parasti [Sat, 11 Sep 2010 09:17:39 +0000 (09:17 +0000)]
Simplify state transition tracking

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

13 years agoAlways do GUI creation upon return from the state enter handler
parasti [Mon, 6 Sep 2010 21:46:38 +0000 (21:46 +0000)]
Always do GUI creation upon return from the state enter handler

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

13 years agoClean up non-replay pause a bit
parasti [Mon, 6 Sep 2010 21:46:25 +0000 (21:46 +0000)]
Clean up non-replay pause a bit

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

13 years agoshare/state: pass state pointers to enter/leave handlers
parasti [Mon, 6 Sep 2010 21:46:16 +0000 (21:46 +0000)]
share/state: pass state pointers to enter/leave handlers

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

13 years agoAUTHORS: mention Nuncabola
parasti [Mon, 6 Sep 2010 21:46:00 +0000 (21:46 +0000)]
AUTHORS: mention Nuncabola

As I will surely keep ripping off its many cool features.

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

13 years agomapc: silence warnings unless MAPC_VERBOSE env var is set
parasti [Fri, 3 Sep 2010 17:16:39 +0000 (17:16 +0000)]
mapc: silence warnings unless MAPC_VERBOSE env var is set

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

13 years agoAdjust font path in Traditional Chinese translation
parasti [Sun, 29 Aug 2010 17:51:02 +0000 (17:51 +0000)]
Adjust font path in Traditional Chinese translation

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

13 years agoTraditional Chinese translation
parasti [Sun, 29 Aug 2010 17:50:53 +0000 (17:50 +0000)]
Traditional Chinese translation

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

13 years agoball/game_draw: move draw state here
parasti [Sun, 29 Aug 2010 17:50:44 +0000 (17:50 +0000)]
ball/game_draw: move draw state here

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

13 years agoTurn draw state into a struct
parasti [Sun, 29 Aug 2010 17:50:25 +0000 (17:50 +0000)]
Turn draw state into a struct

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

13 years agoTrigonometry/head
parasti [Sat, 28 Aug 2010 13:38:33 +0000 (13:38 +0000)]
Trigonometry/head

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

13 years agoRemove more references to displayed record names
parasti [Sat, 28 Aug 2010 11:43:33 +0000 (11:43 +0000)]
Remove more references to displayed record names

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

13 years agoUse symbols for score ranks
parasti [Sat, 28 Aug 2010 11:43:26 +0000 (11:43 +0000)]
Use symbols for score ranks

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

13 years agoDisambiguate a callback
parasti [Sat, 28 Aug 2010 11:43:17 +0000 (11:43 +0000)]
Disambiguate a callback

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

13 years agoMatch set score access to level scores
parasti [Wed, 18 Aug 2010 01:01:00 +0000 (01:01 +0000)]
Match set score access to level scores

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

13 years agoShorten score constants, make them depend less on displayed names
parasti [Wed, 18 Aug 2010 01:00:53 +0000 (01:00 +0000)]
Shorten score constants, make them depend less on displayed names

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

13 years agoMinimize get_level usage outside of ball/set and ball/level
parasti [Wed, 18 Aug 2010 01:00:44 +0000 (01:00 +0000)]
Minimize get_level usage outside of ball/set and ball/level

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

13 years agoKeep level scores as an array instead of a struct posing as an array
parasti [Wed, 18 Aug 2010 01:00:36 +0000 (01:00 +0000)]
Keep level scores as an array instead of a struct posing as an array

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

13 years agoRemoved level-breaking angle attributes
elviz [Sun, 15 Aug 2010 23:45:02 +0000 (23:45 +0000)]
Removed level-breaking angle attributes

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

13 years agoMore base name tweaking
parasti [Sun, 15 Aug 2010 11:06:30 +0000 (11:06 +0000)]
More base name tweaking

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

13 years agoFix a warning
parasti [Sun, 15 Aug 2010 11:06:24 +0000 (11:06 +0000)]
Fix a warning

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

13 years agoRemove unused and no longer needed trunc_string
parasti [Sun, 15 Aug 2010 11:06:17 +0000 (11:06 +0000)]
Remove unused and no longer needed trunc_string

So long, obscure comma operator usage.

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

13 years agoSplit base_name into a basic and a suffix-removing version
parasti [Sat, 14 Aug 2010 23:45:57 +0000 (23:45 +0000)]
Split base_name into a basic and a suffix-removing version

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

13 years agoMake base_name return a const char *
parasti [Sat, 14 Aug 2010 23:45:45 +0000 (23:45 +0000)]
Make base_name return a const char *

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

13 years agoAdd some auxiliary string macros
parasti [Sat, 14 Aug 2010 23:45:39 +0000 (23:45 +0000)]
Add some auxiliary string macros

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

13 years agostruct level: remove unused member
parasti [Sat, 14 Aug 2010 23:45:29 +0000 (23:45 +0000)]
struct level: remove unused member

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

13 years agoMake view rotation button states independent of each other
parasti [Tue, 10 Aug 2010 14:45:15 +0000 (14:45 +0000)]
Make view rotation button states independent of each other

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

13 years agoball/st_play: move a few declarations
parasti [Tue, 10 Aug 2010 14:45:06 +0000 (14:45 +0000)]
ball/st_play: move a few declarations

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

13 years agoRemoved my (jammnrose) username from AUTHORS due to privacy concerns upon upload...
jammnrose [Sun, 8 Aug 2010 22:45:58 +0000 (22:45 +0000)]
Removed my (jammnrose) username from AUTHORS due to privacy concerns upon upload to the website.

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

13 years agoRemove an archaic comment
parasti [Sun, 8 Aug 2010 00:19:01 +0000 (00:19 +0000)]
Remove an archaic comment

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

13 years agotennis.map: Adjusted Hard fast-unlock high-score
elviz [Sat, 7 Aug 2010 21:39:49 +0000 (21:39 +0000)]
tennis.map: Adjusted Hard fast-unlock high-score

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

13 years agoWork around GCC 4.5 bug (currently in Arch)
parasti [Sat, 7 Aug 2010 01:53:46 +0000 (01:53 +0000)]
Work around GCC 4.5 bug (currently in Arch)

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

13 years agos/game_client_step/game_client_sync/
parasti [Fri, 6 Aug 2010 13:17:25 +0000 (13:17 +0000)]
s/game_client_step/game_client_sync/

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

13 years agocargo.map: Adjusted Hard fast-unlock high-score
elviz [Fri, 6 Aug 2010 05:19:58 +0000 (05:19 +0000)]
cargo.map: Adjusted Hard fast-unlock high-score

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

13 years agoRename misnamed variable
parasti [Fri, 6 Aug 2010 01:27:01 +0000 (01:27 +0000)]
Rename misnamed variable

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

13 years agoSelf documentify replay/SOL file magic
parasti [Wed, 4 Aug 2010 16:12:07 +0000 (16:12 +0000)]
Self documentify replay/SOL file magic

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

13 years agoThwomp credits
parasti [Wed, 4 Aug 2010 02:03:39 +0000 (02:03 +0000)]
Thwomp credits

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

13 years agoDefine symbols for game_draw's pose parameter
parasti [Wed, 4 Aug 2010 02:03:30 +0000 (02:03 +0000)]
Define symbols for game_draw's pose parameter

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

13 years agoRemove command filtering/deferring in the simulation
parasti [Tue, 3 Aug 2010 00:02:59 +0000 (00:02 +0000)]
Remove command filtering/deferring in the simulation

Practically unused; the replay size problem was much better addressed
by reducing the frequency of body time commands and instead advancing
bodies on client-side.

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

13 years agoFix strange memcpy calls where v_cpy suffices
parasti [Mon, 2 Aug 2010 13:51:13 +0000 (13:51 +0000)]
Fix strange memcpy calls where v_cpy suffices

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

13 years agoDo the level fly-in in client (except for the very last update)
parasti [Mon, 2 Aug 2010 13:51:05 +0000 (13:51 +0000)]
Do the level fly-in in client (except for the very last update)

Which was kind of my eventual intent, this fixes a spot that I missed.

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

13 years agoTurn fly-in handling into (proper) shared code
parasti [Mon, 2 Aug 2010 00:54:52 +0000 (00:54 +0000)]
Turn fly-in handling into (proper) shared code

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

13 years agoDo not crash due to a missing font
parasti [Sun, 1 Aug 2010 18:21:57 +0000 (18:21 +0000)]
Do not crash due to a missing font

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