Commit Graph

2897 Commits (41f885600f66d12452d949aa34bb9bc407646409)
 

Author SHA1 Message Date
Darkvater 41f885600f (svn r3450) - Revert r3448 partly as some mingw's do have uint defined, others don't, so this needs more research 19 years ago
peter1138 fccfada0b3 (svn r3449) - NewGRF Fix: When changing the sprite ID of a vehicle, if it is not FD (custom graphics), the value needs to changed from a 16bit array offset to an array index. (fixes tropicstw.grf) 19 years ago
Darkvater c9d8fb8f07 (svn r3448) - Fix: wrap up some MinGW warnings 19 years ago
Darkvater d956c5d5da (svn r3447) - CodeChange: [ 1360866 ] station_land.h Naming ALL sprites. Also replaced the SPTR_STATUE_GROUND by the more obvious SPR_CONCRETE_GROUND in unmovable_cmd.c. No functional changes except for commenting out PALETTE_RECOLOR_SPRITE in table/sprites.h. (Belugas) 19 years ago
Darkvater 5e7526948a (svn r3446) - Fix: incorrect validating of tree-planting command which can allow a buffer-overflow (Tron) 19 years ago
Darkvater 7d17583a29 (svn r3445) - Fix: [ 1415379 ] Enhance documentation of lift destination
- Fix: wrong documentation of trees (Tron)
19 years ago
peter1138 e8e7794c97 (svn r3443) - Fix signed/unsigned comparison warning when compiling with gcc 2.95 (tokai) 19 years ago
Darkvater 0855449106 (svn r3442) - Fix: Only windows has stricmp. So define strcasecmp to stricmp when using MSVC 19 years ago
Darkvater 227769d709 (svn r3441) - Feature: Allow the network game list to be sorted (by name/clients/compatibility ascending/descending) 19 years ago
Darkvater 1ba8bcd0de (svn r3439) - CodeChange: Remove a whole bunch of global variables and put them into the WP() macro. Also combine more than one WP-custom element. For this the maximum size of w->custom (WP) has been increased, and multiple types put inside one with possibly moved to the corresponding gui file if it is only used there. 19 years ago
Darkvater f99a200470 (svn r3438) - Fix: first request company data, then general. Yes, it should be the other way around, but with the current network code this doesn't work. So workaround (have some nice promise from TrueLight for fixing ;)) 19 years ago
Darkvater 1be559cfb8 (svn r3435) - Fix a warning, removed unused extern and some comments in network_gamelist.c 19 years ago
Darkvater 7eaac72326 (svn r3434) - Correctly update all network information when pressing refresh in the lobby. Also always allow the join button to a server unless all clients are used up (otherwise you can always join an existing company 19 years ago
peter1138 575d80442e (svn r3431) - Fix crash when moving vehicles around in a train depot under certain conditions. 19 years ago
Darkvater 958eb8b9b6 (svn r3430) - You can of course not join when there are more companies than the maximum set, not the other way around. 19 years ago
Darkvater f14df34790 (svn r3429) - Feature (Followup): Change the gamelist window to accomodate for the new information. 19 years ago
Darkvater 195619a4f9 (svn r3428) - Feature: server_info was left out previous commit. Move some commands about a bit for better logical placement 19 years ago
Darkvater 082aa38f79 (svn r3427) - Feature: Allow seeing and setting the maximum amount of companies and spectators for a server. This can be changed/viewed during runtime as well in the console. 19 years ago
peter1138 063aa48b0b (svn r3426) - Fix typo from r3019 -- only affected NPF debugging. 19 years ago
Darkvater 1e51c18c93 (svn r3425) - Fix: Followup to r3421. Correctly reset the TileHighLightData structure to prevent crashes in all the other cases where it is not guarded against sufficiently 19 years ago
peter1138 fb7e17153b (svn r3424) - NewGRF fix: Only power should decide whether a rail vehicle is an engine or a wagon. (fixes SHIKI 810 in jpsetw.grf) 19 years ago
peter1138 c2479bbccc (svn r3423) - NewGRF: Update the base_intro age at which an engine will have a randomized intro date, as per (the now updated) spec. 19 years ago
peter1138 21ba849dbd (svn r3422) - Fix: If an engine reaches the rear of a depot, make the engine turn around before it reaches the tile end (same as a normal end of line.) This fixes a bug whereby the engine could poke into the depot and crash with another engine just leaving it. 19 years ago
peter1138 e2c90e8f5a (svn r3421) - Revert r3412 as it didn't work.
- Fix station builder issue by checking the tile is in bounds.
19 years ago
peter1138 79e5f8286c (svn r3420) - Fix typo made back in r2997... 19 years ago
Darkvater ffb8c85b79 (svn r3419) - Fix: [FS#40] (Possible) game crash on removing track/road under bridge. This was caused by a wrong tile-occupancy testing where it was assumed that a vehicle's height is only a multitude of 8 (a single height-difference). This is incorrect as a vehicle on a slope will assume all height levels between the lower-and upper-bounds. The crash is still possible as seen in the Flyspray bugreport but this has a different cause. 19 years ago
peter1138 bea2d63154 (svn r3418) - Fix: When removing a town-owned tunnel the player's rating was not reduced, as it checked the ownership of the tunnel after clearing it. Now we perform the rating adjustment before clearing the tiles. (spotted by glx) 19 years ago
peter1138 e369401293 (svn r3417) - Make company league table window pinnable. 19 years ago
peter1138 80ecfb5ae4 (svn r3416) - Fix: Disallow building an oil rig above sea level. 19 years ago
peter1138 ca8a27a592 (svn r3415) - Fix: Disable the clone and refit buttons in the train view when viewing another player's vehicles, or as a spectator. (thanks to UnderBuilder for pointing this out) 19 years ago
peter1138 35c5be0e45 (svn r3414) - Fix: Disable the Fund New Industry menu item and window when connected to a server as a spectator. 19 years ago
peter1138 1c4f9cf2e9 (svn r3413) - Fix: Under certain conditions placing a road tile parallel under a bridge would, instead of failing, succeed and place a perpendicular piece. 19 years ago
peter1138 d212bf205f (svn r3412) - Fix: When changing game mode, reset the tile highlight data, as it may now be out of bounds. This fixes (at least) an assertion when opening the station builder window. 19 years ago
peter1138 98b13cebbd (svn r3411) - Fix: When changing the server password via the console, actually set the password as well as flag whether it is required. 19 years ago
peter1138 4f394f6a63 (svn r3410) - NewGRF fix: Only add a random number of days to an engine's base introduction date if that date is not 0. 19 years ago
peter1138 c56ae910f0 (svn r3409) - Change the server advertisement interval to use the frame counter instead
of game days. This allows a paused server to continue to advertise itself.
  This also fixes advertising for games that start before 1922.
19 years ago
Darkvater 6132d15df9 (svn r3408) - Ok, compile before you commit; sorry (fix previous commit) 19 years ago
Darkvater ad47f3a6a2 (svn r3407) - Feature: Kick and ban now with IP numbers. 19 years ago
peter1138 6be0fdfb74 (svn r3406) - Update year in copyright text 19 years ago
Darkvater c2d8fd4583 (svn r3405) - Feature: Make subsidies window pinnable. Don't ask me why this wasn't included in the first round of pinning. 19 years ago
peter1138 3173a0e502 (svn r3404) - Add missing svn properties. 19 years ago
bjarni a4d1725de7 (svn r3403) -Codechange: [multiheaded engines] the references between the front and rear engines are no longer saved
instead the pointers are generated on load
19 years ago
bjarni 2b31f5fe7e (svn r3402) -Fix: [building/cloning] added a string telling if build failed due to not being able to build a vehicle. Triggered when cloning a retired design 19 years ago
tron 6a665b69b5 (svn r3401) (Hopefully) fix some inaccuracies 19 years ago
tron bcee23b645 (svn r3400) Convert the bit patterns to big endian notation 19 years ago
tron 9dac583e87 (svn r3399) Simplify markup 19 years ago
tron b554d440b6 (svn r3398) Remove TTDp nomenclature 19 years ago
peter1138 c8e14de683 (svn r3397) - NewGRF fix: Show nfo sprite number instead of current sprite id for warning messages -- this makes this output more useful... 19 years ago
peter1138 2222907a40 (svn r3396) - Autoreplace changes:
- Change fixed array per player to a single pool. This avoids future problems
    with vehicle numbers and decreases savegame size. Engine replacements from
    previous savegames will be lost.
  - Move engine replacement code from players.c to engine.c.
                                      (thanks to blathijs for rewriting this)
19 years ago
peter1138 68fb066a64 (svn r3395) Add Id tag (and svn property) to macosx files. 19 years ago