Commit Graph

43 Commits (c60988a1d5d2a140eb5f8ff1b90119ee40ec787e)

Author SHA1 Message Date
belugas 3880be2fa8 (svn r10700) -Codechange: Enable to jump (by default) to the overriding industry tile spec of the one been queried.
Only on certain very specific circumstances do we need the original spec
17 years ago
rubidium 151262c1eb (svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code. 17 years ago
belugas 71637303a9 (svn r10639) -Codechange: Give meaninfull name to a magic number 17 years ago
belugas e37affa1d3 (svn r10570) -Codechange: Add enum required for Callback 0x22: CBID_INDUSTRY_AVAILABLE
-Documentation: Add documentation for enum IndustryConstructionType, which describes how the industry has been created
17 years ago
rubidium d1ef87f914 (svn r10508) -Codechange: allow customizable animation schemes for industries. 17 years ago
rubidium cd702d049e (svn r10460) -Codechange: add some more variables needed for newindustries regarding to the creation of the industries. 17 years ago
rubidium b0a8409200 (svn r10459) -Codechange: add helper functions to determine whether an industry is a primary industry and how much it costs to build such an industry. 17 years ago
rubidium b8f658db94 (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 5e7d4ffe9f (svn r10447) -Codechange: Don't need to specify values on an enum when those values are contiguous 17 years ago
rubidium c0ba3dba9d (svn r10439) -Codechange: initial steps for customized industry productions. 17 years ago
rubidium 9534c9795b (svn r10418) -Codechange: implement/resurrect the industry production flags. 17 years ago
rubidium 0debbfd73d (svn r10406) -Fix [FS#968]: only industries in the temperate climate should be affected by the "do not increase production" flag. 17 years ago
belugas f9935f1fa7 (svn r10379) -Codechange: silence a compiler warning (which was right) about a variable too little for what's been asked to do 17 years ago
belugas 7f8b42b598 (svn r10088) -Codechange: A typo and a code-style 17 years ago
belugas a8e4af3c52 (svn r10078) -Codechange: Centralize all industry counts data and access 17 years ago
belugas dc89ed73ee (svn r10064) -Fix(r10063): compile again, when changing stuff. DOn't trust first run 17 years ago
belugas 256ee60545 (svn r10063) -Codechange: Change VARDEF for extern
-CodeChange: Add the count of industries, basic support for variable 67, var action02 forindustries
17 years ago
rubidium d255041365 (svn r10058) -Codechange: give some industry variable sensible names (like not telling "last_mo_production" when it is the production of the current month). 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
belugas 78151810d7 (svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data 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 6271144452 (svn r9974) -Codechange: Remove the enabled member of GRFFileProps, since it'snot really grf related 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
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
belugas 662bee5b12 (svn r9870) -Codechange: Silence two compiler warnings and give proper type to the "type" member of industry struct 17 years ago
belugas 2a7442fda4 (svn r9868) -Codechange: bring external declaration of functions togueter and adjust a comment 17 years ago
belugas c4b90f3137 (svn r9867) -Codechange: Remove data duplication. The exact same values can be found in the industry spec, so take it from there instead. 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
belugas 73a0ccdf9a (svn r9721) -Codechange: -Codechange: Cleanup of industry_cmd (Step-12). Dynamically build the legends (name and color) for industries in the smallmap_gui.
All the tiny fonts industry names should be removed from language files soon.
17 years ago
belugas 0532eb2515 (svn r9676) -Codechange: introduce NUM_INDUSTRYTYPES instead of IT_END.
This makes the code clearer.
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
belugas d71462f533 (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 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
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
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
rubidium 4169bfba06 (svn r9050) -Codechange: Foo(void) -> Foo() 18 years ago
belugas 5792aa85c7 (svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style. 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
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