rubidium
07c20252c3
(svn r14146) -Codechange: allow palette override in both ways and remove some unneeded '(x == 0) ? 0 : 1' constructs.
16 years ago
peter1138
1de6c87cdd
(svn r14144) -Fix (r8826): Incorrect cargo weights
16 years ago
belugas
15d8d1d74b
(svn r14123) -Codechange: a few magical number to sprite name conversions
16 years ago
belugas
ba3d49df40
(svn r14042) -Codechange: Rename some structure members to more obvious names. And add a few comments on the _extra_palette_values array.
16 years ago
peter1138
fc442ce9af
(svn r14034) -Cleanup (r13938) [FS#2210]: Typo in YAPP constant. (Eddi)
16 years ago
belugas
754c825b2c
(svn r13993) -Codechange: Associate TextColour values with comments of related values in _string_colormap table
16 years ago
rubidium
b3656c78ad
(svn r13938) -Codechange [YAPP]: Add the new signals to the build signal GUI. (michi_cc)
16 years ago
rubidium
019a519446
(svn r13910) -Document: string drawing related functions and types (Alberth)
16 years ago
frosch
d54d8bf295
(svn r13885) -Fix [FS#2168]: Var 0x7F is not feature-specific.
16 years ago
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'.
16 years ago
frosch
cfdc710104
(svn r13649) -Codechange: Split the GfxFillRect() special flags from 'color' into their own parameter.
17 years ago
smatz
5259d13da7
(svn r13571) -Codechange: define channels in struct Colour in different order on LE and BE machines
17 years ago
rubidium
ecbf3bd0de
(svn r13494) -Fix: a little documentation + copy-paste mistake for sprite.h.
17 years ago
skidd13
a7348eb7a0
(svn r13490) -Add: a seperate icon for aqueducts
17 years ago
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.
17 years ago
rubidium
ee843728bf
(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
17 years ago
peter1138
0a41936df8
(svn r13388) -Codechange: Remove "my invented flag for something that is a wagon"
17 years ago
belugas
0cf79d70d0
(svn r13368) -Codechange: give house's min/max_date a better name, as it is really year, not date
17 years ago
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.
17 years ago
smatz
8841f3be40
(svn r13222) -Change: allow old AI building helistations and helidepots for oil rig routes
17 years ago
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.
17 years ago
peter1138
edc756697e
(svn r13023) -Revert (r1444): Revert changes to multihead engine weight -- the original values were correct.
17 years ago
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.
17 years ago
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.
17 years ago
rubidium
6dc210b171
(svn r12751) -Codechange: do what has been done in r11862 in a different way so it uses less memory.
17 years ago
peter1138
d577b0504a
(svn r12624) -Codechange: Make drawing of catenary an attribute of rail types, instead of deciding by the rail type directly.
17 years ago
smatz
fcf4a7067d
(svn r12547) -Feature: invisibility options to make objects invisible instead of transparent
17 years ago
belugas
a84a913f3e
(svn r12535) -Fix: A little typo and 4 omissions on bridge sprites.
17 years ago
rubidium
6db0edda7c
(svn r12447) -Add: company colours to hangars and road depots; train depots already have them.
17 years ago
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.
17 years ago
glx
15cd2931f3
(svn r12407) -Add [FS#1866]: more language flags for servers
17 years ago
glx
457acecda5
(svn r12382) -Fix [FS#1864]: use 'items' unit for batteries, fizzy drinks, toys and bubbles in total cargo tab
17 years ago
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)
17 years ago
belugas
37babfaad0
(svn r12328) -Fix(r3447): Wrong Y pillar specified for girder with arch bridge. Spotted and fixed by a lot of people ;)
17 years ago
belugas
5a0ebacc54
(svn r12289) -Fix(r12288)[FS#1808]: Wrong bridge head table associated
17 years ago
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.
17 years ago
belugas
30b0e31f15
(svn r12287) -Codechange: Give meaning to two other bridges sprites arrays.
...
A bit of re-indenting too
17 years ago
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)
17 years ago
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.
17 years ago
belugas
adb1507e4e
(svn r12262) -Codechange: Give meaning to the wooden bridge sprites arrays.
...
Add macro MN for easier viewing.
More to come.
17 years ago
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.
17 years ago
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
17 years ago
frosch
a13899ee8e
(svn r12149) -Codechange: Merge 'ground_sprite' and 'ground_pal' of DrawTileSprites into one PalSpriteID
17 years ago
frosch
ae996a270b
(svn r12148) -Codechange: Merge 'image' and 'pal' of DrawTileSeqStruct into one PalSpriteID
17 years ago
frosch
03315e88e3
(svn r12147) -Codechange: Use macros to build DrawTileSprites-tables in station_land and unmovable_land.
17 years ago
frosch
4f394c19e2
(svn r12146) -Codechange: Use macros to build DrawTileSeqStruct-tables in station_land and unmovable_land.
17 years ago
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
17 years ago
peter1138
32691590fb
(svn r12125) -Codechange: Remove redundant signal lookup table, and document why normal electric signals are handled specially.
17 years ago
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
17 years ago
belugas
6a717aa49b
(svn r12111) -Codechange: Rename Bridge to BridgeSpec, out of consistensy with other Specs in used.
17 years ago
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
17 years ago
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.
17 years ago
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.
17 years ago
peter1138
1268a70466
(svn r12019) -Codechange: Add support for passenger engine designation for AI-use, NewGRF property 0x08 for trains.
17 years ago
peter1138
af2429f8e0
(svn r12002) -Cleanup (r11981): Remove obsolete code to skip sprites from indexed GRFs.
17 years ago
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.
17 years ago
peter1138
d213987a13
(svn r11949) -Codechange: add river icon and cursor, drawn by skidd13.
17 years ago
peter1138
5e4f4bcdc5
(svn r11942) -Codechange: Merge chars.grf into openttd[d|w].grf using action 12. Remove obsolete tables used for index mapping.
17 years ago
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.
17 years ago
rubidium
90acd52f22
(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.
17 years ago
rubidium
72c9b35b11
(svn r11827) -Codechange: do not include enum_type.hpp unnecessary.
17 years ago
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.
17 years ago
rubidium
2d2e1e3863
(svn r11800) -Codechange: move some functions to a more logical location + some type safety.
17 years ago
peter1138
323f6e461a
(svn r11791) -Cleanup: move railtype data into table/, like other data files.
17 years ago
peter1138
0ae26a0312
(svn r11789) -Codechange: coding style for global variable names
17 years ago
rubidium
64d691bacc
(svn r11787) -Codechange: more header rewrites. This time related to viewport.h.
17 years ago
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.
17 years ago
belugas
87a68bd80f
(svn r11748) -Codechange: Remove magic numbers introduced on r11746 and r11727
...
-Codechange: A few bad coding style inadvertendly applied too
17 years ago
belugas
361b12eff0
(svn r11726) -Feature[newGRF]: Extend the Action 5, feature 0D usage. Patch by BigBB
17 years ago
peter1138
6da72ec156
(svn r11720) -Codechange: [NewGRF] Add support for bit 30 of station tile layouts; forcing a sprite to always be opaque.
17 years ago
rubidium
445a733eb6
(svn r11719) -Codechange: split sound.h in a header with types and one with functions.
17 years ago
smatz
9060dbdb04
(svn r11689) -Fix: compilation error and most of warnings for gcc 4.3
17 years ago
rubidium
507463e420
(svn r11684) -Codechange: split gfx.h in a type and functional header.
17 years ago
skidd13
b9c3ea6a01
(svn r11550) -Fix (r11547): Updated the data files regarding to r11549
17 years ago
rubidium
99dbfd3866
(svn r11547) -Add: signal selection GUI for the ones that really like to use that over CTRL. Patch by BigBB.
17 years ago
belugas
b350debceb
(svn r11536) -Codechange: Align some elements of the _tree_layout_sprite table a little better looking for the eye
17 years ago
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.
17 years ago
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
17 years ago
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.
17 years ago
belugas
3b9ad8d73f
(svn r11447) -Fix(r11433): Wrong offset to the helipad made it look like the autoroad button
17 years ago
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
17 years ago
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.
17 years ago
glx
dac5cf2c59
(svn r11428) -Fix: wrong string used for candy/sweets units_volume
17 years ago
glx
df35372b9b
(svn r11402) -Fix [FS#1382]: incorrect handling of industry behaviour 'must be in town with population large than 1200'
17 years ago
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
17 years ago
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.
17 years ago
glx
7131f6262d
(svn r11384) -Fix: second and third accepted cargo were inverted in original industry tiles
17 years ago
rubidium
31141bd6bd
(svn r11350) -Change: add missing elrail sprites for some rail build buttons/cursors. Sprites by skidd13.
17 years ago
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.
17 years ago
rubidium
1d9542ce2d
(svn r11321) -Codechange: add support to load different graphics for halftile slopes using a NewGRF. Patch by frosch.
17 years ago
rubidium
fc9ebd257f
(svn r11316) -Codechange: add support for the half-tile (selection) graphics.
17 years ago
belugas
c5a8f4a857
(svn r11266) -Documentation: Add a few comments. Parts of BigBB's work on shores
17 years ago
rubidium
08c5765c0b
(svn r11145) -Codechange: add support for "decoding" TTDPs string codes wrt to registers 0x100 to 0x10F.
17 years ago
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.
17 years ago
rubidium
556035f448
(svn r11102) -Codechange: remove some pointless addition+substractions. Patch by frosch.
17 years ago
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.
17 years ago
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
17 years ago
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.
17 years ago
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.
17 years ago
rubidium
151262c1eb
(svn r10675) -Codechange: unhardcode the industry types used in several locations of the source code.
17 years ago
rubidium
9c9fc1a79e
(svn r10672) -Codechange: typify some parameters/variables.
17 years ago
belugas
0bc5d4b768
(svn r10670) -Fix: Use proper initialization for grf_prop override member
17 years ago
truelight
1583b5b4db
(svn r10659) -Codechange: updated documentation around RAIL_GROUND_FENCE_VERT[12] (frosch)
...
-Codechange: added documentation and SPR_ enums for track fences (frosch)
17 years ago
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..
17 years ago
rubidium
45b0b7755d
(svn r10601) -Codechange: store (and use) the type of stations instead of hardcoding station types by graphics IDs.
17 years ago
rubidium
d1ef87f914
(svn r10508) -Codechange: allow customizable animation schemes for industries.
17 years ago
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).
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.
18 years ago
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.
18 years ago
rubidium
9534c9795b
(svn r10418) -Codechange: implement/resurrect the industry production flags.
18 years ago
peter1138
76874f34bf
(svn r10324) -Codechange: reference engine names by index
18 years ago
peter1138
8ee9e8bf1e
(svn r10323) -Codechange: reference company name, number and player (president) name
...
by index
18 years ago
peter1138
97a2f5bf2a
(svn r10321) -Codechange: refer to sign text by index
18 years ago
peter1138
3878c55f34
(svn r10314) -Codechange: Refer to vehicle names by index
18 years ago
rubidium
f91e05a66b
(svn r10261) -Cleanup: we do not need CURRENCY64 and CURRCOMPACT64 anymore, because everything is already 64 bits by default.
18 years ago
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).
18 years ago
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 :)
18 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.
18 years ago
glx
9113b5721a
(svn r10017) -Add (FS#790): more languages flags for servers
18 years ago
belugas
78151810d7
(svn r10001) -Codechange: Add support for removing dynamically allocated newgrf data
18 years ago
rubidium
294a154bf7
(svn r9999) -Feature: make it possible to disallow busses and lorries to go a specific way on straight pieces of road.
18 years ago
belugas
c3f8c58157
(svn r9984) -Codechange: Remove an obsolete structure and a now meaningless enum, in favor of the "real thing"
18 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
18 years ago
belugas
21b4b14f79
(svn r9975) -Codechange: Adjust the industry/tile spec arrays, moving the enabled member out of GRFFileProps (end of previous commit).
18 years ago
rubidium
ed0a6a641e
(svn r9972) -Fix (r9969): silence a warning.
18 years ago
belugas
e7bbb79ff5
(svn r9969) -Codechange: Cleanup of industries (Step-14). Remove hardcoded-run-time tile acceptance and put in corresponding tile
18 years ago
rubidium
493494a35d
(svn r9961) -Fix (r7182): some file were still in iso8859-15 instead of utf8.
18 years ago
rubidium
a6ab2f26a0
(svn r9926) -Fix (r9923): the vehicle should continue on the next tile, not 'finishing' the turn.
18 years ago
rubidium
a8d9b4e040
(svn r9923) -Add: support for Action 0 Road vehicles, property 1C, bit 0.
18 years ago
belugas
a4c6bca9c2
(svn r9906) -Codechange: Add common properties for both industry and industry tiles specs
18 years ago
belugas
2e65d6e4e7
(svn r9886) -Codechange: Cleanup of industries (Step-13). Include the sounds table into the industry's spec.
18 years ago
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.
18 years ago
peter1138
96e9044249
(svn r9871) -Fix (r8826): Some cargo costs were wrong for different climates. Multiple definitions of the same cargo type are sometimes required.
18 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.
18 years ago
peter1138
f7ccb6e31e
(svn r9825) -Codechange: [NewGRF] Add support for early vehicle retirement.
18 years ago
maedhros
304075b389
(svn r9823) -Feature: Add support for house property 1F - minimum life span.
18 years ago
maedhros
7b5e3dbb82
(svn r9814) -Fix (r1): Remove the duplicate sign sprite from openttd.grf since it's in the original data files.
18 years ago
rubidium
7cd82bd6f5
(svn r9813) -Fix (r9799): wagons must have EC_STEAM, otherwise they don't show up in the purchase list (mart3p).
18 years ago
rubidium
f47e81c900
(svn r9799) -Codechange: separate engine class and engine running cost class (mart3p).
18 years ago
peter1138
e109773636
(svn r9797) -Feature: [NewGRF] Add action 1, 2 and 3 support for canals.
18 years ago
rubidium
425923c8d2
(svn r9795) -Codechange: enumify the EngineClass.
18 years ago
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...
18 years ago
belugas
31a3208257
(svn r9704) -Documentation: Add comments on industry data macro
18 years ago
rubidium
7577954ced
(svn r9672) -Cleanup: lots of coding style fixes around operands.
18 years ago
belugas
d1c2c90ad0
(svn r9669) -Documentation: some more doxygen fixes
18 years ago
belugas
0eaa72e324
(svn r9665) -Documentation: Doxygen corrections,errors, corrections of corrections...
18 years ago
maedhros
535f0dae1e
(svn r9654) -Fix: Add string colours for the DOS palette and use them when playing with the DOS data files.
18 years ago
belugas
d8821ddbd4
(svn r9650) -Documentation: Finalize doxygen comments for town_land.h
18 years ago
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...
18 years ago
belugas
5775fb475f
(svn r9619) -Documentation: Comments on drawing arrays of houses and industries
18 years ago