]> git.nickg.me.uk Git - traingame.git/log
traingame.git
13 years agoMove counting functions into MeshBuffer
Nick Gasson [Sat, 15 Jan 2011 22:07:56 +0000 (22:07 +0000)]
Move counting functions into MeshBuffer

13 years agoDelete some commented code
Nick Gasson [Sat, 15 Jan 2011 22:05:30 +0000 (22:05 +0000)]
Delete some commented code

13 years agoTexture sorting mesh implementation
Nick Gasson [Sat, 15 Jan 2011 22:03:14 +0000 (22:03 +0000)]
Texture sorting mesh implementation

13 years agoSimplify mesh buffer interface
Nick Gasson [Sat, 15 Jan 2011 18:29:52 +0000 (18:29 +0000)]
Simplify mesh buffer interface

13 years agoFix texture rendering
Nick Gasson [Sat, 15 Jan 2011 18:08:45 +0000 (18:08 +0000)]
Fix texture rendering

13 years agoRemove display list mesh implementation
Nick Gasson [Sat, 15 Jan 2011 17:15:40 +0000 (17:15 +0000)]
Remove display list mesh implementation

13 years agoMake Index unsigned instead of size_t
Nick Gasson [Sat, 15 Jan 2011 15:44:38 +0000 (15:44 +0000)]
Make Index unsigned instead of size_t

13 years agoUse packed vector representation
Nick Gasson [Sat, 15 Jan 2011 14:41:15 +0000 (14:41 +0000)]
Use packed vector representation

13 years agoProfile several more vector operations
Nick Gasson [Sat, 15 Jan 2011 11:42:18 +0000 (11:42 +0000)]
Profile several more vector operations

13 years agoAdd profiling script
Nick Gasson [Sat, 15 Jan 2011 10:33:07 +0000 (10:33 +0000)]
Add profiling script

13 years agoStart trying to optimise vector code
Nick Gasson [Sat, 15 Jan 2011 09:54:29 +0000 (09:54 +0000)]
Start trying to optimise vector code

13 years agoMake functions in anonymouse namespaces static
Nick Gasson [Tue, 21 Dec 2010 13:39:54 +0000 (13:39 +0000)]
Make functions in anonymouse namespaces static

13 years agoFix GenTrack crash
Nick Gasson [Wed, 20 Oct 2010 19:25:46 +0000 (20:25 +0100)]
Fix GenTrack crash

13 years agoUpdate figure8 map with new gen track
Nick Gasson [Wed, 20 Oct 2010 19:20:50 +0000 (20:20 +0100)]
Update figure8 map with new gen track

13 years agoFix display of message area text
Nick Gasson [Sun, 19 Sep 2010 10:37:45 +0000 (11:37 +0100)]
Fix display of message area text

13 years agoImprovements to power plant and coal mine models
Nick Gasson [Sun, 19 Sep 2010 09:27:20 +0000 (10:27 +0100)]
Improvements to power plant and coal mine models

13 years agoSave each bit of scenery only once
Nick Gasson [Sun, 12 Sep 2010 09:47:20 +0000 (10:47 +0100)]
Save each bit of scenery only once

13 years agoAdd coal mine model
Nick Gasson [Sun, 12 Sep 2010 09:42:06 +0000 (10:42 +0100)]
Add coal mine model

13 years agoDelete scenery that covers multiple tiles
Nick Gasson [Sun, 5 Sep 2010 09:55:32 +0000 (10:55 +0100)]
Delete scenery that covers multiple tiles

13 years agoAdd Industry implementation
Nick Gasson [Sun, 22 Aug 2010 10:52:24 +0000 (11:52 +0100)]
Add Industry implementation

13 years agoFix some function names
Nick Gasson [Sun, 22 Aug 2010 09:54:33 +0000 (10:54 +0100)]
Fix some function names

13 years agoStub interfaces for industry and cargo
Nick Gasson [Sun, 22 Aug 2010 09:49:43 +0000 (10:49 +0100)]
Stub interfaces for industry and cargo

13 years agoIncrease clip volume overlap to remove some artefacts
Nick Gasson [Sat, 21 Aug 2010 15:37:26 +0000 (16:37 +0100)]
Increase clip volume overlap to remove some artefacts

13 years agoImplement get_covers for GenTrack
Nick Gasson [Sat, 21 Aug 2010 14:21:26 +0000 (15:21 +0100)]
Implement get_covers for GenTrack

13 years agoDefault game camera to floating
Nick Gasson [Sat, 21 Aug 2010 13:50:09 +0000 (14:50 +0100)]
Default game camera to floating

13 years agoFixup the power plant model
Nick Gasson [Fri, 13 Aug 2010 20:36:55 +0000 (21:36 +0100)]
Fixup the power plant model

13 years agoCalculate tile size of buildings
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

13 years agoRevert to platform sections from 0.2.1
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

13 years agoA few tweaks to platform end/middle
Nick Gasson [Fri, 13 Aug 2010 11:51:36 +0000 (12:51 +0100)]
A few tweaks to platform end/middle

13 years agoRemove scaling from building XML
Nick Gasson [Wed, 11 Aug 2010 21:55:46 +0000 (22:55 +0100)]
Remove scaling from building XML

13 years agoBuilding models should now only be in positive xyz space
Nick Gasson [Wed, 11 Aug 2010 21:52:56 +0000 (22:52 +0100)]
Building models should now only be in positive xyz space

13 years agoIRenderable is no longer needed
Nick Gasson [Sun, 1 Aug 2010 20:12:07 +0000 (21:12 +0100)]
IRenderable is no longer needed

13 years agoMove scenery into Anchor<T> class
Nick Gasson [Sun, 1 Aug 2010 20:09:45 +0000 (21:09 +0100)]
Move scenery into Anchor<T> class

13 years agoNew Anchor<T> template to generalise TrackNode
Nick Gasson [Sun, 1 Aug 2010 20:04:02 +0000 (21:04 +0100)]
New Anchor<T> template to generalise TrackNode

13 years agoAvoid annoying warning caused by Boost.Optional
Nick Gasson [Sun, 1 Aug 2010 19:11:12 +0000 (20:11 +0100)]
Avoid annoying warning caused by Boost.Optional

13 years agoScenery and track implement shared IRenderable interface
Nick Gasson [Sun, 1 Aug 2010 19:07:47 +0000 (20:07 +0100)]
Scenery and track implement shared IRenderable interface

13 years agoTweaks to the power plant model
Nick Gasson [Sun, 1 Aug 2010 18:35:40 +0000 (19:35 +0100)]
Tweaks to the power plant model

13 years agoAdd new power plant model
Nick Gasson [Sun, 1 Aug 2010 14:47:34 +0000 (15:47 +0100)]
Add new power plant model

13 years agoHold down right mouse button to pan camera
Nick Gasson [Sun, 1 Aug 2010 13:39:19 +0000 (14:39 +0100)]
Hold down right mouse button to pan camera

13 years agoCheck TERM is not `dumb' before colouring output
Nick Gasson [Sat, 31 Jul 2010 20:51:35 +0000 (21:51 +0100)]
Check TERM is not `dumb' before colouring output

Fixes GUD output

13 years agoFix memory corruption caused by incorrect height map index
Nick Gasson [Sat, 31 Jul 2010 18:45:32 +0000 (19:45 +0100)]
Fix memory corruption caused by incorrect height map index

13 years agoRename get_covers2 to get_height_locked
Nick Gasson [Sun, 25 Jul 2010 10:43:09 +0000 (11:43 +0100)]
Rename get_covers2 to get_height_locked

13 years agoLocked height map nodes covered by track
Nick Gasson [Sun, 25 Jul 2010 10:40:14 +0000 (11:40 +0100)]
Locked height map nodes covered by track

13 years agoRename Map::Vertex to Map::HeightMap to avoid confusion
Nick Gasson [Sun, 25 Jul 2010 09:59:58 +0000 (10:59 +0100)]
Rename Map::Vertex to Map::HeightMap to avoid confusion

13 years agoLoad SBend track as GenTrack
Nick Gasson [Sun, 25 Jul 2010 09:42:02 +0000 (10:42 +0100)]
Load SBend track as GenTrack

13 years agoGoing backwards on GenTrack
Nick Gasson [Sun, 25 Jul 2010 09:16:49 +0000 (10:16 +0100)]
Going backwards on GenTrack

13 years agoCache bounding polygon in GenTrack
Nick Gasson [Sun, 25 Jul 2010 08:51:06 +0000 (09:51 +0100)]
Cache bounding polygon in GenTrack

13 years agoLoad CurvedTrack as GenTrack
Nick Gasson [Sat, 24 Jul 2010 21:06:46 +0000 (22:06 +0100)]
Load CurvedTrack as GenTrack

13 years agoSave GenTrack to XML
Nick Gasson [Sat, 24 Jul 2010 20:11:06 +0000 (21:11 +0100)]
Save GenTrack to XML

13 years agoUndo accidental changes to gen_track.xml
Nick Gasson [Sat, 24 Jul 2010 19:58:28 +0000 (20:58 +0100)]
Undo accidental changes to gen_track.xml

13 years agoAlgorithm to check whether point is within bounding polygon
Nick Gasson [Sat, 24 Jul 2010 19:55:05 +0000 (20:55 +0100)]
Algorithm to check whether point is within bounding polygon

13 years agoCompute bounding polygon for GenTrack segments
Nick Gasson [Sat, 24 Jul 2010 17:57:44 +0000 (18:57 +0100)]
Compute bounding polygon for GenTrack segments

13 years agoChange CrossoverTrack to use Point<int> to store origin
Nick Gasson [Sat, 24 Jul 2010 12:38:09 +0000 (13:38 +0100)]
Change CrossoverTrack to use Point<int> to store origin

13 years agoAdd new get_covers2 method to return covered tile vertices
Nick Gasson [Sat, 17 Jul 2010 07:25:33 +0000 (08:25 +0100)]
Add new get_covers2 method to return covered tile vertices

13 years agoMove flat_graident_func into TrackCommon
Nick Gasson [Sat, 17 Jul 2010 07:14:39 +0000 (08:14 +0100)]
Move flat_graident_func into TrackCommon

13 years agoDraw sleepers in GenTrack segments
Nick Gasson [Tue, 6 Jul 2010 20:32:25 +0000 (21:32 +0100)]
Draw sleepers in GenTrack segments

13 years agoUn-inline definitions in MapLoader
Nick Gasson [Tue, 6 Jul 2010 20:31:59 +0000 (21:31 +0100)]
Un-inline definitions in MapLoader

13 years agoShift cube used for frustum culling
Nick Gasson [Sun, 4 Jul 2010 19:56:54 +0000 (20:56 +0100)]
Shift cube used for frustum culling

13 years agoTidy up function naming
Nick Gasson [Sun, 4 Jul 2010 19:51:52 +0000 (20:51 +0100)]
Tidy up function naming

13 years agoRename get_average_triangle{C,_c}ount
Nick Gasson [Thu, 1 Jul 2010 22:40:20 +0000 (23:40 +0100)]
Rename get_average_triangle{C,_c}ount

13 years agoDisplay render stats in game window
Nick Gasson [Thu, 1 Jul 2010 22:34:40 +0000 (23:34 +0100)]
Display render stats in game window

13 years agoRender sleepers on GenTrack
Nick Gasson [Thu, 1 Jul 2010 21:09:10 +0000 (22:09 +0100)]
Render sleepers on GenTrack

13 years agoMerge branch 'gen_track'
Nick Gasson [Wed, 30 Jun 2010 20:25:36 +0000 (21:25 +0100)]
Merge branch 'gen_track'

13 years agoTrain moving along GenTrack
Nick Gasson [Wed, 30 Jun 2010 20:24:47 +0000 (21:24 +0100)]
Train moving along GenTrack

13 years agoConnect up diagonal GenTrack segments
Nick Gasson [Sun, 27 Jun 2010 16:36:02 +0000 (17:36 +0100)]
Connect up diagonal GenTrack segments

13 years agoFix bug in rendering of Bezier rails
Nick Gasson [Sun, 27 Jun 2010 15:41:26 +0000 (16:41 +0100)]
Fix bug in rendering of Bezier rails

13 years agoFunction naming tidy up
Nick Gasson [Sun, 27 Jun 2010 15:23:17 +0000 (16:23 +0100)]
Function naming tidy up

13 years agoAdd new GenTrack test map
Nick Gasson [Sun, 27 Jun 2010 14:57:27 +0000 (15:57 +0100)]
Add new GenTrack test map

13 years agoBasic rendering of new generic track
Nick Gasson [Sun, 27 Jun 2010 14:57:13 +0000 (15:57 +0100)]
Basic rendering of new generic track

13 years agoLoad GenTrack segments from XML
Nick Gasson [Sun, 27 Jun 2010 12:59:49 +0000 (13:59 +0100)]
Load GenTrack segments from XML

13 years agoDon't use add_definitions to set compiler flags
Nick Gasson [Sun, 27 Jun 2010 10:53:20 +0000 (11:53 +0100)]
Don't use add_definitions to set compiler flags

13 years agoMerge branch 'master' into gen_track
Nick Gasson [Sun, 27 Jun 2010 10:24:34 +0000 (11:24 +0100)]
Merge branch 'master' into gen_track

13 years agoFix saving of maps with new schema names
Nick Gasson [Sun, 27 Jun 2010 10:24:16 +0000 (11:24 +0100)]
Fix saving of maps with new schema names

13 years agoAdd new GenTrack track implementation
Nick Gasson [Sun, 27 Jun 2010 10:16:30 +0000 (11:16 +0100)]
Add new GenTrack track implementation

13 years agoConsitent naming
Nick Gasson [Sun, 27 Jun 2010 09:49:33 +0000 (10:49 +0100)]
Consitent naming

13 years agoFix wonkyness of sloped track sleepers
Nick Gasson [Sun, 27 Jun 2010 09:43:03 +0000 (10:43 +0100)]
Fix wonkyness of sloped track sleepers

13 years agoFix uidemo command
Nick Gasson [Sun, 27 Jun 2010 09:35:46 +0000 (10:35 +0100)]
Fix uidemo command

13 years agoUse GLOB_RECURSE to find files for CMake
Nick Gasson [Sat, 19 Jun 2010 15:14:53 +0000 (16:14 +0100)]
Use GLOB_RECURSE to find files for CMake

13 years agoChange stationPart -> station-part
Nick Gasson [Sun, 27 Jun 2010 08:48:01 +0000 (09:48 +0100)]
Change stationPart -> station-part

13 years agoUse hyphens in layout schema
Nick Gasson [Sun, 27 Jun 2010 08:45:35 +0000 (09:45 +0100)]
Use hyphens in layout schema

13 years agoModify map schema to use hyphens
Nick Gasson [Sun, 27 Jun 2010 08:36:11 +0000 (09:36 +0100)]
Modify map schema to use hyphens

13 years agoFixup Xerces callbacks
Nick Gasson [Sun, 27 Jun 2010 08:21:58 +0000 (09:21 +0100)]
Fixup Xerces callbacks

13 years agoConvert camelCase identifiers to underscores
Nick Gasson [Sat, 26 Jun 2010 22:53:08 +0000 (23:53 +0100)]
Convert camelCase identifiers to underscores

13 years agoAdd a few more test maps
Nick Gasson [Tue, 8 Jun 2010 21:19:08 +0000 (22:19 +0100)]
Add a few more test maps

13 years agoChange version number to 0.3.0-dev
Nick Gasson [Tue, 8 Jun 2010 18:34:56 +0000 (19:34 +0100)]
Change version number to 0.3.0-dev

13 years agoUse built-in FindFreetype module from CMake 2.8
Nick Gasson [Tue, 8 Jun 2010 18:31:05 +0000 (19:31 +0100)]
Use built-in FindFreetype module from CMake 2.8

13 years agoBump version to 0.2.1 r0.2.1
Nick Gasson [Sun, 6 Jun 2010 13:48:00 +0000 (14:48 +0100)]
Bump version to 0.2.1

13 years agoGracefully handle crashes when writing files
Nick Gasson [Sun, 6 Jun 2010 12:34:49 +0000 (13:34 +0100)]
Gracefully handle crashes when writing files

Don't clobber maps until finished

13 years agoFix crash when saving map
Nick Gasson [Sun, 6 Jun 2010 12:14:00 +0000 (13:14 +0100)]
Fix crash when saving map

13 years agoFix editor rendering when multi-sector track placed
Nick Gasson [Sun, 6 Jun 2010 12:12:35 +0000 (13:12 +0100)]
Fix editor rendering when multi-sector track placed

13 years agoTweak demo map to remove artifact
Nick Gasson [Sun, 6 Jun 2010 12:10:58 +0000 (13:10 +0100)]
Tweak demo map to remove artifact

13 years agoUpdate QuadTree copyright
Nick Gasson [Sun, 6 Jun 2010 12:07:24 +0000 (13:07 +0100)]
Update QuadTree copyright

13 years agoFix render of track overlays
Nick Gasson [Sun, 6 Jun 2010 12:06:04 +0000 (13:06 +0100)]
Fix render of track overlays

13 years agoRe-indent Frustum.cpp
Nick Gasson [Sun, 6 Jun 2010 11:48:42 +0000 (12:48 +0100)]
Re-indent Frustum.cpp

13 years agoMerge branch 'static_track'
Nick Gasson [Sun, 6 Jun 2010 11:36:33 +0000 (12:36 +0100)]
Merge branch 'static_track'

13 years agoRemove some pointless regeneration of meshes
Nick Gasson [Sun, 6 Jun 2010 11:35:57 +0000 (12:35 +0100)]
Remove some pointless regeneration of meshes

13 years agoFix adding track and scenery in the editor
Nick Gasson [Sun, 6 Jun 2010 11:16:45 +0000 (12:16 +0100)]
Fix adding track and scenery in the editor

13 years agoOnly render sea beneath sectors where it will be visible
Nick Gasson [Sun, 6 Jun 2010 11:08:55 +0000 (12:08 +0100)]
Only render sea beneath sectors where it will be visible

13 years agoFix rendering of track which spans multiple sectors
Nick Gasson [Sun, 6 Jun 2010 10:57:25 +0000 (11:57 +0100)]
Fix rendering of track which spans multiple sectors

13 years agoRemove debugging lines
Nick Gasson [Sun, 6 Jun 2010 10:55:04 +0000 (11:55 +0100)]
Remove debugging lines