]> git.nickg.me.uk Git - traingame.git/log
traingame.git
14 years agoMinor tweaks to buildings r0.2.0
Nick Gasson [Sun, 18 Apr 2010 15:22:21 +0000 (16:22 +0100)]
Minor tweaks to buildings

14 years agoAllow scaling buildings
Nick Gasson [Sun, 18 Apr 2010 15:16:56 +0000 (16:16 +0100)]
Allow scaling buildings

14 years agoNew demo map
Nick Gasson [Sun, 18 Apr 2010 15:10:01 +0000 (16:10 +0100)]
New demo map

14 years agoAdd GCC 4.5 STL profiling option
Nick Gasson [Sun, 18 Apr 2010 14:46:27 +0000 (15:46 +0100)]
Add GCC 4.5 STL profiling option

14 years agoAdd demo map
Nick Gasson [Sun, 28 Mar 2010 12:29:54 +0000 (13:29 +0100)]
Add demo map

14 years agoAlways transform to correct height on points
Nick Gasson [Sun, 28 Mar 2010 12:25:51 +0000 (13:25 +0100)]
Always transform to correct height on points

14 years agoHide station window for the time being
Nick Gasson [Sun, 28 Mar 2010 12:25:14 +0000 (13:25 +0100)]
Hide station window for the time being

14 years agoAdjust fog for large view distances
Nick Gasson [Sun, 28 Mar 2010 12:17:56 +0000 (13:17 +0100)]
Adjust fog for large view distances

14 years agoFix rendering of crossover track
Nick Gasson [Sun, 28 Mar 2010 11:47:07 +0000 (12:47 +0100)]
Fix rendering of crossover track

14 years agoMake fog stretch for far clip plane
Nick Gasson [Sun, 28 Mar 2010 11:33:46 +0000 (12:33 +0100)]
Make fog stretch for far clip plane

14 years agoBump version
Nick Gasson [Sun, 28 Mar 2010 11:12:34 +0000 (12:12 +0100)]
Bump version

14 years agoRemove debug messages
Nick Gasson [Sun, 28 Mar 2010 11:04:19 +0000 (12:04 +0100)]
Remove debug messages

14 years agoRemove follow queue code
Nick Gasson [Sun, 28 Mar 2010 11:02:13 +0000 (12:02 +0100)]
Remove follow queue code

14 years agoMake trucks pull the train down hill
Nick Gasson [Sun, 28 Mar 2010 10:57:53 +0000 (11:57 +0100)]
Make trucks pull the train down hill

14 years agoFix braking and stopping (again)
Nick Gasson [Sun, 28 Mar 2010 10:13:24 +0000 (11:13 +0100)]
Fix braking and stopping (again)

14 years agoFix resistance equation
Nick Gasson [Sun, 28 Mar 2010 10:02:24 +0000 (11:02 +0100)]
Fix resistance equation

14 years agoCache meshes for S-bends
Nick Gasson [Sun, 28 Mar 2010 09:55:41 +0000 (10:55 +0100)]
Cache meshes for S-bends

14 years agoOnly do track transforms in one place
Nick Gasson [Sun, 28 Mar 2010 08:48:47 +0000 (09:48 +0100)]
Only do track transforms in one place

14 years agoRender curved rails within tile bounds
Nick Gasson [Sun, 28 Mar 2010 08:39:15 +0000 (09:39 +0100)]
Render curved rails within tile bounds

14 years agoCorrect placement of S-bend sleepers
Nick Gasson [Sun, 28 Mar 2010 08:23:07 +0000 (09:23 +0100)]
Correct placement of S-bend sleepers

14 years agoCompute offsets of Bezier curves to keep rails at constant separation
Nick Gasson [Sat, 27 Mar 2010 22:29:54 +0000 (22:29 +0000)]
Compute offsets of Bezier curves to keep rails at constant separation

14 years agoRender sleepers in S-bend track
Nick Gasson [Sat, 27 Mar 2010 21:36:00 +0000 (21:36 +0000)]
Render sleepers in S-bend track

14 years agoCompute tiles covered by S-bends
Nick Gasson [Sat, 27 Mar 2010 21:11:05 +0000 (21:11 +0000)]
Compute tiles covered by S-bends

14 years agoAdd transform function for S-bends
Nick Gasson [Sat, 27 Mar 2010 20:35:45 +0000 (20:35 +0000)]
Add transform function for S-bends

14 years agoSave and load S-bends
Nick Gasson [Sat, 27 Mar 2010 17:45:26 +0000 (17:45 +0000)]
Save and load S-bends

14 years agoCorrect rendering of S-bends
Nick Gasson [Sat, 27 Mar 2010 17:15:23 +0000 (17:15 +0000)]
Correct rendering of S-bends

14 years agoBasic rendering of S-bends
Nick Gasson [Sun, 21 Mar 2010 21:04:39 +0000 (21:04 +0000)]
Basic rendering of S-bends

14 years agoGet the editor to generate S-bends
Nick Gasson [Sun, 21 Mar 2010 19:47:43 +0000 (19:47 +0000)]
Get the editor to generate S-bends

14 years agoAdd stub class for S-bend track
Nick Gasson [Sun, 21 Mar 2010 18:16:59 +0000 (18:16 +0000)]
Add stub class for S-bend track

14 years agoOptimise calls to Font::text_width
Nick Gasson [Sun, 21 Mar 2010 12:55:54 +0000 (12:55 +0000)]
Optimise calls to Font::text_width

14 years agoRemove the `resetMarks` function to improve performance
Nick Gasson [Sun, 21 Mar 2010 12:36:46 +0000 (12:36 +0000)]
Remove the `resetMarks` function to improve performance

14 years agoAdd a hill to the goods demo map
Nick Gasson [Sun, 21 Mar 2010 12:02:19 +0000 (12:02 +0000)]
Add a hill to the goods demo map

14 years agoAllow erasing stations
Nick Gasson [Sun, 21 Mar 2010 11:55:43 +0000 (11:55 +0000)]
Allow erasing stations

14 years agoAdd `reverse' status label
Nick Gasson [Sun, 21 Mar 2010 11:54:01 +0000 (11:54 +0000)]
Add `reverse' status label

14 years agoFix stopping at stations
Nick Gasson [Sun, 21 Mar 2010 11:48:28 +0000 (11:48 +0000)]
Fix stopping at stations

14 years agoDisplay speed as an absolute value
Nick Gasson [Sun, 21 Mar 2010 10:48:53 +0000 (10:48 +0000)]
Display speed as an absolute value

14 years agoMake trees a bit smaller
Nick Gasson [Sun, 21 Mar 2010 09:38:35 +0000 (09:38 +0000)]
Make trees a bit smaller

14 years agoSeperate trucks a bit
Nick Gasson [Sat, 20 Mar 2010 18:12:17 +0000 (18:12 +0000)]
Seperate trucks a bit

14 years agoFix bug in SlopeTrack gradient calculation
Nick Gasson [Sat, 20 Mar 2010 17:49:31 +0000 (17:49 +0000)]
Fix bug in SlopeTrack gradient calculation

14 years agoFix gradient calculations
Nick Gasson [Sat, 20 Mar 2010 17:39:36 +0000 (17:39 +0000)]
Fix gradient calculations

14 years agoTweak the lighting model a tiny bit
Nick Gasson [Sat, 20 Mar 2010 16:20:53 +0000 (16:20 +0000)]
Tweak the lighting model a tiny bit

14 years agoAdd smoothing tool
Nick Gasson [Sat, 20 Mar 2010 16:18:11 +0000 (16:18 +0000)]
Add smoothing tool

14 years agoMake IRollingStock::length return a float
Nick Gasson [Tue, 16 Mar 2010 08:31:05 +0000 (08:31 +0000)]
Make IRollingStock::length return a float

14 years agoTidy up some float/double conversion warnings
Nick Gasson [Tue, 16 Mar 2010 08:21:15 +0000 (08:21 +0000)]
Tidy up some float/double conversion warnings

14 years agoMerge branch 'master' of ssh://vds/home/nick/git/traingame
Nick Gasson [Tue, 16 Mar 2010 07:45:39 +0000 (07:45 +0000)]
Merge branch 'master' of ssh://vds/home/nick/git/traingame

14 years agoFix regression in Points::transform
Nick Gasson [Mon, 15 Mar 2010 21:17:26 +0000 (21:17 +0000)]
Fix regression in Points::transform

14 years agoCompute effect of gravity correctly
Nick Gasson [Sat, 6 Mar 2010 17:48:34 +0000 (17:48 +0000)]
Compute effect of gravity correctly

14 years agoRemove redundant glob from CMakeLists
Nick Gasson [Sat, 6 Mar 2010 17:31:23 +0000 (17:31 +0000)]
Remove redundant glob from CMakeLists

14 years agoFirst attempt at uphill/downhill physics
Nick Gasson [Sat, 6 Mar 2010 16:50:44 +0000 (16:50 +0000)]
First attempt at uphill/downhill physics

14 years agoAdd the uphill test map
Nick Gasson [Fri, 5 Mar 2010 21:16:18 +0000 (21:16 +0000)]
Add the uphill test map

14 years agoRemove some debugging output
Nick Gasson [Fri, 5 Mar 2010 21:16:06 +0000 (21:16 +0000)]
Remove some debugging output

14 years agoDraw sleepers on sloped track
Nick Gasson [Fri, 5 Mar 2010 21:01:17 +0000 (21:01 +0000)]
Draw sleepers on sloped track

14 years agoPut the trucks back in
Nick Gasson [Fri, 5 Mar 2010 20:02:54 +0000 (20:02 +0000)]
Put the trucks back in

14 years agoFix axis passed to new track
Nick Gasson [Fri, 5 Mar 2010 19:57:50 +0000 (19:57 +0000)]
Fix axis passed to new track

14 years agoGenerate smoother slopes at the expense of more StraightTrack
Nick Gasson [Thu, 4 Mar 2010 22:16:18 +0000 (22:16 +0000)]
Generate smoother slopes at the expense of more StraightTrack

14 years agoSlopes working properly
Nick Gasson [Thu, 4 Mar 2010 22:09:07 +0000 (22:09 +0000)]
Slopes working properly

14 years agoAdjust precision of floating point output
Nick Gasson [Thu, 4 Mar 2010 21:40:05 +0000 (21:40 +0000)]
Adjust precision of floating point output

14 years agoStart debugging slope join problems
Nick Gasson [Thu, 4 Mar 2010 21:36:14 +0000 (21:36 +0000)]
Start debugging slope join problems

14 years agoBasic rotating up and down
Nick Gasson [Thu, 4 Mar 2010 20:55:57 +0000 (20:55 +0000)]
Basic rotating up and down

14 years agoMake going up and down work in all cases
Nick Gasson [Thu, 4 Mar 2010 20:27:56 +0000 (20:27 +0000)]
Make going up and down work in all cases

14 years agoBit more progress on getting train to go up and down
Nick Gasson [Wed, 3 Mar 2010 08:37:34 +0000 (08:37 +0000)]
Bit more progress on getting train to go up and down

14 years agoStart getting the train to go uphill
Nick Gasson [Tue, 2 Mar 2010 21:25:21 +0000 (21:25 +0000)]
Start getting the train to go uphill

14 years agoMerge branch 'master' into slope_track
Nick Gasson [Tue, 2 Mar 2010 08:25:16 +0000 (08:25 +0000)]
Merge branch 'master' into slope_track

14 years agoRemove signal handler as it seems to upset X
Nick Gasson [Tue, 2 Mar 2010 08:24:58 +0000 (08:24 +0000)]
Remove signal handler as it seems to upset X

14 years agoMerge branch 'master' into slope_track
Nick Gasson [Sun, 28 Feb 2010 22:33:28 +0000 (22:33 +0000)]
Merge branch 'master' into slope_track

14 years agoSome tabs had snuck in
Nick Gasson [Sun, 28 Feb 2010 22:25:31 +0000 (22:25 +0000)]
Some tabs had snuck in

14 years agoMerge branch 'master' into slope_track
Nick Gasson [Sun, 28 Feb 2010 22:15:31 +0000 (22:15 +0000)]
Merge branch 'master' into slope_track

14 years agoRemove SEGV workaround: this isn't the problem
Nick Gasson [Sun, 28 Feb 2010 22:15:01 +0000 (22:15 +0000)]
Remove SEGV workaround: this isn't the problem

14 years agoNo need to store `flip' field for SlopeTrack
Nick Gasson [Sun, 28 Feb 2010 22:00:55 +0000 (22:00 +0000)]
No need to store `flip' field for SlopeTrack

14 years agoLoad sloped track from XML
Nick Gasson [Sun, 28 Feb 2010 21:59:53 +0000 (21:59 +0000)]
Load sloped track from XML

14 years agoDo some fancy maths to make the slopes line up nicely
Nick Gasson [Sun, 28 Feb 2010 21:25:21 +0000 (21:25 +0000)]
Do some fancy maths to make the slopes line up nicely

14 years agoSimple upward slopes working
Nick Gasson [Sun, 28 Feb 2010 20:44:00 +0000 (20:44 +0000)]
Simple upward slopes working

14 years agoMake SlopeTrack work like a proper track segment
Nick Gasson [Sun, 28 Feb 2010 20:28:29 +0000 (20:28 +0000)]
Make SlopeTrack work like a proper track segment

14 years agoGenerate sloped track
Nick Gasson [Sun, 28 Feb 2010 19:48:06 +0000 (19:48 +0000)]
Generate sloped track

14 years agoAdd stub SlopeTrack class
Nick Gasson [Sun, 28 Feb 2010 18:00:36 +0000 (18:00 +0000)]
Add stub SlopeTrack class

14 years agoCalculate slope before and after sloped section
Nick Gasson [Sun, 28 Feb 2010 17:03:20 +0000 (17:03 +0000)]
Calculate slope before and after sloped section

14 years agoDetect slopes and warn they're not supported
Nick Gasson [Sun, 28 Feb 2010 16:53:12 +0000 (16:53 +0000)]
Detect slopes and warn they're not supported

14 years agoOnly allow track to be placed on level ground
Nick Gasson [Sun, 28 Feb 2010 16:47:29 +0000 (16:47 +0000)]
Only allow track to be placed on level ground

14 years agoAdd start of loading/unloading window
Nick Gasson [Sun, 28 Feb 2010 13:53:20 +0000 (13:53 +0000)]
Add start of loading/unloading window

14 years agoPrevent planting of trees over track or other scenery
Nick Gasson [Sun, 28 Feb 2010 13:37:28 +0000 (13:37 +0000)]
Prevent planting of trees over track or other scenery

14 years agoAdd some trees to the goods_demo map
Nick Gasson [Sun, 28 Feb 2010 13:31:56 +0000 (13:31 +0000)]
Add some trees to the goods_demo map

14 years agoAdd lots of trees to the figure8 map
Nick Gasson [Sun, 28 Feb 2010 13:30:42 +0000 (13:30 +0000)]
Add lots of trees to the figure8 map

14 years agoScatter trees randomly in dragged area
Nick Gasson [Sun, 28 Feb 2010 13:30:30 +0000 (13:30 +0000)]
Scatter trees randomly in dragged area

14 years agoRename `throttle' to `power' in GUI
Nick Gasson [Sun, 28 Feb 2010 13:23:19 +0000 (13:23 +0000)]
Rename `throttle' to `power' in GUI

14 years agoHaving both placeBuilding and addScenery is pointless
Nick Gasson [Sat, 27 Feb 2010 22:43:38 +0000 (22:43 +0000)]
Having both placeBuilding and addScenery is pointless

14 years agoStoring trees and buildings separately is pointless
Nick Gasson [Sat, 27 Feb 2010 22:41:30 +0000 (22:41 +0000)]
Storing trees and buildings separately is pointless

14 years agoUse boot::program_options to parse command line
Nick Gasson [Sat, 27 Feb 2010 21:41:23 +0000 (21:41 +0000)]
Use boot::program_options to parse command line

14 years agoAdd support for non-square maps
Nick Gasson [Sat, 27 Feb 2010 20:54:55 +0000 (20:54 +0000)]
Add support for non-square maps

14 years agoMake scenery picker generic
Nick Gasson [Sat, 27 Feb 2010 20:12:42 +0000 (20:12 +0000)]
Make scenery picker generic

14 years agoRename BuildingPicker to SceneryPicker
Nick Gasson [Sat, 27 Feb 2010 17:32:19 +0000 (17:32 +0000)]
Rename BuildingPicker to SceneryPicker

14 years agoMake buildings implement IScenery and remove IBuilding
Nick Gasson [Sat, 27 Feb 2010 17:27:18 +0000 (17:27 +0000)]
Make buildings implement IScenery and remove IBuilding

14 years agoHave Building track its own location
Nick Gasson [Sat, 27 Feb 2010 17:20:06 +0000 (17:20 +0000)]
Have Building track its own location

14 years agoAllow deleting trees
Nick Gasson [Sat, 27 Feb 2010 17:12:23 +0000 (17:12 +0000)]
Allow deleting trees

14 years agoDisallow raising terrain over track
Nick Gasson [Sat, 27 Feb 2010 15:40:14 +0000 (15:40 +0000)]
Disallow raising terrain over track

14 years agoAdjust land height in figure8 map
Nick Gasson [Sat, 27 Feb 2010 14:10:28 +0000 (14:10 +0000)]
Adjust land height in figure8 map

14 years agoTweak sea and beach colours
Nick Gasson [Sat, 27 Feb 2010 14:10:18 +0000 (14:10 +0000)]
Tweak sea and beach colours

14 years agoFix speed issue when reversing
Nick Gasson [Sat, 27 Feb 2010 13:51:57 +0000 (13:51 +0000)]
Fix speed issue when reversing

14 years agoChange control method to use up/down keys
Nick Gasson [Sat, 27 Feb 2010 13:24:48 +0000 (13:24 +0000)]
Change control method to use up/down keys

14 years agoStop including all of SDL with IScreen.hpp
Nick Gasson [Sat, 27 Feb 2010 13:20:53 +0000 (13:20 +0000)]
Stop including all of SDL with IScreen.hpp

14 years agoFix smoke trail visual artefacts
Nick Gasson [Sat, 27 Feb 2010 13:17:17 +0000 (13:17 +0000)]
Fix smoke trail visual artefacts