Commit Graph

26096 Commits

Author SHA1 Message Date
tron
0b3cceb21d (svn r785) -Fix: A train can leave and enter the same depot at the same time, then the trai simply got stuck 2004-11-23 20:25:18 +00:00
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 ]
2004-11-23 18:04:04 +00:00
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 ;-)
2004-11-23 17:46:39 +00:00
matthijs
ca0f5ffe60 (svn r778) -Fix: [ 1064742 ]  2004-11-23 17:16:41 +00:00
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. 2004-11-22 23:05:34 +00:00
pasky
34c89d6896 (svn r772) Whoops, I know. Do not consider pointer to be a boolean value. Sorry 'bout that, sirs. 2004-11-22 22:52:01 +00:00
pasky
f012e15c95 (svn r771) Do not give a file new {struct GRFFile} if it was already loaded once. Eliminates those double entries in the newgrf manager and also some possible memory leaks. 2004-11-22 22:51:19 +00:00
miham
b2e973056a (svn r770) Daily langfile updates (automatic) 2004-11-22 22:22:03 +00:00
pasky
4beb4ae2bc (svn r769) Fixed a tiny mistake in the _userstring boundary check. Let's hope I got it right this time. 2004-11-22 21:53:19 +00:00
pasky
bf587e9aac (svn r768) In the NewGRF manager, show GRF ids as 8-digit hex numbers (that's how they are supposed to look). 2004-11-22 21:48:40 +00:00
pasky
3ee0dee12a (svn r767) Introduce USERSTRING_LEN (128) and try to make sure we don't overflow it anywhere (as long as we keep USERSTRING_LEN above 7 or so). 2004-11-22 21:41:25 +00:00
darkvater
d4b723a7c9 (svn r766) -Fix: compilation problems on windows
-There is nothing wrong with uses spacebars in the code; they are not a luxury item
-Please use standard rowsizes of 14px and less magic numbers (highlighted items drawn in white as all other windows do)
-TYPEDEF structs (this goes to pasky!!)
2004-11-22 20:49:42 +00:00
tron
d51887fbed (svn r764) Enumerate the houses only one per town can exist and use the enums instead of magic numbers to check for these 2004-11-22 18:42:03 +00:00
tron
8a3d7cce1c (svn r760) Replace some bit-juggling with bit fields 2004-11-22 11:01:30 +00:00
tron
a744e8e375 (svn r757) Repair the damage inflicted on english.txt in revision 745 2004-11-22 10:26:59 +00:00
tron
40a04816a4 (svn r756) Demystify and explain some piece of code regarding which house sprite to draw 2004-11-22 10:09:37 +00:00
miham
6d81770985 (svn r746) Daily langfile updates (automatic) 2004-11-21 23:20:11 +00:00
dominik
4e41cf9e2b (svn r745) Added newgrf GUI (in options menu)\nThe interface currently only displays the installed grf sets, you can't (de)activate them through the gui yet 2004-11-21 22:44:13 +00:00
miham
485102814f (svn r739) Daily langfile updates (automatic) 2004-11-21 15:18:41 +00:00
tron
17cfda1a98 (svn r727) The langauge files depend on english.txt, not strings.h 2004-11-21 12:21:23 +00:00
tron
7fea17457d (svn r726) The OpenTTD binary doesn't depend on the language files, so move this dependency to the all target 2004-11-21 12:18:52 +00:00
tron
2a3969695b (svn r725) Fix language file dependencies 2004-11-21 11:34:07 +00:00
tron
57adc97733 (svn r724) Remove restriction that a tile can only accept 3 cargo types.
This especially enables houses to accept passengers, mail, goods AND food.
Add string templates for up to 5 cargo types for the tile info window. If more are needed just add them.
Simplify (de-uglify) the logic for cargo acceptence for houses and split the goods/food table into two. The acceptance is unmodified, but accepting goods AND food is now trivially possible. The exact amounts have to be decided.
This is based on Celestar's changes in the map branch plus some further bits that will be merged there soon.
2004-11-21 10:49:40 +00:00
tron
75d002690a (svn r723) Increase size of dparam so more parameters can be passed to string output 2004-11-21 10:42:01 +00:00
miham
4bba1273aa (svn r721) Daily langfile updates (automatic) 2004-11-21 08:22:57 +00:00
pasky
bf6dace925 (svn r703) Attempt to improve the town growth algorithm - now it scales over 76 houses, is slightly exponential and travels further for larger towns. 2004-11-20 11:57:45 +00:00
truelight
32f69dab0e (svn r702) -Fix: Buffer overflow in music/sound/video-driver-parameter (Oskar_) 2004-11-20 11:15:31 +00:00
pasky
578bde9aae (svn r698) Merge a town growth fix from TTDPatch - in arctic and desert climate, require food (and possibly water) only if the population is more than 90, so that the town gets chance to actually accept it. (By Marcin?) 2004-11-20 02:36:10 +00:00
pasky
e1c1036648 (svn r697) Fix the town road removal crash _still_ present there. 2004-11-20 02:25:31 +00:00
pasky
5650257c0c (svn r696) Do not consider a road station as street when growing the town. 2004-11-20 01:49:42 +00:00
pasky
7a8fb5d2fd (svn r694) Make the town sometimes build streets on slopes. 2004-11-20 01:08:41 +00:00
pasky
d9096f9ea4 (svn r688) Fix eol-style (hopefully). 2004-11-19 22:59:31 +00:00
pasky
989fd10d06 (svn r687) Export InitNewGRFFile() and DecodeSpecialSprite() properly. 2004-11-19 22:53:18 +00:00
pasky
ad068622fb (svn r681) Support for VERBOSE configuration variable which shows the commands actually used for compilation. 2004-11-19 22:29:30 +00:00
pasky
0f7e48ead2 (svn r679) Clarify bp.sprite assignment in GfxMainBlitter(). Pointed out by Oskar. 2004-11-19 21:57:02 +00:00
darkvater
249438be88 (svn r677) -newgrf: Fix some custom electric trains appearing in maglev depots (pasky). 2004-11-19 19:13:32 +00:00
darkvater
d51daeab1a (svn r669) -Add missing language files to VS.NET and VS6 project files (bociusz). 2004-11-17 21:57:00 +00:00
tron
3f91aff573 (svn r668) -Fix: [ 1068269 ]
- Number of passangers and mail in exclusive test offer window is swapped
  - Wrong data caused by double index shift is displayed in exclusive test offer window
2004-11-17 21:36:04 +00:00
tron
83ffb9c7fa (svn r667) Fix bug in rendering stations from savegames
Also don't pitch custom station sprites by railtype
(pasky)
2004-11-17 21:11:16 +00:00
darkvater
258ffc1382 (svn r666) -Added missing sprite.c for VS6 project file 2004-11-17 20:30:34 +00:00
dominik
8d91459f37 (svn r665) code fixes for newgrf.c/newgrf.h 2004-11-17 20:08:13 +00:00
tron
9dd7c284f0 (svn r664) Fix warning on MorphOS 2004-11-17 19:29:24 +00:00
dominik
31184f974e (svn r663) [newgrf] sorry, forgot newgrf.h 2004-11-17 18:53:49 +00:00
dominik
4612dcdb48 (svn r662) [newgrf] Moved grfspecial.c to newgrf.c/newgrf.h 2004-11-17 18:49:55 +00:00
tron
0f24c74b14 (svn r661) Make strgen print its own revision instead of the repo's.
This also fixes the annoying unecessary language file recompiles.
2004-11-17 18:38:07 +00:00
tron
d753aeea58 (svn r660) Fix typo introduced in r655 2004-11-17 18:22:21 +00:00
tron
3a7abc2a35 (svn r659) Support for cutomized TTDPatch-style new stations (no selector GUI yet) (pasky) 2004-11-17 18:03:33 +00:00
tron
c4e9896851 (svn r658) Ignore callbackish randomized spritegroups - they would just crash us (pasky) 2004-11-17 17:15:36 +00:00
celestar
155f20329b (svn r657) Do not touch 0x8000 bit in sprite index for custom waypoints. (pasky) 2004-11-17 15:14:18 +00:00
tron
87adce3ca0 (svn r655) Add the necessary bits to make building on SunOS/Solaris work 2004-11-17 09:07:29 +00:00