Commit Graph

2411 Commits

Author SHA1 Message Date
tron
2ae758a32b (svn r2780) Remove some more unused strings and make the use of a few strings more explicit 2005-08-01 13:01:14 +00:00
bjarni
265404bb13 (svn r2779) -Fix: [clone vehicles] fixed typos, which could lead to crashes when cloning refitted trains (chrishuebsch) 2005-08-01 12:55:21 +00:00
tron
f0382bfeb9 (svn r2778) Improvement of the german translation, thanks to Wolf for some suggestions 2005-08-01 12:51:50 +00:00
tron
398301c7df (svn r2777) -Feature: When starting without a config file determine the language on basis of the current locale 2005-08-01 01:12:21 +00:00
tron
d9d4e59438 (svn r2776) Remove removed file from the MSVC project file (: 2005-08-01 00:17:11 +00:00
tron
984a4c68d6 (svn r2775) Deleting a file can fail, display an error message when it happens 2005-08-01 00:14:22 +00:00
celestar
5352ad4582 (svn r2774) -Codechange: Removed TRACKTYPE_SPRITE_PITCH globally and replaced it by a member of RailtypeInfo 2005-07-31 22:53:57 +00:00
tron
2189786003 (svn r2773) Revert accidently commited changes 2005-07-31 22:30:54 +00:00
tron
0ab62e7498 (svn r2772) Simplify the age notice in the vehicle details window 2005-07-31 22:28:49 +00:00
miham
8d4f77e45d (svn r2771) [Translations] Latvian status changed back to unfinished due to 1341 missing strings 2005-07-31 21:20:35 +00:00
tron
aeb40f5ac3 (svn r2770) Remove untranslated/corrupt strings from some languages 2005-07-31 21:08:31 +00:00
miham
ee811d48b5 (svn r2769) [Translations] Updated to 2005-07-31 (7 langs) 2005-07-31 20:36:35 +00:00
tron
531adce1d3 (svn r2768) Remove 29 (hopefully) unused string 2005-07-31 17:26:32 +00:00
truelight
0e377dc212 (svn r2767) -Fix: fixed potential mem-leak 2005-07-31 17:18:43 +00:00
tron
06ec749425 (svn r2766) Remove string and make use of the plural feature 2005-07-31 16:15:37 +00:00
orudge
e982a24344 (svn r2765) - Update MSVC6 and Watcom projects with strgen/stdafx.c removal 2005-07-31 13:23:43 +00:00
bjarni
059ae19626 (svn r2764) -Feature: Clone vehicles
-This allows a player to clone an excisting vehicle of his own
  -[fix]: this uncovered an excisting bug in CmdBuildRailVehicle() where depots could build trains of the wrong track type. This is fixed
  -Thanks to Celestar for drawing the sprites and _luca_ for including them in openttd.grf
2005-07-31 13:08:08 +00:00
tron
3f424aa673 (svn r2763) Small cleanup and improve a few comments 2005-07-30 18:30:07 +00:00
tron
f589bbb1c3 (svn r2762) Simplify a loop, remove an unused variable and add many consts 2005-07-30 18:04:49 +00:00
miham
8030e8429a (svn r2761) [Translators] Updated translations to 20050730 (1 lang(s)) 2005-07-30 17:45:29 +00:00
tron
3c916a2dfe (svn r2760) Remove stale comments, long unused stuff and simplify some checks 2005-07-30 16:29:23 +00:00
tron
17b5b58136 (svn r2759) Remove unused #includes and files 2005-07-30 15:25:49 +00:00
tron
2f1d530bb5 (svn r2758) Add the AB() macro to add a value to a bit range and use it in a few places, also make use of GB and SB nearby 2005-07-30 09:29:20 +00:00
tron
c7ddb6f824 (svn r2757) Remove unused enum 2005-07-30 08:15:15 +00:00
ludde
b8c9194b7c (svn r2756) Renamed railtypes into _railtypes
Renamed railtypes.c into railtypes.h, all other tables are in .h files. (It should be in the tables dir but I couldn't figure out how to get it there without deleting it first).
Added const and extern.
2005-07-29 22:13:04 +00:00
ludde
228d439c5c (svn r2755) Fix: Fix a desync issue with autoreplace 2005-07-29 21:55:49 +00:00
tron
e91cb150a4 (svn r2754) Move str_fmt into string.[ch] 2005-07-29 21:52:20 +00:00
celestar
f287f2ff8d (svn r2753) -Codechange: Introduced a new struct "RailtypeInfo" to store rail type specific information. Begun populating it with a bunch of sprites, more to come later. This should result in cleaner, more compact code which allows easy introduction of new railtypes. 2005-07-29 21:36:02 +00:00
celestar
a855a54686 (svn r2752) -Doc: Added some doxygen stuff to rail.h. I'm gonna mess around with this file and wanted to get rid of this first 2005-07-29 19:35:23 +00:00
celestar
a74063be09 (svn r2751) -Fix: Disabled buttons in the patches and difficulty windows are now rendered properly again 2005-07-29 18:26:53 +00:00
tron
0dcbecd357 (svn r2750) -Fix: Tree tiles above the snow line got redrawn disproportionately often 2005-07-29 18:22:04 +00:00
tron
0d912f3811 (svn r2749) Fix typo in the tile documentation 2005-07-29 17:52:29 +00:00
tron
452f8fee2a (svn r2748) Remove unused cruft from the main loop 2005-07-29 16:40:29 +00:00
celestar
d2a891db7e (svn r2747) -Fix: r2736 broke the newpaper display. Sorry. 2005-07-29 15:55:14 +00:00
tron
a7acb22781 (svn r2746) -Fix: SDL_SetColors() has the number of palette entries to change as parameter, not one beyond the last entry to change 2005-07-29 10:16:49 +00:00
bjarni
6488c2cba0 (svn r2745) -Fix: [OSX] removed the assert window introduced in 2741 from strgen
- it appeared to cause problems and strgen don't need a GUI
  - renamed ottd to openttd in the app menu (Tobin)
2005-07-29 09:45:25 +00:00
tron
7f3ed35dd4 (svn r2742) Get rid of some void pointers plus a few minor changes, like 0 -> '\0' 2005-07-29 06:20:28 +00:00
bjarni
7e25cd6240 (svn r2741) -Feature: [OSX] added a window to display asserts on OSX (Tobin) 2005-07-28 21:47:41 +00:00
tron
c8f83b74ad (svn r2740) MSCV doesn't seem to like forward declared static arrays 2005-07-28 19:59:41 +00:00
tron
ae44d3aa1f (svn r2739) -Fix(?): Change the fence algorithm so it removes fences when no farm tile is adjacent 2005-07-28 19:23:19 +00:00
tron
0e64dc50b6 (svn r2738) Small bit fiddling cleanup 2005-07-28 19:18:27 +00:00
tron
bc6570ae69 (svn r2737) static, const and don't make variables public nobody else needs to know about 2005-07-28 09:41:09 +00:00
celestar
fcd012e7ec (svn r2736) -Codechange: De-mystified GfxDrawFillRect a bit, and used enums 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-28 09:17:32 +00:00
bjarni
41795423cf (svn r2735) -Fix: [OSX] fixed issue introduced in 2733 where dedicated servers on OSX included sdl.h even when WITH_SDL was not defined (oops) 2005-07-28 09:01:41 +00:00
celestar
3af8aba978 (svn r2734) -Feature: The Main Toolbar Dropdown Menu can now display disabled items 2005-07-28 08:49:29 +00:00
bjarni
2f2775323f (svn r2733) -Fix: [OSX] solved include issue introduced in 2714, which prevented OSX from opening a window to run the game in (sdl.h was not included anymore) 2005-07-28 08:45:57 +00:00
celestar
1e67dfffe7 (svn r2732) -Codechange: Cleaned the order flags some more. Hit some inconsistencies while trying to locate bug 1244167 2005-07-28 06:09:15 +00:00
celestar
692b226bb6 (svn r2731) -Fix [ 1244171 ]: Hangar orders are now properly invalidated as soon as the airport is removed 2005-07-28 05:47:54 +00:00
tron
25f72e40cc (svn r2730) -Fix: Fail if the sequencer can't play audio
Also check the return value of CreateThread()
2005-07-27 21:45:34 +00:00
tron
1c0a9636bc (svn r2729) Fix #include 2005-07-27 20:08:52 +00:00