Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
Updated-ParkExits
Show paste
if
(
this
-
>
activity
==
GA_WANDER
||
this
-
>
activity
==
GA_QUEUING
)
{
// Prevent wandering and queuing guests from walking out the park.
uint8
exits_viable
=
this
-
>
Person
::
HandleParkExits
(
)
;
// Handle guests trying to wander out.
exits
&
=
exits_viable
;
shops
&
=
exits_viable
;
}
Paste #p0okhcc21
Show paste
/** Data of an animation group. */
class
AnimGroupData
{
public
:
AnimGroupData
(
)
;
Paste #phduywvvl
Show paste
let
g
:
jellybeans_overrides =
{
\
'Comment'
:
{
\
'guifg'
:
'66bbbb'
,
\
'attr'
:
''
\
}
,
Paste #p17sztqqb
Show paste
class AnimationStorage
{
public:
AnimationStorage
(
)
;
Paste #pybbgbeik
Show paste
let
g
:
jellybeans_overrides =
{
\
'Comment'
:
{
\
'guifg'
:
'6677aa'
,
\
'attr'
:
''
\
}
,
Paste #pvp8taend
Show paste
--- jellybeans.vim_orig 2013-11-09 11:34:22.309248291 +0100
+++ jellybeans.vim 2014-01-17 22:46:39.753523157 +0100
@@ -301,7 +301,7 @@
if version >=
700
call s:X
(
"CursorLine","","
1c1
c1c","","",s:termBlack
)
Paste #pqmoli0zw
Show paste
switch
(
FEAT_TRAINS
,
SELF
,
$
{
vehicle.
id
}
_switch_cargo_capacity_by_cargo_$
{
param_value
}
,
cargo_classes
)
{
bitmask
(
CC_PASSENGERS
)
:
return
$
{
vehicle.
capacities_pax
[
param_value
]
}
;
bitmask
(
CC_MAIL
)
:
return
$
{
vehicle.
capacities_mail
[
param_value
]
}
;
return
100
;
<!
--
!
$
{
vehicle.
capacities_freight
[
param_value
]
}
;
--
>
}
Paste #pmioxnqtr
Show paste
Traceroute has started…
traceroute to 5.9.88.188
(
5.9.88.188
)
,
64
hops
max
,
72
byte packets
1
192.168.1.1
(
192.168.1.1
)
1.592
ms
1.055
ms
0.793
ms
2
10.233.68.1
(
10.233.68.1
)
10.004
ms
11.685
ms
11.517
ms
Paste #p7kjibhvm
Show paste
Program
:
/* empty */
{
g_vAnimations.
clear
(
)
;
}
|
Program Animation
Paste #pamnbf0vi
Show paste
animation "name" {
frame {
sound 28;
element { top = x; left = x; width = x; height = x; filename = x;
Paste #pwdssci56
Show paste
#ifndef AST_H
#define AST_H
#include <string>
#include <vector>
Paste #pfoetz24r
Show paste
diff --git a/src/person.cpp b/src/person.cpp
--- a/src/person.cpp
+++ b/src/person.cpp
@@ -784,15 +784,13 @@ void Person::DeActivate
(
AnimateResult ar
}
Paste #pacwj6iof
Show paste
diff
--
git a
/
src
/
person.
cpp
b
/
src
/
person.
cpp
---
a
/
src
/
person.
cpp
+++
b
/
src
/
person.
cpp
@@
-
784
,
15
+
784
,
13
@@
void
Person
::
DeActivate
(
AnimateResult ar
}
Paste #plvceywyl
Show paste
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp
index 57ba0ae..
40c9789
100644
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -238,16 +238,15 @@ public:
Paste #p9ycmrtfl
Show paste
/**
* Load the game elements from the input stream.
* @param ldr Input stream to load from.
* @note Order of loading should be the same as in #SaveElements.
*/
«
1
2
...
122
123
124
125
126
127
128
...
133
134
»