Nick Gasson [Sun, 10 Apr 2011 20:13:20 +0000 (21:13 +0100)]
Give BezierCurve::uniform a better name
Nick Gasson [Sun, 10 Apr 2011 19:41:52 +0000 (20:41 +0100)]
Some tweaks to GenTrack curve function
Nick Gasson [Sun, 10 Apr 2011 15:02:55 +0000 (16:02 +0100)]
Add a new BezierCurve::uniform function which has linear arc length behaviour
This improves the animation of train moving along curves.
Nick Gasson [Sat, 19 Feb 2011 16:53:27 +0000 (16:53 +0000)]
Connect up diagonal track
Nick Gasson [Sat, 19 Feb 2011 16:34:17 +0000 (16:34 +0000)]
Place diagonal track when shift held down
Nick Gasson [Sat, 19 Feb 2011 16:18:48 +0000 (16:18 +0000)]
Fix right-angled curves in editor
Nick Gasson [Sat, 5 Feb 2011 12:01:58 +0000 (12:01 +0000)]
Start using GenTrack in editor
Nick Gasson [Fri, 4 Feb 2011 08:39:58 +0000 (08:39 +0000)]
Editor generates GenTrack instead of curves
Nick Gasson [Sat, 29 Jan 2011 21:03:51 +0000 (21:03 +0000)]
Simplify the pclass model a bit
Nick Gasson [Sat, 29 Jan 2011 17:16:18 +0000 (17:16 +0000)]
Tidy up pclass model
Nick Gasson [Sat, 29 Jan 2011 16:40:44 +0000 (16:40 +0000)]
Finish saddle tank engine model
Nick Gasson [Sat, 29 Jan 2011 15:21:48 +0000 (15:21 +0000)]
Start a saddle tank engine model
Nick Gasson [Sat, 29 Jan 2011 11:17:58 +0000 (11:17 +0000)]
Switch back to -O2
Nick Gasson [Sat, 22 Jan 2011 15:24:38 +0000 (15:24 +0000)]
Bump copyright year to 2011
Nick Gasson [Sat, 22 Jan 2011 15:14:59 +0000 (15:14 +0000)]
Remove redundant merge_vector
Nick Gasson [Sat, 22 Jan 2011 14:45:08 +0000 (14:45 +0000)]
Remove debug messages from make_mesh
Nick Gasson [Sat, 22 Jan 2011 14:42:26 +0000 (14:42 +0000)]
Force -O3 on Unix GCC
Nick Gasson [Sat, 22 Jan 2011 14:42:08 +0000 (14:42 +0000)]
Fix FPE with integer vector division
Nick Gasson [Mon, 17 Jan 2011 22:02:40 +0000 (22:02 +0000)]
Cache noise data
Nick Gasson [Mon, 17 Jan 2011 20:57:55 +0000 (20:57 +0000)]
Some more tweaks to grass noise
Nick Gasson [Sun, 16 Jan 2011 22:18:59 +0000 (22:18 +0000)]
Optimise noise function
Nick Gasson [Sun, 16 Jan 2011 22:03:01 +0000 (22:03 +0000)]
Ditch own noise implementation for Perlin one
Nick Gasson [Sun, 16 Jan 2011 21:43:42 +0000 (21:43 +0000)]
Functioning noise texture but underlying grid is visible
Nick Gasson [Sun, 16 Jan 2011 15:38:21 +0000 (15:38 +0000)]
Simple noise texture
Nick Gasson [Sun, 16 Jan 2011 10:25:05 +0000 (10:25 +0000)]
Add multiple chunk support to VBOs as well
Nick Gasson [Sun, 16 Jan 2011 10:13:34 +0000 (10:13 +0000)]
Fix mesh buffer merging with multiple chunks
Nick Gasson [Sat, 15 Jan 2011 22:10:00 +0000 (22:10 +0000)]
Avoid having an empty "null" chunk
Nick Gasson [Sat, 15 Jan 2011 22:07:56 +0000 (22:07 +0000)]
Move counting functions into MeshBuffer
Nick Gasson [Sat, 15 Jan 2011 22:05:30 +0000 (22:05 +0000)]
Delete some commented code
Nick Gasson [Sat, 15 Jan 2011 22:03:14 +0000 (22:03 +0000)]
Texture sorting mesh implementation
Nick Gasson [Sat, 15 Jan 2011 18:29:52 +0000 (18:29 +0000)]
Simplify mesh buffer interface
Nick Gasson [Sat, 15 Jan 2011 18:08:45 +0000 (18:08 +0000)]
Fix texture rendering
Nick Gasson [Sat, 15 Jan 2011 17:15:40 +0000 (17:15 +0000)]
Remove display list mesh implementation
Nick Gasson [Sat, 15 Jan 2011 15:44:38 +0000 (15:44 +0000)]
Make Index unsigned instead of size_t
Nick Gasson [Sat, 15 Jan 2011 14:41:15 +0000 (14:41 +0000)]
Use packed vector representation
Nick Gasson [Sat, 15 Jan 2011 11:42:18 +0000 (11:42 +0000)]
Profile several more vector operations
Nick Gasson [Sat, 15 Jan 2011 10:33:07 +0000 (10:33 +0000)]
Add profiling script
Nick Gasson [Sat, 15 Jan 2011 09:54:29 +0000 (09:54 +0000)]
Start trying to optimise vector code
Nick Gasson [Tue, 21 Dec 2010 13:39:54 +0000 (13:39 +0000)]
Make functions in anonymouse namespaces static
Nick Gasson [Wed, 20 Oct 2010 19:25:46 +0000 (20:25 +0100)]
Fix GenTrack crash
Nick Gasson [Wed, 20 Oct 2010 19:20:50 +0000 (20:20 +0100)]
Update figure8 map with new gen track
Nick Gasson [Sun, 19 Sep 2010 10:37:45 +0000 (11:37 +0100)]
Fix display of message area text
Nick Gasson [Sun, 19 Sep 2010 09:27:20 +0000 (10:27 +0100)]
Improvements to power plant and coal mine models
Nick Gasson [Sun, 12 Sep 2010 09:47:20 +0000 (10:47 +0100)]
Save each bit of scenery only once
Nick Gasson [Sun, 12 Sep 2010 09:42:06 +0000 (10:42 +0100)]
Add coal mine model
Nick Gasson [Sun, 5 Sep 2010 09:55:32 +0000 (10:55 +0100)]
Delete scenery that covers multiple tiles
Nick Gasson [Sun, 22 Aug 2010 10:52:24 +0000 (11:52 +0100)]
Add Industry implementation
Nick Gasson [Sun, 22 Aug 2010 09:54:33 +0000 (10:54 +0100)]
Fix some function names
Nick Gasson [Sun, 22 Aug 2010 09:49:43 +0000 (10:49 +0100)]
Stub interfaces for industry and cargo
Nick Gasson [Sat, 21 Aug 2010 15:37:26 +0000 (16:37 +0100)]
Increase clip volume overlap to remove some artefacts
Nick Gasson [Sat, 21 Aug 2010 14:21:26 +0000 (15:21 +0100)]
Implement get_covers for GenTrack
Nick Gasson [Sat, 21 Aug 2010 13:50:09 +0000 (14:50 +0100)]
Default game camera to floating
Nick Gasson [Fri, 13 Aug 2010 20:36:55 +0000 (21:36 +0100)]
Fixup the power plant model
Nick Gasson [Fri, 13 Aug 2010 12:59:24 +0000 (13:59 +0100)]
Calculate tile size of buildings
Use it to connect anchor to all covered tiles
Nick Gasson [Fri, 13 Aug 2010 12:02:00 +0000 (13:02 +0100)]
Revert to platform sections from 0.2.1
But offset them by 0.5
Nick Gasson [Fri, 13 Aug 2010 11:51:36 +0000 (12:51 +0100)]
A few tweaks to platform end/middle
Nick Gasson [Wed, 11 Aug 2010 21:55:46 +0000 (22:55 +0100)]
Remove scaling from building XML
Nick Gasson [Wed, 11 Aug 2010 21:52:56 +0000 (22:52 +0100)]
Building models should now only be in positive xyz space
Nick Gasson [Sun, 1 Aug 2010 20:12:07 +0000 (21:12 +0100)]
IRenderable is no longer needed
Nick Gasson [Sun, 1 Aug 2010 20:09:45 +0000 (21:09 +0100)]
Move scenery into Anchor<T> class
Nick Gasson [Sun, 1 Aug 2010 20:04:02 +0000 (21:04 +0100)]
New Anchor<T> template to generalise TrackNode
Nick Gasson [Sun, 1 Aug 2010 19:11:12 +0000 (20:11 +0100)]
Avoid annoying warning caused by Boost.Optional
Nick Gasson [Sun, 1 Aug 2010 19:07:47 +0000 (20:07 +0100)]
Scenery and track implement shared IRenderable interface
Nick Gasson [Sun, 1 Aug 2010 18:35:40 +0000 (19:35 +0100)]
Tweaks to the power plant model
Nick Gasson [Sun, 1 Aug 2010 14:47:34 +0000 (15:47 +0100)]
Add new power plant model
Nick Gasson [Sun, 1 Aug 2010 13:39:19 +0000 (14:39 +0100)]
Hold down right mouse button to pan camera
Nick Gasson [Sat, 31 Jul 2010 20:51:35 +0000 (21:51 +0100)]
Check TERM is not `dumb' before colouring output
Fixes GUD output
Nick Gasson [Sat, 31 Jul 2010 18:45:32 +0000 (19:45 +0100)]
Fix memory corruption caused by incorrect height map index
Nick Gasson [Sun, 25 Jul 2010 10:43:09 +0000 (11:43 +0100)]
Rename get_covers2 to get_height_locked
Nick Gasson [Sun, 25 Jul 2010 10:40:14 +0000 (11:40 +0100)]
Locked height map nodes covered by track
Nick Gasson [Sun, 25 Jul 2010 09:59:58 +0000 (10:59 +0100)]
Rename Map::Vertex to Map::HeightMap to avoid confusion
Nick Gasson [Sun, 25 Jul 2010 09:42:02 +0000 (10:42 +0100)]
Load SBend track as GenTrack
Nick Gasson [Sun, 25 Jul 2010 09:16:49 +0000 (10:16 +0100)]
Going backwards on GenTrack
Nick Gasson [Sun, 25 Jul 2010 08:51:06 +0000 (09:51 +0100)]
Cache bounding polygon in GenTrack
Nick Gasson [Sat, 24 Jul 2010 21:06:46 +0000 (22:06 +0100)]
Load CurvedTrack as GenTrack
Nick Gasson [Sat, 24 Jul 2010 20:11:06 +0000 (21:11 +0100)]
Save GenTrack to XML
Nick Gasson [Sat, 24 Jul 2010 19:58:28 +0000 (20:58 +0100)]
Undo accidental changes to gen_track.xml
Nick Gasson [Sat, 24 Jul 2010 19:55:05 +0000 (20:55 +0100)]
Algorithm to check whether point is within bounding polygon
Nick Gasson [Sat, 24 Jul 2010 17:57:44 +0000 (18:57 +0100)]
Compute bounding polygon for GenTrack segments
Nick Gasson [Sat, 24 Jul 2010 12:38:09 +0000 (13:38 +0100)]
Change CrossoverTrack to use Point<int> to store origin
Nick Gasson [Sat, 17 Jul 2010 07:25:33 +0000 (08:25 +0100)]
Add new get_covers2 method to return covered tile vertices
Nick Gasson [Sat, 17 Jul 2010 07:14:39 +0000 (08:14 +0100)]
Move flat_graident_func into TrackCommon
Nick Gasson [Tue, 6 Jul 2010 20:32:25 +0000 (21:32 +0100)]
Draw sleepers in GenTrack segments
Nick Gasson [Tue, 6 Jul 2010 20:31:59 +0000 (21:31 +0100)]
Un-inline definitions in MapLoader
Nick Gasson [Sun, 4 Jul 2010 19:56:54 +0000 (20:56 +0100)]
Shift cube used for frustum culling
Nick Gasson [Sun, 4 Jul 2010 19:51:52 +0000 (20:51 +0100)]
Tidy up function naming
Nick Gasson [Thu, 1 Jul 2010 22:40:20 +0000 (23:40 +0100)]
Rename get_average_triangle{C,_c}ount
Nick Gasson [Thu, 1 Jul 2010 22:34:40 +0000 (23:34 +0100)]
Display render stats in game window
Nick Gasson [Thu, 1 Jul 2010 21:09:10 +0000 (22:09 +0100)]
Render sleepers on GenTrack
Nick Gasson [Wed, 30 Jun 2010 20:25:36 +0000 (21:25 +0100)]
Merge branch 'gen_track'
Nick Gasson [Wed, 30 Jun 2010 20:24:47 +0000 (21:24 +0100)]
Train moving along GenTrack
Nick Gasson [Sun, 27 Jun 2010 16:36:02 +0000 (17:36 +0100)]
Connect up diagonal GenTrack segments
Nick Gasson [Sun, 27 Jun 2010 15:41:26 +0000 (16:41 +0100)]
Fix bug in rendering of Bezier rails
Nick Gasson [Sun, 27 Jun 2010 15:23:17 +0000 (16:23 +0100)]
Function naming tidy up
Nick Gasson [Sun, 27 Jun 2010 14:57:27 +0000 (15:57 +0100)]
Add new GenTrack test map
Nick Gasson [Sun, 27 Jun 2010 14:57:13 +0000 (15:57 +0100)]
Basic rendering of new generic track
Nick Gasson [Sun, 27 Jun 2010 12:59:49 +0000 (13:59 +0100)]
Load GenTrack segments from XML
Nick Gasson [Sun, 27 Jun 2010 10:53:20 +0000 (11:53 +0100)]
Don't use add_definitions to set compiler flags
Nick Gasson [Sun, 27 Jun 2010 10:24:34 +0000 (11:24 +0100)]
Merge branch 'master' into gen_track
Nick Gasson [Sun, 27 Jun 2010 10:24:16 +0000 (11:24 +0100)]
Fix saving of maps with new schema names