neverball
15 years agoball/demo: alloc new array slot only when needed
parasti [Fri, 17 Apr 2009 10:54:06 +0000 (10:54 +0000)]
ball/demo: alloc new array slot only when needed

(A slight tweak to r2821.)

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

15 years agoRevert "share/demo: alloc new array slot only when needed"
parasti [Fri, 17 Apr 2009 10:53:58 +0000 (10:53 +0000)]
Revert "share/demo: alloc new array slot only when needed"

This reverts r2822 by parasti (bad commit message).

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

15 years agoshare/demo: alloc new array slot only when needed
parasti [Fri, 17 Apr 2009 10:46:50 +0000 (10:46 +0000)]
share/demo: alloc new array slot only when needed

(A slight tweak to r2821.)

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

15 years agoball/demo.c: Delete array element if file is unreadable (prevents bogus entries for...
elviz [Fri, 17 Apr 2009 00:02:20 +0000 (00:02 +0000)]
ball/demo.c: Delete array element if file is unreadable (prevents bogus entries for "." and "..")

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

15 years agoRemove static replay limit
parasti [Thu, 16 Apr 2009 12:54:52 +0000 (12:54 +0000)]
Remove static replay limit

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

15 years agoshare/array: add a "dynamic array" type
parasti [Thu, 16 Apr 2009 12:54:43 +0000 (12:54 +0000)]
share/array: add a "dynamic array" type

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

15 years agoshare/common: add function to obtain random numbers in a range
parasti [Thu, 16 Apr 2009 12:54:34 +0000 (12:54 +0000)]
share/common: add function to obtain random numbers in a range

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

15 years agoMANUAL: mention joystick_axis_u
parasti [Mon, 13 Apr 2009 21:59:24 +0000 (21:59 +0000)]
MANUAL: mention joystick_axis_u

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

15 years agoAdd mxttie to AUTHORS
parasti [Mon, 13 Apr 2009 21:59:16 +0000 (21:59 +0000)]
Add mxttie to AUTHORS

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

15 years agoAllow view rotation using second gamepad stick
parasti [Mon, 13 Apr 2009 10:57:12 +0000 (10:57 +0000)]
Allow view rotation using second gamepad stick

Patch from mxttie, reported working by Winston.
(http://www.nevercorner.net/forum/viewtopic.php?id=1665)

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

15 years agoRip out locale <-> UTF-8 filename conversions (and a direct iconv dep)
parasti [Wed, 1 Apr 2009 21:12:32 +0000 (21:12 +0000)]
Rip out locale <-> UTF-8 filename conversions (and a direct iconv dep)

It seemed like a good idea at some point, but in practice it ended up
being a distracting layer of indirection and complexity trying to
support a rare (bordering on hypothetical) use case.  And it did not
work in Windows anyway.  So as an alternative, I propose this simple
rule: use a UTF-8 locale or stick to ASCII range in replay filenames.

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

15 years agoSpanish translation update
parasti [Fri, 27 Mar 2009 00:05:27 +0000 (00:05 +0000)]
Spanish translation update

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

15 years agost_play.c: Fixed HUD display of selected camera
elviz [Thu, 26 Mar 2009 08:01:17 +0000 (08:01 +0000)]
st_play.c: Fixed HUD display of selected camera

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

15 years agofr.po update
mym [Sat, 21 Mar 2009 02:43:17 +0000 (02:43 +0000)]
fr.po update

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

15 years agoball/game_client: tweak a comment
parasti [Fri, 20 Mar 2009 22:49:41 +0000 (22:49 +0000)]
ball/game_client: tweak a comment

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

15 years agoCHANGES: sync
parasti [Fri, 20 Mar 2009 22:49:23 +0000 (22:49 +0000)]
CHANGES: sync

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

15 years agoAdjust map versions to follow policy
parasti [Thu, 19 Mar 2009 22:32:30 +0000 (22:32 +0000)]
Adjust map versions to follow policy

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

15 years agoAssume map compatibility by default if client's map version is 1
parasti [Thu, 19 Mar 2009 22:31:59 +0000 (22:31 +0000)]
Assume map compatibility by default if client's map version is 1

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

15 years agoadventure.map: Rearranged several coins (invalidates replays)
elviz [Thu, 19 Mar 2009 00:34:25 +0000 (00:34 +0000)]
adventure.map: Rearranged several coins (invalidates replays)

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

15 years agoCatalan translation update
parasti [Wed, 18 Mar 2009 21:57:38 +0000 (21:57 +0000)]
Catalan translation update

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

15 years agoMakefile: grave comment typo
parasti [Wed, 18 Mar 2009 00:22:46 +0000 (00:22 +0000)]
Makefile: grave comment typo

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

15 years agoMakefile: massage Wiimote CFLAGS
parasti [Wed, 18 Mar 2009 00:07:38 +0000 (00:07 +0000)]
Makefile: massage Wiimote CFLAGS

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

15 years agoshare/common: rename strdup to dupe_string and alias strdup to it
parasti [Mon, 16 Mar 2009 18:42:39 +0000 (18:42 +0000)]
share/common: rename strdup to dupe_string and alias strdup to it

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

15 years agoUpdating German translation with replay version control.
nue [Mon, 16 Mar 2009 01:00:42 +0000 (01:00 +0000)]
Updating German translation with replay version control.

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

15 years agoCHANGES: sync
parasti [Fri, 13 Mar 2009 00:40:16 +0000 (00:40 +0000)]
CHANGES: sync

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

15 years agoPO update
parasti [Fri, 13 Mar 2009 00:40:07 +0000 (00:40 +0000)]
PO update

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

15 years agoufo.map: Change to reduce stress on the physics engine during the abduction sequence...
elviz [Tue, 10 Mar 2009 20:05:23 +0000 (20:05 +0000)]
ufo.map: Change to reduce stress on the physics engine during the abduction sequence (invalidates replays)

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

15 years agoball/st_demo: display warning on map version mismatch
parasti [Mon, 9 Mar 2009 12:50:45 +0000 (12:50 +0000)]
ball/st_demo: display warning on map version mismatch

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

15 years agoUse CMD_MAP for server/client map compatibility checks
parasti [Mon, 9 Mar 2009 12:50:36 +0000 (12:50 +0000)]
Use CMD_MAP for server/client map compatibility checks

This patch implements partial CMD_MAP handling.  The command is sent
and received, but doesn't actually load a map; only its version info
is used, to determine whether the client's idea of the map (already
loaded through other means) matches that of server's.

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

15 years agoshare/cmd: add CMD_MAP command (unused)
parasti [Mon, 9 Mar 2009 12:50:26 +0000 (12:50 +0000)]
share/cmd: add CMD_MAP command (unused)

CMD_MAP will request a map to be loaded matching the given version.

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

15 years agohardrise.map: fixed a remaining TI
mym [Sun, 8 Mar 2009 23:09:00 +0000 (23:09 +0000)]
hardrise.map: fixed a remaining TI

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

15 years agoshare/config: restore proper default for replay_name
parasti [Wed, 4 Mar 2009 14:35:59 +0000 (14:35 +0000)]
share/config: restore proper default for replay_name

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

15 years agoball/level: remove level_dump (maintenance burden)
parasti [Wed, 4 Mar 2009 14:35:21 +0000 (14:35 +0000)]
ball/level: remove level_dump (maintenance burden)

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

15 years agofixed level updates in CHANGES
mym [Wed, 25 Feb 2009 22:07:19 +0000 (22:07 +0000)]
fixed level updates in CHANGES

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

15 years agoball/set: skip Misc set on init unless in dev mode
parasti [Wed, 25 Feb 2009 17:52:50 +0000 (17:52 +0000)]
ball/set: skip Misc set on init unless in dev mode

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

15 years agoInit the default fast unlock coin values with the level's goal value
parasti [Wed, 25 Feb 2009 00:48:39 +0000 (00:48 +0000)]
Init the default fast unlock coin values with the level's goal value

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

15 years agofr.po: improved and fixed record type names
mym [Tue, 24 Feb 2009 23:45:35 +0000 (23:45 +0000)]
fr.po: improved and fixed record type names

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

15 years agoCHANGES: sync
parasti [Sun, 22 Feb 2009 16:09:12 +0000 (16:09 +0000)]
CHANGES: sync

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

15 years agobigcone.map: forgot to increase level version number
mym [Sat, 21 Feb 2009 16:46:03 +0000 (16:46 +0000)]
bigcone.map: forgot to increase level version number

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

15 years agobigcone.map: rebuilt bottom part of the cone, no more choppy motion, manual camera...
mym [Sat, 21 Feb 2009 16:43:16 +0000 (16:43 +0000)]
bigcone.map: rebuilt bottom part of the cone, no more choppy motion, manual camera is the key again

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

15 years agoturn.map: full rebuild to prevent a bothering camera problem
mym [Sat, 21 Feb 2009 16:01:40 +0000 (16:01 +0000)]
turn.map: full rebuild to prevent a bothering camera problem

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

15 years agoTreat a single unrecognised argument as a replay name
parasti [Fri, 20 Feb 2009 16:31:03 +0000 (16:31 +0000)]
Treat a single unrecognised argument as a replay name

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

15 years agoshare/lang: eliminate redundant lang_init param
parasti [Fri, 20 Feb 2009 16:30:54 +0000 (16:30 +0000)]
share/lang: eliminate redundant lang_init param

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

15 years agoTransform default game/locale data paths based on executable name
parasti [Fri, 20 Feb 2009 16:30:37 +0000 (16:30 +0000)]
Transform default game/locale data paths based on executable name

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

15 years agoshare/common: add function to translate paths relative to a reference path
parasti [Fri, 20 Feb 2009 16:30:22 +0000 (16:30 +0000)]
share/common: add function to translate paths relative to a reference path

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

15 years agoshare/common: factor out path separator finding and add dir_name using it
parasti [Fri, 20 Feb 2009 16:30:12 +0000 (16:30 +0000)]
share/common: factor out path separator finding and add dir_name using it

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

15 years agoshare/common: add MIN/MAX macros
parasti [Fri, 20 Feb 2009 16:29:59 +0000 (16:29 +0000)]
share/common: add MIN/MAX macros

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

15 years agos/CONFIG_BALL/CONFIG_BALL_FILE/
parasti [Wed, 18 Feb 2009 14:05:01 +0000 (14:05 +0000)]
s/CONFIG_BALL/CONFIG_BALL_FILE/

Unfinished business from r1696.

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

15 years agoshare/config: rewrite to reduce duplication and typing
parasti [Wed, 18 Feb 2009 14:04:52 +0000 (14:04 +0000)]
share/config: rewrite to reduce duplication and typing

The process of adding a new config option usually went something like
this: define a config symbol in one place, define a default value in
another, add code to init the current value with the default in
another, add code to write out the value in another, add code to read
the value in another.  It's a simple process, but it's a bit tedious
and naturally error-prone.

This patch reduces the process in the general case to: define a config
symbol in one place, associate the symbol with a name and a default
value in another, declare an external reference to the symbol in
another.  The special case is when integer options are represented in
non-numeric form in the config file (such as SDL key indices
represented by their human-readable names); this case still requires
the read/write routines also to be updated.

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

15 years agoshare/common: add ARRAYSIZE macro to get number of elements in array
parasti [Wed, 18 Feb 2009 14:04:40 +0000 (14:04 +0000)]
share/common: add ARRAYSIZE macro to get number of elements in array

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

15 years agoActually load/save joystick dpad config added in r1380
parasti [Mon, 16 Feb 2009 22:43:04 +0000 (22:43 +0000)]
Actually load/save joystick dpad config added in r1380

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

15 years agoTurn initial mode setting and WM setup into video_init
parasti [Mon, 16 Feb 2009 16:49:18 +0000 (16:49 +0000)]
Turn initial mode setting and WM setup into video_init

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

15 years agoshare/video: remove video_sync, declared but with no definition
parasti [Mon, 16 Feb 2009 16:49:05 +0000 (16:49 +0000)]
share/video: remove video_sync, declared but with no definition

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

15 years agoshare/video: s/config_/video_/
parasti [Mon, 16 Feb 2009 16:48:54 +0000 (16:48 +0000)]
share/video: s/config_/video_/

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

15 years agoshare/video: move some non-config code from share/config here
parasti [Mon, 16 Feb 2009 16:48:30 +0000 (16:48 +0000)]
share/video: move some non-config code from share/config here

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

15 years agoMANUAL: document mouse and view toggle bindings
parasti [Mon, 16 Feb 2009 13:33:35 +0000 (13:33 +0000)]
MANUAL: document mouse and view toggle bindings

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

15 years agoshare/config: match mouse button saving to that of keys
parasti [Mon, 16 Feb 2009 13:33:25 +0000 (13:33 +0000)]
share/config: match mouse button saving to that of keys

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

15 years agoAdd bindings to toggle between chase and manual views
parasti [Mon, 16 Feb 2009 13:33:11 +0000 (13:33 +0000)]
Add bindings to toggle between chase and manual views

(cherry-picked from r1079 by lorant)

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

15 years agoMake mouse buttons configurable (full view control)
parasti [Mon, 16 Feb 2009 13:32:59 +0000 (13:32 +0000)]
Make mouse buttons configurable (full view control)

(cherry picked from r1078 by lorant)

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

15 years agoReassign first param of click handler to hold SDL button index
parasti [Mon, 16 Feb 2009 13:32:46 +0000 (13:32 +0000)]
Reassign first param of click handler to hold SDL button index

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

15 years agoturn.map: light tweak (may alter most coins records only)
mym [Sat, 14 Feb 2009 15:19:05 +0000 (15:19 +0000)]
turn.map: light tweak (may alter most coins records only)

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

15 years agopo update (Unlock Goal -> Fast Unlock)
nue [Fri, 13 Feb 2009 11:39:39 +0000 (11:39 +0000)]
po update (Unlock Goal -> Fast Unlock)

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

15 years agoPO update
parasti [Thu, 12 Feb 2009 01:52:16 +0000 (01:52 +0000)]
PO update

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

15 years agoRename Unlock Goal scores to Fast Unlock
parasti [Thu, 12 Feb 2009 01:52:04 +0000 (01:52 +0000)]
Rename Unlock Goal scores to Fast Unlock

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

15 years agoshare/audio: prevent thread race during sound lookup in audio_play
parasti [Wed, 11 Feb 2009 17:30:18 +0000 (17:30 +0000)]
share/audio: prevent thread race during sound lookup in audio_play

audio_play happily iterates through the "voices" list, accesses data
from it, and passes that data to other functions, all while the audio
callback can potentially modify the list and free any element from it
at any time.  This patch prevents this and thus hopefully eliminates
the crashes reported occasionally over the past months.

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

15 years agoFinal 1.5.0 DMG changes.
jammnrose [Mon, 2 Feb 2009 16:21:50 +0000 (16:21 +0000)]
Final 1.5.0 DMG changes.

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

15 years agoAnother DMG related tweak.
jammnrose [Mon, 2 Feb 2009 04:34:42 +0000 (04:34 +0000)]
Another DMG related tweak.

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

15 years agoYet more DMG related tweaks.
jammnrose [Mon, 2 Feb 2009 04:33:43 +0000 (04:33 +0000)]
Yet more DMG related tweaks.

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

15 years agoDMG Tweaks.
jammnrose [Mon, 2 Feb 2009 03:28:15 +0000 (03:28 +0000)]
DMG Tweaks.

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

15 years agoUpdated DMG file runners.
jammnrose [Mon, 2 Feb 2009 02:37:19 +0000 (02:37 +0000)]
Updated DMG file runners.

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

15 years agoMore DMG edits...
jammnrose [Mon, 2 Feb 2009 02:33:40 +0000 (02:33 +0000)]
More DMG edits...

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

15 years agoSome DMG changes for final 1.5.0 release...
jammnrose [Sat, 31 Jan 2009 04:29:05 +0000 (04:29 +0000)]
Some DMG changes for final 1.5.0 release...

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

15 years agoAUTHORS: credit Josh for the teleport tweaks
parasti [Fri, 30 Jan 2009 02:29:55 +0000 (02:29 +0000)]
AUTHORS: credit Josh for the teleport tweaks

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

15 years agoDisplay version in the window caption
parasti [Thu, 29 Jan 2009 20:19:11 +0000 (20:19 +0000)]
Display version in the window caption

Thanks to mym for suggestion.

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

15 years agoUpdate level shots
parasti [Wed, 28 Jan 2009 22:40:59 +0000 (22:40 +0000)]
Update level shots

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

15 years agoMake sure EWMH code isn't used when SDL supports Quartz (OS X)
parasti [Wed, 28 Jan 2009 21:40:01 +0000 (21:40 +0000)]
Make sure EWMH code isn't used when SDL supports Quartz (OS X)

A simple work-around to some linker errors on Mac OS X, suggested by
rlk.

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

15 years agoMake teleport particles visible in batch level shots
parasti [Wed, 28 Jan 2009 03:04:10 +0000 (03:04 +0000)]
Make teleport particles visible in batch level shots

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

15 years agoflip.map: set explicit coin_hs (which is "0 0" anyway)
parasti [Wed, 28 Jan 2009 01:22:27 +0000 (01:22 +0000)]
flip.map: set explicit coin_hs (which is "0 0" anyway)

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

15 years agoTweak to German translation.
nue [Mon, 26 Jan 2009 10:01:35 +0000 (10:01 +0000)]
Tweak to German translation.

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

15 years agoshare/audio: clear queue when fading to the current track
parasti [Sun, 25 Jan 2009 18:45:53 +0000 (18:45 +0000)]
share/audio: clear queue when fading to the current track

Thanks to CSY for the report and steps to reproduce.

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

15 years agoFurther tweaks to German translation.
nue [Sat, 24 Jan 2009 14:37:46 +0000 (14:37 +0000)]
Further tweaks to German translation.

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

15 years agoTweaks to German translation.
nue [Fri, 23 Jan 2009 00:19:20 +0000 (00:19 +0000)]
Tweaks to German translation.

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

15 years agopo: updated French translation
mym [Wed, 21 Jan 2009 13:55:07 +0000 (13:55 +0000)]
po: updated French translation

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

15 years agoUpdate to German translation.
nue [Wed, 21 Jan 2009 01:30:38 +0000 (01:30 +0000)]
Update to German translation.

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

15 years agoGerman translation update.
nue [Wed, 21 Jan 2009 00:01:59 +0000 (00:01 +0000)]
German translation update.

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

15 years agofixed hard set hard most coins high-score
mym [Tue, 20 Jan 2009 09:13:36 +0000 (09:13 +0000)]
fixed hard set hard most coins high-score

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

15 years agopo/Makefile: pass "--previous" to msgmerge by translator request
parasti [Mon, 19 Jan 2009 22:08:49 +0000 (22:08 +0000)]
po/Makefile: pass "--previous" to msgmerge by translator request

"--previous" tells msgmerge to keep around the old msgid of an entry
that's about to be marked fuzzy.  It appears to have been added in
gettext 0.16, released in October 2006.

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

15 years agoNorwegian Nynorsk translation update
parasti [Mon, 19 Jan 2009 22:08:42 +0000 (22:08 +0000)]
Norwegian Nynorsk translation update

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

15 years agoPO update
parasti [Mon, 19 Jan 2009 03:19:12 +0000 (03:19 +0000)]
PO update

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

15 years agoMakefile: update to latest mingw-list-dlls
parasti [Mon, 19 Jan 2009 02:50:18 +0000 (02:50 +0000)]
Makefile: update to latest mingw-list-dlls

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

15 years agoMake new grow/shrink models
parasti [Sun, 18 Jan 2009 22:09:37 +0000 (22:09 +0000)]
Make new grow/shrink models

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

15 years agoCHANGES: tweaks
parasti [Fri, 16 Jan 2009 13:54:37 +0000 (13:54 +0000)]
CHANGES: tweaks

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

15 years agoCHANGES: bring up to date
parasti [Fri, 16 Jan 2009 03:27:06 +0000 (03:27 +0000)]
CHANGES: bring up to date

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

15 years agoMake chase view track ball's position more accurately
parasti [Thu, 15 Jan 2009 01:56:06 +0000 (01:56 +0000)]
Make chase view track ball's position more accurately

This patch attempts to reinstate the pre-lockstep chase view
behaviour, meaning more responsive auto-rotation at low speeds.
Auto-rotation at higher speeds retains the increased post-lockstep
responsiveness.

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

15 years agoAvoid duplicate manual rotation increment on manual/chase views
parasti [Thu, 15 Jan 2009 01:55:58 +0000 (01:55 +0000)]
Avoid duplicate manual rotation increment on manual/chase views

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

15 years agoSet svn:ignore rules for xcodeproj, somehow they came unset. Updated xcodeproj for...
jammnrose [Tue, 13 Jan 2009 23:50:30 +0000 (23:50 +0000)]
Set svn:ignore rules for xcodeproj, somehow they came unset. Updated xcodeproj for some changes.

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

15 years agoUpdate help replays
parasti [Tue, 13 Jan 2009 01:27:34 +0000 (01:27 +0000)]
Update help replays

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

15 years agoShow a "Finish" button after completing last level in normal mode
parasti [Tue, 13 Jan 2009 01:02:09 +0000 (01:02 +0000)]
Show a "Finish" button after completing last level in normal mode

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

15 years agoUpdated OS X build to work with this branch.
parasti [Fri, 9 Jan 2009 21:52:38 +0000 (21:52 +0000)]
Updated OS X build to work with this branch.

(cherry picked from r2640 by jammnrose)

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

15 years agoImplement a server/client-like game/replay architecture
parasti [Fri, 9 Jan 2009 21:52:24 +0000 (21:52 +0000)]
Implement a server/client-like game/replay architecture

The primary focus of this patch is splitting the ball/game module into
a "client" module and a "server" module.

The server module is responsible for running the game simulation,
while the client module mostly deals with drawing the game state to
the screen. The server communicates its state to the client through a
"proxy" module, which is simply a queue of "commands" encapsulating
the server state and events. The client reads the commands off the
proxy and runs them, updating its own state for display.  It can also
write them to a file, from which the same exact client state can then
be reconstructed by simply reading the commands back and adding them
to the proxy queue for the client to handle as described.

The primary purpose of the change was to eliminate game simulation
from the replay "operation chain", in order to eliminate most possible
causes for unreliable replays.  In ASCII art, the old scheme basically
looked like this:

    ...    -> input -> sim. -> display
    replay -> input -> sim. -> display

while the new one looks like this:

    ...    -> input -> server (sim.) -> proxy -> client -> display
    ...    -> ...   -> replay        -> proxy -> client -> display

In-detail description of the change:

    http://www.nevercorner.net/forum/viewtopic.php?pid=18842#p18842

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