diff options
author | rubidium <rubidium@openttd.org> | 2006-09-04 20:40:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2006-09-04 20:40:33 +0000 |
commit | 63687763e9680663e68754b47ee9f1511641faf8 (patch) | |
tree | b1e52d993ce60e919358d998b36ea08adfe26cba /news_gui.c | |
parent | a7cfb80c40d9a4c544ece10872fd3808f9f59f8d (diff) | |
download | openttd-63687763e9680663e68754b47ee9f1511641faf8.tar.xz |
(svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
-Cleanup: whitespace alignment of a few tables.
Diffstat (limited to 'news_gui.c')
-rw-r--r-- | news_gui.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/news_gui.c b/news_gui.c index 1af619339..a426b7d4f 100644 --- a/news_gui.c +++ b/news_gui.c @@ -17,18 +17,18 @@ #include "date.h" /* News system -News system is realized as a FIFO queue (in an array) -The positions in the queue can't be rearranged, we only access -the array elements through pointers to the elements. Once the -array is full, the oldest entry (_oldest_news) is being overwritten -by the newest (_latest news). - -oldest current lastest - | | | -[O------------F-------------C---------L ] - | - forced -*/ + * News system is realized as a FIFO queue (in an array) + * The positions in the queue can't be rearranged, we only access + * the array elements through pointers to the elements. Once the + * array is full, the oldest entry (_oldest_news) is being overwritten + * by the newest (_latest news). + * + * oldest current lastest + * | | | + * [O------------F-------------C---------L ] + * | + * forced + */ #define MAX_NEWS 30 @@ -524,7 +524,7 @@ void ShowLastNewsMessage(void) /* return news by number, with 0 being the most -recent news. Returns INVALID_NEWS if end of queue reached. */ + * recent news. Returns INVALID_NEWS if end of queue reached. */ static byte getNews(byte i) { if (i >= _total_news) return INVALID_NEWS; |