rubidium
|
d083afea90
|
(svn r13408) -Codechange: some stricter checking.
|
2008-06-08 08:44:19 +00:00 |
glx
|
ee256e770a
|
(svn r13390) -Codechange: introduce usererror() for fatal but not openttd related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
|
2008-06-05 20:54:52 +00:00 |
glx
|
dc22170c99
|
(svn r13380) -Fix (r13327): MSVC signed/unsigned warning
|
2008-06-04 22:30:44 +00:00 |
smatz
|
ce692c16ee
|
(svn r13378) -Fix (r13375): compilation without network support was broken
|
2008-06-04 11:21:36 +00:00 |
rubidium
|
1ddfdda02c
|
(svn r13370) -Codechange: move the VARDEF stuff from openttd.h to variables.h so one doesn't need to include openttd.h before variables.h.
|
2008-06-03 08:06:58 +00:00 |
rubidium
|
abf2b0efc3
|
(svn r13369) -Codechange: remove duplication of network configuration settings between NetworkSettings and NetworkGameInfo.
-Fix: failure of changing the server password during games because the password wasn't duplicated properly.
|
2008-06-03 08:04:35 +00:00 |
skidd13
|
8a40ca49c6
|
(svn r13359) -Codechange: convert _fios_items to a SmallVector
-Cleanup: some reincarnations of _fios_items in the code
|
2008-06-02 14:19:27 +00:00 |
rubidium
|
6d90affce0
|
(svn r13344) -Codechange: remove some code duplication.
|
2008-05-30 20:08:32 +00:00 |
rubidium
|
2f3b88ef9a
|
(svn r13343) -Codechange: reorder/move variable/functions in the network headers so that nothing from the network directory needs to include basically all network headers.
|
2008-05-30 18:20:26 +00:00 |
rubidium
|
c33164831d
|
(svn r13334) -Codechange: move the network settings variables from network/network_internal to settings.
|
2008-05-29 20:21:28 +00:00 |
smatz
|
a0c62f1752
|
(svn r13330) -Fix: 'Player name' dialog was broken in two ways
|
2008-05-29 17:01:42 +00:00 |
skidd13
|
bed7719967
|
(svn r13328) -Fix (r13327): Don't access an item when there isn't any
|
2008-05-29 16:47:22 +00:00 |
skidd13
|
a8abdaec92
|
(svn r13327) -Codechange: NetworkGameWindow uses GUILists Sort() now
|
2008-05-29 16:37:26 +00:00 |
rubidium
|
923e21129c
|
(svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
|
2008-05-29 15:13:28 +00:00 |
peter1138
|
0ce9343fb6
|
(svn r13291) -Fix (r13266): qsort passed wrong sizeof data
|
2008-05-27 15:30:51 +00:00 |
peter1138
|
02b5ffa13f
|
(svn r13266) -Codechange: Use SmallVector in GUIList
|
2008-05-26 16:23:23 +00:00 |
rubidium
|
8c9cc415e3
|
(svn r13255) -Codechange: move _opt to _settings.
|
2008-05-25 22:36:44 +00:00 |
rubidium
|
4625695653
|
(svn r13251) -Codechange: rename _patches to _settings as that is more logic.
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
|
2008-05-25 19:17:03 +00:00 |
rubidium
|
5fa0946c08
|
(svn r13242) -Codechange: remove _opt_ptr.
|
2008-05-25 12:57:39 +00:00 |
rubidium
|
6884f9cb41
|
(svn r13229) -Codechange: replace some global variables that are only initialised once and always with the same value with enums.
|
2008-05-24 10:35:15 +00:00 |
rubidium
|
6c20f77330
|
(svn r13228) -Codechange: split console.h.
|
2008-05-24 10:15:06 +00:00 |
rubidium
|
27c38052b7
|
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
|
2008-05-19 09:48:47 +00:00 |
rubidium
|
6da56ee87e
|
(svn r13169) -Codechange: remove a (now) unneeded parameter of one of the Window constructors.
|
2008-05-18 20:40:30 +00:00 |
rubidium
|
f5681547ef
|
(svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
|
2008-05-17 23:11:06 +00:00 |
rubidium
|
87015f5b63
|
(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp.
|
2008-05-17 13:01:30 +00:00 |
rubidium
|
8b54212900
|
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
|
2008-05-17 12:48:06 +00:00 |
rubidium
|
edb2e77035
|
(svn r13135) -Codechange: make a class of the NetworkJoinStatusWindow.
|
2008-05-17 08:00:13 +00:00 |
rubidium
|
b08d728ac9
|
(svn r13108) -Codechange: make a Window subclass of the main toolbars sub menus.
|
2008-05-15 20:04:10 +00:00 |
glx
|
6a50687bdc
|
(svn r13107) -Codechange: make NetworkCompanyPasswordWindow and SelectPlayerFaceWindow children of PlayerCompanyWindow.
|
2008-05-15 19:24:15 +00:00 |
rubidium
|
75e3792aa3
|
(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.
|
2008-05-11 14:23:45 +00:00 |
rubidium
|
568464aa96
|
(svn r13044) -Fix: deleting an already deleted window.
|
2008-05-11 14:09:38 +00:00 |
rubidium
|
9066a961e7
|
(svn r13043) -Codechange: remove some duplicate variables from news_d.
|
2008-05-11 13:02:58 +00:00 |
rubidium
|
eb2d47b547
|
(svn r13042) -Codechange: make a class of CreateScenarioWindow, GenerateLandscapeWindow, NetworkChatWindow, NetworkCompanyPasswordWindow, NetworkGameWindow, NetworkStartServerWindow, QueryStringWindow, SaveLoadWindow. All these classes depended on the 'querystr_d' object which is now put into QueryStringBaseWindow. As a side effect this removes quite a lot of WP macro usages and a few global variables.
|
2008-05-11 12:26:20 +00:00 |
rubidium
|
e63137f47f
|
(svn r13041) -Fix: calling a virtual function on a not fully constructed object is bound to cause errors.
|
2008-05-11 11:41:18 +00:00 |
rubidium
|
599bc8942e
|
(svn r13040) -Codechange: make a class of the NetworkLobbyWindow.
|
2008-05-11 07:22:13 +00:00 |
rubidium
|
935434333b
|
(svn r13028) -Codechange: WE_MESSAGE and WE_INVALIDATE_DATA were doing the same thing.
|
2008-05-10 12:30:27 +00:00 |
rubidium
|
f23026cce8
|
(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
|
2008-05-10 08:58:52 +00:00 |
rubidium
|
68a1d75d9e
|
(svn r13025) -Codechange: remove the need for two WindowEvents.
|
2008-05-09 15:27:00 +00:00 |
glx
|
e48a351f8e
|
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
|
2008-05-08 13:20:54 +00:00 |
rubidium
|
23fc96c3e8
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
2008-05-08 11:50:34 +00:00 |
rubidium
|
2eef026fe3
|
(svn r13004) -Codechange: replace AllocateWindow and AllocateWindowDesc with a Window constructor.
|
2008-05-08 11:31:41 +00:00 |
rubidium
|
7ccda80b0b
|
(svn r12986) -Codechange: move the landscape and transport related types from openttd.h to their own headers.
|
2008-05-07 09:07:19 +00:00 |
rubidium
|
e6c944a6c4
|
(svn r12975) -Codechange: replace DeleteWindow(w) with delete w.
|
2008-05-06 21:28:30 +00:00 |
rubidium
|
d03994098b
|
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
|
2008-05-06 15:11:33 +00:00 |
maedhros
|
8da41ec62e
|
(svn r12968) -Fix: Don't segfault when adding a server if 0.0.0.0 was entered for the address.
|
2008-05-06 10:31:50 +00:00 |
rubidium
|
50516f2372
|
(svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop.
|
2008-05-05 22:35:33 +00:00 |
rubidium
|
56e1178dca
|
(svn r12960) -Codechange: handle return values of (some) file system related functions.
|
2008-05-05 21:54:05 +00:00 |
rubidium
|
f200fc3b99
|
(svn r12957) -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case.
|
2008-05-05 18:27:57 +00:00 |
smatz
|
297f99e100
|
(svn r12944) -Codechange: use rev.h instead of externs at many places
|
2008-05-04 21:53:36 +00:00 |
rubidium
|
4097d81323
|
(svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka.
|
2008-04-30 07:39:46 +00:00 |
smatz
|
f32ecbcadb
|
(svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute
|
2008-04-18 21:33:21 +00:00 |
rubidium
|
1b2773445d
|
(svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h.
|
2008-04-18 10:16:51 +00:00 |
rubidium
|
acafc26426
|
(svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs).
|
2008-04-18 04:54:09 +00:00 |
rubidium
|
9d8fa486af
|
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
|
2008-04-18 04:37:06 +00:00 |
rubidium
|
172237e326
|
(svn r12709) -Feature: show the last joined server. Heavily based on a patch by Yexo.
|
2008-04-14 20:31:21 +00:00 |
rubidium
|
fc1f32a693
|
(svn r12701) -Codechange: do not explicitly number a widget enum because that causes a big diff when adding something.
|
2008-04-14 13:23:16 +00:00 |
rubidium
|
ab7b05da50
|
(svn r12637) -Fix [FS#1913]: possible NULL pointer dereference when reading some NewGRF data.
|
2008-04-09 14:05:50 +00:00 |
rubidium
|
e9661fb420
|
(svn r12574) -Fix: binding to a specific IP could cause OpenTTD to not register properly with the masterserver if one has multiple external interfaces.
|
2008-04-04 21:09:28 +00:00 |
rubidium
|
a0895d57fa
|
(svn r12501) -Codechange: split signs.h.
|
2008-03-31 07:25:49 +00:00 |
rubidium
|
b1e1c13420
|
(svn r12499) -Codechange: some coding style tweaks for network_internal.h.
|
2008-03-31 07:11:18 +00:00 |
rubidium
|
2edd403656
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
2008-03-31 00:06:17 +00:00 |
rubidium
|
f241b0acd4
|
(svn r12426) -Cleanup: sprinkle some coding style over a few files.
|
2008-03-26 10:38:31 +00:00 |
rubidium
|
327e870962
|
(svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik.
|
2008-03-26 10:08:17 +00:00 |
glx
|
fed6a25799
|
(svn r12407) -Add [FS#1866]: more language flags for servers
|
2008-03-24 20:30:08 +00:00 |
rubidium
|
67190b2906
|
(svn r12404) -Codechange: rename the string buffer used for network GUIs to something more unique than what it is called now.
|
2008-03-24 06:38:20 +00:00 |
rubidium
|
516282fe3c
|
(svn r12403) -Codechange: unmisuse a variable in the chat window and make the code a little cleaner.
|
2008-03-24 06:32:53 +00:00 |
peter1138
|
058724b768
|
(svn r12370) -Fix [FS#1853]: Close language drop down when parent window is clicked/closed.
|
2008-03-15 19:50:06 +00:00 |
smatz
|
5db7288ea9
|
(svn r12367) -Fix [FS#1650](r707): commands were sent to clients waiting for map download causing 'executing command from the past' error
|
2008-03-15 00:31:10 +00:00 |
rubidium
|
44f4ebffed
|
(svn r12017) -Fix: when you have more than 9 network interfaces you'll enter the wonderfull world of overflows.
|
2008-01-29 21:43:22 +00:00 |
rubidium
|
3b2145aafe
|
(svn r12004) -Codechange: refactor the random functions to reduce code duplication.
|
2008-01-29 00:27:25 +00:00 |
glx
|
600046f3d7
|
(svn r11920) -Fix (r11844): train count was incorrect in network lobby window (and 'players' command)
|
2008-01-18 21:25:18 +00:00 |
peter1138
|
68707808c0
|
(svn r11915) -Codechange: Add a function to draw a sort button's up/down arrow. Arrows are now drawn in a consistent position based on the widget, instead of randomly positioned by pixel.
|
2008-01-18 10:36:55 +00:00 |
peter1138
|
ac0fa7f69f
|
(svn r11909) -Codechange: use dropdown widget for player livery, network lobby/setup and news settings windows
|
2008-01-17 20:00:13 +00:00 |
peter1138
|
e4c05f8d78
|
(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
2008-01-14 16:10:58 +00:00 |
glx
|
7d2d4314ec
|
(svn r11844) -Fix: road vehicle count was incorrect in network lobby window
|
2008-01-13 22:27:06 +00:00 |
rubidium
|
392d59f6a9
|
(svn r11840) -Codechange: split network.h so not everything in there needs to be included when wanting to know whether we are a server.
|
2008-01-13 21:51:53 +00:00 |
rubidium
|
dc87b05e8c
|
(svn r11834) -Codechange: only include settings_type.h if needed.
|
2008-01-13 14:37:30 +00:00 |
rubidium
|
079abbd04b
|
(svn r11829) -Feature: allow reloading openttd.cfg when starting a new game on a dedicated server. Patch by dihedral.
|
2008-01-13 01:39:22 +00:00 |
rubidium
|
d4e6a6bf57
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
2008-01-13 01:21:35 +00:00 |
rubidium
|
ac528411df
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
2008-01-12 14:10:35 +00:00 |
rubidium
|
ed727f9a64
|
(svn r11816) -Fix: forgot clearing one byte, causing the passwords to differ slightly on different platforms.
|
2008-01-12 08:34:16 +00:00 |
rubidium
|
04f936c2c6
|
(svn r11811) -Fix: make compilation without networking work again (and thus move the debugdumpcommand stuff out of the network 'area').
|
2008-01-11 00:30:32 +00:00 |
rubidium
|
0e517fe023
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
2008-01-09 09:45:45 +00:00 |
rubidium
|
a3ccdcea36
|
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
|
2008-01-07 14:23:25 +00:00 |
rubidium
|
38115acf5a
|
(svn r11776) -Codechange: more header splittings to reduce the dependencies.
|
2008-01-07 14:02:26 +00:00 |
rubidium
|
acc7c9eb01
|
(svn r11771) -Codechange: split settings.h into better separated headers.
|
2008-01-07 00:19:09 +00:00 |
glx
|
91be5d7531
|
(svn r11762) -Fix: compilation with DEBUG_DUMP_COMMANDS was broken
|
2008-01-05 21:42:34 +00:00 |
belugas
|
e9a039b845
|
(svn r11714) -Fix[FS#1569]: Do not allow player inauguration date on scenarios to be bigger than current year.
This will not (yet) be true if you are loading a scenario with the "-g" command line option.
|
2007-12-28 04:20:56 +00:00 |
rubidium
|
384503e7d3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
2007-12-27 13:35:39 +00:00 |
rubidium
|
b9046c97fb
|
(svn r11702) -Codechange: move all date related stuff to date*.
|
2007-12-26 13:50:40 +00:00 |
rubidium
|
2786d789a1
|
(svn r11701) -Codechange: removal unnecessary inclusions of map.h (and split map.h).
|
2007-12-26 11:45:43 +00:00 |
skidd13
|
7963963d98
|
(svn r11695) -Codechange: Converted the md5 algorithm to OOP
-Codechange: Adapt the md5 algorithm to the OpenTTD source
|
2007-12-25 13:59:21 +00:00 |
rubidium
|
b3f6c0734b
|
(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.
|
2007-12-25 13:28:09 +00:00 |
rubidium
|
429521a7d1
|
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
|
2007-12-25 11:26:07 +00:00 |
rubidium
|
bf98e25e43
|
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
|
2007-12-25 09:48:53 +00:00 |
rubidium
|
a773d45885
|
(svn r11684) -Codechange: split gfx.h in a type and functional header.
|
2007-12-23 10:56:02 +00:00 |
rubidium
|
8f0e68285b
|
(svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type.
|
2007-12-22 23:30:28 +00:00 |
rubidium
|
6a9e77e079
|
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
|
2007-12-21 22:50:51 +00:00 |
rubidium
|
9e9cfe6e59
|
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
|
2007-12-21 21:50:46 +00:00 |
rubidium
|
433a9f3c09
|
(svn r11675) -Codechange: split the string types from the string functions.
|
2007-12-21 19:49:27 +00:00 |