Commit Graph

33 Commits

Author SHA1 Message Date
Jonathan G Rennison
3d7e5d5369 Avoid unnecessary viewport redraws for unused tile loop house triggers 2022-11-24 02:38:10 +00:00
Charles Pigott
860c270c73 Codechange: Replace assert_compile macro with static_assert 2020-12-27 10:55:42 +00:00
S. D. Cloudt
13cc8a0cee Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
Niels Martin Hansen
48b334cf97 Add: Houses can accept up to 16 different cargo types via NewGRF.
New Action0 property 23 for feature 07, variable length, format B n*(B B). Initial byte is number of structures following. First byte in structure is cargo id, second is acceptance level in 1/8 units.
2019-01-21 16:06:25 +01:00
rubidium
f292a87dc4 (svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w 2013-06-01 07:44:53 +00:00
frosch
fa51dee557 (svn r24177) -Fix (r0) [FS#5148]: The arctic "shops and offices" used the "church" sprite in one of its four views. 2012-04-24 19:19:57 +00:00
michi_cc
e094d7db62 (svn r23072) -Feature: [NewGRF] House callback 0x148. 2011-10-31 22:31:40 +00:00
rubidium
e2e26190d5 (svn r20623) -Codechange: unify the storing of animation related information 2010-08-26 15:31:40 +00:00
rubidium
6d6939f844 (svn r20401) -Codechange: let HouseSpec use GRFFileProps 2010-08-07 21:03:38 +00:00
frosch
4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch
ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
belugas
e5a3900d37 (svn r19802) -Codechange: Replace some more magic numbers by corresponding constants 2010-05-12 20:59:39 +00:00
belugas
e91165ef6e (svn r19800) -Codechange: Replace magic number by corresponding constant 2010-05-12 20:02:46 +00:00
frosch
6260d243ee (svn r18888) -Codechange: Rename PALETTE_59[EF] to something more meaningful. 2010-01-22 18:47:29 +00:00
rubidium
ee3a44e74f (svn r18567) -Fix [FS#2613]: [NewGRF] House property 15 did not work 2009-12-20 14:53:32 +00:00
belugas
65b3e38bea (svn r18403) -Codechange: Re-arrange header of table _original_house_specs 2009-12-04 20:32:51 +00:00
rubidium
7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium
59d45a04d6 (svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible. 2009-04-21 23:40:56 +00:00
rubidium
d72273d1f3 (svn r15717) -Cleanup: apply some documentation coding style upon the stuff in table/ 2009-03-15 00:03:27 +00:00
belugas
4b4e73c1dd (svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date 2008-06-03 03:06:16 +00:00
rubidium
d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 2008-05-06 15:11:33 +00:00
rubidium
00f0bf98ee (svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory. 2008-04-17 11:47:22 +00:00
rubidium
26c621945d (svn r11862) -Fix [FS#1559]: when two NewGRFs 'fight' to define the same cargo it could happen that the strings are defined by one cargo and the 'action2' by another and when one assumes that both come from the same NewGRF... So store the GRF ID with the strings. To be extra sure add the same protection mechanism to industries and towns too. 2008-01-15 13:19:49 +00:00
rubidium
6f296b9870 (svn r11102) -Codechange: remove some pointless addition+substractions. Patch by frosch. 2007-09-14 21:32:21 +00:00
maedhros
3cc31aae86 (svn r9823) -Feature: Add support for house property 1F - minimum life span. 2007-05-10 16:03:06 +00:00
belugas
fc6cf587cd (svn r9650) -Documentation: Finalize doxygen comments for town_land.h 2007-04-16 19:26:01 +00:00
belugas
83c269d071 (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... 2007-04-16 02:47:01 +00:00
belugas
39735f7b54 (svn r9619) -Documentation: Comments on drawing arrays of houses and industries 2007-04-13 17:15:06 +00:00
belugas
b82ed41a19 (svn r9366) -Codechange: Unify the different houses acceptances attributes on their cargo counterpart, as well as specifying cargo slot. 2007-03-20 02:24:14 +00:00
maedhros
73ff939ddb (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.
2007-03-19 11:27:30 +00:00
rubidium
24c4d5b06d (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 2007-03-07 12:11:48 +00:00
peter1138
4b4c5a403b (svn r8129) -Codechange: Change data tables to use split off palette map. And
include a file missed last time...
2007-01-14 19:59:25 +00:00
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