Commit Graph

632 Commits (046d8bc2f7a11a0d7f4ac995141e0d337ec89e44)

Author SHA1 Message Date
peter1138 3878c55f34 (svn r10314) -Codechange: Refer to vehicle names by index 17 years ago
rubidium f91e05a66b (svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default. 17 years ago
rubidium 6c0ba8e879 (svn r10185) -Codechange: make the bounding boxes of the drive through road stops a little larger so NewGRFs authors have more possibilities when replacing them (minime). 17 years ago
rubidium 76e25154bd (svn r10098) -Codechange: bilbo cared about the performance of the AI with respect to the airport placement, so he rewrote the aircraft handling of the AI; now it can actually make lots of money again :) 17 years ago
rubidium b0421273f2 (svn r10054) -Codechange: make the industries cost modifier look more like the original one, so it's much easier to support industries that use this original format. 17 years ago
glx 9113b5721a (svn r10017) -Add (FS#790): more languages flags for servers 17 years ago
belugas 78151810d7 (svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data 17 years ago
rubidium 294a154bf7 (svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road. 17 years ago
belugas c3f8c58157 (svn r9984) -Codechange: Remove an obsolete structure and a now meaningless enum, in favor of the "real thing" 17 years ago
belugas e4785e0376 (svn r9976) -Codechange: Declare a writable array of specs for industry and industry tiles.
It will be initialized by the original data upon game start.
Rename some enums to be more consistent too
17 years ago
belugas 21b4b14f79 (svn r9975) -Codechange: Adjust the industry/tile spec arrays, moving the enabled member out of GRFFileProps (end of previous commit). 17 years ago
rubidium ed0a6a641e (svn r9972) -Fix (r9969): silence a warning. 17 years ago
belugas e7bbb79ff5 (svn r9969) -Codechange: Cleanup of industries (Step-14). Remove hardcoded-run-time tile acceptance and put in corresponding tile 17 years ago
rubidium 493494a35d (svn r9961) -Fix (r7182): some file were still in iso8859-15 instead of utf8. 17 years ago
rubidium a6ab2f26a0 (svn r9926) -Fix (r9923): the vehicle should continue on the next tile, not 'finishing' the turn. 17 years ago
rubidium a8d9b4e040 (svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0. 17 years ago
belugas a4c6bca9c2 (svn r9906) -Codechange: Add common properties for both industry and industry tiles specs 17 years ago
belugas 2e65d6e4e7 (svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds table into the industry's spec. 17 years ago
rubidium 8f0f090c51 (svn r9874) -Feature: advanced vehicle lists a.k.a. group interface. Now you can make groups of vehicles and perform all kinds of tasks on that given group. Original code by nycom and graphics by skidd13. 17 years ago
peter1138 96e9044249 (svn r9871) -Fix (r8826): Some cargo costs were wrong for different climates. Multiple definitions of the same cargo type are sometimes required. 17 years ago
rubidium b007a3419c (svn r9866) -Codechange: remove the technical one-input-cargo-creates-one-output-cargo limit in the factories, sawmills, steelmills and the ones I'm forgetting to mention right now. Use of this functionality will come later. 17 years ago
peter1138 f7ccb6e31e (svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement. 17 years ago
maedhros 304075b389 (svn r9823) -Feature: Add support for house property 1F - minimum life span. 17 years ago
maedhros 7b5e3dbb82 (svn r9814) -Fix (r1): Remove the duplicate sign sprite from openttd.grf since it's in the original data files. 17 years ago
rubidium 7cd82bd6f5 (svn r9813) -Fix (r9799): wagons must have EC_STEAM, otherwise they don't show up in the purchase list (mart3p). 17 years ago
rubidium f47e81c900 (svn r9799) -Codechange: separate engine class and engine running cost class (mart3p). 17 years ago
peter1138 e109773636 (svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals. 17 years ago
rubidium 425923c8d2 (svn r9795) -Codechange: enumify the EngineClass. 17 years ago
belugas cd97dec5a7 (svn r9705) -Codechange: Merge some data arrays together, making a bit more logical units.
Calculate with a macro (for _industry_anim_offs_toys) the value of x, instead of doing it at run time.
And give some more descriptive names too...
17 years ago
belugas 31a3208257 (svn r9704) -Documentation: Add comments on industry data macro 17 years ago
rubidium 7577954ced (svn r9672) -Cleanup: lots of coding style fixes around operands. 17 years ago
belugas d1c2c90ad0 (svn r9669) -Documentation: some more doxygen fixes 17 years ago
belugas 0eaa72e324 (svn r9665) -Documentation: Doxygen corrections,errors, corrections of corrections... 17 years ago
maedhros 535f0dae1e (svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files. 17 years ago
belugas d8821ddbd4 (svn r9650) -Documentation: Finalize doxygen comments for town_land.h 17 years ago
belugas ce4ea342e8 (svn r9642) -Documentation: Having a different macro name for _original_house_specs (MS) than for _town_tile_data (M) might teach doxygen that we are dealing with two entities... 17 years ago
belugas 5775fb475f (svn r9619) -Documentation: Comments on drawing arrays of houses and industries 17 years ago
belugas e735e8261f (svn r9590) -Fix(r9550, fs728): some wrongfully entered data caused some industries to appear where they should not have 17 years ago
belugas 2f6f7b1984 (svn r9579) -Codechange: Cleanup of industry_cmd (Step-11). Use industry's spec appear_creation during random map creation. 17 years ago
belugas e45fe68667 (svn r9577) -Codechange: Add notion and data for industry map colour, used in the smallmap_gui. Not used yet.
-Move the check proc array, in order to make it more useful latter.
-Add basic newGRF stuff on the industry spec. Not used yet.
17 years ago
rubidium c1d557bc98 (svn r9553) -Documentation: fix ambiguity issue. 17 years ago
belugas d71462f533 (svn r9550) -Codechange: Add notion and data of industry appearing chances, both in game and in creation mode.
Not used yet.
18 years ago
belugas 6803f2eada (svn r9526) -Fix(9520): a temperate sawmill is not a tropic lumber mill. Thus, it cannot cut trees 18 years ago
belugas 7a0952a5bc (svn r9520) -Codechange: Add the notion of Industry behaviour. It means what an industry can do (plant fields, cut trees, do not change production), what can be done to it (disasters like mine subsidence, jet/chopper attack), when it can be built etc... 18 years ago
peter1138 f69549f1eb (svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback handler and custom icon sprites 18 years ago
belugas 691f8578fd (svn r9400) -Codechange: Use some more representative enum names for landscape types. 18 years ago
belugas 4e5567a710 (svn r9366) -Codechange: Unify the different houses acceptances attributes on their cargo counterpart, as well as specifying cargo slot. 18 years ago
maedhros 209101391a (svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
the newhouses grf specs, so all newhouses grfs will be playable in the game.

Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
18 years ago
richk 11ba449045 (svn r9298) -Fix (r1): A34-1000, Z-Shuttle, and Kelling K1 should be listed as small aircraft. 18 years ago
peter1138 50811a49ed (svn r9243) -Fix (r9162,FS#683): One too many table rows caused cargo acceptance mixup. 18 years ago
peter1138 5b3b287883 (svn r9236) -Codechange: Add 'town effect' attribute to cargo types. This will be used to specify how the cargo behaves wrt towns, instead of relying on fixed cargo IDs. 18 years ago
belugas 9e90282712 (svn r9190) -Fix: Little typo in an enum. 18 years ago
belugas ee945d2375 (svn r9162) -Codechange: Cleanup of industry_cmd (Step-8). Gather tile animation data into IndustryTileSpec array
Added a few documentation on remaining animation arrays (mostly ToyLand ones)
18 years ago
rubidium 2b6736d244 (svn r9077) -Fix [FS#612]: the wrong catenary wires were drawn for tunnel entrances. 18 years ago
belugas b95daaf434 (svn r9075) -Codechange: Cleanup of industry_cmd (Step-7). Small step that is. The new industry messages do not need a series of tests. Only one property to use. 18 years ago
rubidium 979ccd45ba (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 18 years ago
celestar 5828617a07 (svn r8973) -Feature/Codechange: Changed the internal unit for aircraft velocities to from 8mph to 1km/h (peter1138), also give aircraft realsitic velocities (so that 1km/h is 1km/h independent of vehicle type) (peter1138). Introduce a flag to reduce aircraft speed in holding patterns to some realistic velocity. Use this flag for the city airport for the time being and make use of the different entry points for this airport type. 18 years ago
rubidium 4df080bf12 (svn r8880) -Codechange: make anim cursors an array of structs. 18 years ago
rubidium 1be5124f7d (svn r8877) -Cleanup: remove already implemented @todo 18 years ago
maedhros 8b6d07cb85 (svn r8838) -Feature: Show newgrf error messages loaded in Action B in the newgrf gui
window. GRFs with an error have a warning symbol shown before the name.
18 years ago
belugas 011ef28e47 (svn r8827) -Codechange: Cleanup of industry_cmd (Step-6). Implementation of IndustryTileSPec, the alter ego of IndustrySpec.
It offers identification of the different industry tiles in a more distinct manner, as well as regrouping scattered pieces of data across the sources.  More to come
18 years ago
peter1138 3d581f4f89 (svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels. 18 years ago
glx 8bfc6df882 (svn r8793) -Fix: corrected spelling of real french townnames and 'removed' a duplicate 18 years ago
miham 0d3c89d79a (svn r8791) -Revert: r8790 Committed too much in last commit 18 years ago
miham b77e6235ea (svn r8790) [Namegen] -Revert: r8789 (Tron kinda convinced me it is a bad thing, sorry for it) 18 years ago
miham b980c80ba4 (svn r8789) [Namegen] -Change: Sorted townnameparts for hungarian, and added a few more 18 years ago
rubidium dcc7dd936e (svn r8741) -Fix (r8735): make the saveguards of CmdBuildRoadStop more robust and add roadstops.grf to the list of required grfs. 18 years ago
rubidium a2999dadc9 (svn r8735) -Feature: drive-through road stops made possible by the hard work of mart3p. 18 years ago
rubidium 3969f10b53 (svn r8723) -Codechange: replace yet another couple of magic numbers with enums. 18 years ago
rubidium 39454ab61a (svn r8635) -Fix: draw canal edges under buoys that are in a canal. 18 years ago
belugas e8af755d7f (svn r8455) -Codechange: Give a more meaningful name (railveh_type)to member 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.
18 years ago
Darkvater fa0b625552 (svn r8429) -Codechange: Add a name for AircraftVehicleInfo subtype helicopter and remove some magic numbers related to the subtype. 18 years ago
truelight 561daaba2c (svn r8412) [MorphOS] -Fix: assert_compile(x != y) doesn't work, but assert_compile(!(x == y)) does.. don't ask me why! 18 years ago
tron 7fffe8b3d4 (svn r8385) -Fix
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
18 years ago
tron 900113f8d2 (svn r8321) -Fix
Reduce the size of EngineInfo (from 28 to 24 bytes) by moving one of its attributes
18 years ago
tron 3d5acc1450 (svn r8314) -Fix
-Codechange: Move the railtype from EngineInfo to RailVehicleInfo, because having a railtype for non-rail vehicles isn't that useful
18 years ago
maedhros cf06eae3bb (svn r8300) -Codechange: Add a prototype for DrawPlayerIcon to players.h and include that
instead of using externs. Also move DrawPlayerIcon from graph_gui.cpp to
players.cpp.
18 years ago
tron 659adc7c42 (svn r8275) -Fix
Factor common data tables and use a bit more sensible names
18 years ago
peter1138 13da8502c0 (svn r8129) -Codechange: Change data tables to use split off palette map. And
include a file missed last time...
18 years ago
peter1138 ca9843424b (svn r8128) -Codechange: Split sprite and palette remap into separate 32 bit values.
This lets us increase the sprite width from 14 to up to 29 bits, 
effectively nulling the old sprite limit. Table changes in next commit.
18 years ago
rubidium a7d0cdf95f (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
rubidium 013df98f79 (svn r7759) -Merge: makefile rewrite. This merge features:
- 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.
18 years ago