Commit Graph

8088 Commits

Author SHA1 Message Date
rubidium
33cdfc71dc (svn r11597) -Change: replace all remaining instances of (re|m|c)alloc with (Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions. 2007-12-08 14:50:41 +00:00
belugas
f271038461 (svn r11596) -Codechange: Use the Window member HandleButtonClick and remove its now useless counterpart function 2007-12-08 03:10:50 +00:00
belugas
902b20263c (svn r11595) -Codechange: add a new member to Window struct, based on its function counterpart HandleButtonClick. 2007-12-08 02:55:47 +00:00
glx
e3f4d0e72a (svn r11594) -Fix: don't allow changing network only patches settings from console when not in network game 2007-12-08 01:36:40 +00:00
belugas
42d6f195cf (svn r11593) -Cleanup: remove some forgotten pieces of evidence of a mischief 2007-12-08 01:30:18 +00:00
belugas
544325590c (svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function 2007-12-08 01:20:47 +00:00
belugas
ecb9382c7e (svn r11591) -Codechange: remove now unused widget accessors. 2007-12-08 01:02:19 +00:00
glx
7e7606b0d3 (svn r11590) -Fix (r11193): IsSlopeRefused() result was half wrong 2007-12-07 21:16:38 +00:00
rubidium
c3ae7faa13 (svn r11589) -Fix [FS#1514]: when ship depots got destroyed they always returned to water, even when it should've been canals. 2007-12-07 21:14:54 +00:00
glx
b00f621239 (svn r11588) -Codechange: use the new member introduced in r11551 2007-12-07 18:05:49 +00:00
skidd13
30a5f9abf3 (svn r11587) -Fix (r11457): The one way road button wasn't reset on abort 2007-12-07 17:51:27 +00:00
glx
d129a7295c (svn r11586) -Fix: make another widget 'accessor' function const when it should be const. 2007-12-07 17:42:15 +00:00
skidd13
10360288d0 (svn r11585) -Codechange: Enumify the widgets of the newGRF gui and a slight cleanup there 2007-12-07 12:22:34 +00:00
rubidium
2b9f51219f (svn r11584) -Change: add some extra checking in the hope to find the cause of FS#1482. 2007-12-06 22:29:47 +00:00
rubidium
39b1a8302b (svn r11583) -Fix [FS#1484]: windows could get completely missing when one resized the window to something very small. 2007-12-06 20:55:48 +00:00
smatz
57fc61009e (svn r11582) -Fix: tiles were not marked dirty in some cases when removing a lock 2007-12-06 20:48:15 +00:00
rubidium
9b7b34fc2c (svn r11581) -Codechange: add some missing cargo classes and some documentation. 2007-12-06 20:36:46 +00:00
skidd13
b57274cdf2 (svn r11580) -Feature: Memorise the resizing of the build bridge selection window during runtime 2007-12-06 18:29:31 +00:00
belugas
1495f6aaf8 (svn r11579) -Revert(r11578): some cases of key propagation are not handled correctly.
A better solution will be deviced, but not now.  Let's not cause a ton of bug reports
2007-12-06 15:58:39 +00:00
belugas
cc29d43876 (svn r11578) -Codechange: Introduce the window default flag WDF_TEXTENTRY which specifies that the window holding it is actually one that enables an edit box.
Use this flag when dispatching a key event instead of using some hard coded window IDs.
This should ease a little bit the creation of new edit aware windows.
2007-12-06 02:31:47 +00:00
smatz
9cab7af581 (svn r11577) -Fix: invalidate 'list trains/roadvehs/ships/planes' widgets when station part is added/removed 2007-12-05 19:13:42 +00:00
smatz
6ab52ddf89 (svn r11576) -Codechange: enumerize and comment station GUI 2007-12-05 17:08:10 +00:00
smatz
15a5a1a95b (svn r11575) -Fix [FS#1502]: widget numbers of StationViewWindow were incorrect at some places 2007-12-05 16:55:33 +00:00
smatz
fcfd0f1c76 (svn r11574) -Fix: flood train stations when there are no trains on border tiles too (when non-uniform stations are OFF) 2007-12-05 00:16:20 +00:00
rubidium
1c30d0b966 (svn r11573) -Codechange: pause games that miss GRFs by default and throw some warnings and disclaimers when you want to unpause it. 2007-12-04 22:50:07 +00:00
glx
be48614ef8 (svn r11572) -Fix [FS#1494]: reinitialise windows system before loading a savegame 2007-12-04 22:22:50 +00:00
rubidium
4f0e072f3f (svn r11571) -Fix [FS#1493]: road vehicle getting to the wrong side of a station when trying to overtake in there. 2007-12-04 21:53:09 +00:00
smatz
d4322bc8aa (svn r11570) -Fix: do not flood rail station tiles when there is a vehicle on it (when non-uniform stations are ON) 2007-12-04 21:39:03 +00:00
rubidium
eb0be0322a (svn r11569) -Fix [FS#1480]: full paths sometimes did not work correctly. 2007-12-04 18:42:08 +00:00
belugas
586d2da917 (svn r11568) -Codechange: Use bit shifts instead of values for flags. It helps readability a little bit. 2007-12-04 17:51:50 +00:00
glx
06c131b244 (svn r11567) -Fix [FS#1512] (r11011): break the chain before moving a vehicle after another in the same chain 2007-12-04 15:32:54 +00:00
smatz
411dec5c3e (svn r11565) -Revert: part of r11564 2007-12-03 22:40:18 +00:00
skidd13
5d74f2ced4 (svn r11564) -Codechange: Increase the usage of the for_each_bit macro and rename it fitting to the naming style 2007-12-03 09:19:19 +00:00
skidd13
2b372e7e7b (svn r11563) -Codechange: Align the preprocessor code in stdafx.h with tabs 2007-12-02 21:43:16 +00:00
rubidium
f758c337c7 (svn r11562) -Fix [FS#1503] (r11546): aircraft sometimes stopped mid-air when the airport got destroyed. 2007-12-02 21:35:44 +00:00
glx
5da6900c3f (svn r11561) -Fix [FS#1504] (r11463): group list was not updated when removing the last group 2007-12-02 20:13:12 +00:00
rubidium
8ae661b176 (svn r11560) -Codechange: replace 'custom' version of FindLastBit with the generic. 2007-12-02 19:23:46 +00:00
rubidium
8c0122f429 (svn r11559) -Fix [FS#1505]: overflow when drawing graphics with high company values. 2007-12-02 19:21:56 +00:00
rubidium
49e6247de8 (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.
2007-12-02 15:12:19 +00:00
rubidium
2880047689 (svn r11556) -Feature: allow setting a default password for new companies in network games. 2007-12-02 14:48:26 +00:00
rubidium
92cb0e45ca (svn r11555) -Codechange: use the new members introduced in r11551. 2007-12-02 14:29:48 +00:00
rubidium
c0790fff86 (svn r11554) -Codechange: be more consistent with the naming of the widget functions. 2007-12-02 13:32:41 +00:00
rubidium
f8be009c74 (svn r11553) -Fix: make a few widget 'accessor' function const when they should be const. 2007-12-02 12:10:48 +00:00
miham
a7929a8de9 (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)
2007-12-02 11:32:24 +00:00
belugas
31cb48b1ad (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)"
2007-12-02 00:59:48 +00:00
skidd13
b9c3ea6a01 (svn r11550) -Fix (r11547): Updated the data files regarding to r11549 2007-12-02 00:53:01 +00:00
rubidium
99dbfd3866 (svn r11547) -Add: signal selection GUI for the ones that really like to use that over CTRL. Patch by BigBB. 2007-12-01 21:40:18 +00:00
belugas
61dc1f8609 (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
2007-12-01 14:04:16 +00:00
belugas
4f5ae3b66f (svn r11545) -Revert(r11543): The result is not what was expected. Looks like more work might be needed 2007-12-01 02:59:22 +00:00
glx
9b4aadf8dd (svn r11544) -Fix [FS#1501]: revert r11453 as it translated cargo when it should not 2007-12-01 02:47:10 +00:00