peter1138
a50192361f
(svn r11905) -Codechange: add widget enums for player finances and player livery windows
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
smatz
e01a7e2e91
(svn r11903) -Fix: try to fix MorphOS compilation
17 years ago
peter1138
3f11c27958
(svn r11902) -Codechange: use new dropdown widget for game options window
17 years ago
peter1138
9fdb9a82a2
(svn r11901) -Add: add two widgets for dropdowns, one raised and one inset, to eventually replace use of two widgets for each dropdown control.
17 years ago
smatz
2c38d3066f
(svn r11900) -Fix: set correctly crossing state after train reversal, train leaving crossing, train crash
...
Fixes several ways to leave crossing red forever or to leave it unbarred when there is a train on crossing
17 years ago
frosch
3ae0c5316c
(svn r11899) -Cleanup: Remove ShowReplaceVehicleWindow() as it is basically a duplicate of ShowReplaceGroupVehicleWindow().
17 years ago
frosch
c7fe664119
(svn r11898) -Fix: Update neighboured canals + signals when flooding non-flat tiles, too.
17 years ago
frosch
03e7f6f2d2
(svn r11897) -Fix: Replace an uint with TileIndex and a small coding style fix.
17 years ago
glx
82727a8713
(svn r11896) -Fix (r11886): a missing const broke compilation with MSVC
17 years ago
glx
80d62cb358
(svn r11895) -Fix (r11875): for once MSVC warns for a good reason
17 years ago
peter1138
8bc5115a1a
(svn r11894) -Cleanup: Remove strings removed from english.txt in r11893
17 years ago
peter1138
5d8f7dbe60
(svn r11893) -Codechange: build map size drop downs dynamically and remove unneeded strings
17 years ago
peter1138
41df004043
(svn r11892) -Fix (r11879): View switched from ungrouped to all vehicles as ungrouped is not technically a valid group, and ensure dropdown is removed
...
on any click in the window.
17 years ago
rubidium
a325bef3f5
(svn r11889) -Change: small inconsistency between documentation and code. Patch by Yexo.
17 years ago
glx
4e847a9c52
(svn r11888) -Codechange: simplify sorting of the strings in town names dropdown
17 years ago
rubidium
c141639bcc
(svn r11887) -Fix [FS#1658]: segmentation faults/wrong frees due uninitialized memory in the AI.
17 years ago
glx
2ad9edda91
(svn r11886) -Add: sort the strings in languages dropdown
17 years ago
peter1138
20c2de3ace
(svn r11885) -Cleanup: Remove gotos from widget drawing code. A side affect is that it is now possible for any widget type to be shown disabled.
17 years ago
peter1138
b4ed1609bf
(svn r11884) -Cleanup: leftover use of widget numbers instead of enum
17 years ago
smatz
7eff702c0a
(svn r11883) -Fix (r11864): assert when trying to remove rail from a house or industry tile
17 years ago
smatz
fc2895e8c2
(svn r11882) -Codechange: introduce MarkSingleVehicleDirty() and simplify the code at some places
17 years ago
peter1138
df7286e7c1
(svn r11881) -Cleanup: Code style for global variables.
17 years ago
peter1138
e2724bed6c
(svn r11880) -Codechange: Generate vehicle group action dropdown dynamically, and assign an enum for the function return codes.
17 years ago
peter1138
389f8e0d8f
(svn r11879) -Fix: Only update group action drop down list when clicking on the dropdown text/button. Other times is not needed and caused a double free.
17 years ago
peter1138
c2ae2334ec
(svn r11878) -Fix: Crash in MP in vehicle group window if the currently selected group is deleted by another player.
17 years ago
smatz
3ad8b79550
(svn r11877) -Fix: another way to crash competitors' train in a station
...
-Codechange: increase the speed train is approaching line end/semaphore in non-diagonal direction a bit
17 years ago
frosch
9a9a1dcb6c
(svn r11876) -Fix: Start industry tile animation also for overridden industry tiles. (Will only apply to new games or newly build industries.)
17 years ago
bjarni
a09b0e21e4
(svn r11875) -Fix: automatically sending aircraft to depot for autoreplace/renew is now triggered by the correct conditions
...
Now it triggers by the following conditions:
- aircraft is old enough for renew or needs to be autoreplaced
- player has 2*cost of new aircraft+autorenew money (we don't want to send many aircraft to hangars when there is only money for replacing one)
- aircraft has no hangars in it's order list
- new aircraft is buildable (imagine autorenewing a retired design)
This triggers right after a helicopter takes off or when a plane touches the ground while landing
Another effect of this change is that this functionality no longer generates network traffic
17 years ago
rubidium
049e615cfb
(svn r11874) -Fix [FS#1655]: all wagons of maglev/monorail trains would get the livery colour of the engine instead of their wagon type.
17 years ago
belugas
88206b8808
(svn r11873) -Codechange: less a few magical numbers and a tiny bit more comments on town zones
17 years ago
bjarni
48c2669185
(svn r11872) -Fix (r9874): EngineHasReplacementForPlayer() didn't look in ALL_GROUP
17 years ago
smatz
61e40b1aa5
(svn r11871) -Fix [FS#1074]: do not update signals after each tile when building/removing a large block of track/signals/station
17 years ago
smatz
70a9c544b8
(svn r11870) -Fix: slow down train when approaching tile we can't enter in more cases
...
(tunnel/bridge/depot from wrong direction, competitor's track, wrong railtype)
-Fix: do not make crossing red when we can't enter it in any case
17 years ago
rubidium
a3a5ff6057
(svn r11867) -Fix: do not reset changes to persistent storages during world generation.
...
-Fix: store changes to persistent storages after performing all the game logic instead of resetting them.
17 years ago
rubidium
736640fd87
(svn r11866) -Codechange: swap OFB_* and OF_* so it conceptually in sync with other cases of *B_* vs *_* like VETSB_* and VETS_*.
17 years ago
peter1138
e938855375
(svn r11865) -Feature(tte): Support scrolling of drop down lists when in drag mode by moving the pointer above or below the list.
17 years ago
smatz
81cad58c68
(svn r11864) -Codechange: pass owner whose signals we will update instead of complex detection later
17 years ago
peter1138
c954ce1b33
(svn r11863) -Fix (r11848): One day I'll learn C++... Delete all items in a drop down list before deleting the list.
17 years ago
rubidium
fcee6dad93
(svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too.
17 years ago
smatz
e0c61a8921
(svn r11861) -Fix: do not call rail specific functions when removing road tunnel/bridge
17 years ago
peter1138
ef704510cd
(svn r11860) -Fix: Test station class validity against number of classes, not abosolute limit.
17 years ago
peter1138
b4d476b7d1
(svn r11859) -Codechange: Update newgrf station class dropdown to use new method of generating list.
17 years ago
peter1138
327ea90331
(svn r11858) -Fix (r1679): Mask and rule colour in drop down lists using wrong source value. (r1679 partially reverted r1368)
17 years ago
rubidium
c7f9705e4a
(svn r11857) -Fix: some compile time warnings.
17 years ago
glx
d4e8ffd7b3
(svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the extra checking and such anymore.
17 years ago
glx
8344327a91
(svn r11855) -Fix [FS#1335]: recompute town population when removing a 'newhouses' grf, or when loading a game with missing 'newhouses' grfs
17 years ago
peter1138
6fa0463d79
(svn r11854) -Fix (r11848): Nightly build farm showed up more compiler warnings... c++ is fun
17 years ago
miham
ccd557fa54
(svn r11852) -Update: WebTranslator2 update to 2008-01-14 21:05:38
...
brazilian_portuguese - 36 changed by fukumori (36)
korean - 1 fixed by leejaeuk5 (1)
piglatin - 20 fixed by adammw (20)
portuguese - 1 fixed by nars (1)
17 years ago
belugas
e91e9d9b4e
(svn r11851) -Codechange: A few magic numbers removal, plus a little code style
17 years ago
peter1138
85e49e6290
(svn r11849) -Fix (r11848): Incomplete(?) class broke MSVC/mingw compilation
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
smatz
c6de18c3db
(svn r11847) -Fix: do not affect the speed a train is entering a depot by trackbits behind it
17 years ago
peter1138
7475bf20ec
(svn r11846) -Fix [FS#1651]: implicit conversion from unsigned to signed int caused compilation failure with MSVC.
17 years ago
smatz
a9f69f387d
(svn r11845) -Codechange: simplify train collision detection a bit
17 years ago
glx
88e16866bc
(svn r11844) -Fix: road vehicle count was incorrect in network lobby window
17 years ago
smatz
b3bf60000e
(svn r11843) -Fix: mark dirty canal tile even in diagonal direction from flooded tile
17 years ago
rubidium
f57ab9f99f
(svn r11842) -Fix: libtimidity.cpp did not compile anymore.
17 years ago
glx
b1951ac447
(svn r11841) -Fix: win32 compilation
17 years ago
rubidium
9ac26e1bf1
(svn r11840) -Codechange: split network.h so not everything in there needs to be included when wanting to know whether we are a server.
17 years ago
rubidium
df12937f19
(svn r11839) -Codechange: move some variables from variables.h to a more logical location.
17 years ago
smatz
5d379d6696
(svn r11838) -Fix (r11320): draw correctly canal next to half flooded rail tile
17 years ago
bjarni
adf1e34ead
(svn r11837) -Feature: [OSX] added "/Library/Application Support/OpenTTD" to the search paths (based on patch by pv2b)
...
It is possible to set this to something else setting shared-dir with config
This works on other OSes as well but it's off by default (and not really tested)
17 years ago
bjarni
6c4ebd91ea
(svn r11836) -Fix [r11834]: [OSX] fixed compilation
17 years ago
smatz
b3e28dc5ad
(svn r11835) -Fix: mark depot, viewports, vehicle lists and vehicle details dirty when a train crashes
17 years ago
rubidium
9c0c798dd8
(svn r11834) -Codechange: only include settings_type.h if needed.
17 years ago
rubidium
fafab82a31
(svn r11832) -Codechange: get rid of (quite) some VARDEFs.
17 years ago
smatz
86a6268f3e
(svn r11831) -Fix: call TrainConsistChanged() when removing crashed train part to be consistent with saveload process
17 years ago
rubidium
975f1b4825
(svn r11830) -Fix [FS#1625]: road vehicles would not wait in line, but at a single point on bridges. Based on a patch by SmatZ.
17 years ago
rubidium
0ca79e2fb8
(svn r11829) -Feature: allow reloading openttd.cfg when starting a new game on a dedicated server. Patch by dihedral.
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
72c9b35b11
(svn r11827) -Codechange: do not include enum_type.hpp unnecessary.
17 years ago
glx
818979ebe3
(svn r11826) -Fix (r10444): at least one instance of dmusic driver is needed for it to be registered and usable
17 years ago
rubidium
bfa6087e0f
(svn r11825) -Fix (FS#1627): an articulated road vehicle could split up when it turned around at a corner and then would enter a drive through station at the next tile.
17 years ago
peter1138
3fb100c670
(svn r11824) -Fix (r11822): Converting signs from TTD games incomplete
17 years ago
peter1138
4bbe6358d9
(svn r11823) -Fix (r11822): Custom names from old TTD games were not updated.
17 years ago
peter1138
0f7392bd61
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
...
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
17 years ago
smatz
74f9be8f2c
(svn r11821) -Fix (r11802): 'optimization assert' when removing crashed wagon in some cases
17 years ago
smatz
9c9b743242
(svn r11820) -Fix: invalidate depot window when removing crashed train
17 years ago
smatz
b18b7f6f22
(svn r11819) -Fix: do not access the Vehicle struct that has been already deleted when removing crashed train
17 years ago
rubidium
2fc62eab05
(svn r11818) -Codechange: split player.h into smaller pieces.
17 years ago
peter1138
63cc41cd1c
(svn r11817) -Codechange: Base vehicle group validity on owner, not name.
17 years ago
rubidium
07e0e0a1ff
(svn r11816) -Fix: forgot clearing one byte, causing the passwords to differ slightly on different platforms.
17 years ago
smatz
81b3635c80
(svn r11815) -Codechange (r11802): some compilers were giving a false warning about uninitialized variable
17 years ago
orudge
c4ad3c648b
(svn r11814) -Fix: Get OpenTTD compiling again on OS/2
17 years ago
frosch
7d3ecec5b9
(svn r11813) -Fix [FS#1602]: Switch _screen to the output buffer and disable usage of 32bpp-anim animation buffer during giant screenshots.
17 years ago
smatz
fa1f94e599
(svn r11812) -Codechange: introduce TrainExitDir() to simplify some functions
17 years ago
rubidium
97d6e0e6c0
(svn r11811) -Fix: make compilation without networking work again (and thus move the debugdumpcommand stuff out of the network 'area').
17 years ago
smatz
2ba5bf8947
(svn r11810) -Fix (r11802): reset sets when leaving prematurely
17 years ago
smatz
aa11580621
(svn r11809) -Fix [FS#1643]: set expenses type when selling all vehicles in depot
17 years ago
frosch
49f741aaa3
(svn r11807) -Codechange: Make Action5 handler more upwards- and TTDP-compatible by allowing specifiing more sprites than needed.
17 years ago
glx
fe35fa15e4
(svn r11806) -Fix (r11793) [FS#1638]: sign inversion when updating income and expenses
17 years ago
frosch
9629b26677
(svn r11805) -Fix [FS#1620]: VEHICLE_TRIGGER_EMPTY was triggered continuously while train waiting in station.
17 years ago
belugas
88f11bbfeb
(svn r11804) -Fix(r11797,FS#1636): Industry tiles should receive the same medecine as indstries themselves regarding the resolver's object
17 years ago
peter1138
0645689a87
(svn r11803) -Fix: unlikely but possible infinite loop leading to undefined behaviour
17 years ago
smatz
bc4ed3eafd
(svn r11802) -Fix [FS#716]: do not crash trains when leaving depot to a very long track
...
-Codechange: use dedicated pathfinder for signal updating, resulting in better performance and possible future improvements
17 years ago
rubidium
c004cc1fd9
(svn r11801) -Codechange: remove some unneeded includes from some header files.
17 years ago
rubidium
2d2e1e3863
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
17 years ago
peter1138
a5101fb403
(svn r11799) -Codechange: no need to special-case helicopter rotor 'overrides'
17 years ago
belugas
1bfe4e0e02
(svn r11798) -Codechange: add comments and give a more representative function's name
17 years ago