diff options
author | Pavel Stupnikov <dp@dpointer.org> | 2018-04-24 20:19:01 +0300 |
---|---|---|
committer | frosch <github@elsenhans.name> | 2018-04-24 19:19:00 +0200 |
commit | 8e4bce58ea299527003cd2da5ef8dcb5f84b7f23 (patch) | |
tree | 021526d154b99ec8a3821fb83295685338cbee9f /src/viewport_type.h | |
parent | 34b63930f58aa12d008af6006411bd4492fa8a4e (diff) | |
download | openttd-8e4bce58ea299527003cd2da5ef8dcb5f84b7f23.tar.xz |
Feature: GS methods to scroll viewport for players (#6745)
Diffstat (limited to 'src/viewport_type.h')
-rw-r--r-- | src/viewport_type.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/viewport_type.h b/src/viewport_type.h index 07485c324..74cd88d95 100644 --- a/src/viewport_type.h +++ b/src/viewport_type.h @@ -123,4 +123,14 @@ enum ViewportDragDropSelectionProcess { DDSP_REMOVE_TRUCKSTOP, ///< Road stop removal (trucks) }; + +/** + * Target of the viewport scrolling GS method + */ +enum ViewportScrollTarget { + VST_EVERYONE, ///< All players + VST_COMPANY, ///< All players in specific company + VST_CLIENT, ///< Single player +}; + #endif /* VIEWPORT_TYPE_H */ |