peter1138
|
839070028e
|
(svn r13074) -Fix: For multiheaded engines, halve power and running cost when used instead of when loading, to allow callback values to work properly.
|
17 years ago |
rubidium
|
a7db265bb6
|
(svn r13069) -Codechange: it is no longer needed to pass a void *data pointer with the WE_CREATE message because nothing uses it anymore.
|
17 years ago |
rubidium
|
c6c908aba5
|
(svn r13068) -Codechange: make a class of the BuildVehicleWindow.
|
17 years ago |
rubidium
|
2c96ce4506
|
(svn r13027) -Codechange: use StrEmpty instead of arr[0] == '\0' and remove the need for WE_ON_EDIT_TEXT_CANCEL.
|
17 years ago |
glx
|
a8e8329d41
|
(svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc)
|
17 years ago |
rubidium
|
92aac531c2
|
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
|
17 years ago |
smatz
|
8a422e34df
|
(svn r12995) -Codechange: use std::vector for EngineList instead of C/C++ wrapper for CBlobT
|
17 years ago |
rubidium
|
9db77e3808
|
(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) when it's certain that w != NULL.
|
17 years ago |
rubidium
|
1ce0b03bf0
|
(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.
|
17 years ago |
peter1138
|
45034bc522
|
(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
17 years ago |
bjarni
|
80a0435ba8
|
(svn r12843) -Feature [FS#1945]: The autoreplace window is now resizable in both directions
The code to open this window is also unified for all vehicle types
|
17 years ago |
rubidium
|
6d063c3ad6
|
(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
|
17 years ago |
rubidium
|
df1d9bd880
|
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
17 years ago |
rubidium
|
c51b81c247
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
17 years ago |
peter1138
|
f6e4dc4d8c
|
(svn r12209) -Fix: [NewGRF] Support using any base price for rail and road vehicles' running cost, and show running cost of wagons if they have it.
|
17 years ago |
peter1138
|
0e997be11e
|
(svn r12205) -Codechange: rename RailVehicleInfo::running_cost_base to running_cost, inline with other vehicle types (It is the factor, not the base)
|
17 years ago |
peter1138
|
89e0b522e2
|
(svn r12164) -Fix (r12137, FS#1775]: Variable scope bug crept in
|
17 years ago |
peter1138
|
6d333e5d3e
|
(svn r12137) -Fix [FS#1769]: Show cargo capacity for articulated vehicles correctly in the purchase list. Multiple cargo types can also now been shown.
|
17 years ago |
peter1138
|
71b0d5f091
|
(svn r12054) -Cleanup: Use VehicleType instead of byte for vehicle types...
|
17 years ago |
peter1138
|
c5b749f983
|
(svn r11988) -Codechange: Add a generic way of changing a widget's size and adjust the widgets around it to suit.
|
17 years ago |
peter1138
|
622f251197
|
(svn r11959) -Codechange: Use macro to loop for specific engine types instead of using specific indexes each time.
-Codechange: Minor scope changes in said loops.
|
17 years ago |
peter1138
|
aa556f123d
|
(svn r11918) -Codechange: Draw engine lists at widget positions instead of fixed pixel positions
|
17 years ago |
peter1138
|
04da1e1d45
|
(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.
|
17 years ago |
peter1138
|
727d07c67e
|
(svn r11904) -Codechange: use dropdown widget in 3 more windows, build vehicle, group vehicle list and station list.
|
17 years ago |
peter1138
|
1fa2285327
|
(svn r11848) -Codechange: New class-based drop down list functionality. Lists are now dynamically generated, and can include parameters, or be extended however needed.
|
17 years ago |
rubidium
|
90acd52f22
|
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
|
17 years ago |
rubidium
|
2fc62eab05
|
(svn r11818) -Codechange: split player.h into smaller pieces.
|
17 years ago |
rubidium
|
64d691bacc
|
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
|
17 years ago |
rubidium
|
c08bff8931
|
(svn r11785) -Codechange: remove some unneeded includes.
|
17 years ago |
peter1138
|
8c7bd8fef4
|
(svn r11781) -Codechange: variable scope and initialization
|
17 years ago |
rubidium
|
444e77d8bc
|
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
|
17 years ago |
bjarni
|
2c62136ace
|
(svn r11710) -Feature: [build vehicles windows] added sorting for cost, running costs and speed to road vehicles and ships build windows
|
17 years ago |
rubidium
|
722613f7f3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
17 years ago |
rubidium
|
db73addb43
|
(svn r11702) -Codechange: move all date related stuff to date*.
|
17 years ago |
rubidium
|
81bf9f8503
|
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
|
17 years ago |
rubidium
|
1f6043458c
|
(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.
|
17 years ago |
rubidium
|
766551b0bc
|
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
|
17 years ago |
rubidium
|
8427b8bad2
|
(svn r11675) -Codechange: split the string types from the string functions.
|
17 years ago |
rubidium
|
2cf7d5b2cb
|
(svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found.
|
17 years ago |
rubidium
|
8bfbfd0031
|
(svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
|
17 years ago |
rubidium
|
92cb0e45ca
|
(svn r11555) -Codechange: use the new members introduced in r11551.
|
17 years ago |
skidd13
|
c0a2c0c23e
|
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
|
17 years ago |
belugas
|
e2c0f1faf7
|
(svn r11374) -Codechange: Give meaning to the magical number that specifies the color of the text in a DrawString call.
Patch heavily based on BiBB's work (FS#1383)
|
17 years ago |
rubidium
|
eadd6765e1
|
(svn r11312) -Codechange: implement a overflow safe integer and use that for money and don't misuses CommandCost to have a overflow safe integer. Based on a patch by Noldo.
|
17 years ago |
glx
|
342025d0e1
|
(svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these orders
|
17 years ago |
rubidium
|
f41c8ab3aa
|
(svn r11122) -Fix [FS#1234]: crash when building a NewGRF vehicle when the articulated build vehicle callback returneed a different value for the purchase window than the normal build. Thanks for Dalestan and _minime_ for pointers to possible causes.
|
17 years ago |
rubidium
|
45900925c3
|
(svn r10992) -Fix [FS#1132]: huge amount of vehicles in the "ungrouped" group. Patch by frosch.
|
17 years ago |
rubidium
|
d1590e8f07
|
(svn r10731) -Codechange: allow smaller initial "build <vehicle type>" windows.
|
17 years ago |
rubidium
|
13ab17bca8
|
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
|
17 years ago |
peter1138
|
61e41b24b4
|
(svn r10603) -Codechange: avoid direct access to _engine_info
|
17 years ago |