traingame.git
15 years agoCorrect movement along Bezier curves
Nick Gasson [Sat, 13 Jun 2009 13:17:37 +0000 (14:17 +0100)]
Correct movement along Bezier curves

15 years agoUse Bezier curves for curvey bits of points
Nick Gasson [Sat, 13 Jun 2009 12:26:01 +0000 (13:26 +0100)]
Use Bezier curves for curvey bits of points

15 years agoSimple implementation of Bezier curves
Nick Gasson [Sat, 13 Jun 2009 11:59:21 +0000 (12:59 +0100)]
Simple implementation of Bezier curves

15 years agoSort the smoke particles again because it looks better
Nick Gasson [Thu, 11 Jun 2009 20:47:59 +0000 (21:47 +0100)]
Sort the smoke particles again because it looks better

15 years agoMerge branch 'master' into points
Nick Gasson [Thu, 11 Jun 2009 20:44:34 +0000 (21:44 +0100)]
Merge branch 'master' into points

15 years agoUse glDepthMask to avoid sorting billboards
Nick Gasson [Thu, 11 Jun 2009 20:43:06 +0000 (21:43 +0100)]
Use glDepthMask to avoid sorting billboards

15 years agoRename the displaced curve function
Nick Gasson [Thu, 11 Jun 2009 20:14:34 +0000 (21:14 +0100)]
Rename the displaced curve function

15 years agoHandle segment lengths greater than curve lengths
Nick Gasson [Thu, 11 Jun 2009 19:30:27 +0000 (20:30 +0100)]
Handle segment lengths greater than curve lengths

15 years agoRefactor point transforming code a bit
Nick Gasson [Thu, 11 Jun 2009 19:15:16 +0000 (20:15 +0100)]
Refactor point transforming code a bit

15 years agoTurn onto curved bit of points
Nick Gasson [Thu, 11 Jun 2009 19:03:05 +0000 (20:03 +0100)]
Turn onto curved bit of points

15 years agoPoints working without rotation
Nick Gasson [Thu, 11 Jun 2009 18:36:58 +0000 (19:36 +0100)]
Points working without rotation

15 years agoRefactor
Nick Gasson [Thu, 11 Jun 2009 18:28:13 +0000 (19:28 +0100)]
Refactor

15 years agoX-axis points working
Nick Gasson [Thu, 11 Jun 2009 18:27:09 +0000 (19:27 +0100)]
X-axis points working

15 years agoOne curvey point correct
Nick Gasson [Thu, 11 Jun 2009 18:08:24 +0000 (19:08 +0100)]
One curvey point correct

15 years agoA first attempt at moving along the curvey bit
Nick Gasson [Wed, 10 Jun 2009 19:42:46 +0000 (20:42 +0100)]
A first attempt at moving along the curvey bit

15 years agoUse travel tokens in segmentLength
Nick Gasson [Wed, 10 Jun 2009 19:34:47 +0000 (20:34 +0100)]
Use travel tokens in segmentLength

15 years agoGet transformation for straight part of points working
Nick Gasson [Wed, 10 Jun 2009 19:26:47 +0000 (20:26 +0100)]
Get transformation for straight part of points working

15 years agoTravelling backwards over points
Nick Gasson [Mon, 8 Jun 2009 19:08:24 +0000 (20:08 +0100)]
Travelling backwards over points

15 years agoCalculate the (non)displaced entry points for points
Nick Gasson [Mon, 8 Jun 2009 18:59:08 +0000 (19:59 +0100)]
Calculate the (non)displaced entry points for points

15 years agoMove more things into TravelToken
Nick Gasson [Mon, 8 Jun 2009 18:49:45 +0000 (19:49 +0100)]
Move more things into TravelToken

15 years agoCreate new TravelToken type to hold track information
Nick Gasson [Mon, 8 Jun 2009 18:36:48 +0000 (19:36 +0100)]
Create new TravelToken type to hold track information

15 years agoPoints working as straight track segments
Nick Gasson [Mon, 8 Jun 2009 17:47:19 +0000 (18:47 +0100)]
Points working as straight track segments

15 years agoGiving up on the points for today
Nick Gasson [Sun, 7 Jun 2009 19:49:52 +0000 (20:49 +0100)]
Giving up on the points for today

15 years agoSaving points to XML
Nick Gasson [Sun, 7 Jun 2009 19:28:26 +0000 (20:28 +0100)]
Saving points to XML

15 years agoTransform function for points partially working
Nick Gasson [Sun, 7 Jun 2009 18:09:14 +0000 (19:09 +0100)]
Transform function for points partially working

15 years agoCalculate endpoints of points
Nick Gasson [Sun, 7 Jun 2009 17:31:22 +0000 (18:31 +0100)]
Calculate endpoints of points

15 years agoPoint drawing
Nick Gasson [Sun, 7 Jun 2009 17:10:24 +0000 (18:10 +0100)]
Point drawing

15 years agoUse vertex arrays for small meshes
Nick Gasson [Sun, 7 Jun 2009 15:46:25 +0000 (16:46 +0100)]
Use vertex arrays for small meshes

15 years agoBasic rendering of S-bend curves
Nick Gasson [Sun, 7 Jun 2009 15:43:20 +0000 (16:43 +0100)]
Basic rendering of S-bend curves

15 years agoAdd Points stub class
Nick Gasson [Sun, 7 Jun 2009 14:32:36 +0000 (15:32 +0100)]
Add Points stub class

15 years agoXML loading and saving of stations
Nick Gasson [Sun, 7 Jun 2009 14:11:51 +0000 (15:11 +0100)]
XML loading and saving of stations

15 years agoSmall optimisation to station highlighting
Nick Gasson [Sun, 7 Jun 2009 13:38:23 +0000 (14:38 +0100)]
Small optimisation to station highlighting

15 years agoHide and show station highlights when approaching
Nick Gasson [Sun, 7 Jun 2009 13:33:52 +0000 (14:33 +0100)]
Hide and show station highlights when approaching

15 years agoGraphical status message
Nick Gasson [Sun, 7 Jun 2009 12:31:51 +0000 (13:31 +0100)]
Graphical status message

15 years agoIterate along track segments and print hints
Nick Gasson [Sun, 7 Jun 2009 12:19:54 +0000 (13:19 +0100)]
Iterate along track segments and print hints

15 years agoDetect when we've arrived at a station
Nick Gasson [Sun, 7 Jun 2009 11:38:38 +0000 (12:38 +0100)]
Detect when we've arrived at a station

15 years agoPlacing of stations
Nick Gasson [Sun, 7 Jun 2009 11:22:09 +0000 (12:22 +0100)]
Placing of stations

15 years agoAdd button to place stations
Nick Gasson [Sun, 7 Jun 2009 10:10:34 +0000 (11:10 +0100)]
Add button to place stations

15 years agoFix CMake module case-sensitivity
Nick Gasson [Sat, 6 Jun 2009 20:40:39 +0000 (21:40 +0100)]
Fix CMake module case-sensitivity

15 years agoFix some Visual C++ warnings
unknown [Sat, 6 Jun 2009 20:37:44 +0000 (21:37 +0100)]
Fix some Visual C++ warnings

15 years agoPort train game to Windows
unknown [Sat, 6 Jun 2009 20:19:46 +0000 (21:19 +0100)]
Port train game to Windows

15 years agoAdd platform specific hacks
Nick Gasson [Sat, 6 Jun 2009 15:51:12 +0000 (16:51 +0100)]
Add platform specific hacks

15 years agoGo back to using standard C++03
Nick Gasson [Fri, 5 Jun 2009 20:06:48 +0000 (21:06 +0100)]
Go back to using standard C++03

15 years agoStore stations in map tiles
Nick Gasson [Fri, 5 Jun 2009 14:25:15 +0000 (15:25 +0100)]
Store stations in map tiles

15 years agoAdd station stub
Nick Gasson [Mon, 1 Jun 2009 21:54:22 +0000 (22:54 +0100)]
Add station stub

15 years agoUse 32 bit integers in binary map data
Nick Gasson [Mon, 1 Jun 2009 21:39:54 +0000 (22:39 +0100)]
Use 32 bit integers in binary map data

15 years agoTweak the smoke effect a bit more`
Nick Gasson [Mon, 1 Jun 2009 21:36:41 +0000 (22:36 +0100)]
Tweak the smoke effect a bit more`

15 years agoFinish tuning smoke system
Nick Gasson [Sun, 31 May 2009 21:14:31 +0000 (22:14 +0100)]
Finish tuning smoke system

15 years agoTuning of smoke trail
Nick Gasson [Sun, 31 May 2009 20:18:55 +0000 (21:18 +0100)]
Tuning of smoke trail

15 years agoMake the smoke colours vary a little bit
Nick Gasson [Sun, 31 May 2009 19:32:59 +0000 (20:32 +0100)]
Make the smoke colours vary a little bit

15 years agoDepth sort smoke particles
Nick Gasson [Sun, 31 May 2009 17:42:55 +0000 (18:42 +0100)]
Depth sort smoke particles

15 years agoMove smoke trails into Train
Nick Gasson [Sun, 31 May 2009 17:18:59 +0000 (18:18 +0100)]
Move smoke trails into Train

15 years agoRename functions to make it seem less of a hack
Nick Gasson [Sun, 31 May 2009 16:32:28 +0000 (17:32 +0100)]
Rename functions to make it seem less of a hack

15 years agoRender a really simple smoke trail
Nick Gasson [Sun, 31 May 2009 16:22:45 +0000 (17:22 +0100)]
Render a really simple smoke trail

15 years agoAdd stub smoke trail implementation
Nick Gasson [Sun, 31 May 2009 15:50:14 +0000 (16:50 +0100)]
Add stub smoke trail implementation

Also forgot some files last commit

15 years agoImplement two types of billboard
Nick Gasson [Sun, 31 May 2009 15:38:39 +0000 (16:38 +0100)]
Implement two types of billboard

15 years agoAdd standard figure 8 map
Nick Gasson [Sun, 31 May 2009 13:03:47 +0000 (14:03 +0100)]
Add standard figure 8 map

15 years agoAdd tool to place start location
Nick Gasson [Sun, 31 May 2009 13:02:27 +0000 (14:02 +0100)]
Add tool to place start location

15 years agoDraw arrow for start location
Nick Gasson [Sun, 31 May 2009 09:53:03 +0000 (10:53 +0100)]
Draw arrow for start location

15 years agoChange order of gl{Vertex,Normal}Pointer
Nick Gasson [Fri, 29 May 2009 21:04:21 +0000 (22:04 +0100)]
Change order of gl{Vertex,Normal}Pointer

15 years agoRemove some debugging messages
Nick Gasson [Fri, 29 May 2009 19:37:44 +0000 (20:37 +0100)]
Remove some debugging messages

15 years agoMerge branch 'vbo'
Nick Gasson [Fri, 29 May 2009 19:31:48 +0000 (20:31 +0100)]
Merge branch 'vbo'

15 years agoComplete VBO implementation
Nick Gasson [Fri, 29 May 2009 19:29:51 +0000 (20:29 +0100)]
Complete VBO implementation

15 years agoUse GLEW to get at extensions
Nick Gasson [Fri, 29 May 2009 18:55:18 +0000 (19:55 +0100)]
Use GLEW to get at extensions

15 years agoRemove redundant DisplayListContext
Nick Gasson [Thu, 28 May 2009 21:24:58 +0000 (22:24 +0100)]
Remove redundant DisplayListContext

15 years agoNot working attempt at VBO meshes
Nick Gasson [Thu, 28 May 2009 21:19:04 +0000 (22:19 +0100)]
Not working attempt at VBO meshes

15 years agoTidy up track rendering
Nick Gasson [Sun, 24 May 2009 20:20:11 +0000 (21:20 +0100)]
Tidy up track rendering

15 years agoUse meshes for curved rails
Nick Gasson [Sun, 24 May 2009 20:11:50 +0000 (21:11 +0100)]
Use meshes for curved rails

15 years agoRemove pointless radian->deg conversion
Nick Gasson [Sun, 24 May 2009 19:49:29 +0000 (20:49 +0100)]
Remove pointless radian->deg conversion

15 years agoUse floats in track drawing code
Nick Gasson [Sun, 24 May 2009 19:47:23 +0000 (20:47 +0100)]
Use floats in track drawing code

15 years agoUse degrees for angles in track rendering
Nick Gasson [Sun, 24 May 2009 19:43:32 +0000 (20:43 +0100)]
Use degrees for angles in track rendering

15 years agoRename Axis namespace to `axis' for consitency
Nick Gasson [Sun, 24 May 2009 16:54:30 +0000 (17:54 +0100)]
Rename Axis namespace to `axis' for consitency

15 years agoRename Track namespace to `track' for consitency
Nick Gasson [Sun, 24 May 2009 16:50:27 +0000 (17:50 +0100)]
Rename Track namespace to `track' for consitency

15 years agoRemove some old track rendering code
Nick Gasson [Sun, 24 May 2009 15:40:35 +0000 (16:40 +0100)]
Remove some old track rendering code

15 years agoMake straight rails a mesh as well
Nick Gasson [Sun, 24 May 2009 15:28:48 +0000 (16:28 +0100)]
Make straight rails a mesh as well

15 years agoMake sleepers use IMesh
Nick Gasson [Sun, 24 May 2009 15:15:33 +0000 (16:15 +0100)]
Make sleepers use IMesh

15 years agoVertex array IMesh implementation
Nick Gasson [Sun, 24 May 2009 14:05:11 +0000 (15:05 +0100)]
Vertex array IMesh implementation

15 years agoDetect when raising terrain over track
Nick Gasson [Sun, 24 May 2009 13:07:44 +0000 (14:07 +0100)]
Detect when raising terrain over track

15 years agoFix boundary case for map mesh rebuilding
Nick Gasson [Sun, 24 May 2009 12:46:46 +0000 (13:46 +0100)]
Fix boundary case for map mesh rebuilding

15 years agoAdd level track tool
Nick Gasson [Sun, 24 May 2009 12:42:37 +0000 (13:42 +0100)]
Add level track tool

15 years agoRemove old code from editor
Nick Gasson [Sun, 24 May 2009 11:42:58 +0000 (12:42 +0100)]
Remove old code from editor

15 years agoMake buttons depress properly
Nick Gasson [Sun, 24 May 2009 11:38:32 +0000 (12:38 +0100)]
Make buttons depress properly

15 years agoAdd delete tool
Nick Gasson [Sun, 24 May 2009 11:27:12 +0000 (12:27 +0100)]
Add delete tool

15 years agoSmoother scrolling
Nick Gasson [Sun, 24 May 2009 10:48:42 +0000 (11:48 +0100)]
Smoother scrolling

15 years agoAttempt mouse scrolling
Nick Gasson [Sun, 24 May 2009 10:24:27 +0000 (11:24 +0100)]
Attempt mouse scrolling

15 years agoAdd moving average for boiler temperature
Nick Gasson [Sun, 24 May 2009 09:35:54 +0000 (10:35 +0100)]
Add moving average for boiler temperature

15 years agoTake multiple screen shots
Nick Gasson [Sat, 23 May 2009 19:42:47 +0000 (20:42 +0100)]
Take multiple screen shots

15 years agoTidy up side generating code a bit
Nick Gasson [Sat, 23 May 2009 19:05:45 +0000 (20:05 +0100)]
Tidy up side generating code a bit

15 years agoSync up sides with terrain
Nick Gasson [Sat, 23 May 2009 19:02:25 +0000 (20:02 +0100)]
Sync up sides with terrain

15 years agoDraw sides around the map
Nick Gasson [Sat, 23 May 2009 18:41:52 +0000 (19:41 +0100)]
Draw sides around the map

15 years agoSome graphics tidy ups
Nick Gasson [Sat, 23 May 2009 16:29:50 +0000 (17:29 +0100)]
Some graphics tidy ups

15 years agoChange the map representation to use IMesh
Nick Gasson [Sat, 23 May 2009 16:15:14 +0000 (17:15 +0100)]
Change the map representation to use IMesh

15 years agoSupport colours in mesh
Nick Gasson [Sat, 23 May 2009 15:10:45 +0000 (16:10 +0100)]
Support colours in mesh

15 years agoAdd post rendering pass to draw water properly
Nick Gasson [Sat, 23 May 2009 14:59:25 +0000 (15:59 +0100)]
Add post rendering pass to draw water properly

15 years agoFirst attempt at water
Nick Gasson [Sat, 23 May 2009 14:10:05 +0000 (15:10 +0100)]
First attempt at water

15 years agoDon't use display lists for quad trees
Nick Gasson [Sat, 23 May 2009 13:51:50 +0000 (14:51 +0100)]
Don't use display lists for quad trees

15 years agoAdd terrain lowering ability
Nick Gasson [Sat, 23 May 2009 13:23:38 +0000 (14:23 +0100)]
Add terrain lowering ability

15 years agoDelete old textures
Nick Gasson [Sat, 23 May 2009 13:05:23 +0000 (14:05 +0100)]
Delete old textures

15 years agoBetter terrain colours
Nick Gasson [Sat, 23 May 2009 13:04:13 +0000 (14:04 +0100)]
Better terrain colours

15 years agoRemove old height map code
Nick Gasson [Sat, 23 May 2009 11:15:14 +0000 (12:15 +0100)]
Remove old height map code