summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-12-03(svn r920) Replace vehicle info macros with inline functions and add asserts ↵tron
to check limits
2004-12-03(svn r909) Small cleanup in vehicle.c, this should fix some warnings on ↵tron
64bit machines
2004-12-03(svn r907) Sprinkle holy ANSI water:tron
- "inline" must before the return type (and after "static") - Initialise all struct members, not just some of them - Remove (one) spurious semicolon
2004-12-03(svn r906) Daily langfile updates (automatic)miham
2004-12-02(svn r901) Small step in the process to clean up the DPARAM mess:tron
- reduce to 2 sizes (*DParam64 for 64bit values, *DParam for the rest) - use inline functions instead of macros - add assert()s to check for buffer overruns
2004-12-01(svn r880) Daily langfile updates (automatic)miham
2004-12-01(svn r877) Moved bemidi.cpp correctly this timebjarni
2004-12-01(svn r876) reverted the accidently cleared bemidi.cppbjarni
2004-12-01(svn r870) BeOS: made the move of bemidi.cpp properly (I hope)bjarni
2004-12-01(svn r869) Mac: finally made asserts open the console, so people should be ↵bjarni
able to see what went wrong even if they opened the game in the GUI deleted the wrongly moved bemidi.cpp
2004-12-01(svn r862) Cygwin: libdetection now sets the flags properly if no ↵bjarni
Makefile.config is found Cygwin: workaround: libpng is automatically not used even if present until the Cygwin/libpng problem is solved
2004-11-29(svn r857) Daily langfile updates (automatic)miham
2004-11-29(svn r856) Makefile: added the flags CYGWIN and MINGW to libdetection. They ↵Bjarni
were missing in the autodetected makefile.config
2004-11-29(svn r855) BeOS: moved bemidi to os/beos/ (w-ber)bjarni
2004-11-29(svn r854) -Fix [1070274] Invisible trains. Weird macros and MSVC optimizing ↵darkvater
don't always mix. (Tron)
2004-11-29(svn r853) -Feature: Implement improved vehicle loading algorithmtron
It's not FIFO loading, but does the right thing in the common case: If a vehicle is empty and another vehicle is already loading the same cargo at this station then the vehicle waits. This is an reworked version of [ 1072211 ] submitted by Hackykid, thanks!
2004-11-28(svn r852) Daily langfile updates (automatic)miham
2004-11-28(svn r850) Adjust the other language files according to revision 844tron
2004-11-28(svn r847) Add the station type icons to strgen: {TRAIN}, {LORRY}, {BUS}, ↵tron
{PLANE} and {SHIP}
2004-11-28(svn r844) Fix some typos ([ 1074329 ]) and use a bigger font in the ↵tron
detailed performance rating window
2004-11-27(svn r843) Remove redundant variable assignments and function callstron
2004-11-27(svn r842) -Fix: [ 985925 ] Start/stop flag in train depots always works, ↵tron
regardless of the horizontal scroll position
2004-11-26(svn r831) Remove station-specific roadbits magic. Tron already fixed road ↵pasky
stations so that they don't give out roadbits in r780.
2004-11-26(svn r830) Move the MP_STATION roadbits guard to GetTownRoadBitsByTile() ↵pasky
wrapper of GetRoadBitsByTile(). This should really and for once fix the road-behind-road-station bug.
2004-11-26(svn r829) Fix small glitch: Immediately redraw the tile selection square ↵tron
when using the hotkey to toggle removal
2004-11-26(svn r828) Everyone welcome table/sprites.h in trunk - so far not in use ↵pasky
besides enum AnimCursors migrated from viewport.h and tiny fragment of enum Sprites migrated from ttd.h (we should slowly convert trunk to use the symbolic names instead of sprite numbers too to reduce the delta to map). Ported from the map branch, where the work was done by Darkvater, Celestar and Tron.
2004-11-26(svn r827) Dye bridge ramps in the matching colours compared to the rest of ↵tron
the bridge This fix was created by Celestar
2004-11-26(svn r826) Seperate all bridge related tables from tunnel_land.h into their ↵tron
own file
2004-11-26(svn r822) Use a struct instead of pairs of bytes for the string colormap.tron
While here give the string colormap a more canonical name.
2004-11-26(svn r819) Code cleanup: colors for langfile strings are now taken from a ↵dominik
color table instead of a sprite
2004-11-26(svn r818) Daily langfile updates (automatic)miham
2004-11-25(svn r815) Include strings.h only in the files which need it.tron
This should reduce the compile time after altering english.txt by about 1/3, because "only" 62 instead of 90 .c files must be recompiled.
2004-11-25(svn r814) Daily langfile updates (automatic)miham
2004-11-25(svn r813) Push two tables from vehicle_gui.h into vehicle_gui.c - they were ↵tron
in the binary 48 (!) times. While here change the type for one table from uint16 to StringID.
2004-11-24(svn r803) Switch to ISO 8859-15tron
It has proper support for the euro sign and includes letters which are needed by the Latvian translation (and perhaps others), though the letter sprites are missing.
2004-11-24(svn r802) -add latvian to VS.net Project (bociusz)darkvater
2004-11-24(svn r801) - re-enabled background highlighting in Newgrf GUIdominik
- minor Newgrf GUI fixes and adjustments
2004-11-24(svn r800) Check if the data tables for houses have the correct number of ↵tron
elements via compile time asserts
2004-11-24(svn r793) Merge INLINE -> inline replacement (revision 376)tron
2004-11-24(svn r792) Small cleanup: Kill a gototron
2004-11-24(svn r788) added a latvian translation (currently contains 0 strings)bjarni
2004-11-23(svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent ↵tron
with its own name and all other DO_* flags. Now it is active-true.
2004-11-23(svn r786) Daily langfile updates (automatic)miham
2004-11-23(svn r785) -Fix: A train can leave and enter the same depot at the same ↵tron
time, then the trai simply got stuck
2004-11-23(svn r780) Always report a bus/lorry station as unpassable.tron
The current behavior just causes bugs and the pathfinder does the necessary magic to handle stations as destinations and enter them anyway. This fixes [ 1058809 ]
2004-11-23(svn r779) Reverting last commit, svn didn't cancel the commit like I was ↵matthijs
meaning to tell it. Tron will commit the real bugfix we were working on in a minute (I hope ;-)
2004-11-23(svn r778) -Fix: [ 1064742 ] matthijs
2004-11-22(svn r773) When refitting a train engine, refit also all the attached wagons ↵pasky
which can be refitted (applicable to DBSetXL, as shown in http://pasky.or.cz/~pasky/dev/openttd/screenshots/wagrefit.png). This is how TTDPatch does it, pointed out by Bjarni.
2004-11-22(svn r772) Whoops, I know. Do not consider pointer to be a boolean value. ↵pasky
Sorry 'bout that, sirs.
2004-11-22(svn r771) Do not give a file new {struct GRFFile} if it was already loaded ↵pasky
once. Eliminates those double entries in the newgrf manager and also some possible memory leaks.