Commit Graph

16231 Commits (d03139b2411ebef703af47100e895d89407c4fdb)

Author SHA1 Message Date
frosch 9d8c04b0cc (svn r27677) -Codechange: Remove implicit VehicleListIdentifier from uint32 constructor, to make conversions more explicit. 8 years ago
frosch 616c02c42e (svn r27676) -Codechange: Rename catenary functions, so that they refer unambiguously to either RoadCatenary or RailCatenary. 8 years ago
michi_cc 4436f96f9f (svn r27675) -Fix [FS#6502]: [OSX] Building with 10.11 or 10.12 SDKs. 8 years ago
michi_cc 221c84be66 (svn r27674) -Fix (r27673): Mingw... 8 years ago
michi_cc 36cbb54a9d (svn r27673) -Add: [Win32] Thread names for windows debuggers. 8 years ago
frosch a08df612be (svn r27672) -Doc [FS#6489]: Fix comment. (Yho) 8 years ago
frosch 77b790cd5a (svn r27671) -Codechange: Replace magic numbers in the toolbar with the already existing WID_TN_xxx. (Wolf01) 8 years ago
frosch 3f75b8bca2 (svn r27670) -Add: [FS#6471] Assign descriptive names to (GNU pthread) threads. (JGR) 8 years ago
translators f8f2c9d3a5 (svn r27669) -Update from Eints:
thai: 11 changes by angelix
8 years ago
frosch ba566e9126 (svn r27668) -Feature: [NewGRF] Allow composing vehicles from multiple sprites. 8 years ago
frosch a37bb32fd6 (svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw. 8 years ago
frosch f36539837e (svn r27666) -Codechange: Pass vehicle sprites around using a struct VehicleSpriteSeq. 8 years ago
frosch 8321c2d0fa (svn r27665) -Fix: When dragging crashed vehicles, also draw them as crashed at the mouse cursor. 8 years ago
frosch fe12488232 (svn r27664) -Codechange: Deduplicate code for animating effect vehicles. 8 years ago
frosch 2a1e955fee (svn r27663) -Codechange: Deduplicate code when rotating crashed vehicles. 8 years ago
frosch 3b9cc70553 (svn r27662) -Codechange: Deduplicate code using GetSingleVehicleWidth. 8 years ago
translators 8c1bf8f16d (svn r27661) -Update from Eints:
portuguese: 1 change by Samu
8 years ago
translators b080b86574 (svn r27660) -Update from Eints:
portuguese: 7 changes by Samu
8 years ago
translators 3ee07f37d8 (svn r27659) -Update from Eints:
portuguese: 25 changes by Samu
8 years ago
translators 169468a857 (svn r27658) -Update from Eints:
danish: 1 change by Knogle
8 years ago
frosch db38de3b7e (svn r27657) -Change: Replace another occurence of the ancient tilehash function with the newer one. This time to make rough land appear more random. 8 years ago
Jonathan G Rennison 556594f2f0 Extend bridge signal simulation to support an unlimited no. of signals.
This is instead of the previous limit of 16, all stored in M2.
8 years ago
Jonathan G Rennison 61500b596e Fix tunnel/bridge entrance signal not being refreshed.
When a train left a tunnel or a bridge with no intermediary signals,
when setting the entrance signal to green, the display was not refreshed
with show track reservations was enabled.
8 years ago
Jonathan G Rennison 0d2e9f91bf Adjust signal on bridge/tunnel map bits, rename accessors, add docs.
Use same bit to store red/green state for entrances and exits.
No longer re-use exit bit to store red/green state of entrance.
Avoid modifying the M2 of tunnel entrances/exits.
Rename and rationalise map accessor functions.
Document bits used in landscape HTML docs.
8 years ago
frosch 740534440e (svn r27656) -Fix [FS#6511]: When removing objects of bankrupt companies the tiles may revert to canal. In that case also check the ownership of the canal. 8 years ago
Jonathan G Rennison 161f70eb4a Merge branch 'save_ext' into signal_tunnels_bridges 8 years ago
Jonathan G Rennison 8a59b960d4 Fix missing include in parent commit. 8 years ago
Jonathan G Rennison d124089d29 Add extended version tag and feature versions to output of -q. 8 years ago
Jonathan G Rennison 94d3700f79 SaveLoad: Add support for saving/loading from a std::vector<T *> 8 years ago
Jonathan G Rennison c752da3a9e SaveLoad: Add support for saving/loading from a std::deque<T *> 8 years ago
Jonathan G Rennison 27ee2da1f7 Merge branch 'cpp-11' into save_ext 8 years ago
Jonathan G Rennison 13fb737bed Add a template parameter for the inner container of MultiMap. 8 years ago
Jonathan G Rennison 8281041784 Fix action cost estimation for signal dragging over bridge/tunnels.
If a bridge/tunnel entrance is signalled, blacklist the far end.
8 years ago
Jonathan G Rennison 888cd1be07 Merge branch 'cpp-11' into signal_tunnels_bridges
# Conflicts:
#	src/saveload/saveload.cpp
8 years ago
Jonathan G Rennison ea2b04a6be Add C++11 container utility functions. 8 years ago
Jonathan G Rennison 390a22f864 Enable FINAL, (un)linkely, __attribute__ for clang. 8 years ago
translators 737897653a (svn r27655) -Update from Eints:
romanian: 2 changes by kkmic
8 years ago
Jonathan G Rennison a3d0fc5817 Remove an unused extern declaration, update comment. 8 years ago
Jonathan G Rennison 8e8d7e93d5 Tidy up legacy-compatibility code in PATX/PLYX handlers.
Use lambdas instead of manual emulation.
Move an inner struct back into its owner function.
8 years ago
Jonathan G Rennison a6e0b1ac7d Merge branch 'cpp-11' into save_ext 8 years ago
Jonathan G Rennison f7af8b8bdc Silence -Wunused-variable warnings in src/table/townname.h 8 years ago
Jonathan G Rennison 6e9ea59ab5 Add a simple scope guard include file. 8 years ago
Jonathan G Rennison bb6ea150a3 Use likely/__builtin_expect for assertion macros.
(cherry picked from commit f82002cda2)
8 years ago
Jonathan G Rennison 0b7d68a6d1 Add support for verbose asserts.
(cherry picked from commit 48e4c35fdc)
8 years ago
Jonathan G Rennison 51099c3572 Unconditionally use static_assert. 8 years ago
frosch 533cb7c156 (svn r27654) -Change: Enable C++11 for clang 3.3 (LordAro) 8 years ago
alberth f286ba8db2 (svn r27653) -Fix(r27647): Rename FileOperation enum and values to SaveLoadOperation to avoid nameclash with windows compiler toolkit. 8 years ago
alberth 0b8869930f (svn r27652) -Fix(r27650): Use the file operation being performed to set the _sl.action variable. 8 years ago
alberth e735bbebce (svn r27651) -Codechange: Introduce methods for setting the name and title of _file_to_saveload. 8 years ago
alberth a959c0c965 (svn r27650) -Codechange: Replace SaveOrLoadMode by FileOperation and DetailedFileType. 8 years ago
alberth c3bed437ee (svn r27649) -Codechange: Introduce detailed file type enum, rebuild FiosType with it. 8 years ago
alberth 3b84827773 (svn r27648) -Codechange: Remove remaining _saveload_mode usage. 8 years ago
alberth ec2b2fad58 (svn r27647) -Codechange: Introduce file operations, and use it to replace most of SaveLoadDialogMode 8 years ago
alberth ac72a6b1ed (svn r27646) -Codechange: Move _fios_items variable into the SaveLoadWindow class. 8 years ago
alberth 76cd96e709 (svn r27645) -Add: Give console commands their own file list storage. 8 years ago
alberth 8a9e9f838b (svn r27644) -Codechange: Split GetFiosItem into BuildFileList and FindItem, and move both to FileList. 8 years ago
alberth f618c0d0a5 (svn r27643) -Codechange: FiosGetDrives function also takes a destination file list. 8 years ago
alberth 93baf192a0 (svn r27642) -Codechange: FiosGet* file query functions take a destination file list. 8 years ago
alberth a38cdeccc0 (svn r27641) -Codechange: Fold the _fios_items file list vector into its own class. 8 years ago
alberth c530f89761 (svn r27640) -Codechange: Remove another use of _saveload_mode in the loading code. 8 years ago
alberth b6c29ae4eb (svn r27639) -Codechange: Also always set the abstract FileToSaveLoad::filetype when setting a mode. 8 years ago
alberth e78627f2f1 (svn r27638) -Codechange: Move FiosType enum, move and rename SetFiosType function. 8 years ago
alberth b5eb50da7b (svn r27637) -Codechange: Don't use _saveload_mode for scenario loading detection. 8 years ago
alberth 757bc0a97b (svn r27636) -Codechange: Rename FileType to AbstractFileType. 8 years ago
alberth a35e970ab0 (svn r27635) -Codechange: Move FileType and FileToSaveLoad structure definitions. 8 years ago
alberth df2221ba7e (svn r27634) -Codechange: Improve name of the SmallFiosItem struct. 8 years ago
alberth 55c7c21c5d (svn r27633) -Codechange: Extract _saveload_mode use from BuildFileList 8 years ago
Jonathan G Rennison e6c7134935 Merge branch 'master' into save_ext
# Conflicts:
#	src/saveload/saveload.cpp
8 years ago
frosch f46996243b (svn r27632) -Feature: When dragging vehicles in group or depot GUI, draw the complete articulated vehicle. 8 years ago
frosch 0829753fd0 (svn r27631) -Codechange: Split GetSingleVehicleWidth from GetVehicleWidth. 8 years ago
frosch caa9bffb56 (svn r27630) -Codechange: Deduplicate code to attach vehicle to cursor. 8 years ago
frosch 0214caaac2 (svn r27629) -Fix: When dragging multiple vehicles in the depot, make the destination gap as long as the chain instead of just considering the first vehicle. 8 years ago
frosch 0e3e4eeb53 (svn r27628) -Codechange: Prepare for drawing cursors consisting of multiple sprites. 8 years ago
frosch 2337d169e8 (svn r27627) -Codechange: Deduplicate some cursor magic into SetMouseCursorBusy. 8 years ago
frosch 93d5995bed (svn r27626) -Codechange: Do not use the cursor sprite as PlaceObject status in the main toolbar. 8 years ago
frosch 2257d782b0 (svn r27625) -Doc: CursorVars 8 years ago
translators 9d5ed2c469 (svn r27624) -Update from Eints:
spanish (mexican): 24 changes by Absay
8 years ago
frosch cc18df4cb7 (svn r27622) -Change: In industry map view, give visible industry types the highest tile priority, and hidden industry types a lower one. This way filtered and highlighted industries are not hidden by overlapping tiles in zoomed-out smallmap. (adf88) 8 years ago
frosch 46aeed3817 (svn r27621) -Fix (r27620): Committed too early. 8 years ago
frosch bd6799a9f8 (svn r27620) -Codechange: Inline GetEffectiveTileType (adf88) 8 years ago
translators aa140bb928 (svn r27618) -Update from Eints:
latvian: 19 changes by Parastais
8 years ago
translators c6ac52e71a (svn r27617) -Update from Eints:
latvian: 6 changes by Parastais
8 years ago
translators 18bbe02337 (svn r27615) -Update from Eints:
spanish: 7 changes by SilverSurferZzZ
8 years ago
fonsinchen ff96590312 (svn r27614) -Codechange: Use a fixed array instead of a map for link refresher cargo capacities. (JGR) 8 years ago
fonsinchen a81b7a24a6 (svn r27613) -Codechange: Use a flat vector instead of a map in FlowEdgeIterator. (JGR) 8 years ago
fonsinchen 6b2eed0a70 (svn r27612) -Codechange: Replace three uses of std::list with std::queue/vector. (JGR) 8 years ago
fonsinchen 8d5566651b (svn r27611) -Codechange: Cache the calculated value of CapacityAnnotation 8 years ago
translators 8f2461cdfb (svn r27610) -Update from Eints:
korean: 1 change by telk5093
8 years ago
rubidium dd5e3d9f33 (svn r27605) -Fix: GCC 6 warning about misleading indentation 8 years ago
translators 932951982f (svn r27604) -Update from Eints:
spanish: 3 changes by SilverSurferZzZ
8 years ago
translators 60d05aa27d (svn r27603) -Update from Eints:
spanish: 12 changes by SilverSurferZzZ
8 years ago
frosch 5973140ac2 (svn r27602) -Fix [FS#6481]: Compilation with --disable-network. (Deranged) 8 years ago
translators 3d54c33180 (svn r27601) -Update from Eints:
spanish (mexican): 4 changes by Absay
8 years ago
frosch a073b276ba (svn r27600) -Fix: [NewGRF] shift-and-add-divide/modulo varadjusts use signed division/modulo. 8 years ago
translators 1234b7d0f8 (svn r27599) -Update from Eints:
persian: 2 changes by rkarimabadi
8 years ago
frosch 9a7618aeb6 (svn r27598) -Fix: Company 0 could accept engine previews before they were offered. 8 years ago
frosch 842aaf7cdd (svn r27594) -Fix [FS#6473]: [Script] Kill scripts, when a non-suspendable valuator call takes way too long. 8 years ago
frosch 05a91106b8 (svn r27586) -Fix [FS#6410]: Automatic servicing of road vehicles compared path finder costs with tile distances, thus vehicles went to depots which were factor 100 too far away. (juanjo) 8 years ago
frosch 0b2f8c13a2 (svn r27585) -Fix [FS#6437]: Enforce a non-zero load amount for all vehicles, so that vehicles can process their cargo reservations. 8 years ago
frosch a66e0ff1f4 (svn r27584) -Codechange: Add some assertions about Vehicle::cargo_payment. 8 years ago