Skip to content

Instantly share code, notes, and snippets.

@michicc
michicc / railtype_90deg_curve_03.patch
Last active August 12, 2018 10:32
Railtype flag for 90 deg curves.
From 58b42eaa40c6ec8a242ba64054f50c31d62a9e3e Mon Sep 17 00:00:00 2001
From: Michael Lutz <[email protected]>
Date: Sat, 28 Jul 2018 18:07:41 +0200
Subject: Feature: Railtype flags to allow/disallow 90 degree curves.
---
src/pathfinder/follow_track.hpp | 2 +-
src/pathfinder/npf/npf.cpp | 14 +++++++++-----
src/pbs.cpp | 4 ++--
src/rail.h | 25 +++++++++++++++++++++++++
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Apple LLVM version 8.0.0 (clang-800.0.42.1)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin