frosch
857df41a6d
(svn r14142) -Codechange: Disallow taking over greyed waypoints of other companies.
16 years ago
frosch
4e0faffc72
(svn r14141) -Fix (r14135): Savegame conversion could assign a recently removed waypoint (grey sign) to a wrong owner.
16 years ago
frosch
63f4726e06
(svn r14140) -Fix (r14135): Enum in saveload-table.
16 years ago
frosch
5216223f45
(svn r14139) -Fix (r12044): GetSlopeZ() gets a virtual coordinate, not a tile.
16 years ago
smatz
0816d2cf20
(svn r14138) -Fix (r12863): dark blue wasn't considered as similiar to blue
16 years ago
celestar
7e8c7dfcbf
(svn r14137) -Codechange: Remove a now unused member of CargoPacket
16 years ago
belugas
7dc212edeb
(svn r14135) -Codechange: Add owner to waypoints. Previously, it was guessed from rail underneath it.
16 years ago
frosch
f625ecbeba
(svn r14134) -Fix (r12667, r13579) [FS#2245]: Update 'current_order' when changing 'cur_order_index'.
16 years ago
rubidium
ca27155a52
(svn r14133) -Fix [FS#2249]: close the 'manage vehicles' dropdown once the number of vehicles in the list reaches 0.
16 years ago
frosch
12f38e56df
(svn r14132) -Fix (r14039): Only reserve a path on leaving a station if the current block really is a PBS block. (michi_cc)
16 years ago
frosch
9fe035f8e8
(svn r14131) -Fix (r13952) [FS#2250]: The reservation of adjacent stations was sometimes not freed correctly. (michi_cc)
16 years ago
frosch
f2623e7c09
(svn r14130) -Fix (r13961) [FS#2248]: Clear the stuck state of a train that is reversing with the first vehicle inside a depot. (michi_cc)
16 years ago
frosch
b03fcdf323
(svn r14129) -Fix (r13935) [FS#2247]: Signal state for PBS signals was not updated when cycling the signal side. Patch by michi_cc with a small addition from me.
16 years ago
belugas
bb3c205e05
(svn r14127) -Feature(ette): Give the the player's colour to the waypoint window been shown
16 years ago
frosch
0e2736399e
(svn r14126) -Codechange (r14125): Add some tabs.
16 years ago
frosch
447d0930f7
(svn r14125) -Fix [FS#2237]: Segfault when autoreplace failed very early.
...
Note: Proper indenting in next commit.
16 years ago
belugas
f520a702e0
(svn r14123) -Codechange: a few magical number to sprite name conversions
16 years ago
translators
90176a547a
(svn r14120) -Update: WebTranslator2 update to 2008-08-21 10:46:06
...
brazilian_portuguese - 33 fixed by tucalipe (33)
czech - 1 fixed, 11 changed by Hadez (12)
dutch - 4 fixed by habell (4)
estonian - 25 fixed, 111 changed by kristjans (135), vermon (1)
french - 3 fixed, 8 changed by glx (9), belugas (2)
galician - 78 fixed by Condex (78)
german - 13 fixed by dih (13)
korean - 20 fixed, 1 changed by leejaeuk5 (21)
simplified_chinese - 51 fixed, 1 changed by ww9980 (52)
slovenian - 54 fixed by Necrolyte (54)
ukrainian - 3 fixed by mad (3)
16 years ago
belugas
8385653118
(svn r14119) -Fix(r14104): Forgot to make the gui disappear when the waypoint is deleted. Smatz pointing
16 years ago
belugas
d3dd9c6566
(svn r14118) -Fix(r14104): typos creeping like bugs
16 years ago
frosch
ff749ab09d
(svn r14114) -Fix [FS#2242]: Sign list was not properly updated on removal of signs.
16 years ago
frosch
f42fab0dec
(svn r14113) -Codechange: Language updates for r14112.
16 years ago
frosch
7c5d237447
(svn r14112) -Fix (r13715)[FS#2232]: Action B custom messages with parameteers were broken.
16 years ago
frosch
d43a475650
(svn r14111) -Fix (r2572): [strgen] Changing order of parameters {X:...} did not work for strings including some {StringY}.
16 years ago
glx
ef0458c739
(svn r14110) -Fix: desyncs due to bubbles in toyland
16 years ago
smatz
5d5cb04297
(svn r14109) -Fix (r14107): marking reserved tile dirty is needed for waypoints and stations even when patch option is disabled
16 years ago
belugas
80ca96d469
(svn r14108) -Fix(r14104): Give a more consistent naming of the new gui file
16 years ago
smatz
999994bcf3
(svn r14107) -Codechange: marking reserved tile dirty twice (and even when patch option is off) is not needed
16 years ago
belugas
578833ef01
(svn r14106) -Fix(r14104): A string too much been commited
16 years ago
belugas
f2f2bcf23c
(svn r14105) -Fix: Some typos that are more grammatical errors, as it seems.
...
Provided by ln
I've added a little fix on currency.cpp too, why not :)
16 years ago
belugas
77ee099212
(svn r14104) -Feature: Add a window for waypoints, allowing to view all the trains having the selected waypoint in their orders.
...
Changing its name is also supported from the same new window.
Gui based on work done by Satyap, on FS#2025.
16 years ago
smatz
bd6ef958e7
(svn r14103) -Fix [YAPP]: flooded trains didn't free their reservation
16 years ago
rubidium
aa80c3a96c
(svn r14102) -Fix [FS#1986]: make NewGRF action 0x06's changes persistent over the several loading stages.
16 years ago
rubidium
c98c3122b5
(svn r14101) -Cleanup (r14083): leftover friend.
16 years ago
belugas
1500ed3665
(svn r14099) -Codechange: Welcome back, Celestar.
...
While at it, an alphabetic error been fixed
16 years ago
celestar
23a48b2815
(svn r14098) -Fix: Make the 'Transfer Credit' display aware of the entire consist, not only the first vehicle
16 years ago
rubidium
99efe9aaae
(svn r14097) -Fix [FS#2085]: one couldn't get a list of vehicles sharing an order when the number of orders was 0; you could see that the vehicles had a shared order though.
16 years ago
rubidium
abd9f74871
(svn r14096) -Codechange: merge the shared order's vehicle list management to a single location.
16 years ago
frosch
ca3f1f6406
(svn r14095) -Fix (r14076): Trains shall not stop instantly.
16 years ago
glx
fbd2db34e6
(svn r14094) -Revert (r14071): caused more problems than it solved
16 years ago
rubidium
2f5caa63f8
(svn r14093) -Fix [FS#2230]: don't flood a NewGRF industry when it implicitly tells that it wants to be build on water (land shape flags bit 5).
16 years ago
rubidium
2f7c20eccd
(svn r14092) -Cleanup (r14083): dead code, i.e. unused function.
16 years ago
frosch
11a20379f3
(svn r14091) -Cleanup (r14083): Remove superfluous '#include's.
16 years ago
rubidium
3663965f3e
(svn r14090) -Fix: the vehicle window of articulated road vehicles would show the clone/refit button when the vehicle was not completely stopped in the depot.
16 years ago
rubidium
b6b9cd9d51
(svn r14089) -Fix [FS#2219]: trains not being able to find a route to a depot when the front is already in the depot.
16 years ago
rubidium
9648bf3019
(svn r14087) -Fix [FS#2228]: flawed parsing of words (as in 2 bytes) in GRF strings due to sign extension (minime)
16 years ago
smatz
25a1c59abb
(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
16 years ago
frosch
9751fbe4dc
(svn r14085) -Cleanup (r14083): Remove no longer used functions.
16 years ago
frosch
f3e7b77dcb
(svn r14084) -Codechange: Language updates for r14083.
16 years ago
frosch
f7826f8a37
(svn r14083) -Fix [FS#1264, FS#2037, FS#2038, FS#2110]: Rewrite the autoreplace kernel.
16 years ago
frosch
56459cab81
(svn r14082) -Codechange: Make 'GetNextUnit()' more fool-proof wrt. real dualheads.
16 years ago
glx
c10691faff
(svn r14080) -Fix (r14052): assert triggered when drawing chat window with 32bpp-anim blitter (backup buffer was too small)
16 years ago
peter1138
9d0e1b635a
(svn r14078) -Codechange: Rename *VehicleInfo::base_cost to cost_factor, indicating what it actually is.
16 years ago
frosch
844a83ed58
(svn r14076) -Codechange: Merge the four start/stop commands into a single CMD_START_STOP_VEHICLE.
16 years ago
rubidium
20ee6f1158
(svn r14071) -Fix [FS#2057]: the screen wouldn't be centered on Windows multimonitor systems if the first monitor is right of the second one.
16 years ago
rubidium
d986380169
(svn r14069) -Fix: silence MSVC 64-bits compile warnings.
16 years ago
rubidium
e5bdcfaf9e
(svn r14068) -Fix (r14056): MSVC doesn't support typeof.
16 years ago
rubidium
2d94337e1a
(svn r14064) -Fix [FS#1752]: check for the length of strings (in bytes) in the command. Checking for the length in pixels is impossible because that differs per client.
16 years ago
rubidium
97c184f8f8
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
16 years ago
rubidium
08e7da71f5
(svn r14062) -Fix [FS#2226]: division by 0 in newai.
16 years ago
belugas
c773d33cc3
(svn r14061) -Codechange: constification and move a declaration more logically
16 years ago
belugas
931f16cfa8
(svn r14060) -Codechange: Replace numbers with Colours enum on Gen world gui.
...
Note that some WWT_TEXT widgets have received a COLOUR_x value.
It is not a valid colour a per say. THe strings been displayed there do have their own colours encoded.
IT is currently just for the sake of ease of writing, as TextColour and Colours are not really related.
16 years ago
belugas
7564dbd32f
(svn r14059) -Fix(r13872): Wrong comments in enum. Dear old copy/paste...
16 years ago
rubidium
0b9be84d46
(svn r14058) -Fix [FS#2224]: NewGRF callback 23 didn't use the NewGRF compatible text stack (minime)
16 years ago
rubidium
d1073ba574
(svn r14057) -Fix: NewGRF text stack's "push word" didn't move the data around properly (minime)
16 years ago
rubidium
fe87fa8205
(svn r14056) -Fix [FS#2192]: the console backlog is too small for list_patches. Now it'll only remove backlog items when there are more than a threshold and when they are there longer than (another) threshold.
16 years ago
rubidium
203b5eed27
(svn r14055) -Codechange: increase buffers for (dedicated) consoles as they couldn't use the full "extent" of the new chat message limit.
16 years ago
rubidium
4ae352d288
(svn r14054) -Fix (rthebeginning): long strings in the edit box would cause OpenTTD to stop drawing the string. This is especially noticable with low resolutions and the chat input box.
16 years ago
rubidium
72c154fd0f
(svn r14052) -Codechange: make the size of the chat message "box" configurable and increase the default size slightly so it can hold the longest chat messages.
16 years ago
rubidium
a3910ced70
(svn r14051) -Codechange: enumify the DrawString buffer length.
16 years ago
belugas
61007078b6
(svn r14049) -Codechange: rename a variable to a somewhat more descriptive one. And constify it too.
16 years ago
rubidium
c04ab6628b
(svn r14048) -Fix (r14019) [FS#2222]: Redo the check for reserved tracks properly this time. (michi_cc)
16 years ago
rubidium
d0c1a989a4
(svn r14047) -Codechange: move chatmessage handling to the network directory as that's the only case chat messages are used. Furthermore remove any trace of chatmessages when compiling without network support.
16 years ago
rubidium
6995365535
(svn r14046) -Codechange: make the size of querystring "widgets" more configurable.
16 years ago
rubidium
3b4c3a3df6
(svn r14045) -Codechange: move the network's limitation to chat messages to a more logical location and give it a more consistent name.
16 years ago
belugas
5f52c44c14
(svn r14043) -Codechange: Rename a variable to a more obvious name. And a few comments added too.
16 years ago
belugas
7f5173bf94
(svn r14042) -Codechange: Rename some structure members to more obvious names. And add a few comments on the _extra_palette_values array.
16 years ago
glx
16aac30c66
(svn r14041) -Feature(tte): make it possible to filter list_patches output like it's done for other list_* console commands
16 years ago
belugas
ebe9ae2b17
(svn r14040) -Codechange:Remove a hard coded value that is not even representative,
...
since captions have their own encoded colours in string.
16 years ago
rubidium
8726c2fd99
(svn r14039) -Fix [FS#2217]: reversing an overlength train at a station would try to find a route out and sometimes reset the unload counter making it wait 2.5 years before departing instead of waiting until the train would actually leave the station (michi_cc)
16 years ago
rubidium
2086f77dab
(svn r14038) -Fix [FS#2211] (r13731): company limit was not properly enforced for CMD_PLAYER_CTRL.
16 years ago
frosch
4eae917c1c
(svn r14037) -Fix (r8610): The autoreplace gui showed vehicle types for replacement which CmdSetAutoReplace() did not accept.
16 years ago
rubidium
b1ed3bad58
(svn r14036) -Fix [FS#2197,FS#2198]: trains crashing into eachother when signals are changed (michi_cc)
16 years ago
translators
1c04049f1c
(svn r14035) -Update: WebTranslator2 update to 2008-08-10 11:54:57
...
bulgarian - 4 fixed by thetitan (4)
croatian - 15 fixed by knovak (15)
czech - 47 fixed, 29 changed by Hadez (76)
dutch - 29 fixed by habell (29)
estonian - 8 fixed, 63 changed by kristjans (71)
french - 29 fixed, 1 changed by glx (30)
italian - 29 fixed, 6 changed by lorenzodv (35)
russian - 52 fixed by Smoky555 (52)
slovak - 2 fixed by lengyel (2)
spanish - 35 fixed by eusebio (35)
ukrainian - 30 fixed by mad (30)
16 years ago
peter1138
8531a1f430
(svn r14034) -Cleanup (r13938) [FS#2210]: Typo in YAPP constant. (Eddi)
16 years ago
peter1138
6ad76f4d1c
(svn r14033) -Fix (r13938) [FS#2209]: Wrong offset in signal GUI. (Eddi)
16 years ago
bjarni
fbef6535a5
(svn r14032) -Fix (r13584): [OSX] changed the condition for selecting 8 or 32 bpp blitter by default
...
Now we will pick 32 bpp if no 8 bpp fullscreen resolutions are available on the main display (the one with the dock)
16 years ago
frosch
731685cf64
(svn r14031) -Fix (r13850): Determining the refit cargo did not work, when the old vehicle did not carry anything but the new one did.
16 years ago
frosch
92afb4d9bd
(svn r14030) -Fix (r14027): true != false, also rename the parameter to make 'true' and 'false' more intuitively useable.
16 years ago
belugas
815f08982a
(svn r14029) -Fix(r14027): reverting the TC_FROMSTRING back to the magical 0xFE number. Exact meaning will need to be found later.
16 years ago
belugas
9e883ca48f
(svn r14028) -Fix(r14027): Wrong value for the multiline_skipping. Just the other way around.
16 years ago
belugas
e3ea3c8fbe
(svn r14027) -Codechange: Document a bit the DoDrawString function while removing yet som more magic numbers and one "false" colour
16 years ago
glx
788b625553
(svn r14026) -Cleanup (r13995, r14004): trailing whitespaces
16 years ago
smatz
cc3685ffaf
(svn r14024) -Fix (r14019) [YAPP]: YAPF also skips tunnels and bridges. Honor that in penalty calculations. (michi_cc)
16 years ago
smatz
872cefeb27
(svn r14023) -Fix (r13944) [YAPP]: If YAPF encountered a dead-end that had a signal on it, is could be falsely seen as a valid destination. (michi_cc)
16 years ago
smatz
b595d59497
(svn r14022) -Fix (r13957) [YAPP]: Removing station tiles could produce stale reservations, too. (michi_cc)
16 years ago
smatz
5229e45363
(svn r14021) -Fix (r13957) [YAPP]: Overbuilding station tiles with non-track tiles could produce stale reservations. (michi_cc)
16 years ago
rubidium
de629dd62f
(svn r14019) -Fix [FS#2205]: game crash after order skip while waiting for free path (michi_cc).
16 years ago
peter1138
2cb555ed11
(svn r14018) -Fix (r14017): Typos prevented compilation.
16 years ago
belugas
ef22740ccb
(svn r14017) -Codechange: DrawArrowButtons now uses Colours enum to specify the colour of the button
16 years ago
belugas
a2f590aeec
(svn r14016) -Codechange: Remove some magical numbers
16 years ago
peter1138
3c2f69bf62
(svn r14015) -Codechange: Add facility for a drop down list to always close (if requested) when the mouse button is released.
16 years ago
peter1138
6bae045b4a
(svn r14014) -Codechange: Add support for automatically sizing drop down lists to the widest list item.
16 years ago
rubidium
bf65e7e8f9
(svn r14013) -Fix [FS#2202]: do not allow extending signals by dragging in any direction other than the track direction.
16 years ago
peter1138
a993a29b63
(svn r14012) -Fix (r13936): Don't copy pre-signal type when dragging signals.
16 years ago
belugas
8c7a450e98
(svn r14011) -Codechange: not required to define an enum which was just the representation of another.
...
If you want to customize it more easily, why not a simple const of said enum value?
16 years ago
peter1138
aff313cd4b
(svn r14009) -Cleanup (r14008): Bad whitespace...
16 years ago
peter1138
1e5175451a
(svn r14008) -Fix (r14004): NewGRF preset drop down list not working
16 years ago
frosch
acf224683d
(svn r14007) -Fix [FS#2098]: Notify vehicle windows when their internal state is botched up from outside.
16 years ago
frosch
cffd5d17de
(svn r14006) -Codechange: Deduplicate some code.
16 years ago
smatz
0eade71bde
(svn r14005) -Codechange: minor coding style fix
16 years ago
peter1138
98d3d86004
(svn r14004) -Codechange: Clean of drop down lists.
...
Move empty item drawing to base ListItem Draw() function.
Remove String() from base class.
Pass correct width to Draw().
16 years ago
belugas
85c84c9d86
(svn r14003) -Codechange: Replace numbers with Colours enum opn some DrawArrowButtons calls
16 years ago
smatz
158d4acbba
(svn r14001) -Fix (r13989): reading wrong variable, train crash on bridge crashes game
16 years ago
peter1138
ddd8b73f0a
(svn r14000) -Codechange: Missing enum entries kind of defeat the point of the enum
16 years ago
rubidium
fe6111d6f2
(svn r13999) -Fix [FS#2190]: crash when the AI tries to find the depot of an airport that doesn't have a depot.
16 years ago
rubidium
0ebcac669e
(svn r13997) -Fix (r13988): in some cases no broadcast addresses would be found.
16 years ago
frosch
96b9fba333
(svn r13996) -Fix (r13845): Oilrigs from pre r13838 save games can have unknown water class.
16 years ago
rubidium
b1eaf763e1
(svn r13995) -Fix (r13988): some warnings of the compile farm.
16 years ago
belugas
5c3a18fa90
(svn r13994) -Codechange: replace a few rogue magic numbers with Colours enum values
16 years ago
belugas
d21f73658c
(svn r13993) -Codechange: Associate TextColour values with comments of related values in _string_colormap table
16 years ago
rubidium
6c5f703cf0
(svn r13992) -Fix [FS#2189]: the dedicated console removed any character that was not a printable ASCII character instead. Now it allows UTF8 formated strings too.
16 years ago
smatz
8fba4705f0
(svn r13991) -Codechange: draw text effects after all other signs
16 years ago
glx
0f10939029
(svn r13990) -Fix (r13988): win32 compilation failed
16 years ago
rubidium
7a50ae28d5
(svn r13989) -Fix [FS#2186] (r13953): YAPP track reservation for crashed trains was broken for depots and wormholes (michi_cc).
16 years ago
rubidium
c88cb1daa0
(svn r13988) -Codechange: move the to IP resolving functions to a separate file.
16 years ago
peter1138
a822e259c5
(svn r13987) -Codechange: Resize small map legend dynamically on window resize and when switching small map types, so that the legend is taller only on the industry type and only when the legend will not fit in the available space.
16 years ago
smatz
dcc10a3b8f
(svn r13985) -Fix (r13944): gcc 2.95 compilation
16 years ago
peter1138
63cd8fc24f
(svn r13984) -Codechange: Simplify industry legend on small map, by automatically splitting columns based on widget height.
16 years ago
frosch
628723d45c
(svn r13983) -Fix (r13953) [YAPP]: Crashed trains can be on different trackbits. Make sure there is still a track reservation when one vehicle is cleaned up.
16 years ago
peter1138
1f4b89ff4b
(svn r13982) -Fix (r13981): And then not enough was cleared...
16 years ago
peter1138
e434323d38
(svn r13981) -Fix [FS#AmmlersStillTooLazy]: Resetting construction stage counter reset more than it should.
16 years ago
peter1138
e1451e1124
(svn r13980) -Codechange: Turn small map legend while loop into a for-loop.
16 years ago
peter1138
29ba35df7b
(svn r13979) -Codechange: Use widget dimensions instead of magic number incantations for limiting small map area.
16 years ago
peter1138
65f26bb737
(svn r13978) -Fix: Incorrect widget size.
16 years ago
peter1138
92b63e38f0
(svn r13977) -Codechange: Let ResizeWindowForWidget() handle hidden (zero height or zero width) widgets.
16 years ago
frosch
b92c4cfc92
(svn r13976) -Fix (r13953) [YAPP]: A crashing train could sometimes free the reservation of another train. (assisted by michi_cc)
16 years ago
peter1138
a5453e43b1
(svn r13975) -Codechange: Replace some globals used by the small map window with static members of the window.
16 years ago
frosch
983e297ff0
(svn r13974) -Fix [YAPP]: A train crash could lead to stale reservations. (michi_cc)
16 years ago
smatz
9a1958be91
(svn r13973) -Codechange [YAPP]: Improve the behavior when changing signals to not cause stale reservations. (michi_cc)
16 years ago
rubidium
6639c496c3
(svn r13972) -Fix [FS#2180]: the timetable's "Clear Time" button didn't have any effect.
16 years ago
rubidium
13dee60ae1
(svn r13971) -Fix [YAPP]: segfault due to mixed up variables (michi_cc)
16 years ago
belugas
96892e081a
(svn r13970) -Codechange: Replace numbers with Colours enum on network, toolbar and dropdown guis.
...
Mostly forgotten ones.
16 years ago
glx
87c3599895
(svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' warning
16 years ago
rubidium
cc48f3d6f9
(svn r13967) -Codechange [YAPP]: Tweak pathfinder penalties a bit. (michi_cc)
16 years ago
rubidium
bba8ff290e
(svn r13966) -Codechange [YAPP]: Bar level crossings upon path reservation. (michi_cc)
16 years ago
rubidium
88b1ee0b43
(svn r13965) -Add [YAPP]: Implement newgrf var 0x44 for stations (PBS reservation state). (michi_cc)
16 years ago
rubidium
1e2c61360b
(svn r13964) -Codechange [YAPP]: Check if a train needs servicing when reserving the next path segment. (michi_cc)
16 years ago
rubidium
47a5faf874
(svn r13963) -Codechange [YAPP]: Reserve a track when entering a PBS block through a conventional signal. (michi_cc)
16 years ago
rubidium
5c9bb1bbd6
(svn r13962) -Codechange [YAPP]: Do not reverse in front of red signals when inside a PBS block and reversing of stuck trains is disabled. (michi_cc)
16 years ago
rubidium
db637a2b7f
(svn r13961) -Add [YAPP]: Handle train reversing. (michi_cc)
16 years ago
rubidium
9e91bb4b33
(svn r13960) -Codechange [YAPP]: Reserve a path when exiting a depot into a PBS block. (michi_cc)
16 years ago
rubidium
4339948b1f
(svn r13959) -Codechange [YAPP]: Try to extend a train reservation as far as possible and only call into the pathfinder on track choices. (michi_cc)
16 years ago
rubidium
16ab0d84bb
(svn r13958) -Add [YAPP]: Implement look-ahead for trains so they extend their reservation before reaching the end. (michi_cc)
16 years ago
rubidium
753da05bc6
(svn r13957) -Codechange [YAPP]: Free the old path reservation on removing some tracks and reroute trains afterwards. (michi_cc)
16 years ago
rubidium
bce6f7b41c
(svn r13956) -Add [YAPP]: Function for getting the train holding a reserved path. (michi_cc)
16 years ago
rubidium
bd0a420744
(svn r13955) -Codechange [YAPP]: Try to extend the path of a stuck train so it is able to continue. (michi_cc)
16 years ago
rubidium
e9b62103e4
(svn r13954) -Codechange [YAPP]: On reserving a path that ends at the destination, the path could end at a non-safe tile. In this case, extend the reservation based on the next vehicle orders. (michi_cc)
16 years ago
rubidium
d06fb949ff
(svn r13953) -Add [YAPP]: Free track reservations of crashed trains. (michi_cc)
16 years ago
rubidium
10d8fb6456
(svn r13952) -Add [YAPP]: Trains now reserve paths trough PBS signals. Bump savegame version. (michi_cc)
16 years ago
rubidium
33898d49bb
(svn r13951) -Codechange [YAPP]: A train leaving a tile should unreserve the track it came from if it was reserved. (michi_cc)
16 years ago
rubidium
e9c33fb288
(svn r13950) -Add [YAPP]: Trains can now also be in a 'stuck' state when waiting on a path reservation. (michi_cc)
16 years ago
rubidium
0dfaa88c1e
(svn r13949) -Codechange [YAPP]: Declare the functions for processing conditional orders as non-static. (michi_cc)
16 years ago
rubidium
a706766690
(svn r13948) -Add [YAPP]: Extend NPF with a function to find a safe tile and reserve a path. (michi_cc)
16 years ago
rubidium
4f5f3846a0
(svn r13947) -Codechange [YAPP]: Added YAPP-related penalties to NPF. (michi_cc)
16 years ago
rubidium
cd041b6944
(svn r13946) -Add [YAPP]: Implement track reserving for NPF as well. (michi_cc)
16 years ago
rubidium
773f19da05
(svn r13945) -Codechange [YAPP]: Extend CFollowTrackT to not require a Vehicle when following rail. (michi_cc)
16 years ago
rubidium
53cc7e8a5c
(svn r13944) -Add [YAPP]: Add YAPF provider to find a safe tile and reserve a path. (michi_cc)
16 years ago
rubidium
2b153abd93
(svn r13943) -Codechange [YAPP]: Reserved station tiles can now be penalized more in YAPF. This should help with spread out stations. (michi_cc)
16 years ago
rubidium
ecc509195a
(svn r13942) -Codechange [YAPP]: Add a penalty for double slips to YAPF. (michi_cc)
16 years ago
rubidium
8c7983727e
(svn r13941) -Codechange [YAPP]: Added YAPP-related penalties to YAPF. (michi_cc)
16 years ago
rubidium
abc46b1e86
(svn r13940) -Add [YAPP]: YAPF is now able to reserve the found path. (michi_cc)
16 years ago
rubidium
c91c12adde
(svn r13939) -Add [YAPP]: Extend YAPF with the possibility to override the railtype info of the vehicle. (michi_cc)
16 years ago
rubidium
908591b40a
(svn r13938) -Codechange [YAPP]: Add the new signals to the build signal GUI. (michi_cc)
16 years ago
rubidium
3e055b32bf
(svn r13937) -Codechange [YAPP]: Don't cycle through two-sided PBS signals during build. (michi_cc)
16 years ago
rubidium
07a43863c4
(svn r13936) -Codechange [YAPP]: Enable the auto-signal tool to build PBS signals and honor the default signal type. (michi_cc)
16 years ago
rubidium
60006ad24c
(svn r13935) -Codechange [YAPP]: PBS signals can now be built with the normal signal tools. (michi_cc)
16 years ago
rubidium
5c55922a06
(svn r13934) -Codechange [YAPP]: Handle through signals in the pathfinders. (michi_cc)
16 years ago
rubidium
d6645818b4
(svn r13933) -Codechange [YAPP]: Handle through and PBS signals correctly in the signal code. (michi_cc)
16 years ago
rubidium
fe4f23dba2
(svn r13932) -Add [YAPP]: PBS signals added to the map array. The signals are drawn using the old Patch-like PBS sprites. (michi_cc)
16 years ago
rubidium
ad4fdb76fc
(svn r13931) -Codechange [YAPP]: Retain the reservation state when building/removing waypoints or level crossings. (michi_cc)
16 years ago
rubidium
9295bd3f7c
(svn r13930) -Codechange [YAPP]: Clear track reservation when removing a rail track. (michi_cc)
16 years ago
rubidium
f6555cf6f8
(svn r13929) -Codechange [YAPP]: Reserving and unreserving of single tracks is now possible. (michi_cc)
16 years ago
rubidium
2bb8825538
(svn r13928) -Add [YAPP]: Function for getting the path reservation state of any tile. (michi_cc)
16 years ago
rubidium
df99103a31
(svn r13927) -Add [YAPP]: Draw reserved tracks darker, toggeld by a patch setting. (michi_cc)
16 years ago
rubidium
ec7cc49825
(svn r13926) -Add [YAPP]: Add map accessors for path reservations. (michi_cc)
16 years ago
frosch
770d293788
(svn r13923) -Feature: Show [total-]cargo info in depot when [ctrl-]right-clicking on vehicle.
16 years ago
frosch
0fc769bb6c
(svn r13922) -Codechange: Move measurement-tooltip related stuff out of the general tooltip window.
16 years ago
peter1138
b92520ddfd
(svn r13921) -Codechange (r11473): Use the correct enum...
16 years ago
belugas
d0d285ed57
(svn r13920) -Codechange: uniformise the definition with the declaration of DrawFrameRect
16 years ago
belugas
c5cecdd2e3
(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
16 years ago
rubidium
d67ef3573c
(svn r13917) -Fix [FS#2178]: wrong tooltip for the industry directory's list.
16 years ago
bjarni
862ba19279
(svn r13913) -Fix (r13893): [OSX] fixed a warning about MAC_OS_X_VERSION_10_5 not being defined on all systems
16 years ago
rubidium
ad36ea6b29
(svn r13912) -Codechange: remove some casts by returning the proper type instead of void*.
16 years ago
smatz
7c0b1172e1
(svn r13911) -Fix (r13806): do not consider crashed train as waiting at signal, v->direction doesn't have to match track anyway
16 years ago
rubidium
c5a4e90338
(svn r13910) -Document: string drawing related functions and types (Alberth)
16 years ago
rubidium
47592b9288
(svn r13909) -Codechange: use the same type before CmdBuildRailStation as it used in the command itself (Alberth)
16 years ago
rubidium
62c94f1b12
(svn r13908) -Codechange: merge two tables into a single one (Alberth)
16 years ago
belugas
69671d3aef
(svn r13907) -Codechange: Replace a number with Colours enum on DrawFrameRect usage
16 years ago
translators
325ef293fd
(svn r13905) -Update: WebTranslator2 update to 2008-08-01 02:27:37
...
brazilian_portuguese - 22 fixed by tucalipe (22)
dutch - 9 fixed by habell (9)
estonian - 4 fixed by kristjans (4)
french - 5 fixed, 1 changed by glx (6)
galician - 105 fixed, 206 changed by Condex (311)
italian - 5 fixed, 2 changed by lorenzodv (7)
korean - 15 fixed by leejaeuk5 (15)
portuguese - 48 fixed by supra90 (48)
slovak - 30 fixed by lengyel (30)
spanish - 9 fixed by eusebio (9)
ukrainian - 22 fixed by mad (22)
16 years ago
glx
513f4c7ca7
(svn r13904) -Fix (r13715): 'cast from/to pointer to/from integer of different size' warnings
16 years ago
rubidium
fb80ed218d
(svn r13903) -Fix: missing eol-style property.
16 years ago
belugas
10f450e2d4
(svn r13900) -Codechange: Replace numbers with Colours enum on settings, smallmaps, stations and signs guis.
16 years ago
belugas
87f95cd4cf
(svn r13899) -Codechange: Replace numbers with Colours enum on roads gui.
...
save command file before commiting :P
16 years ago
belugas
d2c29c22fb
(svn r13898) -Codechange: Replace remaining numbers with Colours enum on players, roads and rails guis
16 years ago
belugas
d34eedfdb3
(svn r13897) -Codechange: Replace remaining numbers with Colours enum on news guis
...
-Fix: a few misalignements
16 years ago
belugas
5bbb5721df
(svn r13896) -Codechange: Replace numbers with Colours enum on newgrf, order and osk guis
16 years ago
belugas
5c3b347350
(svn r13895) -Codechange: Replace numbers with Colours enum on music gui and on DrawFrameRect calls
...
-Fix: a few misalignements
16 years ago
bjarni
61799786d5
(svn r13893) -Fix: [OSX] solved a deprecated warning specific to 10.5
16 years ago
smatz
5e2c2db235
(svn r13891) -Fix (r12547): one could click on waypoint and station signs even when they were invisible
16 years ago
peter1138
b7e64bb5a6
(svn r13890) -Codechange: Simplify drawing of invisibilty buttons in the transparency gui -- the real widgets above already have coordinates so there is no need to hardcode them again. As an added bonus the invisibility buttons now line up properly.
16 years ago
belugas
1cd0aa4b74
(svn r13889) -Codechange: Replace numbers with Colours enum on transparency gui.
...
-Fix: "true" is not a color. COLOUR_PALE_GREEN should look better, at least in the code ;)
16 years ago
belugas
22d9d9c588
(svn r13888) -Codechange: Replace numbers with Colours enum on miscellaneous guis.
16 years ago
belugas
1737ce45e3
(svn r13887) -Codechange: Replace numbers with Colours enum on autoreplace, build_vehicle, cheat, depot and dock guis.
...
The fact that it goes alphabetically is pure coincidence.
16 years ago
frosch
93d0ca8731
(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.
16 years ago
smatz
515b55c635
(svn r13884) -Fix (r11822): custom vehicle names from TTD(Patch) games were lost
16 years ago
belugas
faaa637987
(svn r13883) -Codechange: Replace numbers with Colours enum on graph gui
16 years ago
belugas
63f7214abd
(svn r13882) -Codechange: Replace widget numbers with appropriate enums
16 years ago
frosch
c840a63dfd
(svn r13881) -Cleanup (r12751): Remove some dead code.
16 years ago
belugas
c848b9d3c4
(svn r13880) -Codechange: Replace numbers with Colours enum on intro gui, and align a bit the code
16 years ago
belugas
4cc5da9409
(svn r13879) -Codechange: Replace numbers with Colours enum on engine, industries and group gui
16 years ago
belugas
96a0010911
(svn r13876) -Codechange: Replace numbers with Colours enum on bridge gui
16 years ago
belugas
486ce7dbc3
(svn r13875) -Codechange: Remove some magic numbers in favour of the Colours enum they are representing
16 years ago
belugas
60d020059c
(svn r13874) -Change: missing svn:property eol-style
16 years ago
belugas
caf5cac9eb
(svn r13873) -Codechange: remove useless string from all language files affected by r13872. which removed the STR_NEWS_OPEN_CLOSE string
16 years ago
belugas
d358eff64d
(svn r13872) -Feature: Split the news message announcing opening and closure of industries into two news of their own
16 years ago
peter1138
b90dc6cc34
(svn r13870) -Fix [FS#2167]: Callback 10 (visual effect and powered wagons setting) and powered wagons operation were not performed for articulated wagons.
16 years ago
rubidium
ef6e366c08
(svn r13869) -Fix [FS#2153] (r13674): in some cases the sprite cache could be filled with unremovable items.
16 years ago
frosch
814c91843a
(svn r13868) -Fix: Parent scope of industry variables.
16 years ago
belugas
da4dc32a6f
(svn r13867) -Codechange: Fix missing alignment
16 years ago
peter1138
ca703d3701
(svn r13866) -Codechange: Use sortlist for sign windows
16 years ago
peter1138
b49814c537
(svn r13865) -Codechange: Use case-insensitive sort for NewGRF list.
16 years ago
belugas
ec58ec4a73
(svn r13864) -Feature(FS #2164 ): All industry creations are now generating a news event, even those funded by a real player.
16 years ago
smatz
88637d9213
(svn r13859) -Fix: loading of TTD(Patch) savegames from the command line didn't work
16 years ago
smatz
686019398f
(svn r13858) -Fix: buffer overflow for too long filename supplied as '-g' parameter
16 years ago
peter1138
81dafb5e69
(svn r13855) -Fix [FS#2157]: Cargo type lookup was incorrect for GRFv7 files without a translation table.
16 years ago
bjarni
78730d4c71
(svn r13852) -Fix (r13849): [OSX] fixed universal binary building without breaking anything this time
16 years ago
frosch
1aa6e00b48
(svn r13851) -Fix (r9393): GetTownByTile() is only valid for houses and roads.
16 years ago
frosch
1f31e117f0
(svn r13850) -Fix [FS#2146]: Fix resp. implement refitting of articulated vehicles during autoreplace.
16 years ago
bjarni
62c053729a
(svn r13849) -Fix: [OSX] 10.5 appears to be more picky when setting up compiling of universal binaries
16 years ago
frosch
80725edc3d
(svn r13847) -Codechange: Add MAX_ARTICULATED_PARTS and set it to 100.
16 years ago
frosch
2cec059248
(svn r13846) -Fix (r13838): Do not draw water borders inside of industries.
16 years ago
frosch
74c63ac9e2
(svn r13845) -Fix (r13838): When adding a WaterClass to oilrig station tiles, also make use of it.
16 years ago
frosch
4da23a6280
(svn r13844) -Fix (r13074, r13591): Power, running cost and capacity of multiheaded engines were (too often) doubled in newspaper resp. offer window.
16 years ago
frosch
91486b116b
(svn r13840) -Fix: Some glitches in the autoreplace GUI.
16 years ago
frosch
16c80d031c
(svn r13838) -Codechange: Make industry tiles aware of WaterClasses.
16 years ago
peter1138
ea7ed286a6
(svn r13836) -Fix [FS#2074]: Automatically recalculate inflation if NewGRFs are changed and cargo types are added, so that cargo payment rates are correct.
16 years ago
peter1138
49c971c8eb
(svn r13832) -Fix [FS#2152]: FreeType may return a bitmap glyph even if a grey-scale glyph was requested.
16 years ago
peter1138
7a73bff37a
(svn r13831) -Codechange: Make purchase list order NewGRF property an extended byte.
16 years ago
smatz
05c2a8eba4
(svn r13830) -Feature: show additional NewGRF info in the Tile Info window for stations, houses and industries
16 years ago
smatz
ce7585101d
(svn r13826) -Codechange: use 'INVALID_DATE' instead of '0' as placeholder in tile description
16 years ago
peter1138
7cdd6ef33c
(svn r13825) -Revert (r13821 partially): preview_player_rank wasn't a PlayerByte value in r12143, and still isn't a PlayerByte value.
16 years ago
rubidium
64833bb84f
(svn r13824) -Fix (r13822): also make sure a tile is a road stop tile before trying to get information about the roadstop...
16 years ago
rubidium
3a706b0f2d
(svn r13822) -Fix [FS#2166]: building through the wrong side of a drive through station was allowed.
16 years ago
rubidium
1a4ac3ee5c
(svn r13821) -Codechange: replace some uint8/bytes with more specificly named typedefs and replace a few magic numbers.
16 years ago
miham
00d87b537f
(svn r13820) -Update: WebTranslator2 update to 2008-07-25 00:59:06
...
brazilian_portuguese - 3 fixed by tucalipe (3)
catalan - 10 fixed by arnaullv (10)
czech - 12 fixed, 3 changed by Hadez (15)
danish - 21 fixed by ThomasA (21)
dutch - 16 fixed by habell (16)
estonian - 37 fixed by kristjans (37)
french - 19 fixed by glx (19)
italian - 19 fixed by lorenzodv (19)
korean - 10 fixed by leejaeuk5 (10)
simplified_chinese - 97 fixed, 17 changed by ww9980 (114)
slovak - 87 fixed by lengyel (87)
spanish - 10 fixed by eusebio (10)
ukrainian - 2 fixed by mad (2)
16 years ago
peter1138
b98deeb5cc
(svn r13818) -Fix [FS#2157]: Deselect currently selected NewGRF when changing GRF preset.
16 years ago
smatz
97eeb07201
(svn r13817) -Cleanup (r13816): no need to check for ENABLE_NETWORK, _networking is defined anyway
16 years ago
smatz
aae2aa64c4
(svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a depot (callback 0x11) and give a warning about that
16 years ago
rubidium
9bee994898
(svn r13814) -Fix (r13810): MSVC (as usual) does stupid things. This time it is copying around a struct it created itself, causing bad things to happen if you don't explicitly set all variables to something remotely sane in the constructor.
16 years ago
rubidium
81c50c6c32
(svn r13810) -Fix: small memory leak when tar files would be found.
16 years ago
rubidium
a050a78525
(svn r13809) -Fix: memory leak each time a "new ai" got (re)started.
16 years ago
rubidium
1560fe3298
(svn r13807) -Fix: memory leak when loading groups.
16 years ago
smatz
c0e11a797c
(svn r13806) -Fix [FS#2162]: checking for train waiting at other side of two-way signal was broken
16 years ago
smatz
4835e300c4
(svn r13800) -Codechange: minor comment style fixes in misc_gui.cpp
16 years ago
glx
ec6aff4870
(svn r13799) -Fix (r13730): {RAW_STRING} should be used in english.txt only
16 years ago
glx
ac9459c46c
(svn r13797) -Fix [FS#2160](r13715): crash when displaying save/load errors
16 years ago
rubidium
52982de589
(svn r13796) -Fix [FS#2161]: one couldn't start the last scenario in the "start server window"'s list of scenarios.
16 years ago
rubidium
24bb768450
(svn r13795) -Change: do not require canals/rivers/seas to be empty when building a bridge over it as it is not required for roads and rails either.
16 years ago
rubidium
af21ac537e
(svn r13794) -Fix: helicopters leaving a heliport could get stuck after processing conditional orders.
16 years ago
peter1138
9a6b7a90e0
(svn r13789) -Fix (r13781): Saved preset was not automatically selected.
16 years ago
smatz
06a52be95c
(svn r13787) -Codechange: resize the red error message box if needed
16 years ago
peter1138
49769dffba
(svn r13784) -Codechange: Truncate vehicle names in purchase list to width of window.
16 years ago
glx
1f0939f4e2
(svn r13782) -Cleanup: removed a useless declaration
16 years ago
peter1138
6e0af9fdfe
(svn r13781) -Feature: NewGRF presets, selected by a drop down list in the NewGRF window. Presets are saved in the config file.
16 years ago
rubidium
14a747e490
(svn r13776) -Fix: some revision checking code was unintentionally disabled.
16 years ago
glx
317868261a
(svn r13775) -Codechange: enforce the validity of a NetworkAction (chat packet) issued by a client
16 years ago
peter1138
e6aa4e1eb1
(svn r13774) -Codechange: Add support for changing vehicle purchase list position for all vehicle types.
16 years ago
rubidium
aafd8393cc
(svn r13773) -Codechange: disable autoclean for protected/unprotected companies when the timeout is set to 0. Based on an idea by Thomas.
16 years ago
peter1138
e6a1f1c012
(svn r13761) -Codechange: Remove dependency on rail for altering purchase list position (mostly function renaming)
16 years ago
peter1138
00e052ad39
(svn r13760) -Codechange: With multiple NewGRF engine sets, engine IDs may not be allocated in the order expected by GRF authors, so sort by 'list position' instead of engine ID for all vehicle types.
16 years ago
rubidium
fec49bcc83
(svn r13759) -Fix [FS#2147]: selecting non-full length vehicles in the depot gui would place the "mouse pointer" out of the center of the vehicle making it hard to "aim".
16 years ago
smatz
690859bf57
(svn r13758) -Fix (r13226): always use st->airport_tile, st->xy is different in many cases
16 years ago
rubidium
77fdefea19
(svn r13754) -Fix (r13731): one could not join companies from the command line.
16 years ago
rubidium
b607b51d93
(svn r13753) -Cleanup (r13752): save before commit instead of the other way around is usually better.
16 years ago
rubidium
a6e314bbba
(svn r13752) -Fix [FS#2130]: correctly restore conditional orders when they are put 'into' backup.
16 years ago
rubidium
7c3fc13087
(svn r13740) -Fix (r13731): one could only join the first company.
16 years ago
rubidium
c4467aa8fb
(svn r13739) -Fix (r13731): some variables would be erroneously zeroed, causing autoclean and company passwords not to work.
16 years ago
rubidium
bfa66f70b3
(svn r13734) -Fix: NewGRF rail continuation would always mark a tunnel on the same axis as connected, even when the tunnel faces the wrong direction.
16 years ago
smatz
f2da045731
(svn r13733) -Fix (r13731): gcc2.95 compilation
16 years ago
rubidium
5f280d0e50
(svn r13732) -Feature: add a few extra columns with information to the server list. Patch by Pegasus.
16 years ago
rubidium
3a799389eb
(svn r13731) -Codechange: make a pool of the array of players.
16 years ago
rubidium
891bec7e23
(svn r13730) -Fix: make a copy of the names for news messages about the deletion of companies as the removal of a company could lead to wrong names in the news messages.
16 years ago
rubidium
e48d86fad0
(svn r13729) -Fix: assumption that non-north tiles of a house do not have the 1x1 building bit set was flawed with some NewGRFs. This caused the amount of houses to differ, which causes the town radii to differ, which causes desyncs when towns are expanded.
16 years ago
smatz
b3bafb1d9c
(svn r13728) -Codechange: define DEBUG as an empty block so compiler warns us less
16 years ago
smatz
927507818f
(svn r13727) -Fix (r13375): compilation with NO_DEBUG_MESSAGES was broken
16 years ago
smatz
69cb2f088f
(svn r13721) -Codechange: one less multiplication for colour mixing in 32bpp blitters (GeekToo)
16 years ago
rubidium
6e1aaa2c69
(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.
16 years ago
rubidium
d06529ef4d
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
16 years ago
rubidium
c2d2f817de
(svn r13718) -Fix: possible desync on the autorenew settings 20+ game years (i.e. 4.5+ hours) after a company was started.
16 years ago
rubidium
227085622a
(svn r13717) -Codechange: place the whole 'create new company' command in #ifdef ENABLE_NETWORK as it may only be executed when we are playing in a network game.
16 years ago
rubidium
39beec190b
(svn r13716) -Fix [FS#2144]: any player could construct new companies.
16 years ago
rubidium
ab234cf90c
(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
...
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
16 years ago
rubidium
c913be73d8
(svn r13714) -Fix: remove the unique_id from the message that a client has joined as it is only exposes the unique_id more than needed. Patch by dih.
16 years ago
rubidium
60a6582590
(svn r13713) -Fix: possible crash on creating a network packet.
16 years ago
rubidium
2e4f32023c
(svn r13712) -Fix: enforce the length restrictions of company and president name in the commands too.
16 years ago
miham
88848d78b5
(svn r13707) -Update: WebTranslator2 update to 2008-07-16 01:21:36
...
brazilian_portuguese - 3 fixed by tucalipe (3)
bulgarian - 78 fixed, 230 changed by thetitan (3), groupsky (305)
catalan - 3 fixed by arnaullv (3)
dutch - 3 fixed by webfreakz (3)
italian - 3 changed by lorenzodv (3)
korean - 4 fixed, 5 changed by leejaeuk5 (9)
russian - 3 fixed by Smoky555 (3)
slovenian - 4 fixed by Necrolyte (4)
spanish - 3 fixed by eusebio (3)
swedish - 4 fixed by daishan (4)
ukrainian - 2 fixed by mad (2)
16 years ago
frosch
33cd16981c
(svn r13706) -Fix (r13695): Small typo.
16 years ago
belugas
5b48371867
(svn r13705) -Codechange: Define and use BridgePieces enum, which will remove a few more magic numbers
16 years ago
rubidium
0f4d9a8e49
(svn r13704) -Fix: make timetables work more sensible when used in conjunction with conditional orders, i.e. make it possibly to tell how long to travel to the next destination if you jump.
16 years ago
rubidium
797ccc8b49
(svn r13703) -Update: the other language files due to a few changed strings in r13702.
16 years ago
rubidium
be722412fa
(svn r13702) -Fix: do not overflow the order/timetable window when 'long' orders are displayed.
16 years ago
glx
9895afb43e
(svn r13701) -Codechange: add some more info in crash.log
16 years ago
rubidium
71820bf129
(svn r13700) -Fix: possible buffer overflow in string truncation code.
16 years ago
rubidium
b7c69ba5f0
(svn r13699) -Fix: handle SETX(Y) properly when truncating a string instead of ignoring it and returning a too long string.
16 years ago
frosch
1c17405721
(svn r13698) -Fix (r13697): MorphOS compilation.
16 years ago
frosch
1655a6f2a8
(svn r13697) -Feature: Add some support for symbolic links in .tar files.
16 years ago
belugas
f666fd5a9b
(svn r13696) -Fix[GUI]: The Build button of the vehicle list is now hidden, instead of just disabled. It will be only visible when called from the Depot Building Window.
...
Less confusion, hopefully. Suggested by Eddi.
16 years ago
rubidium
53436082a2
(svn r13695) -Fix [FS#2120]: in some cases the (sound) mixer could overflow causing artefacts in the sound.
16 years ago
rubidium
e74743227b
(svn r13694) -Change: make it more explicit that you've opened the available train/ship/etc. list instead of the one where you can actually build vehicles by setting the appropriate title for the window.
16 years ago
frosch
2b6dee7f64
(svn r13693) -Fix (r11106, r11117): Do not rely on .tar files always ending with a block of zeros.
16 years ago
rubidium
56379fff51
(svn r13692) -Fix (r13674): loading PNG sprites could very quickly fill the sprite cache.
16 years ago
smatz
447ec39f49
(svn r13691) -Codechange: make it easier to determine whether a command is ran in the context of autoreplace or not
16 years ago
belugas
33150af3e2
(svn r13683) -Codechange: privatize a function that is not used outside of the class who calls it
16 years ago
belugas
cb452bcc7d
(svn r13682) -Codechange: -Codechange: remove a now useless variable(dih).
16 years ago
rubidium
d974acac89
(svn r13681) -Revert (r13678, r13677): the fixes didn't work in all cases (assertions on savegame loads).
...
-Fix [FS#2102]: but now in a hopefully beter way.
16 years ago
rubidium
03d32e12fb
(svn r13680) -Fix: NPF crashing when a ship tried to find a nearby depot when on an aqueduct.
16 years ago
rubidium
fbdc1c0476
(svn r13679) -Fix [FS#2131]: saving TTD imported games in recession failed due to wrong (and unneeded) type conversions in the saveload code.
16 years ago
rubidium
3a793ceea9
(svn r13678) -Fix (r13677): electric trains from pre elrail savegames would get stopped on load.
16 years ago
rubidium
22249a7317
(svn r13677) -Fix [FS#2102]: in the case that elrails and 'realistic' acceleration are disabled all electrified engines would have no power on load, until the vehicle got turned around, loaded or got into a depot.
16 years ago
rubidium
0cc206e662
(svn r13676) -Fix [FS#2126]: inactive companies from old (TTD) saves could be marked active in some cases, which then loads garbage in their statistics and such.
16 years ago
rubidium
b5f7633883
(svn r13675) -Fix: memory leak when NewGRFs got forcefully disabled and they defined GOTO labels.
16 years ago
rubidium
173f0f4cd5
(svn r13674) -Fix [FS#2127]: crash when drawing a non-real sprite. The drawing of the non-real sprite is caused when two NewGRFs replace the same sprite and the first replaces it with a real sprite (and thus assumes it remains a real sprite) and the second replaces it with a non-real sprite. OpenTTD already looked at whether the sprite to load should be seen as a real or non-real sprite, but it failed to replace non-real sprites with a substitute real sprite when getting the sprite from the cache.
16 years ago
rubidium
f37a47c0cb
(svn r13673) -Fix [FS#2122]: desync when building electrified trains on a dedicated server that was started with electrification disabled.
16 years ago
belugas
aede445e2a
(svn r13672) -Fix(r13670): silent warnings that MSVC did not raised. Looks like enums can not be easily matched :(
16 years ago
frosch
4cb2fba8fb
(svn r13671) -Cleanup: Zeros for sell.
16 years ago
belugas
ce721a579f
(svn r13670) -Codechange : Merge some very alike events handlers.
17 years ago
frosch
e9e453cf8b
(svn r13667) -Documentation: Comment 'tgp.cpp' a bit. Based on patch by CommanderZ.
17 years ago
belugas
ac3896feaf
(svn r13665) -Fix[FS#2119]: Wrong PlayerID used for sending a message to.Patch by Yexo
17 years ago
rubidium
f06daceb16
(svn r13664) -Fix [FS#2117]: bus/truck forgetting go-to-depot order when entering a non-drivethrough road stop.
17 years ago
belugas
4f5eae2789
(svn r13663) -Codechange: Use a default parameter, hoping to reduce the different signatures of functions in menus
17 years ago
rubidium
7ed892411a
(svn r13662) -Fix [FS#2113]: crash when adding conditional orders to ships.
17 years ago
rubidium
6a216ee4f6
(svn r13661) -Fix: server crashing when banning the rconning client.
17 years ago
frosch
ecc5d648df
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
17 years ago
frosch
06049563da
(svn r13648) -Cleanup (r5303): Amplitudes should be amplitudes and not amplitudes/16.
17 years ago
skidd13
9335a28cb5
(svn r13647) -Codechange: replace MAX_UVALUE() for std types with the equivalent constant
17 years ago
belugas
de86235274
(svn r13646) -Change: typos and miss-aligned enum values
17 years ago
frosch
3e5f10fca6
(svn r13645) -Codechange: Convert a macro into an inlined member function.
17 years ago
belugas
dde4de5e20
(svn r13644) -Fix(r13643): compare an apple with an apple. MSVC seems to not care, but some other compilers do.
...
Thanks to glx :)
17 years ago
belugas
e8cddf8baa
(svn r13643) -Codechange: Enumify some loosely related values been used in the toolbar resizing processes
17 years ago
belugas
32ea99a741
(svn r13642) -Documentation: Add the enum values to the widget arrays, in concordance with code style
17 years ago
belugas
6d1e5a3f5b
(svn r13641) -Fix: Misleading enum name.
17 years ago
smatz
1834a2f670
(svn r13640) -Codechange: make colours behind not fully solid objects less darker for BM_TRANSPARENT (for 32bpp blitters)
17 years ago
smatz
114c820c56
(svn r13639) -Codechange: rewrite 32bpp-anim and 32bpp-optimized drawing and encoding so it uses similiar scheme as 8bpp-optimized
...
All zoom levels are stored and a kind of RLE is used. Together with further changes and reducing number of variables, drawing is ~50% faster in average.
17 years ago
smatz
0b75129c24
(svn r13638) -Fix: signed/unsigned warning for MSVC9 and gcc2
17 years ago
miham
35c8cdb5fa
(svn r13637) -Update: WebTranslator2 update to 2008-06-25 23:36:50
...
brazilian_portuguese - 9 fixed by tucalipe (9)
bulgarian - 25 fixed by thetitan (11), kokobongo (14)
catalan - 9 fixed, 4 changed by arnaullv (13)
croatian - 5 fixed by knovak (5)
czech - 8 fixed, 9 changed by Hadez (17)
dutch - 9 fixed by habell (9)
french - 12 fixed by glx (10), belugas (2)
italian - 12 fixed by lorenzodv (12)
korean - 8 fixed, 7 changed by leejaeuk5 (15)
russian - 9 fixed by Smoky555 (9)
slovenian - 18 fixed by Necrolyte (18)
spanish - 9 fixed by eusebio (9)
swedish - 8 fixed by daishan (8)
traditional_chinese - 38 fixed, 108 changed by tiberiusteng (146)
ukrainian - 12 fixed, 2 deleted, 55 changed by mad (69)
17 years ago
frosch
17de6f9ced
(svn r13634) -Codechange: Let house var 0x65 ignore the house, the variable is queried for.
17 years ago
rubidium
7e50278d8e
(svn r13633) -Fix: restoring 'service at depot X' orders from the order backup failed.
17 years ago
frosch
4e6d827ea6
(svn r13632) -Codechange: Use 'void *' for user-data of CircularTileSearch().
17 years ago
smatz
644fa40339
(svn r13631) -Fix (r13618): forgot #define avoiding multiple inclusions
17 years ago
skidd13
7a0ad3af52
(svn r13630) -Update: apply english.txt changes from r13628 to other languages
17 years ago
frosch
983e5a96f0
(svn r13629) -Fix [FS#2108](r13603): diameter != radius
17 years ago
skidd13
41b09d4027
(svn r13628) -Feature: enable building of aqueducts in the scenario editor
...
-Codechange: related to this split the waterway based buttons from the landscape generation window
17 years ago
smatz
7c7e08df59
(svn r13626) -Fix (r11871): signals were not updated when player removed signals from nonexistent track sharing bits with existing track
...
So disallow removing signals from nonexistent track
17 years ago
rubidium
fdbb1f475b
(svn r13624) -Fix [FS#2106]: crash when one tries to raise the nothern corner of MP_VOID tiles (i.e. the southern corner of the tiles on the southern map edge) in the scenario editor.
17 years ago
rubidium
c3009c34ee
(svn r13623) -Codechange: only show the 'load' of articulated RV parts that have a capacity instead of showing 'empty' parts when a vehicle is completely full.
17 years ago
rubidium
5b973282de
(svn r13622) -Fix [FS#2109]: only the front of a RV would be considered when determining to what cargos a vehicle can be refitted instead of all cargos.
17 years ago
rubidium
47933d2ddb
(svn r13621) -Fix: building roadbits in the wrong direction on bridges or building roadbits from underneath the bridge to the bridgehead is impossible, so don't silently ignore that error when building over houses and industries is not ignored.
17 years ago
smatz
61847389d6
(svn r13619) -Codechange: use 'const char *' instead of std::string for blitter and driver names
...
Removes indirect dependency on <string> for 20 files, reduces binary size by 16kB
17 years ago
smatz
fee2adb299
(svn r13618) -Codechange: move tar-specific declarations to separate file
...
Removes indirect dependency on <string> and <map> for over 40 files
17 years ago
skidd13
6e1dd7f719
(svn r13617) -Codechange: calculate the diff in StationWaitingSorter directly
17 years ago
rubidium
469ecf4bd2
(svn r13612) -Fix [FS#2104]: wrong comment of CmdSetAutoReplace. Patch by Yexo.
17 years ago
rubidium
67e610a8a8
(svn r13611) -Fix [FS#2100]: if the first bridge can't be build for a given length, then none of the other bridges can. Effectively meaning that if someone replaces the first bridge with a bridge that can be only 3 tiles longs then only other bridges that can be 3 tiles long will be buildable, but only if they are 3 tiles long.
17 years ago
skidd13
b4ef380c49
(svn r13607) -Fix (r13606): some coding style issues got fixed but some got/stayed broken
17 years ago
skidd13
640e547886
(svn r13606) -Codechange: use "static FORCEINLINE" where possible as default for core functions (big functions use just inline instead)
17 years ago
belugas
31b002dab0
(svn r13603) -Feature{newGRF]: Add var 65 in Variational Action 2 Variables for Houses.
...
This var will return the manhattan distance of the nearest house that match a given criteria.
The criterias can be: 0 : house ID/ 1 : Class ID/ 2 : grf ID
The search radius can be defined too, up to 64.
17 years ago
smatz
37b8e87454
(svn r13602) -Codechange: little speedup for 8bpp-optimized blitter
17 years ago
smatz
2ca4b8b2e4
(svn r13601) -Codechange: resize the Tile Info window when it is needed, make it better readable
17 years ago
belugas
a6e0e2d837
(svn r13597) -Codechange: Enumification of the Map menu items.
...
The rework allowed to remove a function, by merging two quite similar ones.
17 years ago
frosch
4236dd3be5
(svn r13594) -Feature(ette)[FS#2093]: Supply newgrfs with 'day of month', 'leap year' and 'day of year'.
17 years ago
smatz
c406ea35ec
(svn r13593) -Fix [FS#2095](r13524): sorting by cargo capacity was broken
17 years ago
skidd13
fd49e1c379
(svn r13592) -Fix: window size remembering was broken
17 years ago
peter1138
52c06f1baa
(svn r13591) -Codechange: Support CB36 in the vehicle offer window.
17 years ago
belugas
1f4475d518
(svn r13590) -Codechange: Enumification of the Save/Load menu items
17 years ago
smatz
1cf74e7667
(svn r13589) -Fix (r11802): signals could be propagated through waypoints built in orthogonal axis
17 years ago
belugas
bee7934220
(svn r13588) -Documentation: Document the function PopupMainPlayerToolbMenu. Makes it a bit clearer, don't you think?
17 years ago
skidd13
32c2041f89
(svn r13587) -Codechange: make some globals members of VehicleListBase since they are used as such
...
-Cleanup: some small things referring the change
17 years ago
belugas
4cc9439d65
(svn r13586) -Codechange: Using default parameter, for cases where there are few exceptions.
17 years ago
bjarni
6bd2d0ffcb
(svn r13584) -Fix: [OSX] Fixed issue where 10.5 failed to switch to fullscreen
...
This is done by selecting the 32bpp-anim blitter by default as it seems Apple removed some 8bpp support
Since this is done at runtime the same binary will still select 8bpp on 10.3 and 10.4
17 years ago
rubidium
bd31dda2fb
(svn r13581) -Fix [FS#2040]: RVs continueing onto next DT station when they are build adjacent to them.
17 years ago
rubidium
525c964f53
(svn r13579) -Fix [FS#2088]: process the order coming after a conditional order, otherwise the vehicle would already leaving the station before it knows where the next destination is, making it leave in the wrong way. However, after processing as many conditional orders as there are in the order list it will stop processing them in order to not create an infinite loop.
17 years ago
rubidium
4ccd8a6786
(svn r13576) -Codechange: disable static NewGRFs when non-static NewGRFs query them in the context of network games. This makes it impossible for static NewGRFs to disable non-static NewGRFs and 'bad' things happening because the non-static NewGRF doesn't know about the static NewGRF.
17 years ago
skidd13
2f65d35ead
(svn r13575) -Codechange: Move small vector to core since it fits better in there
...
-Codechange: convert smallvector from struct to class
17 years ago
skidd13
c4cc5cdf3b
(svn r13574) -Doc: Document the small vector template class
17 years ago
skidd13
e7f2765f4c
(svn r13573) -Codechange: Use smallvec class functions instead of class members
17 years ago
rubidium
f2730396da
(svn r13572) -Fix: MSVC x64 complains.
17 years ago
smatz
7a7ff65ac5
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
17 years ago
smatz
bc12e5453c
(svn r13568) -Fix (r13564): Windows build asserts where I wouldn't expect it to
17 years ago
smatz
29985b768c
(svn r13565) -Change [FS#2077]: when invisibility is set, sprite sequences are now drawn until first non-opaque sprite is found (bit 14 not set)
...
This is to balance performance, code complexity and NewGRF requirements
17 years ago
smatz
cc2f9187cc
(svn r13564) -Codechange: do not use SetPixel in PaletteAnimate, access destination directly instead. Makes palette animation ~40% faster.
17 years ago
belugas
be4e7b86f3
(svn r13562) -Codechange: Yet another enumification, which required a bit of explanation/documentation of a trickery some would call a hack
17 years ago
belugas
22c017c0c2
(svn r13561) -Codechange: two more enumifications of widgets
17 years ago
belugas
f16b9dcd2b
(svn r13560) -Fix(r13550): This section widget_count did not required to be lowered. So small revert
17 years ago
belugas
5408e1a51b
(svn r13559) -Codechange: Enumification of the Options menu items
17 years ago
smatz
9da745b381
(svn r13552) -Codechange: use TTD_ENDIAN comparations instead of tests if TTD_[BIG/LITTLE]_ENDIAN is defined
17 years ago
smatz
dedb0033b3
(svn r13551) -Codechange: store offsets to different zoom levels in a distinguished struct instead in the data stream for 8bpp-optimized
17 years ago
belugas
6d4590ec7c
(svn r13550) -Fix(r13540, r13542): widget_count did not had the same value as 27. So, it has to be lowered by one, so it can be used as a widget "pointer"
17 years ago
peter1138
26879ce24a
(svn r13544) -Codechange: Add support for NewGRF varaction2 variable 5F.
17 years ago
belugas
d3fa4228cb
(svn r13543) -Codechange: Enumification of the InGame toolbar and some leftovers of scenario editor one.
...
Still more go do
17 years ago
belugas
37c58f606b
(svn r13542) -Codechange: Less a few more magic numbers and a code a bit more adaptable, still
17 years ago
belugas
da5fb0cf7e
(svn r13541) -Codechange: Aligning some switch case. Code cosmetics.
17 years ago
belugas
f5f05b4e86
(svn r13540) -Codechange: Less a magic number and a more adaptable code
17 years ago
glx
4782df757c
(svn r13539) -Fix (r13537): signed/unsigned warnings
17 years ago
frosch
0fff18b044
(svn r13538) -Fix (r12740)[FS#2087]: ChildSprites of foundations are not necessarily consecutive.
17 years ago
smatz
2299181c4b
(svn r13537) -Fix [FS#2090](r13523): QSortT won't work this way, use Dimension instead of uint16[2] for resolutions
17 years ago
belugas
0c342f3292
(svn r13536) -Codechange: Bit shifting is not really required when you know exactly the value to use.
...
Even more when it's a parameter.
17 years ago
skidd13
f1cecb1795
(svn r13535) -Codechange: Protect GUIList internals
...
-Fix: VL_FIST_SORT should be set after list rebuild too
17 years ago
skidd13
0a19f738bc
(svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting with GUIList function calls
17 years ago
skidd13
6b8a758339
(svn r13533) -Codechange: Replace direct class member access of GUIList with the appropriate function calls
17 years ago
skidd13
617e1f16c0
(svn r13524) -Codechange: use the typesafe QSort for vehicle sortings
...
-Prepare: vehicles sorting for convsersion to GUIList
17 years ago
skidd13
f95cee3057
(svn r13523) -Codechange: replace qsort by the internal typesafe QSortT for resolution sorting
17 years ago
skidd13
dd5f4f0a2c
(svn r13522) -Codechange: Replace the qsort of the highscore with one of the internal sorters
17 years ago
skidd13
1ddafcadd2
(svn r13521) -Codechange: Use GUIList sorting instead of poll & sort for CompanyLeagueWindow
17 years ago
smatz
704c9be0b8
(svn r13520) -Fix (r13375): pointer has to be valid before it can be loaded to (SLE_STR)
17 years ago
belugas
237a6f554a
(svn r13519) -Feature[newGRF]: Implement var 63, variational action2 variable for Houses.
...
Or, in more simple terms, the check for the animation frame of nearby house.
17 years ago
frosch
8bc42a8c2f
(svn r13518) -Fix [FS#2083]: Properly count number of non-north housetiles.
17 years ago
skidd13
03854bf27c
(svn r13517) -Add: remaining used typesafe versions of the mem* functions from <string.h>
17 years ago
skidd13
96fc91baf3
(svn r13516) -Codechange: Move MemCpyT to a fitting core header
...
-Codechange: Split the sorting code from the sortlist to an appropriate header
17 years ago
belugas
bf9a32b475
(svn r13515) -Codechange: Widget enumification for scenario editor
17 years ago
belugas
8cbb17384d
(svn r13514) -Codechange: Removal of dead code (or useless, to be more exact)
17 years ago
belugas
bcb71a011e
(svn r13513) -Codechange: Give proper message when building a river fails.
...
Give proper description of a river tile with the Query Tool.
Extracted (in part) from FS#1884, by Ammler
17 years ago
glx
fd08e7b51a
(svn r13508) -Fix (r7733): incorrect usage of strtoul
17 years ago
peter1138
24d35c58b7
(svn r13507) -Fix (r12856): first engine change should've been moved too
17 years ago
rubidium
f2404ac20f
(svn r13505) -Fix: clear the memory for the new AI during the loading of a savegame so it does not try to execute commands generated in a different savegame, which could be resulting in the AI trying to give orders to stations that do not exist.
17 years ago
belugas
5d828d8eee
(svn r13504) -Codechange: enumify some widgets for scenario editor. More work is required.
17 years ago
belugas
3d07e5ca10
(svn r13503) -Fix(r13173)[FS#2073]: Wrong widget numbers & event handlers were assigned to the zoom in and out buttons in the scenario editor
17 years ago
smatz
e40f835a7e
(svn r13502) -Fix (r11212): drawing of zoomed out partial sprites could cause deadlocks or crashes
17 years ago
smatz
421a040e89
(svn r13501) -Feature(tte): ctrl+click on sign you own to remove it (Osai, planetmaker)
17 years ago
frosch
79ad51867a
(svn r13499) -Codechange: Allow drawing (ugly) leveled foundations on steep slopes, just in case someone needs them for fallback.
17 years ago
rubidium
7dcc69e617
(svn r13495) -Fix: scrolling the main map with the keys speed was influenced by movement of the mouse.
17 years ago
rubidium
005d612227
(svn r13494) -Fix: a little documentation + copy-paste mistake for sprite.h.
17 years ago
skidd13
d99aef2f71
(svn r13490) -Add: a seperate icon for aqueducts
17 years ago
rubidium
a5486e626d
(svn r13489) -Fix: first determine where to *exactly* build a house before asking a NewGRF whether the location is good instead of possibly moving the house a tile after the NewGRF said the location is good.
17 years ago
smatz
39b397438c
(svn r13488) -Fix (r13485): track wasn't removed on company bankrupcy when there was a ship on lower halftile
17 years ago
rubidium
43622f95e1
(svn r13485) -Fix: let ships also navigate on half-tile sloped watery rail tiles.
17 years ago
peter1138
d61da119d3
(svn r13482) -Codechange: Use "extended bytes" in Actions 3 and 4 for vehicles
17 years ago
smatz
9d359641ec
(svn r13481) -Codechange: add 'B' keyboard shortcut to build aqueduct (planetmaker)
17 years ago
rubidium
da524e71ae
(svn r13480) -Fix [FS#2050]: RVs stoppping at drive through stations of other companies.
17 years ago
smatz
5d5d9f682e
(svn r13479) -Codechange: don't use word 'bridge' for aqueducts that often
17 years ago
smatz
1a043128e1
(svn r13478) -Codechange: don't use GetBridgeSpec() for aqueducts
17 years ago
smatz
881d384e56
(svn r13477) -Fix (r13464): correct tile type in the Query tile info window
17 years ago
rubidium
232a2a8e3c
(svn r13476) -Fix: draw canal borders for locks and when directly next to a aquaduct entrace but under the aqueduct.
17 years ago
smatz
58d63ec726
(svn r13475) -Fix (r13464): crash on destroying aquaduct with ship on in and on company bankrupt
17 years ago
glx
f56fe58d48
(svn r13472) -Backport (r13467 from NoAI): make CmdRemoveRoadStop use p2 as documented (only look at bit 0, not at the complete value)
17 years ago
rubidium
3d5fe9bfc1
(svn r13469) -Codechange: add support for loading Action 0x05, type 0F: "tracks for slopes". It's not useful right now, but it will be in the future.
17 years ago
rubidium
f858e5bbf4
(svn r13468) -Fix: make aqueducts a little more expensive than normal bridges and disable terraforming of aqueduct bridgeheads; one can't terraform normal canal tiles either.
17 years ago
rubidium
93fb5bc63d
(svn r13466) -Fix (r13464): slope checking got lost during development...
17 years ago
rubidium
7f6382badd
(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
17 years ago
smatz
dc5ceacd77
(svn r13462) -Codechange: move DriverFactoryBase destructor definition from header file (saves ~16kB)
17 years ago
smatz
bd5067b5a0
(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places
17 years ago
belugas
f4153bcbde
(svn r13446) -Fix(r13443): changed the var previously introduced from 69 to 46, as no param was required (thanks frosch)
17 years ago
smatz
8123d4de11
(svn r13445) -Codechange: make 32bpp_optimized blitter ~10-20% faster in drawing (depends on architecture and compiler)
17 years ago
rubidium
0900f3388a
(svn r13444) -Codechange: make the order GUI somewhat more efficient. The most used options can be done with a single click now.
17 years ago
belugas
bb7e9ee138
(svn r13443) -Feature[newGRF]: Add var 0x69 for industries, long format construction date.
...
Same as var B0, but base year is now 0, instead of 1920
17 years ago
belugas
54e7a3b196
(svn r13437) -Feature[newGRF]: Add long format introduction and maximum construction year for house.
17 years ago
smatz
bf8afb4c38
(svn r13434) -Fix (r13317): news window with invalid news item could be shown
17 years ago
rubidium
657bbf305e
(svn r13433) -Codechange: remove a now useless global variable.
...
-Fix: MP advertising was not advertising.
17 years ago
rubidium
2f59734909
(svn r13419) -Fix [FS#2063]: Entries in the bridge list were not sorted when the window was just opened.
17 years ago
rubidium
e43d050730
(svn r13417) -Fix (r12945, r13413): freeing the ThreadObjects in a manner that hopefully doesn't cause crashes.
17 years ago
rubidium
eac3301b63
(svn r13413) -Codechange: remove some enums that haven't been used for years.
17 years ago
truebrain
b95042b05c
(svn r13412) -Add: OTTDThreadTerminateFunc, for all thread systems, which is called when a thread is terminated. Now GenWorld- and SaveLoad-thread cleanup theirselves correctly, while Fibers don't (as that causes access-violations)
17 years ago
rubidium
96d7f87cc9
(svn r13411) -Codechange: remove the return value from the thread procs because it is never used.
17 years ago
rubidium
b1dc705492
(svn r13409) -Fix: division by zero when one would press 'd' (skip order) when there's no order.
17 years ago
rubidium
d083afea90
(svn r13408) -Codechange: some stricter checking.
17 years ago
miham
04e31cae5a
(svn r13400) -Update: WebTranslator2 update to 2008-06-07 18:14:28
...
korean - 8 fixed, 16 changed by leejaeuk5 (24)
romanian - 5 fixed, 185 changed by CrystyB (190)
russian - 1 changed by Smoky555 (1)
17 years ago
frosch
77ff05a5f1
(svn r13397) -Fix: Do not crash when resolving vehicle sprite groups with zero sprites.
17 years ago
glx
a43c7af33b
(svn r13396) -Fix (r13375): assertion failing when changing grfs in game (compatible grfs)
17 years ago
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().
17 years ago
rubidium
5176319dd5
(svn r13389) -Codechange: remove NM_CALLBACK because that information could be gathered from the fact that a callback has been specified. Patch by Cirdan.
17 years ago
peter1138
261018fc8c
(svn r13388) -Codechange: Remove "my invented flag for something that is a wagon"
17 years ago
rubidium
94718ae0de
(svn r13387) -Fix: industry directory sorting not working correctly (= != ==)
17 years ago
rubidium
9e811a2f8b
(svn r13386) -Fix: global currency/units setting being overriden when loading a savegame.
17 years ago
peter1138
9b971dab60
(svn r13385) -Fix (r12137): In the purchase list, CB36 for capacity was not called for the first part of rail and road vehicles.
17 years ago
miham
c217a11bbd
(svn r13384) -Update: WebTranslator2 update to 2008-06-05 08:15:43
...
brazilian_portuguese - 9 fixed, 6 changed by tucalipe (15)
catalan - 9 fixed by arnaullv (9)
croatian - 13 fixed by knovak (13)
czech - 33 fixed by Hadez (33)
danish - 47 fixed by ThomasA (47)
dutch - 9 fixed by habell (9)
estonian - 42 fixed, 5 changed by kristjans (47)
finnish - 5 fixed, 1 changed by kerba (6)
french - 9 fixed, 2 changed by glx (8), belugas (3)
icelandic - 75 fixed by scrooge (75)
italian - 9 fixed, 12 changed by lorenzodv (21)
korean - 76 fixed, 15 changed by leejaeuk5 (91)
portuguese - 7 fixed by izhirahider (7)
romanian - 97 fixed, 302 changed by CrystyB (399)
russian - 12 fixed by Smoky555 (12)
spanish - 12 fixed by eusebio (12)
swedish - 13 fixed by ChrillDeVille (6), daishan (7)
turkish - 39 fixed, 1 changed by jnmbk (40)
ukrainian - 10 fixed by mad (10)
17 years ago
belugas
4f3eb7f3cd
(svn r13383) -Codechange: Put the cost of house removal in a class member
17 years ago
glx
dc22170c99
(svn r13380) -Fix (r13327): MSVC signed/unsigned warning
17 years ago
glx
0c1d792d5e
(svn r13379) -Fix (r13255): drive side can't be changed in intro
17 years ago
smatz
ce692c16ee
(svn r13378) -Fix (r13375): compilation without network support was broken
17 years ago
peter1138
f78ea7c6bf
(svn r13377) -Codechange: Let 'long format' build year work in vehicle purchase list.
17 years ago
belugas
2550f353e9
(svn r13376) -Feature: Add access to current long year and date from Action 7/9/D and VarAction2 (23/24 or A3/A4)
...
Add access to (long format) building year, in Variational Action2 Variable 49 for Vehicles
17 years ago
smatz
c7a9637834
(svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details
17 years ago
peter1138
d58f055876
(svn r13374) -Fix (r13364): Some common compilers do not yet support 9 year old specifications.
17 years ago
smatz
7ec0a9ec3f
(svn r13373) -Fix (r10210): loading of very old savegames was broken
17 years ago
peter1138
722f48a1d6
(svn r13372) -Cleanup: Excessive whitespace
17 years ago
peter1138
7b75cee876
(svn r13371) -Fix (r4510 ... r12924): Engine array size is not related to the ID used when setting a vehicle's name (it is vehicle type specific). Instead just test for a generic string.
17 years ago
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.
17 years ago
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.
17 years ago
belugas
4b4e73c1dd
(svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date
17 years ago
belugas
b0ada3fbbf
(svn r13367) -Codechange: Allow CircularTileSearch function to return the tile where search has been successful, or INVALID_TILE if it has not
17 years ago
smatz
00851610e1
(svn r13366) -Fix: clicking in the Subsidies window was broken
17 years ago
rubidium
def3177d3a
(svn r13365) -Fix: don't segfault on trying to set a non-existing patch setting.
17 years ago
peter1138
7b66180d78
(svn r13364) -Codechange: Refactor action 3 mapping to use grf_load_*() instead of direct byte array access.
17 years ago
peter1138
86ab690ec5
(svn r13363) -Codechange: Code duplication tidy up
17 years ago
smatz
2e8b9a70ec
(svn r13362) -Fix: make the town authority window a bit less glitchy
17 years ago
glx
014cb33bb9
(svn r13361) -Fix (r13360): regexp failed
17 years ago
skidd13
11cdcf875c
(svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc()
17 years ago
skidd13
8a40ca49c6
(svn r13359) -Codechange: convert _fios_items to a SmallVector
...
-Cleanup: some reincarnations of _fios_items in the code
17 years ago
rubidium
fd0be850fe
(svn r13358) -Codechange: split next order determination and conditional order processing functionality from the order handling. Patch based on work by michi_cc.
17 years ago
rubidium
3efece1284
(svn r13357) -Codechange: add constness to YAPF.
17 years ago
peter1138
10b494d260
(svn r13356) -Codechange: Incorrect documentation and variable type for inflation rates
17 years ago
smatz
0812e2f959
(svn r13354) -Codechange: make 8bpp_optimized blitter ~25% faster in encoding and ~15% faster in drawing (depends on architecture)
17 years ago
smatz
ed462507b2
(svn r13351) -Codechange: disable warnings about unused variable for builds without asserts
17 years ago
glx
10d6f6c5b8
(svn r13350) -Fix: wrong tooltip for waypoint picker scrollbar
17 years ago
rubidium
92c80dab4c
(svn r13349) -Codechange: remove a pointless flag; the flag is set before calling a function and is then reset in the function without ever reading it. Patch by Cirdan.
17 years ago
rubidium
d19c347fd0
(svn r13348) -Fix: an industry does not always need foundations; in the case of NewGRFs an industry can be built on a steep slope, however when 'querying' the foundation type of an industry we neglected the fact that these steep slope tiles do not have a foundation. As a result of this when one built a structure requiring foundations on a tile SW or SE of a steep slope industry tile it would try to apply the foundation on the steep slope to determine whether to draw the wall of the foundation and trigger an assert.
17 years ago
glx
0268076337
(svn r13347) -Fix (r12396): ottdres.rc.in was forgotten
17 years ago
rubidium
3d75eb446d
(svn r13346) -Fix (r13322): scrolling the main viewport with keyboard when having a build tool selected failed.
17 years ago
rubidium
5a6f6bf067
(svn r13345) -Codechange: only one of all the NewsItem's instance duration variable, so move it so there is only once instance of that variable. Patch by Cirdan.
17 years ago
rubidium
6d90affce0
(svn r13344) -Codechange: remove some code duplication.
17 years ago
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.
17 years ago
rubidium
e81386476f
(svn r13342) -Fix: smallvec.h/sortlist_type.h didn't include everything they needed.
17 years ago
rubidium
00ccb1dc33
(svn r13341) -Codechange: make most of the network settings configurable via the patch command.
17 years ago
rubidium
933c9df335
(svn r13339) -Feature: splitting of the main toolbar when the resolution becomes very low so the buttons are still visible and useable. Patch by Dominik.
17 years ago
rubidium
e2997c9976
(svn r13338) -Doc: add documentation about the window placement. Patch by Alberth.
17 years ago
rubidium
fdb4214525
(svn r13337) -Doc: add documentation to some variables in settings_type.h.
17 years ago
rubidium
2854cc968f
(svn r13336) -Fix: loading old savegames, e.g. the intro game, would reset the autosave settings.
17 years ago
rubidium
d58080fd44
(svn r13335) -Fix: remove rogue (debugging) printf.
17 years ago
rubidium
c33164831d
(svn r13334) -Codechange: move the network settings variables from network/network_internal to settings.
17 years ago
rubidium
61507ffeab
(svn r13333) -Fix: compilance without networking enabled.
17 years ago
rubidium
be93c2c089
(svn r13332) -Fix (r13325): network games got somewhat broken.
17 years ago
peter1138
79d008cd2e
(svn r13331) -Fix (r12924): Wrong include type for (sdt::)map
17 years ago
smatz
a0c62f1752
(svn r13330) -Fix: 'Player name' dialog was broken in two ways
17 years ago
skidd13
bed7719967
(svn r13328) -Fix (r13327): Don't access an item when there isn't any
17 years ago
skidd13
a8abdaec92
(svn r13327) -Codechange: NetworkGameWindow uses GUILists Sort() now
17 years ago
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.
17 years ago
peter1138
2a816fb685
(svn r13323) -Codechange: scrollbars are not refresh counters
17 years ago
rubidium
22d7b25296
(svn r13322) -Codechange: _no_scroll belongs more with the window code.
17 years ago
rubidium
f2869bb7db
(svn r13321) -Codechange: move some GUI/viewport related functions out op openttd.cpp to viewport.cpp/window.cpp.
17 years ago
rubidium
34e2d8f1e1
(svn r13320) -Codechange: move some enums from openttd.h to more logical locations.
17 years ago
peter1138
8ea996e246
(svn r13319) -Codechange: Remove use of imaginary horizontal scrollbar in the group vehicle list
17 years ago
rubidium
27bca407de
(svn r13318) -Codechange: move some functions from gui.h/misc_gui.cpp to window_gui.h/window.cpp because they belong there.
17 years ago
rubidium
7f8f5fa52c
(svn r13317) -Codechange: make news messages use a linked list instead of a moving circular buffer. This makes it possible to store more news messages in the history. Based on a patch by Cirdan.
...
-Codechange: the number of news messages is reduced by removing every news message that is a configurable amount older than when it would not be shown in the newspaper popup/ticker, which is e.g. a month for industry production changes and half a year for subsidy offers. As a result the more important messages will stay longer in the message history (if longer than 30 messages).
17 years ago
rubidium
b4e431bf7c
(svn r13316) -Codechange: move some functions around to make them grouped more logically.
17 years ago
peter1138
53aebc84c6
(svn r13315) -Fix (r13314): Assert if no engines or wagons available
17 years ago
peter1138
f954a93ee0
(svn r13314) -Codechange: Switch EngineList from std::vector to GUIList
17 years ago
peter1138
f44a2c38f8
(svn r13313) -Fix-ish (r13306): List was copied in another place the autoreplace gui...
17 years ago
skidd13
6e334d10bb
(svn r13312) -Update: apply english.txt changes from r13311 to other languages
17 years ago
skidd13
b80425fdf9
(svn r13311) -Codechange: Use GUIList for the industry directory window
...
-Codechange: Replaced the four sort buttons by a dropdown
-Codechange: Reduced the default window size
17 years ago
smatz
f7233786d2
(svn r13310) -Fix: invalidate OSK when parent editbox changes (from keyboard)
17 years ago
rubidium
17ccd5ec65
(svn r13309) -Fix: the difficulty settings from the savegame would be reset by the ones of the intro game.
17 years ago