Commit Graph

34 Commits (5d3f058b65c97b61709061b721d1ad6922dbc9ef)

Author SHA1 Message Date
belugas d87359a827 (svn r10670) -Fix: Use proper initialization for grf_prop override member 17 years ago
rubidium 549893651c (svn r10604) -Fix [FS#1044] (r9866): some industries produced cargo they should not be producing, which would result in the industry offering invalid cargo to a station resulting in crashes.. 17 years ago
rubidium 79d04412b0 (svn r10508) -Codechange: allow customizable animation schemes for industries. 17 years ago
rubidium 0d68a919d9 (svn r10451) -Add: support for "prospecting" raw industries, i.e. you pay an amount of money and then it might (with a given chance) build a raw industry somewhere on the map. 17 years ago
belugas 2c38514a84 (svn r10424) -Fix : Toy shop seems to be working exactly like power stations, water tower and banks, i.e: they require cargo but do nothing with it.
So, make it an INDUSTRYLIFE_BLACK_HOLE, exactly like the above mentioned industries.
Thanks to glx who spotted, and Csaboka who confirmed it could very well be a CS bug.
17 years ago
rubidium b67cfd4825 (svn r10418) -Codechange: implement/resurrect the industry production flags. 17 years ago
rubidium 40cea6c3ef (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
belugas f8da1b6e1a (svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data 17 years ago
belugas 0cb8413a8f (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 0af97d4ab2 (svn r9975) -Codechange: Adjust the industry/tile spec arrays, moving the enabled member out of GRFFileProps (end of previous commit). 17 years ago
rubidium 4726fdc0d0 (svn r9972) -Fix (r9969): silence a warning. 17 years ago
belugas 35ccad33dd (svn r9969) -Codechange: Cleanup of industries (Step-14). Remove hardcoded-run-time tile acceptance and put in corresponding tile 17 years ago
belugas f3cf7f6b2d (svn r9906) -Codechange: Add common properties for both industry and industry tiles specs 17 years ago
belugas 88042df6bb (svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds table into the industry's spec. 17 years ago
rubidium 44ddf033ed (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
belugas 803b073c59 (svn r9704) -Documentation: Add comments on industry data macro 17 years ago
rubidium 80c259f64f (svn r9672) -Cleanup: lots of coding style fixes around operands. 17 years ago
belugas 4eb87ac62b (svn r9669) -Documentation: some more doxygen fixes 17 years ago
belugas e161e60af6 (svn r9590) -Fix(r9550, fs728): some wrongfully entered data caused some industries to appear where they should not have 17 years ago
belugas ec03c72afb (svn r9579) -Codechange: Cleanup of industry_cmd (Step-11). Use industry's spec appear_creation during random map creation. 17 years ago
belugas cdb910d64b (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
belugas 0d691539a4 (svn r9550) -Codechange: Add notion and data of industry appearing chances, both in game and in creation mode.
Not used yet.
17 years ago
belugas 77b3767f2f (svn r9526) -Fix(9520): a temperate sawmill is not a tropic lumber mill. Thus, it cannot cut trees 17 years ago
belugas 72fc068844 (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
belugas 06d3669bb5 (svn r9400) -Codechange: Use some more representative enum names for landscape types. 18 years ago
peter1138 c5313e3479 (svn r9243) -Fix (r9162,FS#683): One too many table rows caused cargo acceptance mixup. 18 years ago
belugas eb1e6c19ad (svn r9190) -Fix: Little typo in an enum. 18 years ago
belugas 65ce0e36db (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
belugas 8eb0a220e6 (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 24c4d5b06d (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 18 years ago
belugas 771932d889 (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
miham c810aef43b (svn r8791) -Revert: r8790 Committed too much in last commit 18 years ago
miham 6e5dd7942f (svn r8790) [Namegen] -Revert: r8789 (Tron kinda convinced me it is a bad thing, sorry for it) 18 years ago
rubidium 66bbf336c6 (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