Commit Graph

541 Commits (d036559e0ed75f6357e129f2d78808240519fc78)
 

Author SHA1 Message Date
tron d036559e0e (svn r924) Use RailVehInfo() instead of &_rail_vehicle_info[] 20 years ago
tron aa183e35d8 (svn r923) Forgot s/rail_vehinfo/RailVehInfo/ 20 years ago
tron 56dd31f33b (svn r920) Replace vehicle info macros with inline functions and add asserts to check limits 20 years ago
tron 5149373467 (svn r909) Small cleanup in vehicle.c, this should fix some warnings on 64bit machines 20 years ago
tron c00258237e (svn r907) Sprinkle holy ANSI water:
- "inline" must before the return type (and after "static")
- Initialise all struct members, not just some of them
- Remove (one) spurious semicolon
20 years ago
miham b7f0b278fb (svn r906) Daily langfile updates (automatic) 20 years ago
tron fdb447ac55 (svn r901) Small step in the process to clean up the DPARAM mess:
- 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
20 years ago
miham 2c88f958ed (svn r880) Daily langfile updates (automatic) 20 years ago
bjarni a317cbdc09 (svn r877) Moved bemidi.cpp correctly this time 20 years ago
bjarni 5a458590b8 (svn r876) reverted the accidently cleared bemidi.cpp 20 years ago
bjarni e9b49ebf8e (svn r870) BeOS: made the move of bemidi.cpp properly (I hope) 20 years ago
bjarni c925f452e7 (svn r869) Mac: finally made asserts open the console, so people should be able to see what went wrong even if they opened the game in the GUI
deleted the wrongly moved bemidi.cpp
20 years ago
bjarni 2fc6077a68 (svn r862) Cygwin: libdetection now sets the flags properly if no Makefile.config is found
Cygwin: workaround: libpng is automatically not used even if present until the Cygwin/libpng problem is solved
20 years ago
miham ec7586dac3 (svn r857) Daily langfile updates (automatic) 20 years ago
Bjarni 00d6b3609f (svn r856) Makefile: added the flags CYGWIN and MINGW to libdetection. They were missing in the autodetected makefile.config 20 years ago
bjarni a580b4c21e (svn r855) BeOS: moved bemidi to os/beos/ (w-ber) 20 years ago
darkvater ccd731a2ce (svn r854) -Fix [1070274] Invisible trains. Weird macros and MSVC optimizing don't always mix. (Tron) 20 years ago
tron d701668f50 (svn r853) -Feature: Implement improved vehicle loading algorithm
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!
20 years ago
miham 5733ad3e32 (svn r852) Daily langfile updates (automatic) 20 years ago
tron 29cec910fc (svn r850) Adjust the other language files according to revision 844 20 years ago
tron 9be1dadb04 (svn r847) Add the station type icons to strgen: {TRAIN}, {LORRY}, {BUS}, {PLANE} and {SHIP} 20 years ago
tron d542f5624a (svn r844) Fix some typos ([ 1074329 ]) and use a bigger font in the detailed performance rating window 20 years ago
tron 6b9a744b2d (svn r843) Remove redundant variable assignments and function calls 20 years ago
tron 12d6d679b0 (svn r842) -Fix: [ 985925 ] Start/stop flag in train depots always works, regardless of the horizontal scroll position 20 years ago
pasky 97c533eb9c (svn r831) Remove station-specific roadbits magic. Tron already fixed road stations so that they don't give out roadbits in r780. 20 years ago
pasky 0554031514 (svn r830) Move the MP_STATION roadbits guard to GetTownRoadBitsByTile() wrapper of GetRoadBitsByTile(). This should really and for once fix the road-behind-road-station bug. 20 years ago
tron 908adfc191 (svn r829) Fix small glitch: Immediately redraw the tile selection square when using the hotkey to toggle removal 20 years ago
pasky 08e16d966a (svn r828) Everyone welcome table/sprites.h in trunk - so far not in use 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. 20 years ago
tron daa599c135 (svn r827) Dye bridge ramps in the matching colours compared to the rest of the bridge
This fix was created by Celestar
20 years ago
tron 1c86acd8ba (svn r826) Seperate all bridge related tables from tunnel_land.h into their own file 20 years ago
tron 7b8bf96c2b (svn r822) Use a struct instead of pairs of bytes for the string colormap.
While here give the string colormap a more canonical name.
20 years ago
dominik d801ca16a3 (svn r819) Code cleanup: colors for langfile strings are now taken from a color table instead of a sprite 20 years ago
miham a295166754 (svn r818) Daily langfile updates (automatic) 20 years ago
tron acbd1801c7 (svn r815) Include strings.h only in the files which need it.
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.
20 years ago
miham 908d2471ec (svn r814) Daily langfile updates (automatic) 20 years ago
tron b07357373f (svn r813) Push two tables from vehicle_gui.h into vehicle_gui.c - they were in the binary 48 (!) times.
While here change the type for one table from uint16 to StringID.
20 years ago
tron e35a0b1c44 (svn r803) Switch to ISO 8859-15
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.
20 years ago
darkvater 669368cf21 (svn r802) -add latvian to VS.net Project (bociusz) 20 years ago
dominik 372340b731 (svn r801) - re-enabled background highlighting in Newgrf GUI
- minor Newgrf GUI fixes and adjustments
20 years ago
tron 3ef3f05288 (svn r800) Check if the data tables for houses have the correct number of elements via compile time asserts 20 years ago
tron fca55e3741 (svn r793) Merge INLINE -> inline replacement (revision 376) 20 years ago
tron 0ea87b6473 (svn r792) Small cleanup: Kill a goto 20 years ago
bjarni aceb89fb7d (svn r788) added a latvian translation (currently contains 0 strings) 20 years ago
tron e8537f5512 (svn r787) Invert the sense of the DO_TRANS_BUILDINGS flag to be consistent with its own name and all other DO_* flags.
Now it is active-true.
20 years ago
miham 06158be674 (svn r786) Daily langfile updates (automatic) 20 years ago
tron 0b3cceb21d (svn r785) -Fix: A train can leave and enter the same depot at the same time, then the trai simply got stuck 20 years ago
tron c5b0ecac4f (svn r780) Always report a bus/lorry station as unpassable.
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 ]
20 years ago
matthijs a3cb5499bf (svn r779) Reverting last commit, svn didn't cancel the commit like I was meaning to tell it.
Tron will commit the real bugfix we were working on in a minute (I hope ;-)
20 years ago
matthijs ca0f5ffe60 (svn r778) -Fix: [ 1064742 ]  20 years ago
pasky 2214a9df5c (svn r773) When refitting a train engine, refit also all the attached wagons 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. 20 years ago