parasti [Wed, 29 Jul 2009 14:37:02 +0000 (14:37 +0000)]
Paint score buttons green on a high-score in that score type
git-svn-id: https://s.snth.net/svn/neverball/trunk@2983
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Wed, 29 Jul 2009 14:36:54 +0000 (14:36 +0000)]
share/gui: rebuild text rectangle when changing label colour
git-svn-id: https://s.snth.net/svn/neverball/trunk@2982
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Wed, 29 Jul 2009 14:36:46 +0000 (14:36 +0000)]
ball/util: clean up duplicate code
git-svn-id: https://s.snth.net/svn/neverball/trunk@2981
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Wed, 29 Jul 2009 14:36:38 +0000 (14:36 +0000)]
Time to the left, coins to the right in the score board
git-svn-id: https://s.snth.net/svn/neverball/trunk@2980
78b8d119-cf0a-0410-b17c-
f493084dd1d7
jammnrose [Mon, 27 Jul 2009 23:58:52 +0000 (23:58 +0000)]
Updated Mac OS X copyright year, 2002-2008 -> 2002-2009.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2979
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Mon, 27 Jul 2009 23:20:40 +0000 (23:20 +0000)]
track6.ogg credits
git-svn-id: https://s.snth.net/svn/neverball/trunk@2978
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Mon, 27 Jul 2009 23:20:31 +0000 (23:20 +0000)]
Use track6.ogg with volcano environment
git-svn-id: https://s.snth.net/svn/neverball/trunk@2977
78b8d119-cf0a-0410-b17c-
f493084dd1d7
tonesfrommars [Mon, 27 Jul 2009 22:38:10 +0000 (22:38 +0000)]
added new BGM track6.ogg for use with new backgrounds.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2976
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 26 Jul 2009 12:07:15 +0000 (12:07 +0000)]
share/fs: enable symlink support, where available
git-svn-id: https://s.snth.net/svn/neverball/trunk@2975
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sat, 25 Jul 2009 15:19:24 +0000 (15:19 +0000)]
Add .gitignore for other git-svn users
git-svn-id: https://s.snth.net/svn/neverball/trunk@2974
78b8d119-cf0a-0410-b17c-
f493084dd1d7
jammnrose [Sat, 25 Jul 2009 01:28:34 +0000 (01:28 +0000)]
Updated xcodeproj for physfs changes.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2973
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Wed, 22 Jul 2009 13:43:43 +0000 (13:43 +0000)]
Merge branch 'volcano-bg'
* volcano-bg (+ local tweaks):
Update shots of levels using the new background
Volcano credits
Resize volcano PNGs to power-of-two sizes
added meteorite.png
added meteorite.png and updated background for frogger, gaps, hallways, teleport, quads.
Added new files to branch.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2972
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Wed, 22 Jul 2009 02:31:13 +0000 (02:31 +0000)]
Paint background first, then mirrors
git-svn-id: https://s.snth.net/svn/neverball/trunk@2971
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 19 Jul 2009 14:53:20 +0000 (14:53 +0000)]
ball/st_set: show 6 sets in a page
(Much to my surprise they fit just fine without any tweaks.)
git-svn-id: https://s.snth.net/svn/neverball/trunk@2966
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 19 Jul 2009 12:44:49 +0000 (12:44 +0000)]
Remove static level set limit
git-svn-id: https://s.snth.net/svn/neverball/trunk@2965
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 19 Jul 2009 12:44:40 +0000 (12:44 +0000)]
share/dir: plug a leak
git-svn-id: https://s.snth.net/svn/neverball/trunk@2964
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sat, 18 Jul 2009 15:07:04 +0000 (15:07 +0000)]
Fix fs_gets to only return NULL on EOF when no data has been read
(This regression/deviation from fgets is the real cause for the
read_line misbehaviour.)
git-svn-id: https://s.snth.net/svn/neverball/trunk@2961
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 17 Jul 2009 12:35:04 +0000 (12:35 +0000)]
share/common: make read_line less stupid
Used to silently skip data between the last newline and EOF (hiding
the last level in Tones's set).
git-svn-id: https://s.snth.net/svn/neverball/trunk@2958
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Thu, 16 Jul 2009 23:07:36 +0000 (23:07 +0000)]
Correctly register scores for levels with no time limit
git-svn-id: https://s.snth.net/svn/neverball/trunk@2956
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Thu, 16 Jul 2009 21:15:48 +0000 (21:15 +0000)]
ball/st_set: make sure the last viewed page actually exists
When the "misc" set (displayed only in cheat mode) pushes the last
level set to the next page, which then may become the last viewed page
but disappears on cheat mode deactivation, a crash occurs when again
entering the set selection screen.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2955
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Wed, 15 Jul 2009 22:40:40 +0000 (22:40 +0000)]
Add some space between navigation and set/level selectors
git-svn-id: https://s.snth.net/svn/neverball/trunk@2954
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Wed, 15 Jul 2009 22:40:33 +0000 (22:40 +0000)]
share/st_resol: tweak selector layout
Mode selectors are created from largest to smallest, left-to-right,
and left-aligned for incomplete rows.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2953
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Wed, 15 Jul 2009 22:40:25 +0000 (22:40 +0000)]
share/st_resol: add missing sounds
git-svn-id: https://s.snth.net/svn/neverball/trunk@2952
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 14 Jul 2009 17:57:40 +0000 (17:57 +0000)]
Allow camera switching during ready/set stage
git-svn-id: https://s.snth.net/svn/neverball/trunk@2950
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 14 Jul 2009 15:48:00 +0000 (15:48 +0000)]
Include initial view data in the first update
Ripped off Nuncabola.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2949
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 14 Jul 2009 13:51:57 +0000 (13:51 +0000)]
Clean up some view variables
git-svn-id: https://s.snth.net/svn/neverball/trunk@2948
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 14 Jul 2009 13:51:49 +0000 (13:51 +0000)]
mapc: restore full SOL name printing
git-svn-id: https://s.snth.net/svn/neverball/trunk@2947
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 14 Jul 2009 13:51:41 +0000 (13:51 +0000)]
share/sync: bury
git-svn-id: https://s.snth.net/svn/neverball/trunk@2946
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 14 Jul 2009 13:51:30 +0000 (13:51 +0000)]
Remove "--info" command line option
One distraction less.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2945
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 10 Jul 2009 11:17:33 +0000 (11:17 +0000)]
Rename game_comp_grav to game_tilt_grav
git-svn-id: https://s.snth.net/svn/neverball/trunk@2940
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 10 Jul 2009 11:17:25 +0000 (11:17 +0000)]
Decouple world rotations from view basis
Rather than rotate world directly around the view axes, in this patch
suitable tilt axes are computed from the view basis, which are then
used for gravity computation and visual rotations. This should
prevent arbitrary view basis from interfering with tilting.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2939
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 10 Jul 2009 11:17:12 +0000 (11:17 +0000)]
Rename "rotate" command to "tilt angles"
git-svn-id: https://s.snth.net/svn/neverball/trunk@2938
78b8d119-cf0a-0410-b17c-
f493084dd1d7
elviz [Thu, 9 Jul 2009 16:18:04 +0000 (16:18 +0000)]
coneskeleton.map: Changed goal_hs times that were based on an outdated goal value
git-svn-id: https://s.snth.net/svn/neverball/trunk@2937
78b8d119-cf0a-0410-b17c-
f493084dd1d7
elviz [Wed, 8 Jul 2009 03:58:35 +0000 (03:58 +0000)]
spacetime.map: Small fixes
git-svn-id: https://s.snth.net/svn/neverball/trunk@2936
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Mon, 6 Jul 2009 12:42:43 +0000 (12:42 +0000)]
po/fr: fix typo
http://bugs.debian.org/535912
git-svn-id: https://s.snth.net/svn/neverball/trunk@2935
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 5 Jul 2009 19:15:45 +0000 (19:15 +0000)]
share/binary: change get_string to keep reading after exceeding buffer space
(This is how it should work and how Nuncabola does it, I just didn't
catch it when Elviz mentioned it.)
git-svn-id: https://s.snth.net/svn/neverball/trunk@2934
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 5 Jul 2009 19:15:38 +0000 (19:15 +0000)]
share/cmd: kill stray struct member
git-svn-id: https://s.snth.net/svn/neverball/trunk@2933
78b8d119-cf0a-0410-b17c-
f493084dd1d7
tonesfrommars [Fri, 3 Jul 2009 02:03:32 +0000 (02:03 +0000)]
Added non-reflective texture "blue-wave" for moving water.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2932
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Thu, 2 Jul 2009 21:19:35 +0000 (21:19 +0000)]
Exclude vertical ball velocity from view computations
This is an experimental change and considerably affects camera
behaviour. In particular, chase camera becomes much more predictable
in situations where the ball moves vertically at a fast speed (no more
crazy spinning when falling or sudden unexplainable turning mid-air).
git-svn-id: https://s.snth.net/svn/neverball/trunk@2931
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Mon, 29 Jun 2009 23:58:09 +0000 (23:58 +0000)]
Replace forgettable view numbers with symbols and clean up view name lookup
git-svn-id: https://s.snth.net/svn/neverball/trunk@2930
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 26 Jun 2009 14:24:02 +0000 (14:24 +0000)]
ball/st_ball: ignore directories with no ball SOLs within
git-svn-id: https://s.snth.net/svn/neverball/trunk@2928
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 26 Jun 2009 14:23:55 +0000 (14:23 +0000)]
ball/st_ball: internalize some functions
git-svn-id: https://s.snth.net/svn/neverball/trunk@2927
78b8d119-cf0a-0410-b17c-
f493084dd1d7
elviz [Fri, 26 Jun 2009 08:36:10 +0000 (08:36 +0000)]
mtrl/green: Corrected material values (were identical to green-glass)
git-svn-id: https://s.snth.net/svn/neverball/trunk@2926
78b8d119-cf0a-0410-b17c-
f493084dd1d7
CSY [Fri, 26 Jun 2009 01:33:40 +0000 (01:33 +0000)]
Texture Collection: Add normal green texture.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2923
78b8d119-cf0a-0410-b17c-
f493084dd1d7
mym [Thu, 25 Jun 2009 21:07:03 +0000 (21:07 +0000)]
es.po: tweaks
git-svn-id: https://s.snth.net/svn/neverball/trunk@2921
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Thu, 25 Jun 2009 12:31:40 +0000 (12:31 +0000)]
ball/st_ball: do not rescan balls on replay restart
git-svn-id: https://s.snth.net/svn/neverball/trunk@2918
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Thu, 25 Jun 2009 12:18:30 +0000 (12:18 +0000)]
ball/st_ball: show a replay with only the ball on a gradient background
git-svn-id: https://s.snth.net/svn/neverball/trunk@2917
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Thu, 25 Jun 2009 12:18:15 +0000 (12:18 +0000)]
Hijack game_draw's pose param to draw just shadow+ball when set to 2
git-svn-id: https://s.snth.net/svn/neverball/trunk@2916
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Thu, 25 Jun 2009 00:23:13 +0000 (00:23 +0000)]
ball/st_ball: fix label rectangle
git-svn-id: https://s.snth.net/svn/neverball/trunk@2914
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Wed, 24 Jun 2009 18:25:17 +0000 (18:25 +0000)]
ball/st_ball: clean up a bit
git-svn-id: https://s.snth.net/svn/neverball/trunk@2913
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Wed, 24 Jun 2009 18:25:07 +0000 (18:25 +0000)]
ball/st_ball: show a name label
git-svn-id: https://s.snth.net/svn/neverball/trunk@2912
78b8d119-cf0a-0410-b17c-
f493084dd1d7
elviz [Wed, 24 Jun 2009 09:10:36 +0000 (09:10 +0000)]
title.map: Aligned stray coin to the 32-unit grid
git-svn-id: https://s.snth.net/svn/neverball/trunk@2911
78b8d119-cf0a-0410-b17c-
f493084dd1d7
tonesfrommars [Wed, 24 Jun 2009 05:42:12 +0000 (05:42 +0000)]
added brass-faceted texture to match chrome-faceted.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2910
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 23 Jun 2009 23:30:29 +0000 (23:30 +0000)]
Add a basic ball configuration screen
git-svn-id: https://s.snth.net/svn/neverball/trunk@2909
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 23 Jun 2009 12:01:29 +0000 (12:01 +0000)]
share/gui: load entire font to memory at init
SDL_ttf appears to directly access the font for every rendering, which
is much too slow when the font resides in an archive. This patch
loads the entire font to memory, eliminating all I/O overhead during
rendering but increasing the memory footprint.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2908
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 23 Jun 2009 12:01:21 +0000 (12:01 +0000)]
share/fs: add function to load entire files in memory
git-svn-id: https://s.snth.net/svn/neverball/trunk@2907
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 23 Jun 2009 12:01:14 +0000 (12:01 +0000)]
share/fs: add fs_length
git-svn-id: https://s.snth.net/svn/neverball/trunk@2906
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 23 Jun 2009 12:01:06 +0000 (12:01 +0000)]
share/fs: implement fs_error
git-svn-id: https://s.snth.net/svn/neverball/trunk@2905
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 23 Jun 2009 08:19:12 +0000 (08:19 +0000)]
Increase default view rotation rates
git-svn-id: https://s.snth.net/svn/neverball/trunk@2904
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Mon, 22 Jun 2009 14:00:44 +0000 (14:00 +0000)]
Update documentation to reflect VFS changes
git-svn-id: https://s.snth.net/svn/neverball/trunk@2902
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Mon, 22 Jun 2009 00:27:28 +0000 (00:27 +0000)]
INSTALL: document font requirements
git-svn-id: https://s.snth.net/svn/neverball/trunk@2901
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 21 Jun 2009 23:41:37 +0000 (23:41 +0000)]
Use separate score files in cheat mode
git-svn-id: https://s.snth.net/svn/neverball/trunk@2900
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 21 Jun 2009 13:23:50 +0000 (13:23 +0000)]
Don't attempt to concat absolute CONFIG_LOCALE with the base path
git-svn-id: https://s.snth.net/svn/neverball/trunk@2899
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 19 Jun 2009 00:24:38 +0000 (00:24 +0000)]
mapc: report unknown materials
git-svn-id: https://s.snth.net/svn/neverball/trunk@2894
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Thu, 18 Jun 2009 10:57:18 +0000 (10:57 +0000)]
ball/main: simplify test for an open joystick
git-svn-id: https://s.snth.net/svn/neverball/trunk@2889
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Thu, 18 Jun 2009 10:42:31 +0000 (10:42 +0000)]
Actually use the "joystick" config option
(Thanks to Elviz for spotting this.)
git-svn-id: https://s.snth.net/svn/neverball/trunk@2888
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 16 Jun 2009 12:46:27 +0000 (12:46 +0000)]
Set GL read buffer to "front" once and for all when setting video mode
Otherwise, we keep reading the back buffer after a swap, just when its
contents could be anything. This patch also reverts r2394 "Delay
buffer swap in level_snap until after image_snap" in favour of the
more proper fix.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2886
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Mon, 15 Jun 2009 02:00:42 +0000 (02:00 +0000)]
Write all screen shots to a Screenshots directory
This includes the automatic level shots with F12, for which also a
"shot-abc" directory is made within the screen shot directory (another
neat feature ripped from Nuncabola).
git-svn-id: https://s.snth.net/svn/neverball/trunk@2885
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 14 Jun 2009 23:52:55 +0000 (23:52 +0000)]
s/make_dirs/make_dirs_and_migrate/
...
git-svn-id: https://s.snth.net/svn/neverball/trunk@2884
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 14 Jun 2009 23:52:47 +0000 (23:52 +0000)]
Keep scores in a directory (migrate old ones, too)
Some more Nuncabola compatibility.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2883
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 14 Jun 2009 23:52:40 +0000 (23:52 +0000)]
Move replays found at the top of the user dir into Replays
git-svn-id: https://s.snth.net/svn/neverball/trunk@2882
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 14 Jun 2009 23:52:33 +0000 (23:52 +0000)]
Rewrite fs_rename to do a real rename rather than VFS copy+remove
git-svn-id: https://s.snth.net/svn/neverball/trunk@2881
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 14 Jun 2009 23:52:25 +0000 (23:52 +0000)]
Remove a few macros in favour of hard-coded strings
Perhaps a bad idea, but makes the code more pleasing to (my) eyes.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2880
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 14 Jun 2009 02:32:41 +0000 (02:32 +0000)]
Write and look for replays in a directory called "Replays"
Nuncabola already does this. Existing replays will "disappear" from
the replay screen, they will have to be moved to the directory
manually.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2879
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sat, 13 Jun 2009 02:57:50 +0000 (02:57 +0000)]
Make sets.txt optional
It's not completely removed because there needs to be some way of
enforcing the order in which some sets are listed (e.g., Easy, then
Medium, then Hard). Now the game first loads the sets listed in
sets.txt in the given order, then scans the root of the search path
for files starting with "set-" that it hasn't seen yet, and loads them
in alphabetic order.
This is aimed at making it easy to install new sets by simply dropping
a properly packaged ZIP archive in the user directory.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2878
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 12 Jun 2009 02:37:22 +0000 (02:37 +0000)]
Implement a Quake-like virtual file system layer
This patch introduces a new module "share/fs" through which all file
system and input/output operations are handled. The module internally
is supported by the PhysicsFS 1.0 API, so this change adds an external
dependency on that library.
How things work (for those not familiar with Quake's PK3):
Neverball now has a single, unified view of the file system, there's
only the "write directory" to which files are written and the "search
path" from which files are read. The write directory is simply the
user directory (ie., ~/.neverball). The search path consists of the
following components (items listed later take precedence):
* archives found in the game data directory;
* game data directory itself;
* archives found in the user directory;
* user directory itself.
Archives are sorted alphabetically (and similarly, archives later in
the alphabet take precedence).
A file in one component with the same name as another file in another
component of lower precedence overrides that file, and Neverball only
ever sees the file from the higher-precedence component.
This has not seen significant testing yet, and some things have
probably stopped working. Keep your eyes open.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2877
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 12 Jun 2009 02:36:56 +0000 (02:36 +0000)]
share/dir: don't prepend a slash to paths when scanning the root directory
git-svn-id: https://s.snth.net/svn/neverball/trunk@2876
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 12 Jun 2009 02:36:49 +0000 (02:36 +0000)]
share/dir: extend to support other directory access methods
git-svn-id: https://s.snth.net/svn/neverball/trunk@2875
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 12 Jun 2009 02:36:40 +0000 (02:36 +0000)]
share/array: implement array_sort
git-svn-id: https://s.snth.net/svn/neverball/trunk@2874
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 12 Jun 2009 00:16:08 +0000 (00:16 +0000)]
Restore video subsystem initialization when calling SDL_Init
Otherwise when the configuration is loaded (which happens immediately
afterwards), SDL_GetKeyName doesn't yet have a list to search through,
and as a result all of the user's custom key bindings are overwritten
with the defaults.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2873
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 12 Jun 2009 00:15:59 +0000 (00:15 +0000)]
Rewrite get_string to fix a buffer overflow and check a few special cases
git-svn-id: https://s.snth.net/svn/neverball/trunk@2872
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 12 Jun 2009 00:15:51 +0000 (00:15 +0000)]
ball/demo: increase player name buffer size
This allows Neverball to actually (as opposed to theoretically) handle
stored player names of (nearly) arbitrary length rather than fall
apart on anything longer than 9 characters.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2871
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 9 Jun 2009 23:53:12 +0000 (23:53 +0000)]
accordian.map: increase time by 5 seconds
This way the pyramid is in its fully "expanded" position at time-out,
so you can still reach the goal in the second half of tick-tock.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2870
78b8d119-cf0a-0410-b17c-
f493084dd1d7
elviz [Tue, 9 Jun 2009 21:55:02 +0000 (21:55 +0000)]
ufo.map: Tiny texture fix
git-svn-id: https://s.snth.net/svn/neverball/trunk@2869
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Mon, 8 Jun 2009 10:05:31 +0000 (10:05 +0000)]
AUTHORS: add a field for aliases and use it
(Updated everyone I could remember or find.)
git-svn-id: https://s.snth.net/svn/neverball/trunk@2868
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Mon, 8 Jun 2009 10:05:24 +0000 (10:05 +0000)]
Apparently I made a map, too
git-svn-id: https://s.snth.net/svn/neverball/trunk@2867
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Mon, 8 Jun 2009 10:05:16 +0000 (10:05 +0000)]
Add Paul Tompkins to authors (about time)
git-svn-id: https://s.snth.net/svn/neverball/trunk@2866
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 2 Jun 2009 16:40:01 +0000 (16:40 +0000)]
Implement a "top-down" camera (cheat mode only)
git-svn-id: https://s.snth.net/svn/neverball/trunk@2865
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sat, 30 May 2009 18:35:37 +0000 (18:35 +0000)]
Middle mouse button toggles between chase/manual views
git-svn-id: https://s.snth.net/svn/neverball/trunk@2864
78b8d119-cf0a-0410-b17c-
f493084dd1d7
jammnrose [Fri, 29 May 2009 22:21:12 +0000 (22:21 +0000)]
Set ignore property on folder icon.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2863
78b8d119-cf0a-0410-b17c-
f493084dd1d7
jammnrose [Tue, 26 May 2009 23:03:12 +0000 (23:03 +0000)]
Added recently added files to the Neverball build target in the xcodeproj.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2862
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 19 May 2009 23:43:23 +0000 (23:43 +0000)]
Clean up some magic constants
git-svn-id: https://s.snth.net/svn/neverball/trunk@2861
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 19 May 2009 23:43:14 +0000 (23:43 +0000)]
Redo video init when turning on reflections
Found and implemented by Elviz in Nuncabola, this solves the
long-standing problem of non-working stencil tests after launching the
game without reflections and then turning them on.
git-svn-id: https://s.snth.net/svn/neverball/trunk@2860
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 19 May 2009 23:43:06 +0000 (23:43 +0000)]
Init SDL video subsystem separately, as part of video_init
git-svn-id: https://s.snth.net/svn/neverball/trunk@2859
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 19 May 2009 23:42:57 +0000 (23:42 +0000)]
share/video: move buffer setup from video_init to video_mode
git-svn-id: https://s.snth.net/svn/neverball/trunk@2858
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Tue, 19 May 2009 23:42:49 +0000 (23:42 +0000)]
Die, distraction
git-svn-id: https://s.snth.net/svn/neverball/trunk@2857
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Thu, 14 May 2009 14:24:30 +0000 (14:24 +0000)]
share/keynames: squash embarrasing out-of-bounds access bug
git-svn-id: https://s.snth.net/svn/neverball/trunk@2856
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Sun, 10 May 2009 19:44:03 +0000 (19:44 +0000)]
share/config: remove needless mkdir defs
git-svn-id: https://s.snth.net/svn/neverball/trunk@2854
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 8 May 2009 19:35:36 +0000 (19:35 +0000)]
ball/demo: extend to keep internals out of ball/demo_dir
git-svn-id: https://s.snth.net/svn/neverball/trunk@2853
78b8d119-cf0a-0410-b17c-
f493084dd1d7
parasti [Fri, 8 May 2009 19:35:26 +0000 (19:35 +0000)]
ball/demo_dir: make symmetric with share/dir
git-svn-id: https://s.snth.net/svn/neverball/trunk@2852
78b8d119-cf0a-0410-b17c-
f493084dd1d7