Silver's Simple Site - Projects - Open Rails - Log

Earlier entries >>

463

twpol

2010-11-28 12:29:10

Fix bug in shadow map alignment so shadows move about less.

git-svn-id: http://svn.uktrainsim.com/svn/openrails/trunk@463 a9f3cfff-6c41-7446-b0ca-052bd761e6eb

462

twpol

2010-11-25 21:46:01

Fix excessive culling when looking further up/down, due to the lack of Y calculations.

git-svn-id: http://svn.uktrainsim.com/svn/openrails/trunk@462 a9f3cfff-6c41-7446-b0ca-052bd761e6eb

461

wacampbell

2010-11-25 17:18:16

Changed STF parsing to disable comment handling when parsing strings.

With the prior behavior for example, a .CON filename starting with an underscore ( ie _CN460) would not be parsed correctly in a .SRV file.  By default AE doesn't enclose such filename strings with quotes unless they contain spaces.  The prior STF parser would see the filename string as an 'item' starting with an underscore and therefore assume it was a comment.   However, MSTS will accept filenames and other parameter strings that start with an underscore as well as accepting files named 'comment' or 'skip'.

The change introduces new functions, ReadString and ReadStringBlock, which are used by parsers when string type parameters are expected.

git-svn-id: http://svn.uktrainsim.com/svn/openrails/trunk@461 a9f3cfff-6c41-7446-b0ca-052bd761e6eb

460

twpol

2010-11-25 16:32:53

Minor tweak to RenderFrame.DrawSimple which makes the Clear call ~1000x faster (3.4ms -> 3.9us).

git-svn-id: http://svn.uktrainsim.com/svn/openrails/trunk@460 a9f3cfff-6c41-7446-b0ca-052bd761e6eb

459

twpol

2010-11-25 14:49:01

Optimise SharedShape.PrepareFrame by avoiding a Vector3..ctor, a Vector3.op_Addition, a Matrix.CreateTranslation and one Matrix.Multiply.

Optimise RenderFrame.AddPrimitive by combining ContentsKey and Item calls in to one TryGetValue call - halving the GetHashCode() and Equals calls from the Dictionary.

Result: up to 6% faster update loop.

git-svn-id: http://svn.uktrainsim.com/svn/openrails/trunk@459 a9f3cfff-6c41-7446-b0ca-052bd761e6eb

458

twpol

2010-11-24 23:56:45

Optimise InFOV by calculating frustum sides in world coords instead of projecting every object through the view matrix. InFOV up to 15% faster.

git-svn-id: http://svn.uktrainsim.com/svn/openrails/trunk@458 a9f3cfff-6c41-7446-b0ca-052bd761e6eb

457

Dionis

2010-11-24 11:00:37

Added a red round button template for the Quit button in the new WPF Menu.

git-svn-id: http://svn.uktrainsim.com/svn/openrails/trunk@457 a9f3cfff-6c41-7446-b0ca-052bd761e6eb

456

wacampbell

2010-11-21 15:22:32

Corrected compile dependancy issues causing 'Field not found'.

ref:  http://www.elvastower.com/forums/index.php?/topic/13407-v455-unusable/

git-svn-id: http://svn.uktrainsim.com/svn/openrails/trunk@456 a9f3cfff-6c41-7446-b0ca-052bd761e6eb

455

wacampbell

2010-11-20 22:01:49

Fix candidate for missing level crossing items in compressed world files.

Ref:  http://www.elvastower.com/forums/index.php?/topic/13293-compressed-world-file-issue-v443/

git-svn-id: http://svn.uktrainsim.com/svn/openrails/trunk@455 a9f3cfff-6c41-7446-b0ca-052bd761e6eb

454

Dionis

2010-11-19 20:29:33

git-svn-id: http://svn.uktrainsim.com/svn/openrails/trunk@454 a9f3cfff-6c41-7446-b0ca-052bd761e6eb

Earlier entries >>

Powered by the Content Parser System, copyright 2002 - 2026 James G. Ross.