Age | Commit message (Collapse) | Author |
|
|
|
|
|
used wrong tileh in some cases (frosch)
|
|
accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it.
|
|
issues. Thanks to benc for providing the patch.
|
|
easily modified.
|
|
|
|
|
|
|
|
something...
|
|
respect to the airport placement, so he rewrote the aircraft handling of the AI; now it can actually make lots of money again :)
|
|
|
|
not telling "last_mo_production" when it is the production of the current month).
|
|
when clicking on the "skip" button while pressing CTRL.
|
|
the roadbits are.
|
|
road types on a single tile.
|
|
|
|
"road" with multiple owners on a single tile.
|
|
be found in the industry spec, so take it from there instead.
|
|
building when its rating for the town was not high enough.
|
|
|
|
and into landscape.h, and add a few where they didn't exist.
|
|
variable)
|
|
|
|
landscape types.
|
|
a random industry for the AI to prevent it slowing down the game. The AI now sucks a even a bit more than before (if that's even possible).
|
|
coding style (and rest of the code).
|
|
|
|
|
|
Remove {,u}intswap() and replace them by Swap()
|
|
-Codechange: Do not hardcode the catchment radius of airports, but hold the information in AirportFTAClass
-Fix (r979): The default AI tested possible airport locations with a fixed catchment radius instead of the radius of the to be built airport
|
|
Abbreviate GetAirport(st->airport_type) to st->Airport()
|
|
error under Win32. Changed to AIRPLANES
|
|
-Codechange: Make the encoding of accepted aircraft types of airports a bit more sensible and move the enum into struct AirportFTAClass
|
|
template functions. Fixes a problem with MSVC and 64-bit shifts.
|
|
-Codechange: Remove _avail_aircraft
Its name is misleading. It is rather _avail_airports, but then only some of them, which leads to inconsistencies when using it.
Further it is unnecessary to store it in savegams.
|
|
flags of RailVehInfo, as well as changing the code to reflect the fact that it was not a flag but rather a one value only variable. Doing so, some evaluations have been simplified.
-Codechange: Add and use RAILVEH_SINGLEHEAD when railveh_type is set to 0, which was implicit before.
-Cleanup: Remove some extraneous parenthesis.
|
|
magic numbers and add a function IsNormalAircraft() which tells us whether the aircraft is in fact some flying device or a rotor/shadow.
|
|
and changed a one-member enum into a static const. Simplify their naming and add some doxygen-comments to RoadStop
|
|
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
|
|
Change the signature of Swap() to be less error prone, i.e. pass the variables to be swapped by reference instead of passing pointers to the variables.
Just do Swap(x, y) instead of Swap(&x, &y). This prevents accidents when the variables are pointers.
|
|
|
|
|
|
pointer to allocated memory instead of modifying the pointer given as parameter
|
|
were not used anyway) and replace them by our SwapT implementation
|
|
stillunknown and pv2b.
|
|
renamed to .cpp)
|
|
- A proper ./configure, so everything needs to be configured only once, not for every make.
- Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
- A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
- Proper support for OSX universal binaries.
- Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
- Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.
Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
|