glx
0f43982c72
(svn r11567) -Fix [FS#1512] (r11011): break the chain before moving a vehicle after another in the same chain
17 years ago
smatz
05fca79cf0
(svn r11565) -Revert: part of r11564
17 years ago
skidd13
82913a2134
(svn r11564) -Codechange: Increase the usage of the for_each_bit macro and rename it fitting to the naming style
17 years ago
skidd13
1a43c6a6f6
(svn r11563) -Codechange: Align the preprocessor code in stdafx.h with tabs
17 years ago
rubidium
fe76841255
(svn r11562) -Fix [FS#1503] (r11546): aircraft sometimes stopped mid-air when the airport got destroyed.
17 years ago
glx
164d0a4710
(svn r11561) -Fix [FS#1504] (r11463): group list was not updated when removing the last group
17 years ago
rubidium
b7d8681129
(svn r11560) -Codechange: replace 'custom' version of FindLastBit with the generic.
17 years ago
rubidium
faf096f506
(svn r11559) -Fix [FS#1505]: overflow when drawing graphics with high company values.
17 years ago
rubidium
b5a902703e
(svn r11557) -Codechange: send and store the passwords a little more secure to/in the servers.
...
Each server and game yield a (usually) different 'salt'. This salt is used by the clients to hash their passwords. This way the passwords are not sent in clear text and it is not trivial to use those hashes on other servers.
NOTE: It is still NOT safe to use your trusted passwords and it will not stop people from being able to 'hijack' your password, it only makes it harder to do and certainly much less trivial than just dumping passwords from the memory.
17 years ago
rubidium
d9081ad3f5
(svn r11556) -Feature: allow setting a default password for new companies in network games.
17 years ago
rubidium
527b72749d
(svn r11555) -Codechange: use the new members introduced in r11551.
17 years ago
rubidium
50fced3c66
(svn r11554) -Codechange: be more consistent with the naming of the widget functions.
17 years ago
rubidium
b20b2f4ec8
(svn r11553) -Fix: make a few widget 'accessor' function const when they should be const.
17 years ago
miham
4e574cab45
(svn r11552) -Update: WebTranslator2 update to 2007-12-02 12:31:46
...
czech - 1 fixed by Hadez (1)
french - 15 fixed by glx (15)
galician - 2 fixed by Condex (2)
italian - 15 fixed by lorenzodv (15)
norwegian_bokmal - 6 fixed by jhsoby (6)
russian - 7 fixed by Smoky555 (7)
slovenian - 1 fixed by Necrolyte (1)
spanish - 1 fixed by eusebio (1)
17 years ago
belugas
e2b4afaa4b
(svn r11551) -Codechange: Introduction of widget control members on struct Window. These "new" members have the exact same functionalities as their pure functions "genitors"
...
Ex: "Window::SetWidgetLoweredState(byte widget_index, bool lowered_stat)" is the member corresponding to "SetWindowWidgetLoweredState(Window *w, byte widget_index, bool lowered_stat)"
17 years ago
skidd13
7be55559b8
(svn r11550) -Fix (r11547): Updated the data files regarding to r11549
17 years ago
rubidium
08ab4e1850
(svn r11547) -Add: signal selection GUI for the ones that really like to use that over CTRL. Patch by BigBB.
17 years ago
belugas
0feaee4124
(svn r11546) -Fix[FS#1496]: If ever the air/heli port is suddenly not available while the "chopper" is descending, just go back into flying.
...
The code should have been better written, but in respect of newgrf_port branch, i prefer minimalist intervention
17 years ago
belugas
4f030bbfff
(svn r11545) -Revert(r11543): The result is not what was expected. Looks like more work might be needed
17 years ago
glx
da9f06252b
(svn r11544) -Fix [FS#1501]: revert r11453 as it translated cargo when it should not
17 years ago
belugas
aa0d37854d
(svn r11543) -Codechange: Give a more adequate message when trying to place an industry required to be built over a house on any other type of tiles.
...
In reference to FS#1492, and other "bugs" like that one
17 years ago
bjarni
6b68c6557b
(svn r11542) -Fix r11540: [OSX] presumed 10.3 style strings when using GetCurrentLocale nomatter what OSX the target was
17 years ago
bjarni
7162b8ddb3
(svn r11541) -Fix: [OSX] detect statvfs at runtime (based on OSX version) instead of compile time
...
This should prevent a crash on OSX 10.3 with the precompiled binaries (in the load/save windows)
17 years ago
bjarni
5fcbb8f59b
(svn r11540) -Fix: [OSX] Don't try to compile the quartz video driver on OSX 10.3. It will fail
17 years ago
skidd13
4704d4619b
(svn r11539) -Feature: Make the bridge selection window resizable
17 years ago
skidd13
6e511188ae
(svn r11538) -Codechange: Rewrite GetNthSetBit in a more uncontroversial way and add its documentation
17 years ago
rubidium
981865dbcc
(svn r11537) -Codechange: make it much harder to 'accidentally' add savegame conversion code after the window and cache initializations.
17 years ago
belugas
440608a6f0
(svn r11536) -Codechange: Align some elements of the _tree_layout_sprite table a little better looking for the eye
17 years ago
miham
34edc93f2a
(svn r11535) -Update: WebTranslator2 update to 2007-11-27 20:21:42
...
ukrainian - 1 fixed by mad (1)
17 years ago
belugas
b10eea628d
(svn r11534) -Feature(newgrf): Implement property 23h for Industries.
...
This will add a cost to the removal of an industry using the cheat magic bulldozer.
Note that the removal of regular or newgrf industries without specified removal cost will have no cost applied to.
This is a difference from original spec, where a default base cost is added.
17 years ago
belugas
1682d5d679
(svn r11533) -Codechange: Rename some unclear clear_x prices member names.
...
While at it, remove one unused entry on the clear_price_table array.
It is based on ground type, and the unused one was referencing a non existing one.
17 years ago
belugas
9402d4054a
(svn r11532) -Feature[newgrf]: Add decrement(0x0D) / increment(0x0E) production operations from result of production callback cb29/35.
...
Only var 0x93 will be affected by these operations
17 years ago
smatz
6f7d37d3d3
(svn r11530) -Codechange: do not update Tpool->first_free_index for PoolItems allocated on stack
17 years ago
miham
a7d4334664
(svn r11529) -Update: WebTranslator2 update to 2007-11-26 21:13:37
...
brazilian_portuguese - 1 fixed by fukumori (1)
catalan - 1 fixed, 2 changed by arnaullv (3)
dutch - 1 fixed by habell (1)
french - 1 fixed, 1 changed by glx (2)
italian - 1 fixed by lorenzodv (1)
lithuanian - 4 fixed by Domas (4)
slovak - 1 fixed, 1 changed by lengyel (2)
ukrainian - 5 fixed by mad (5)
17 years ago
maedhros
8e273e0f88
(svn r11528) -Fix (r11500): With smooth economy enabled, industries that should only decrease production would always increase it when more than 60% was transported.
17 years ago
skidd13
71c10f7df7
(svn r11527) -Codechange: Split the bitmath functions of to their own files
17 years ago
skidd13
734b22e070
(svn r11526) -Codechange: Rename the function delta fitting to the naming style
17 years ago
rubidium
d736a04b59
(svn r11525) -Fix: do not do all kinds of 'updates' for town, waypoint, station and other signs when you haven't converted the map to the 'current' format as that means you are going to read data in the 'old' format when you assume that it is in the 'current' format.
17 years ago
rubidium
77b6a2674e
(svn r11524) -Fix [FS#1485]: assertion when tram reversed at a station.
17 years ago
skidd13
bdc7fd2d76
(svn r11523) -Codechange: Move the CHANCE macros to core/random_func.cpp cause they depend on Random()
...
-Codechange: Convert the CHANCE macros to functions and rename them fitting to the naming style
17 years ago
skidd13
2bf2be987d
(svn r11522) -Fix: The scrollbar of the network gui could run out of bounds
17 years ago
egladil
1d5010edf9
(svn r11521) -Codechange: [OSX] Check what the running os version is in a cleaner way.
17 years ago
egladil
9aaa455e5d
(svn r11520) -Fix: [OSX] The cocoa video driver let the mouse cursor escape the window when using rmb scrolling. Thanks ln- for pointing this out and providing a fix.
17 years ago
smatz
d061d985d6
(svn r11519) -Codechange: enumerization and cleanup of NetworkLobbyWindow in network_gui.cpp
17 years ago
smatz
2cd25ed2ca
(svn r11518) -Codechange: enforce (by assert) unused parameters of widgets to be zero. Better readability of DrawWindowWidgets(), too
17 years ago
smatz
72eb6ae278
(svn r11517) -Codechange: better cleanup of NetworkStartServerWindow in network_gui.cpp
17 years ago
smatz
a62e07b08e
(svn r11516) -Codechange: cleanup of NetworkGameWindow in network_gui.cpp
17 years ago
smatz
5dfead8b5c
(svn r11515) -Codechange: cleanup of NetworkStartServerWindow in network_gui.cpp
17 years ago
rubidium
bd8bf99139
(svn r11514) -Change: implement the automatic multiplier handler for NewGRF industries.
17 years ago
smatz
cbd1c05218
(svn r11513) -Codechange: enumerize some depot GUI actions
17 years ago
rubidium
6cf5e4cf05
(svn r11512) -Change: make the subsidy window able to resize to something smaller than 640x127 (especially the 640 part) when the screen is really too small.
17 years ago
rubidium
f27acfdf78
(svn r11511) -Revert parts of r11505: forgot that CTRL might be used for other features, like adjacent stations or signals.
17 years ago
skidd13
bf959f926f
(svn r11510) -Codechange: merge the IS_*INSIDE* functions and rename them fitting to the naming style
17 years ago
rubidium
64246a2775
(svn r11509) -Fix: off-by-one error in some sprite numbers; increase sprite number counter before loading the next sprite instead of after doing so.
17 years ago
egladil
fcbfba1e17
(svn r11508) -Cleanup: Removed unused headers from the cocoa video driver.
17 years ago
rubidium
221e9271c5
(svn r11507) -Fix [FS#1463]: signs totally illegible when transparant signs is turned on and zoomed out more than one level.
17 years ago
rubidium
9a70ec1cb2
(svn r11506) -Fix [FS#1471]: selling vehicles could cause the window of others to scroll to that location.
17 years ago
rubidium
81c7ba42af
(svn r11505) -Fix/Feature: make CTRL work on all road/rail construction options that 'work' with the 'Bulldozer' button instead of only a few.
17 years ago
rubidium
ea072322fa
(svn r11504) -Fix [FS#1467]: removing docks/ship depots could result in non-canal water where canals should have been build.
17 years ago
glx
c8add52504
(svn r11502) -Fix (r11144): don't do standard production change if callbacks 29/35 failed
...
-Fix (r11144): disable smooth economy for industries using callbacks 29/35
17 years ago
egladil
2e0dd78ccf
(svn r11501) -Fix: [OSX] This remedies a problem with right click scrolling that was introduced in r11492.
17 years ago
belugas
536be43411
(svn r11500) -Codechange: Smooth economy fine-tuning, making industries more responsive. Patch by Sirkoz.
17 years ago
glx
ee81e00082
(svn r11499) -Fix (r11144): mul/div factor were wrong (off by two)
17 years ago
egladil
2ebf50e421
(svn r11498) -Add [FS#1411]: [OSX] Added support for using Quartz instead of Quickdraw in windowed mode on OS X 10.4 and higher. Based on a patch by blackis.
17 years ago
rubidium
9d3cc5b271
(svn r11495) -Fix (r11493): some compilers fail to show warnings when they should.
17 years ago
glx
b979995795
(svn r11494) -Fix [FS#1461] (r11450): cargo translation table was now loaded too late ;)
17 years ago
rubidium
64a4ac3444
(svn r11493) -Fix [FS#1472]: game crashing on savegame load because it tried to render some part of the window before the savegame conversion was done.
17 years ago
egladil
3ad488e98f
(svn r11492) -Codechange: [OSX] Split the cocoa video driver into several files. The reason for this is that the fullscreen and windowed mode api are separate from each other in OS X and thus the driver actual is two drivers in one. This split is to make the code more readable and to prepare for replacing the Quickdraw windowed mode code which uses apis deprecated as of OS X 10.5 (and maybe earlier).
17 years ago
miham
2653d94bcb
(svn r11491) -Update: WebTranslator2 update to 2007-11-22 20:55:02
...
brazilian_portuguese - 5 fixed by tucalipe (5)
catalan - 5 fixed by arnaullv (5)
czech - 5 fixed by Hadez (5)
danish - 6 fixed, 3 changed by MiR (9)
dutch - 5 fixed by habell (5)
french - 5 fixed by glx (5)
italian - 2 fixed by lorenzodv (2)
japanese - 5 fixed by ickoonite (5)
korean - 58 fixed by leejaeuk5 (58)
slovak - 5 fixed, 86 changed by lengyel (91)
slovenian - 5 fixed by Necrolyte (5)
spanish - 5 fixed by eusebio (5)
swedish - 5 fixed by daishan (5)
turkish - 5 fixed by jnmbk (5)
17 years ago
skidd13
737aec4db6
(svn r11490) -Codechange: Split the math functions to their own header
...
-Codechange: Replace the rest of the math macros with functions
17 years ago
skidd13
1d56af1d33
(svn r11489) -Fix r11488: Somehow the code was added multiple times
17 years ago
skidd13
83601671c7
(svn r11488) -Codechange: Spilt the random functions out to seperate file
...
-Codechange: Make the mersenne twister more readable
-Codechange: Unify the seeding process of random
17 years ago
smatz
d53bfd8f2f
(svn r11487) -Fix (r11435): move the list of vehicles a bit higher in the player GUI
17 years ago
glx
b168ae34be
(svn r11486) -Fix [FS#1457]: industry count was wrong in smallmap
17 years ago
skidd13
a91c2a4c39
(svn r11485) -Codechange: Remove the doubled function ToggleBitT and rename the remaining to fit with the naming style
17 years ago
skidd13
eeaa348f8b
(svn r11484) -Codechange: Remove the doubled function SetBitT and rename the remaining to fit with the naming style
17 years ago
skidd13
b8885630aa
(svn r11483) -Codechange: Replace codeparts with functions that do the same to increase readability
17 years ago
skidd13
5c31a973a1
(svn r11482) -Codechange: Remove the doubled function ClrBitT and rename the remaining to fit with the naming style
17 years ago
skidd13
71c4325c50
(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style
17 years ago
skidd13
58bb5c7525
(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
...
This fixes also FS#1450
17 years ago
skidd13
d076ea8697
(svn r11479) -Codechange: Move the BIGMUL functions to the file of their usage
...
-Codechange: Rename the BIGMUL functions to the fitting naming style
17 years ago
rubidium
e815dae3c6
(svn r11478) -Fix: two small layout issues with the vehicle grouping GUI.
17 years ago
rubidium
a4df4728fc
(svn r11477) -Fix [FS#1451]: a road vehicle must not show that it is driving max speed when it is standing still waiting for the vehicle in from of it.
17 years ago
skidd13
50bfe1a19d
(svn r11476) -Codechange: rename the function myabs to abs to get rid of an unneeded define
17 years ago
skidd13
8be526e499
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
17 years ago
belugas
006acff183
(svn r11474) -Feature: Allow to resize on creation the smallmap gui in order to show all the types industry available.
...
-Feature: Allow to enable/disable individually or all at once, the industries shown on small map.
This will permit to easily find those that are of some interest for the player.
Heavily based on gule's patch
17 years ago
belugas
fb0674ee2b
(svn r11473) -Codechange: Replace two more instances of widget/smalltype numbers by enum(-a) values
17 years ago
belugas
51bb4a9dc8
(svn r11472) -Codechange: Give enuma for both the widget numbers and the used smallmap currently used type
17 years ago
smatz
2686901d84
(svn r11471) -Codechange: one more variable retyped to enum ViewportHighlightMode
17 years ago
rubidium
e15a5365d1
(svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures.
17 years ago
smatz
96d156944f
(svn r11466) -Fix (r11339): operator priority problem resulting in problematic autoroad placement in some cases
17 years ago
smatz
cd3c16d789
(svn r11465) -Fix: more user-friedly placement in X and Y directions (most noticeable with autoroad)
17 years ago
rubidium
92e0bf68e3
(svn r11464) -Fix: some issue that made OpenTTD on MorphOS seriously unplayable.
17 years ago
rubidium
dc81ea6454
(svn r11463) -Fix: some OSes seem not to handle allocating 0 bytes in the same manner as others do.
17 years ago
rubidium
b1393d1169
(svn r11461) -Fix [FS#1449] (r11449): a bus turning around in a station could case an assertion error. Patch by divide.
17 years ago
skidd13
afbd03b49c
(svn r11459) -Fix: (r11457) The selection highlight color hasn't been reset
17 years ago
skidd13
9737bf20c0
(svn r11457) -Fix: (r11455) Reenable the accidentaly removed one way roads option
...
-Change: Enable one way roads like the remove via a toolbar icon
17 years ago
smatz
b48c5a3c92
(svn r11456) -Fix [FS#1412] (r10070): Viewport is bound to its top-left corner
17 years ago
rubidium
5b21a839a9
(svn r11455) -Codechange: make autoroad, 'normal' road building and 'normal' rail building all react the same on CTRL as autorail.
17 years ago
rubidium
80a7a91730
(svn r11454) -Fix: the CHANCE16 functions were biased; a 32768 in 65536 chance was really a 32769 in 65536 chance.
17 years ago