Commit Graph

18 Commits

Author SHA1 Message Date
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.
2007-01-02 19:19:48 +00:00
rubidium 5f88e81641 (svn r7642) -Codechange: unify all the different locations where the animation state is stored into a single location. 2006-12-30 11:57:52 +00:00
rubidium c7b1fd6fc2 (svn r7641) -Codechange: remove the last direct map accesses from industry_cmd. 2006-12-30 11:51:37 +00:00
rubidium 34bc8008d3 (svn r7640) -Codechange: move a table from industry_cmd.c to table/industry_land
-Codechange: add a reference to the industry GFX enum and some comments to the tables
-Codechange: remove some magic numbers
2006-12-30 11:41:54 +00:00
rubidium 6fdf0155bc (svn r6433) -Codechange: replace some magic numbers (industry gfx indices) by enums. 2006-09-08 22:12:57 +00:00
rubidium b1e2ae44d6 (svn r6005) -Cleanup: introduce IndustryID and use it
-Cleanup: use TownID and StationID for two instances of uint16
2006-08-20 19:31:58 +00:00
tron 2b27073156 (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular 2006-06-27 21:25:53 +00:00
belugas 7ab8b20faf (svn r4614) CodeChange : Cleanup of industry_cmd (Step-4).
Removing the _industry_type_costs in favor of IndustrySpec.cost_multiplier;
In order to let industry_gui use the GetIndustrySpec accessor,
some structs had to be moved in industry.h
2006-04-28 21:58:16 +00:00
belugas ea706f8ead (svn r4425) Fix bug introduced in r4411 : while IS_BYTE_INSIDE, max value is STRICKLY LESS THEN. This caused airports animations to stay unanimated. Industries were similarly affected.
Thanks to Richk67 for finding it.
Also, more Gfx define and use.
2006-04-15 01:06:53 +00:00
belugas e84d878213 (svn r4411) CodeChange : Define and use some Gfx for both stations and industries. More are still to come
Also, a bit of code cleaning, as pointed by Tron
2006-04-14 01:54:07 +00:00
belugas 0a9d5f051f (svn r4399) CodeChange : Add and make use of [G|S]etIndustryAnimationLoop accessors. 2006-04-12 18:10:54 +00:00
belugas f1da549c10 (svn r4350) CodeChange : Add and use accessors [G|S]etIndustrype. Define and use IndustryGfx type instead of uint 2006-04-10 21:00:56 +00:00
belugas a972760294 (svn r4346) CodeChange : Add and Use Accessors to Industry's Stage and Counter construction. Removed last direct map access from Disaster_cmd.c as well. Based on work from Rubidium in tfc_newmap 2006-04-10 15:09:56 +00:00
tron 7ad0d787e2 (svn r4166) Sprinkle several map accessors with assert()s 2006-03-30 09:29:01 +00:00
tron 0c581f8361 (svn r4108) Add [GS]etIndustryGfx() 2006-03-25 10:38:28 +00:00
tron 0977a8a04e (svn r4087) Add IsIndustryCompleted() to check if a industry tile is fully built 2006-03-24 13:46:45 +00:00
tron 05bae48ef8 (svn r4086) Add MakeIndustry() 2006-03-24 13:31:17 +00:00
tron 4b0e8947d5 (svn r4077) Add GetIndustry{Index,ByTile}() to get the industry index resp. the industry from a tile 2006-03-24 08:00:45 +00:00