Loading

Paste #pkyiaogho

  1. diff --git a/src/road_gui.cpp b/src/road_gui.cpp
  2. index 92c660e..65e4dd9 100644
  3. --- a/src/road_gui.cpp
  4. +++ b/src/road_gui.cpp
  5. @@ -60,6 +60,7 @@ DECLARE_ENUM_AS_BIT_SET(RoadFlags)

Paste #phz94hxiy

  1. // RoadTypes, with ability to get road type, tram type, or look up roadtype given subtype
  2. enum RoadTypes {
  3.     ROADTYPES_ROAD_BASE = 0,
  4.     ROADTYPES_ROAD_LENGTH = 4,    ///< Number of bit
  5.     ROADTYPES_INVALID_ROAD = 0x7, ///< Road-type denoting 'no road'.

1.5.0 beta 2

  1. After some initial trouble with the More Height Levels (MHL) patch, the mountains should now be glitch-free, so they are safe to conqueror by train, road vehicle, aircraft, and even by ship!
  2. There are other features and fixes too, for the full log, see the [url=http://binaries.openttd.org/releases/1.5.0-beta2/changelog.txt]changelog[/url]. If you are more interested in playing, [url=http://www.openttd.org/en/download-testing]download here[/url].
  3.  
  4. The new beta is just perfect for checking out the save-games of the title game competition, after [url=http://www.tt-forums.net/viewtopic.php?p=1143165#p1143165]looking at the screenshots and sending in your votes[/url].
  5.  
  6. Ha

Paste #pffngeivj

  1. It's the time of the year where everybody does a little crazy, and much like every year, we join the fun.
  2.  
  3. This year, we release the 1.5.0 stable release, with higher mountains than you have ever seen before, a better UI for high resolution screens, and a much more rural intro screen.
  4. There are many other changes and fixes, see the [url=http://binaries.openttd.org/releases/1.5.0/changelog.txt]changelog[/url] for the full list.

Paste #ptwcbyzte

  1.         childsprite {
  2.             sprite: GROUNDSPRITE_SNOW_4_4;
  3.             recolour_mode: RECOLOUR_REMAP;
  4.             palette: PALETTE_USE_DEFAULT;
  5.             always_draw: 1;

Paste #pxg8qhtoo

  1. # git completion with a script download from github
  2. source ~/git-completion.bash
  3. # alternative git completion via Apple
  4. # source /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh

Paste #pllqjeyt8

  1. /* Display "Configure" or "Settings" button: */
  2. _game_mode != GM_NORMAL // not in a game, and thus, display the "Configure" button
  3. _game_mode == GM_NORMAL // in a game, check if something is selected or not
  4.  
  5. this->selected_slot == INVALID_COMPANY // nothing is selected, and thus, display the "Configure" button

Paste #ps9wzxlin

  1. /**
  2.  * Check whether a river could (logically) flow into a lock.
  3.  * @param tile the middle tile of a lock.
  4.  * @recursive whether the function is being called recursively.
  5.  * @return true iff the water can be flowing into a lock.

Paste #pmvv7kwdo

  1. // add the units to articulated consist
  2. switch (FEAT_TRAINS, SELF, peasweep_articulated_cb_switch, extra_callback_info1) {
  3.         0: return peasweep;
  4.         1: return peasweep_1;
  5.   return CB_RESULT_NO_MORE_ARTICULATED_PARTS;

Paste #p2bqmlcma

  1. Display "Configure" or "Settings" button:
  2. _game_mode != GM_NORMAL // not in a game, and thus, display the "Configure" button
  3. _game_mode == GM_NORMAL // in a game, check if something is selected or not
  4.  
  5. this->selected_slot == INVALID_COMPANY // nothing is selected, and thus, display the "Configure" button

Paste #pvbtdqmko

  1. dbg: [yapf] [YAPFt]-   1- 4124 us - 18 rounds - 1 open - 17 closed - CHR  0.0% - C 8224 D 0 - c0(sc0, ts0, o0) --
  2. dbg: [yapf] Pf time today:     4 ms
  3. dbg: [yapf] [YAPFt]-   1- 4102 us - 16 rounds - 1 open - 15 closed - CHR  0.0% - C 8052 D 0 - c0(sc0, ts0, o0) --
  4. dbg: [yapf] Pf time today:     4 ms
  5. dbg: [yapf] [YAPFt]-   1- 4046 us - 15 rounds - 1 open - 14 closed - CHR  0.0% - C 7852 D 0 - c0(sc0, ts0, o0) --

Paste #ptz1ffrui

  1. class Expression(object):
  2.     ....
  3.  
  4. +    def __setattr__(self, name, value):
  5. +        """

break?

  1. colours_to_filter = []
  2.   for coltype in allowed_colour_types:
  3.     if coltype == 'ALL':
  4.       for n in range(0, 215):
  5.         colours_to_filter.append(n)

NotRoadTypes

  1. NotRoadType Spec
  2.  
  3. Essential
  4. • ‘road' and ‘tram' are independent, like ‘road’ and ‘rail’
  5. • they can coexist on the same tile in some cases, but do not influence each other

Paste #prvlugqkf

  1. diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp
  2. index aa445eb..819bc1d 100644
  3. --- a/src/road_cmd.cpp
  4. +++ b/src/road_cmd.cpp
  5. @@ -477,6 +477,7 @@ static CommandCost CheckRoadSlope(Slope tileh, RoadBits *pieces, RoadBits existi