yapf.txt
author Darkvater
Wed, 18 Oct 2006 21:07:36 +0000
changeset 4887 3fa54b371032
parent 3971 2116cd6db7fd
permissions -rw-r--r--
(svn r6824) -Feature: Change the functionality of the chat window. SHIFT+ENTER (SHIFT+T)
sends a message to all players, CTRL+ENTER (CTRL+T) sends a message to all
team mates and ENTER (T) sends a message to teammates if you have any, otherwise
to all players.
The chat-window now also shows what kind of message is being sent. Shortcut
functionality has not been changed (ENTER sends message, ESC closes window)
3971
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
     1
Ships:
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
     2
======
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
     3
Set the YAPF (Yet Another Path Finder) type in the "Configure Pathes/Vehicles/YAPF for ships":
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
     4
 - 0 - No YAPF (NPF or old PF)
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
     5
 - 1 - YAPF type 1 (Node = Tile/Trackdir, 90 deg. turns allowed)
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
     6
 - 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed)
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
     7
 - 3 - YAPF type 3 (Node = Tile/Trackdir, no 90 deg.)
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
     8
 - 4 - YAPF type 4 (Node = Tile/ExitDir , no 90 deg.)
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
     9
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    10
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    11
Set the "npf_max_search_nodes" value in your openttd.cfg to tune the pathfinder behavior.
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    12
This value tells, how many nodes (Tile/Trackdir or Tile/ExitDir) combinations the pathfinder
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    13
should visit before it ends. The lower number would mean quicker, but less accurate results.
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    14
The "npf_max_search_nodes" value is shared between NPF and YAPF and has the same meaning.
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    15
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    16
The pathfinder without such limit would be unusable on large maps, where number of visited
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    17
nodes can exceed 10 milions. NPF on my machine (dual code AMD 4400+) with 1 milion of nodes
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    18
visited took 2 minutes to finish, but with this limit set to 10000 it takes 20 miliseconds.
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    19
The new YAPF had similar results (18 seconds vs. 4 miliseconds).
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    20
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    21
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    22
Road Vehicles:
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    23
==============
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    24
Set the YAPF (Yet Another Path Finder) type in the "Configure Pathes/Vehicles/YAPF for road vehs":
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    25
 - 0 - No YAPF (NPF or old PF)
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    26
 - 1 - YAPF type 1 (Node = Tile/Trackdir, 90 deg. turns allowed)
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    27
 - 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed)
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    28
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    29
Trains:
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    30
=======
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    31
Same types as for ships:
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    32
 - 0 - No YAPF (NPF or old PF)
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    33
 - 1 - YAPF type 1 (Node = Tile/Trackdir, 90 deg. turns allowed)
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    34
 - 2 - YAPF type 2 (Node = Tile/ExitDir , 90 deg. turns allowed)
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    35
 - 3 - YAPF type 3 (Node = Tile/Trackdir, no 90 deg.)
2116cd6db7fd (svn r5136) Fix various style bugs:
tron
parents: 3900
diff changeset
    36
 - 4 - YAPF type 4 (Node = Tile/ExitDir , no 90 deg.)