Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-08-07 | (svn r2830) Move CheckSwitchToEuro() to currency.[ch] and hide the truth ↵ | tron | |
about the custom currency behind a #define | |||
2005-08-06 | (svn r2815) Store the currency information in one central place instead of ↵ | tron | |
scattering it in several unrelated files | |||
2005-08-02 | (svn r2794) Fix a comment and get rid of some parentheses using DeMorgan's law | tron | |
2005-08-01 | (svn r2781) Fix some of the issues with variables in .h files. | ludde | |
2005-07-28 | (svn r2736) -Codechange: De-mystified GfxDrawFillRect a bit, and used enums ↵ | celestar | |
from table/sprites.h. You can now change the number of bits used for sprites and switches in the SpriteSetup enum and the rest should work automagically. Can be used to increase the number of active sprites to 2^19 in case there are no colortables (recolor sprites) in any newgrf. We should possibly move the the colortables to an own list, but how to detect them in a newgrf. | |||
2005-07-24 | (svn r2701) Insert Id tags into all source files | tron | |
2005-07-22 | (svn r2673) Include functions.h directly, not globally via openttd.h | tron | |
2005-07-21 | (svn r2669) Shuffle some more stuff around to reduce dependencies | tron | |
2005-07-21 | (svn r2660) Get rid of some more shifting/anding/casting | tron | |
2005-07-15 | (svn r2580) Change: Added {INDUSTRY} command for printing industry names ↵ | ludde | |
instead of the old {TOWN} {STRING} way. - The formatting of the industry name can be controlled with the string STR_INDUSTRY_FORMAT. Change: Changed several occurences of {STRING1} into {TOWN} to get rid of townnametype being used directly. | |||
2005-07-15 | (svn r2572) - Codechange: [string] Changed string system so it's not as ↵ | ludde | |
dependent on decode_parameters - Feature: [strgen] Allow changing the order of parameters in translated strings. - Use {1:TOWN} syntax to set the order. - Codechange: [strgen] Rewrote lots of strgen internals. | |||
2005-07-13 | (svn r2558) Change the internal map format from 7 arrays to one array of ↵ | tron | |
structs, this doesn't change the saved format for now. It's a stepping stone for further changes. | |||
2005-06-25 | (svn r2487) Replace TILE_XY by TileXY/TileDiffXY | tron | |
2005-06-24 | (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile" | tron | |
2005-06-21 | (svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer | celestar | |
2005-06-15 | (svn r2441) -Feature: You can now give transfer order to set up feeder systems | celestar | |
2005-06-05 | (svn r2411) - Codechange: Have trains cache stuff like consist ↵ | hackykid | |
power/weight/max speed instead of recalculating it each time. - Fix: Station ratings now depends on the max speed of a consist, without being affected by other speed limits from realistic acceleration. | |||
2005-06-02 | (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files. | Darkvater | |
2005-06-01 | (svn r2390) - Codechange: Fix some warnings on GCC 4.0.0 | hackykid | |
2005-05-30 | (svn r2387) - CodeChange: made the saveload code more readable and also ↵ | Darkvater | |
removed the 'byte' saveload arrays which means you can save an array of more than 255 elements, or bigger structs than 255 bytes. This doesn't yet solve the problem that a chunk can be a maximum of 16384 big. - Fix: also fix an unnoticed error in SlSaveLoadConv() due to wrong types. | |||
2005-05-12 | (svn r2301) - CodeChange: prettyify ChangeOwnerShipOfPlayerItems() a bit | Darkvater | |
- CodeChange: add comments to a very ugly part of the code (network_client.c); that enforces that the server gives an ID to the client. | |||
2005-05-12 | (svn r2297) - CodeChange: server-check the next batch of commands. | Darkvater | |
- CodeChange: since only the server will be able to modify difficulty settings, leave the checking of correct values besides, and trust users will join legit servers. - CodeChange: for renaming signs, only check if GetDParam(); eg _decode_parameters is empty ('\0') or not, instead of the extra check of players, etc. That basically does the same thing. Also dirty sign two times when renaming, once before, once after the action. Because if the name becomes shorter and you update only after, garbage remains on the screen. - CodeChange: made GetMaskOfTownActions() available to the town-cmd to double-check if the action was available to the player. For this purpose the hardcoded _local_player has been removed from the function and is now passed as a parameter. | |||
2005-04-16 | (svn r2211) - Fix(ish): When eternally looping in 2090 don't go increasing ↵ | Darkvater | |
the inflation anymore because it will just rise to insanely high values beyond all imagination. | |||
2005-04-06 | (svn r2155) - Fix: Company value was $2 when value more than an int32 could ↵ | Darkvater | |
handle (use max64 instead of max) | |||
2005-04-03 | (svn r2138) -Fix: [ 1144154 ] The map has two dimensions, not one | celestar | |
2005-03-25 | (svn r2065) -Fix: reverted revision 2044, because it had more negative ↵ | truelight | |
effects than positive | |||
2005-03-24 | (svn r2044) -Fix: fix that TriggerVehicle is called from the wrong user | truelight | |
2005-03-24 | (svn r2043) -Fix: committed too many files in the last commit | truelight | |
2005-03-24 | (svn r2042) -Fix: forgot to remove a printf ;) | truelight | |
2005-03-03 | (svn r1920) -Fix: no longer a station where you only unload is bad for your ↵ | truelight | |
town-rating | |||
2005-03-01 | (svn r1919) -Fix: Minimum profit of vehicles was calculated wrong for ↵ | truelight | |
Performance Rating | |||
2005-02-23 | (svn r1911) Put back an "if" i accidently removed in r1898 | tron | |
2005-02-22 | (svn r1898) Remove some unused macros from macros.h and move some others to ↵ | tron | |
more appropriate headers | |||
2005-02-06 | (svn r1813) Declare functions implemented in strings.c in their own shiny ↵ | tron | |
new header (though i think some of these function don't belong into strings.c) | |||
2005-02-06 | (svn r1812) [1117058] Use CT_WATER instead of CT_STEEL when accounting water ↵ | tron | |
which gets delivered to a town (worked because CT_STEEL and CT_WATER share the same enum number) | |||
2005-02-02 | (svn r1770) -Fix: Hopefully last pieces of code that are containing a station-id | truelight | |
(and should be an uint16, not uint8) | |||
2005-01-31 | (svn r1749) Move the functions which calculate distances to map.[ch] and ↵ | tron | |
give the more meaningful names | |||
2005-01-22 | (svn r1599) fix: autoreplace window now updates when inflation alters prices | bjarni | |
Hackykid and not LordOfThePigs pointed out the update problem fixed in rev 1597. Sorry. Sometimes development can get too fast | |||
2005-01-22 | (svn r1594) Convert all undefined parameter lists to (void) and add the ↵ | tron | |
appropriate warning flags in the Makefile | |||
2005-01-19 | (svn r1568) made an enum of train subtypes to make the code more readable | bjarni | |
2005-01-15 | (svn r1520) Trim 134 (!) lines with trailing whitespace ): | tron | |
2005-01-13 | (svn r1495) -Fix: Loan does not count against the company value | celestar | |
-Feature: New companies receive a 5-year protection period | |||
2005-01-10 | (svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped ↵ | darkvater | |
year between 1920-2090 as wel as adding defines for it. | |||
2005-01-10 | (svn r1460) -Fix: [1099225] Bug Fix - Vehicle Lists not updated at ↵ | darkvater | |
Acqusition (thx tamlin and mpetrov) This also fixes some bug but can't find i right now. | |||
2005-01-07 | (svn r1418) -Feature: [1098254] (dis)Allow Shares. Add patch options to ↵ | darkvater | |
allow buying/selling of shares (Hackykid) | |||
2005-01-06 | (svn r1407) -Codechange: changed a lot around _stations, _vehicles, _towns ↵ | truelight | |
and _industries (in prepare of dynamic arrays): - DEREF_XXX is changed into GetXXX - All direct call are directed via GetXXX - struct Industry has now an index-field - ENUM'd some stuff - Replaced home built loops with FOR_ALL_XXX - Added _stations_size, _vehicles_size, ... which gives the length of the array (which will be dynamic in the near future) - Changed lengtof(XXX) to _XXX_size (e.g. _stations_size) - Removed all endof(XXX) (because mostly it was part of a FOR_ALL_XXX) - Made the sort-functions of all 4 dynamic - Made all 4 Initialize functions more of the same - Some minor tab-fixing and stuff (tnx to Tron for proof-reading my 100kb patch ;)) Note for all: please do NOT directly call _stations, _vehicles, _towns and _industries, but use the right wrapper to access them. Thank you. Ps: please also do not use 'v++', where v is of type Vehicle *. | |||
2005-01-03 | (svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) ↵ | tron | |
instead of TILES_[XY] | |||
2004-12-30 | (svn r1301) -Codechange: _industries finally has FOR_ALL_INDUSTRIES too | truelight | |
2004-12-28 | (svn r1291) -Codechange: prepared subsidies and towns to become an uint16 ↵ | truelight | |
(happens after savegame bump) | |||
2004-12-28 | (svn r1287) -Fix: reversed 1285, because it is not the solution. This also ↵ | truelight | |
means that getting a lot of money with shares is back... :( |