frosch
7a13b29190
(svn r14230) -Codechange: Simplify MapDOSColour() using the new stuff.
2008-09-02 20:01:18 +00:00
rubidium
9ca1972e01
(svn r14229) -Feature: allow overriding the palette of the base GRFs. This way you can play with NewGRFs made for the Windows palette with the DOS palettes base GRFs (and vice versa). Note that for this to work correctly ALL NewGRFs must use the same palette; mix and match is not yet supported.
2008-09-02 18:45:15 +00:00
rubidium
915a09e4c6
(svn r14197) -Codechange: rework (original) base graphics determination methods. This yields in the following:
...
-Feature: make configuring the to-be-used base graphics via openttd.cfg and the command line possible.
-Feature: allow both the German as well as non-German toyland graphics as "correct" and official graphics.
-Feature: allow people to create their own base graphics easily and without requiring code changes.
2008-08-31 08:46:43 +00:00
peter1138
2ea575e36c
(svn r14160) -Codechange: Move _railtype_cost_multipliers into the rail type information struct.
2008-08-24 23:10:23 +00:00
peter1138
e999f189e6
(svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed.
2008-08-24 23:00:11 +00:00
peter1138
6261063689
(svn r14157) -Codechange: Add and use string properties for rail types instead of relying on consecutive string IDs.
2008-08-24 21:31:24 +00:00
rubidium
2ced86e7ae
(svn r14151) -Codechange: make it possible to choose between the DOS and Windows graphics packs while retaining the possibility to override the palette.
2008-08-24 08:41:38 +00:00
rubidium
07c20252c3
(svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs.
2008-08-23 20:16:54 +00:00
peter1138
1de6c87cdd
(svn r14144) -Fix (r8826): Incorrect cargo weights
2008-08-23 18:05:52 +00:00
belugas
15d8d1d74b
(svn r14123) -Codechange: a few magical number to sprite name conversions
2008-08-21 19:12:24 +00:00
belugas
ba3d49df40
(svn r14042) -Codechange: Rename some structure members to more obvious names. And add a few comments on the _extra_palette_values array.
2008-08-11 18:30:52 +00:00
peter1138
fc442ce9af
(svn r14034) -Cleanup (r13938) [FS#2210]: Typo in YAPP constant. (Eddi)
2008-08-09 18:46:51 +00:00
belugas
754c825b2c
(svn r13993) -Codechange: Associate TextColour values with comments of related values in _string_colormap table
2008-08-04 17:12:23 +00:00
rubidium
b3656c78ad
(svn r13938) -Codechange [YAPP]: Add the new signals to the build signal GUI. (michi_cc)
2008-08-02 22:50:22 +00:00
rubidium
019a519446
(svn r13910) -Document: string drawing related functions and types (Alberth)
2008-08-01 09:34:34 +00:00
frosch
d54d8bf295
(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.
2008-07-30 18:23:12 +00:00
rubidium
5a94972c2d
(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they were printed, otherwise the text could change due to the few number of slots that could be used to bind.
...
-Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-07-17 13:47:04 +00:00
frosch
cfdc710104
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
2008-06-28 15:44:24 +00:00
smatz
5259d13da7
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
2008-06-18 21:19:04 +00:00
rubidium
ecbf3bd0de
(svn r13494) -Fix: a little documentation + copy-paste mistake for sprite.h.
2008-06-12 18:51:35 +00:00
skidd13
a7348eb7a0
(svn r13490) -Add: a seperate icon for aqueducts
2008-06-12 16:30:41 +00:00
rubidium
7ccf05ff35
(svn r13469) -Codechange: add support for loading Action 0x05, type 0F: "tracks for slopes". It's not useful right now, but it will be in the future.
2008-06-11 14:55:02 +00:00
rubidium
ee843728bf
(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
2008-06-11 13:54:01 +00:00
peter1138
0a41936df8
(svn r13388) -Codechange: Remove "my invented flag for something that is a wagon"
2008-06-05 12:08:20 +00:00
belugas
0cf79d70d0
(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
fe9ce6eac4
(svn r13339) -Feature: splitting of the main toolbar when the resolution becomes very low so the buttons are still visible and useable. Patch by Dominik.
2008-05-29 23:33:37 +00:00
smatz
8841f3be40
(svn r13222) -Change: allow old AI building helistations and helidepots for oil rig routes
2008-05-23 16:08:58 +00:00
peter1138
839070028e
(svn r13074) -Fix: For multiheaded engines, halve power and running cost when used instead of when loading, to allow callback values to work properly.
2008-05-13 20:39:57 +00:00
peter1138
edc756697e
(svn r13023) -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct.
2008-05-09 07:47:30 +00:00
rubidium
1ce0b03bf0
(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
peter1138
45034bc522
(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
2008-04-29 21:31:29 +00:00
rubidium
6dc210b171
(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
peter1138
d577b0504a
(svn r12624) -Codechange: Make drawing of catenary an attribute of rail types, instead of deciding by the rail type directly.
2008-04-08 07:19:29 +00:00
smatz
fcf4a7067d
(svn r12547) -Feature: invisibility options to make objects invisible instead of transparent
2008-04-03 19:55:40 +00:00
belugas
a84a913f3e
(svn r12535) -Fix: A little typo and 4 omissions on bridge sprites.
2008-04-01 17:21:24 +00:00
rubidium
6db0edda7c
(svn r12447) -Add: company colours to hangars and road depots; train depots already have them.
2008-03-27 15:59:56 +00:00
rubidium
a606fe9610
(svn r12425) -Feature [FS#1846]: On Screen Keyboard for input fields so someone without a keyboard can enter text too. Patch by Dominik.
2008-03-26 10:08:17 +00:00
glx
15cd2931f3
(svn r12407) -Add [FS#1866]: more language flags for servers
2008-03-24 20:30:08 +00:00
glx
457acecda5
(svn r12382) -Fix [FS#1864]: use 'items' unit for batteries, fizzy drinks, toys and bubbles in total cargo tab
2008-03-18 16:57:05 +00:00
glx
7fe1703170
(svn r12360) -Fix: openttdd.grf was using the wrong colours for glyphs due to a grfcodec bug (fixed in grfcodec 0.9.10 r1837)
2008-03-12 01:49:21 +00:00
belugas
37babfaad0
(svn r12328) -Fix(r3447): Wrong Y pillar specified for girder with arch bridge. Spotted and fixed by a lot of people ;)
2008-03-03 18:20:42 +00:00
belugas
5a0ebacc54
(svn r12289) -Fix(r12288)[FS#1808]: Wrong bridge head table associated
2008-02-27 14:55:16 +00:00
belugas
90595cc83d
(svn r12288) -Fix(r12287): forgot to include two sprite renames out of consistency.
...
And obviously forgot to compile before committing, as the array rename would have been evident.
2008-02-27 04:26:25 +00:00
belugas
30b0e31f15
(svn r12287) -Codechange: Give meaning to two other bridges sprites arrays.
...
A bit of re-indenting too
2008-02-27 04:00:25 +00:00
belugas
2f8e2743d7
(svn r12272) -Codechange: A bit of code style fixes (tabs instead of spaces), one space too many before macro definition and rename marco MB (MakeBridge) for MBR(MakeBRidge)
2008-02-26 18:24:46 +00:00
belugas
ed6bfe4964
(svn r12263) -Codechange: Give meaning to the concrete bridge sprites arrays.
...
Add macro MR (PALETTE_TO_STRUCT_RED) for easier viewing.
Still more to come.
2008-02-26 03:35:44 +00:00
belugas
adb1507e4e
(svn r12262) -Codechange: Give meaning to the wooden bridge sprites arrays.
...
Add macro MN for easier viewing.
More to come.
2008-02-26 00:06:21 +00:00
peter1138
f6e4dc4d8c
(svn r12209) -Fix: [NewGRF] Support using any base price for rail and road vehicles' running cost, and show running cost of wagons if they have it.
2008-02-21 19:09:10 +00:00
belugas
6ff5a8a29f
(svn r12157) -Codechange: Remove a structure definition and replace it with another one closely matching
...
-Codechange: Replace two magic numbers with according sprite names
2008-02-16 02:37:31 +00:00
frosch
a13899ee8e
(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID
2008-02-15 18:40:42 +00:00
frosch
ae996a270b
(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID
2008-02-15 18:34:26 +00:00
frosch
03315e88e3
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
2008-02-15 18:21:04 +00:00
frosch
4f394c19e2
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
2008-02-15 18:00:30 +00:00
belugas
f3adf67a7b
(svn r12145) -Codechange: includes should be at the top of the source file
...
-Codechange: undefine a defined macro once work is finished, just in case
2008-02-15 17:38:18 +00:00
peter1138
32691590fb
(svn r12125) -Codechange: Remove redundant signal lookup table, and document why normal electric signals are handled specially.
2008-02-12 20:14:14 +00:00
belugas
d465b23ee2
(svn r12118) -Codechange: Put the two descriptions of bridges in an array instead of two single variables, following the transport type it represents
2008-02-12 03:05:27 +00:00
belugas
6a717aa49b
(svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy with other Specs in used.
2008-02-11 17:35:15 +00:00
belugas
70241f804b
(svn r12081) -Codechange: Rename table/roadveh.h to table/roadveh_movment.h
...
It is more descriptive name and it will not upset the generate script anymore
2008-02-07 17:01:06 +00:00
belugas
0ee48fc6d3
(svn r12064) -Codechange : Give grf bridges their own ResetBridges function, and put bridge spec in table/bridge_land.h, where it should be.
2008-02-05 04:48:56 +00:00
belugas
6e761a18d6
(svn r12041) -Codechange: Add the loader and the property for action 00 industries, prop 24, nearby station name.
...
No assignation yet, no real work either.
2008-02-02 03:23:26 +00:00
peter1138
1268a70466
(svn r12019) -Codechange: Add support for passenger engine designation for AI-use, NewGRF property 0x08 for trains.
2008-01-30 10:27:45 +00:00
peter1138
af2429f8e0
(svn r12002) -Cleanup (r11981): Remove obsolete code to skip sprites from indexed GRFs.
2008-01-28 17:51:45 +00:00
peter1138
e37b88ebfc
(svn r11981) -Fix [FS#1698]: Use unicode glyph mapping to fix up missing/shuffled sprites in original data files instead of shuffling or skipping
...
sprites directly. Some required glyphs were not loaded.
-Fix: Large capital U with grave (Ù) along with some other glyphs are broken in the original data files, so do no display them.
2008-01-25 13:48:39 +00:00
peter1138
d213987a13
(svn r11949) -Codechange: add river icon and cursor, drawn by skidd13.
2008-01-22 20:04:30 +00:00
peter1138
5e4f4bcdc5
(svn r11942) -Codechange: Merge chars.grf into openttd[d|w].grf using action 12. Remove obsolete tables used for index mapping.
2008-01-22 08:47:30 +00:00
rubidium
fcee6dad93
(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
90acd52f22
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
2008-01-13 01:21:35 +00:00
rubidium
72c9b35b11
(svn r11827) -Codechange: do not include enum_type.hpp unnecessary.
2008-01-13 00:28:01 +00:00
peter1138
0f7392bd61
(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is
...
no limit to the amount of names.
-Fix: NewGRF engines could not be renamed.
2008-01-12 19:58:06 +00:00
rubidium
2d2e1e3863
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
2008-01-09 21:05:03 +00:00
peter1138
323f6e461a
(svn r11791) -Cleanup: move railtype data into table/, like other data files.
2008-01-09 16:02:13 +00:00
peter1138
0ae26a0312
(svn r11789) -Codechange: coding style for global variable names
2008-01-09 10:15:20 +00:00
rubidium
64d691bacc
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
2008-01-09 09:45:45 +00:00
peter1138
89fa5dc142
(svn r11758) -Fix(ette): Populate 'void' cargo slots (unused slots in temperate and arctic) with default data as per pre-newcargo support. These slots are still disabled by default, but some NewGRFs (erroneously?) expect the default data.
2008-01-04 17:25:53 +00:00
belugas
87a68bd80f
(svn r11748) -Codechange: Remove magic numbers introduced on r11746 and r11727
...
-Codechange: A few bad coding style inadvertendly applied too
2008-01-03 14:33:10 +00:00
belugas
361b12eff0
(svn r11726) -Feature[newGRF]: Extend the Action 5, feature 0D usage. Patch by BigBB
2007-12-31 04:38:11 +00:00
peter1138
6da72ec156
(svn r11720) -Codechange: [NewGRF] Add support for bit 30 of station tile layouts; forcing a sprite to always be opaque.
2007-12-29 21:06:54 +00:00
rubidium
445a733eb6
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
2007-12-29 09:24:26 +00:00
smatz
9060dbdb04
(svn r11689) -Fix: compilation error and most of warnings for gcc 4.3
2007-12-23 21:02:40 +00:00
rubidium
507463e420
(svn r11684) -Codechange: split gfx.h in a type and functional header.
2007-12-23 10:56:02 +00:00
skidd13
b9c3ea6a01
(svn r11550) -Fix (r11547): Updated the data files regarding to r11549
2007-12-02 00:53:01 +00:00
rubidium
99dbfd3866
(svn r11547) -Add: signal selection GUI for the ones that really like to use that over CTRL. Patch by BigBB.
2007-12-01 21:40:18 +00:00
belugas
b350debceb
(svn r11536) -Codechange: Align some elements of the _tree_layout_sprite table a little better looking for the eye
2007-11-28 00:41:20 +00:00
belugas
b98847e489
(svn r11534) -Feature(newgrf): Implement property 23h for Industries.
...
This will add a cost to the removal of an industry using the cheat magic bulldozer.
Note that the removal of regular or newgrf industries without specified removal cost will have no cost applied to.
This is a difference from original spec, where a default base cost is added.
2007-11-27 17:13:49 +00:00
skidd13
be0da30572
(svn r11457) -Fix: (r11455) Reenable the accidentaly removed one way roads option
...
-Change: Enable one way roads like the remove via a toolbar icon
2007-11-18 13:55:23 +00:00
rubidium
2245094822
(svn r11449) -Fix [FS#1160]: trams could deadlock themselves. As of now trams will turn as roadvehicles do when the player cannot build a tram track piece on the next tile without destroying anything. It will not turn when the player can build the before mentioned track piece on the 'next' tile.
2007-11-17 12:42:15 +00:00
belugas
3b9ad8d73f
(svn r11447) -Fix(r11433): Wrong offset to the helipad made it look like the autoroad button
2007-11-17 01:55:00 +00:00
skidd13
67c371f3d9
(svn r11446) -Codechange: change the naming of road related code parts to something more descriptive
...
-Change: invert the two single roads gui buttons, making it consistent with rails toolbar
Based on a patch by Octopussy
2007-11-17 01:10:06 +00:00
rubidium
af0616729a
(svn r11433) -Fix: starting OpenTTD with DOS files made it look weird out of the box.
...
-Change: make extra sprites (the ones not in the TTD GRFs) replaceable using Action 5.
-Feature: make replacing contiguous subsets of sprites in for some types possible in Action 5.
Note to GRF authors: when you replaced OpenTTD sprites that are not from the TTD GRF files using Action A, your GRF will not have the intended result anymore as the sprite numbers have changed. You should replace the Action A with an Action 5 from now on.
2007-11-15 07:42:25 +00:00
glx
dac5cf2c59
(svn r11428) -Fix: wrong string used for candy/sweets units_volume
2007-11-13 18:38:36 +00:00
glx
df35372b9b
(svn r11402) -Fix [FS#1382]: incorrect handling of industry behaviour 'must be in town with population large than 1200'
2007-11-11 00:04:52 +00:00
glx
1502373441
(svn r11394) -Fix: default value for input cargo multipliers is 256 even for invalid cargo. Exceptions are temperate banks and oil rigs, default value is 0 for them
2007-11-08 22:29:21 +00:00
rubidium
153cba2ef3
(svn r11391) -Change: print all error messages related to missing/corrupted files in one message including the location where they can get said missing/corrupted files.
2007-11-07 23:29:43 +00:00
glx
7131f6262d
(svn r11384) -Fix: second and third accepted cargo were inverted in original industry tiles
2007-11-05 01:38:49 +00:00
rubidium
31141bd6bd
(svn r11350) -Change: add missing elrail sprites for some rail build buttons/cursors. Sprites by skidd13.
2007-10-27 11:23:13 +00:00
rubidium
3a785b000a
(svn r11339) -Add: autoroad; same as autorail, but for road and trams and only on X and Y direction. Patch by Octopussy and skidd13.
2007-10-22 19:11:50 +00:00
rubidium
1d9542ce2d
(svn r11321) -Codechange: add support to load different graphics for halftile slopes using a NewGRF. Patch by frosch.
2007-10-20 21:39:50 +00:00
rubidium
fc9ebd257f
(svn r11316) -Codechange: add support for the half-tile (selection) graphics.
2007-10-20 20:06:55 +00:00
belugas
c5a8f4a857
(svn r11266) -Documentation: Add a few comments. Parts of BigBB's work on shores
2007-10-15 00:06:59 +00:00
rubidium
08c5765c0b
(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt to registers 0x100 to 0x10F.
2007-09-22 23:55:34 +00:00
rubidium
5c9553d48b
(svn r11128) -Fix: a lot of graphical glitches by changing some bounding boxes. It's not perfect yet, but a *very* good step into the right direction. Patch by frosch.
2007-09-19 16:36:42 +00:00
rubidium
556035f448
(svn r11102) -Codechange: remove some pointless addition+substractions. Patch by frosch.
2007-09-14 21:32:21 +00:00
rubidium
8110b9f517
(svn r11054) -Fix [FS#944]: mismatch between TTDP's and OTTD's placement of catenary, creating graphical glitches when loading a catenary replacement. Patch by frosch.
2007-09-07 21:11:12 +00:00
belugas
dd61fd374f
(svn r10961) -Codechange: Flag default substitutes of industry/tiles with a value that cannot be legal.
...
This avoids the forest of coal mine error in the futur
2007-08-22 00:52:25 +00:00
rubidium
34545a381a
(svn r10820) -Codechange: make negative currencies red and restore the colour from before the currency was printed; this removes the need to make two strings for printing currencies (one for positive currencies and one for negative currencies).
...
-Fix [FS#1036]: do not use green for currencies as it is practically unreadable on CRT monitors.
2007-08-07 15:20:31 +00:00
rubidium
903a0a08c2
(svn r10698) -Codechange [FS#1082]: simplify the code related to foundations. Primarily removal of (duplicated|magic) code and introduction of few helper functions to ease foundation determination. Patch by frosch.
2007-07-26 16:51:10 +00:00
rubidium
151262c1eb
(svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code.
2007-07-24 19:56:43 +00:00
rubidium
9c9fc1a79e
(svn r10672) -Codechange: typify some parameters/variables.
2007-07-24 13:03:24 +00:00
belugas
0bc5d4b768
(svn r10670) -Fix: Use proper initialization for grf_prop override member
2007-07-24 01:29:42 +00:00
truelight
1583b5b4db
(svn r10659) -Codechange: updated documentation around RAIL_GROUND_FENCE_VERT[12] (frosch)
...
-Codechange: added documentation and SPR_ enums for track fences (frosch)
2007-07-23 16:08:58 +00:00
rubidium
5b15a202ea
(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..
2007-07-17 08:18:57 +00:00
rubidium
45b0b7755d
(svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs.
2007-07-16 23:55:22 +00:00
rubidium
d1ef87f914
(svn r10508) -Codechange: allow customizable animation schemes for industries.
2007-07-11 15:03:29 +00:00
rubidium
00afab46ab
(svn r10507) -Fix [FS#1019]: apparantly we used the wrong sprites for some pieces of the tram catenary (even though TTDP did so too).
2007-07-11 08:35:14 +00:00
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.
2007-07-06 07:24:10 +00:00
belugas
0805d0b03e
(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.
2007-07-04 00:49:03 +00:00
rubidium
9534c9795b
(svn r10418) -Codechange: implement/resurrect the industry production flags.
2007-07-03 19:16:34 +00:00
peter1138
76874f34bf
(svn r10324) -Codechange: reference engine names by index
2007-06-25 14:46:32 +00:00
peter1138
8ee9e8bf1e
(svn r10323) -Codechange: reference company name, number and player (president) name
...
by index
2007-06-25 13:30:38 +00:00
peter1138
97a2f5bf2a
(svn r10321) -Codechange: refer to sign text by index
2007-06-25 10:40:56 +00:00
peter1138
3878c55f34
(svn r10314) -Codechange: Refer to vehicle names by index
2007-06-24 22:42:11 +00:00
rubidium
f91e05a66b
(svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default.
2007-06-21 17:38:59 +00:00
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).
2007-06-17 18:22:43 +00:00
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 :)
2007-06-11 14:23:04 +00:00
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.
2007-06-07 09:20:04 +00:00
glx
9113b5721a
(svn r10017) -Add (FS#790): more languages flags for servers
2007-06-01 23:06:01 +00:00
belugas
78151810d7
(svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data
2007-05-31 15:40:36 +00:00
rubidium
294a154bf7
(svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road.
2007-05-31 15:15:00 +00:00
belugas
c3f8c58157
(svn r9984) -Codechange: Remove an obsolete structure and a now meaningless enum, in favor of the "real thing"
2007-05-30 02:08:18 +00:00
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
2007-05-29 17:41:59 +00:00
belugas
21b4b14f79
(svn r9975) -Codechange: Adjust the industry/tile spec arrays, moving the enabled member out of GRFFileProps (end of previous commit).
2007-05-29 14:44:22 +00:00
rubidium
ed0a6a641e
(svn r9972) -Fix (r9969): silence a warning.
2007-05-29 08:20:38 +00:00
belugas
e7bbb79ff5
(svn r9969) -Codechange: Cleanup of industries (Step-14). Remove hardcoded-run-time tile acceptance and put in corresponding tile
2007-05-29 00:15:34 +00:00
rubidium
493494a35d
(svn r9961) -Fix (r7182): some file were still in iso8859-15 instead of utf8.
2007-05-28 04:15:32 +00:00
rubidium
a6ab2f26a0
(svn r9926) -Fix (r9923): the vehicle should continue on the next tile, not 'finishing' the turn.
2007-05-25 23:32:30 +00:00
rubidium
a8d9b4e040
(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.
2007-05-25 22:07:40 +00:00
belugas
a4c6bca9c2
(svn r9906) -Codechange: Add common properties for both industry and industry tiles specs
2007-05-24 01:12:00 +00:00
belugas
2e65d6e4e7
(svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds table into the industry's spec.
2007-05-20 00:50:06 +00:00
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.
2007-05-19 09:40:18 +00:00
peter1138
96e9044249
(svn r9871) -Fix (r8826): Some cargo costs were wrong for different climates. Multiple definitions of the same cargo type are sometimes required.
2007-05-18 21:50:32 +00:00
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.
2007-05-17 20:19:55 +00:00
peter1138
f7ccb6e31e
(svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement.
2007-05-10 23:10:23 +00:00
maedhros
304075b389
(svn r9823) -Feature: Add support for house property 1F - minimum life span.
2007-05-10 16:03:06 +00:00
maedhros
7b5e3dbb82
(svn r9814) -Fix (r1): Remove the duplicate sign sprite from openttd.grf since it's in the original data files.
2007-05-08 14:28:55 +00:00
rubidium
7cd82bd6f5
(svn r9813) -Fix (r9799): wagons must have EC_STEAM, otherwise they don't show up in the purchase list (mart3p).
2007-05-08 08:41:16 +00:00
rubidium
f47e81c900
(svn r9799) -Codechange: separate engine class and engine running cost class (mart3p).
2007-05-06 19:44:22 +00:00
peter1138
e109773636
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
2007-05-06 18:14:33 +00:00
rubidium
425923c8d2
(svn r9795) -Codechange: enumify the EngineClass.
2007-05-06 15:01:44 +00:00
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...
2007-04-21 02:47:33 +00:00
belugas
31a3208257
(svn r9704) -Documentation: Add comments on industry data macro
2007-04-21 02:42:51 +00:00
rubidium
7577954ced
(svn r9672) -Cleanup: lots of coding style fixes around operands.
2007-04-18 22:10:36 +00:00
belugas
d1c2c90ad0
(svn r9669) -Documentation: some more doxygen fixes
2007-04-18 18:00:33 +00:00
belugas
0eaa72e324
(svn r9665) -Documentation: Doxygen corrections,errors, corrections of corrections...
2007-04-18 00:41:09 +00:00
maedhros
535f0dae1e
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
2007-04-17 10:08:17 +00:00
belugas
d8821ddbd4
(svn r9650) -Documentation: Finalize doxygen comments for town_land.h
2007-04-16 19:26:01 +00:00
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...
2007-04-16 02:47:01 +00:00
belugas
5775fb475f
(svn r9619) -Documentation: Comments on drawing arrays of houses and industries
2007-04-13 17:15:06 +00:00
belugas
e735e8261f
(svn r9590) -Fix(r9550, fs728): some wrongfully entered data caused some industries to appear where they should not have
2007-04-10 20:58:04 +00:00
belugas
2f6f7b1984
(svn r9579) -Codechange: Cleanup of industry_cmd (Step-11). Use industry's spec appear_creation during random map creation.
2007-04-09 01:43:29 +00:00
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.
2007-04-09 01:08:11 +00:00
rubidium
c1d557bc98
(svn r9553) -Documentation: fix ambiguity issue.
2007-04-03 19:19:04 +00:00
belugas
d71462f533
(svn r9550) -Codechange: Add notion and data of industry appearing chances, both in game and in creation mode.
...
Not used yet.
2007-04-03 00:13:59 +00:00
belugas
6803f2eada
(svn r9526) -Fix(9520): a temperate sawmill is not a tropic lumber mill. Thus, it cannot cut trees
2007-03-30 13:51:03 +00:00
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...
2007-03-28 20:06:28 +00:00
peter1138
f69549f1eb
(svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback handler and custom icon sprites
2007-03-23 20:55:45 +00:00
belugas
691f8578fd
(svn r9400) -Codechange: Use some more representative enum names for landscape types.
2007-03-22 03:42:43 +00:00
belugas
4e5567a710
(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
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.
2007-03-19 11:27:30 +00:00
richk
11ba449045
(svn r9298) -Fix (r1): A34-1000, Z-Shuttle, and Kelling K1 should be listed as small aircraft.
2007-03-18 21:38:30 +00:00
peter1138
50811a49ed
(svn r9243) -Fix (r9162,FS#683): One too many table rows caused cargo acceptance mixup.
2007-03-16 00:55:59 +00:00
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.
2007-03-15 22:48:46 +00:00
belugas
9e90282712
(svn r9190) -Fix: Little typo in an enum.
2007-03-15 01:17:20 +00:00
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)
2007-03-14 02:52:50 +00:00
rubidium
2b6736d244
(svn r9077) -Fix [FS#612]: the wrong catenary wires were drawn for tunnel entrances.
2007-03-09 14:41:39 +00:00
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.
2007-03-09 02:04:07 +00:00
rubidium
979ccd45ba
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
2007-03-07 12:11:48 +00:00
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.
2007-03-02 12:01:24 +00:00
rubidium
4df080bf12
(svn r8880) -Codechange: make anim cursors an array of structs.
2007-02-24 15:05:14 +00:00
rubidium
1be5124f7d
(svn r8877) -Cleanup: remove already implemented @todo
2007-02-24 12:50:05 +00:00
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.
2007-02-21 23:18:08 +00:00
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
2007-02-21 02:22:43 +00:00
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.
2007-02-20 22:09:21 +00:00
glx
8bfc6df882
(svn r8793) -Fix: corrected spelling of real french townnames and 'removed' a duplicate
2007-02-17 23:53:17 +00:00
miham
0d3c89d79a
(svn r8791) -Revert: r8790 Committed too much in last commit
2007-02-17 22:01:07 +00:00
miham
b77e6235ea
(svn r8790) [Namegen] -Revert: r8789 (Tron kinda convinced me it is a bad thing, sorry for it)
2007-02-17 21:56:22 +00:00
miham
b980c80ba4
(svn r8789) [Namegen] -Change: Sorted townnameparts for hungarian, and added a few more
2007-02-17 21:50:00 +00:00
rubidium
dcc7dd936e
(svn r8741) -Fix (r8735): make the saveguards of CmdBuildRoadStop more robust and add roadstops.grf to the list of required grfs.
2007-02-14 20:58:19 +00:00
rubidium
a2999dadc9
(svn r8735) -Feature: drive-through road stops made possible by the hard work of mart3p.
2007-02-14 16:37:16 +00:00
rubidium
3969f10b53
(svn r8723) -Codechange: replace yet another couple of magic numbers with enums.
2007-02-14 01:00:57 +00:00
rubidium
39454ab61a
(svn r8635) -Fix: draw canal edges under buoys that are in a canal.
2007-02-08 14:04:02 +00:00
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.
2007-01-30 11:53:35 +00:00
Darkvater
fa0b625552
(svn r8429) -Codechange: Add a name for AircraftVehicleInfo subtype helicopter and remove some magic numbers related to the subtype.
2007-01-27 12:45:55 +00:00
truelight
561daaba2c
(svn r8412) [MorphOS] -Fix: assert_compile(x != y) doesn't work, but assert_compile(!(x == y)) does.. don't ask me why!
2007-01-26 08:36:02 +00:00
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.
2007-01-24 07:14:09 +00:00
tron
900113f8d2
(svn r8321) -Fix
...
Reduce the size of EngineInfo (from 28 to 24 bytes) by moving one of its attributes
2007-01-21 19:00:31 +00:00
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
2007-01-21 16:08:18 +00:00
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.
2007-01-21 11:49:18 +00:00
tron
659adc7c42
(svn r8275) -Fix
...
Factor common data tables and use a bit more sensible names
2007-01-19 06:08:04 +00:00
peter1138
13da8502c0
(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
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.
2007-01-14 19:57:49 +00:00
rubidium
a7d0cdf95f
(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b.
2007-01-10 18:56:51 +00:00
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.
2007-01-02 19:19:48 +00:00