Commit Graph

304 Commits

Author SHA1 Message Date
Darkvater 68138d6a31 (svn r2162) - Fix: Tooltips of horizontal scrollbars were wrong; they now say left/right instead of up/down 2005-04-07 01:02:15 +00:00
miham 7f941818a8 (svn r2158) [Translations] Updated translations (72 strs/2 langs) 2005-04-06 20:20:31 +00:00
miham 4aa7cf8e9f (svn r2151) [Translations] Updated translations (36 strs/2 langs) 2005-04-05 20:52:55 +00:00
miham 8153a56aa4 (svn r2150) [Translations] Updated translations (14 strs/10 langs) 2005-04-04 21:25:15 +00:00
miham b2c7543204 (svn r2145) [Translations] Updated translations (174 strs/6 langs)
[Translations] Also switched to two spaces instead of tabs (Darkvater requested)
2005-04-03 20:44:14 +00:00
Darkvater f35b59aded (svn r2136) - Fix: [ 1174313 ] terrain hotkeys nonfunctional in scenario editor (D,Q,W,E,R,T,Y,U fltr)
- Fix: 'L' no longer opens ingame terraform bar in scenario editor bar, but the land generator one
- Feature: [ 1095110 ] Create Lake and draggable Create Desert tools (initial implementation GoneWacko), also added sticky buttons to land generator and town generator
- CodeChange: moved around some of the draggable tools, demystifying them
- CodeChange: change CmdBuildCanal to allow for XANDY dragging not only X or Y (only scenario editor)
- CodeChange: add some more enums to sprites.
- TODO: merge most of the ingame and scenario editor land terraform code. This can only be done after OnClickButton function is changed so it also includes the backreference to the widget being clicked, postponed to after 0.4.0
2005-04-02 23:05:09 +00:00
miham 3bfda758db (svn r2135) [Translations] Updated translations (142 strings to 4 languages) 2005-04-02 22:37:24 +00:00
pasky 8d09a1ae87 (svn r2129) Reverted r2125 and depending revisions (map size selector in the intro window). Will be done in a separate dialog. This also fixes showing of various rail/road-related strings. 2005-04-02 16:40:21 +00:00
pasky f053bbb4f4 (svn r2125) - Feature: In the intro dialog, show a map size selector below the landscape type selector. 2005-04-02 15:03:48 +00:00
miham 1d0e0b22e4 (svn r2120) [Translations] Updated translations (166 strings to 6 languages) 2005-04-02 07:19:03 +00:00
miham 043ac73b19 (svn r2117) [Translations] Introduce lithuanian translation as finished 2005-04-01 20:10:20 +00:00
miham ada6f0be8b (svn r2116) [Translations] Updated translations 2005-04-01 20:03:48 +00:00
truelight e416fe8066 (svn r2079) -Add: signlist, shows all signs in the map. Clicking on them, and you go
to the sign. Very needed for coop. You can find it under World Map.
2005-03-26 21:22:29 +00:00
miham 16a3bc35c0 (svn r2050) Weekly langfile updates 2005-03-24 18:48:20 +00:00
miham d2ae7dd186 (svn r2027) Fixed a typo in the brazilian-portuguese language name 2005-03-19 22:11:21 +00:00
miham d6b8375504 (svn r2026) Moved brasilian_portuguese to finished languages 2005-03-19 22:04:59 +00:00
miham b3b6eafe1d (svn r2025) Daily langfile changes - 05/03/19 2005-03-19 22:04:36 +00:00
miham e12bb5504a (svn r2023) Added brazilian-portuguese translation [yet unfinished] 2005-03-19 12:24:51 +00:00
miham 42cd07a2e2 (svn r2016) Langfile updates 2005-03-15 19:26:46 +00:00
miham 8064254eaf (svn r1985) Automatic langfile updates 2005-03-10 16:09:51 +00:00
miham e25dd2c2c3 (svn r1913) Weekly langfile update 2005-02-24 22:37:35 +00:00
celestar fe6f9e9a65 (svn r1881) -Fix: [ 1119308 ] Max passengers / mail variables are now 32 bit 2005-02-17 10:56:19 +00:00
miham 7678a937e4 (svn r1880) [Codechange] Added isocodes to langfiles and support code to strgen (Lauri Nurmi) 2005-02-17 07:49:31 +00:00
miham 9e847075fa (svn r1871) Daily langfile updates #2. 2005-02-13 12:33:57 +00:00
miham fac25561bc (svn r1870) Added new language: lithuanian 2005-02-13 11:55:35 +00:00
miham ac6857ee28 (svn r1864) Automatic langfile updates 2005-02-13 07:44:32 +00:00
bjarni 297223cc21 (svn r1851) - Language: added Frisian translation (no strings have been translated yet) 2005-02-08 18:07:27 +00:00
miham 4d62bbf857 (svn r1807) Langfile updates (20050205) 2005-02-05 22:25:07 +00:00
miham cf5dd15213 (svn r1759) Daily/Weekly/Monthly langfile updates 2005-02-01 09:36:07 +00:00
matthijs a2dec6c32a (svn r1751) - Feature: New PathFinder (NPF).
- Supports trains, road vehicles and ships.
	- Uses A* pathfinding (same codebase as the new ai).
	- Currently unlimited search depth, so might perform badly on large maps/networks (especially ships).
	- Will always find a route if there is one.
	- Allows custom penalties for obstacles to be set in openttd.cfg (npf_ values).
	- With NPF enabled, ships can have orders that are very far apart. Be careful, this will break (ships get lost) when the old pathfinder is used again.
- Feature: Disabling 90 degree turns for trains and ships.
	- Requires NPF to be enabled.
	- Ships and trains can no longer make weird 90 degree turns on tile borders.
- Codechange: Removed table/directions.h.
	- table/directions.h contained ugly static tables but was included more than once. The tables, along with a few new ones are in npf.[ch] now. Better suggestions for a location?
- Fix: Binary heap in queue.c did not allocate enough space, resulting in a segfault.
- Codechange: Rewritten FindFirstBit2x64, added KillFirstBit2x64.
- Codechange: Introduced constant INVALID_TILE, to replace the usage of 0 as an invalid tile. Also replaces TILE_WRAPPED.
- Codechange: Moved TileAddWrap() to map.[ch] 
- Add TileIndexDiffCByDir(), TileIndexDiffCByDir(). 
- Codechange: Moved IsTrainStationTile() to station.h
- Add: IsRoadStationTile() and GetRoadStationDir().
2005-01-31 11:23:10 +00:00
tron 3a89108a55 (svn r1722) -Feature: Bigger maps - anyone? 2005-01-29 19:45:14 +00:00
celestar 752b3f0dd6 (svn r1721) -Feature: It is now possible to build multiple road stations (up to 8) on
a single station.
Thanks to: Truelight for the saveload code, Darkvater and Hackykid for
network testing and Tron for proof-reading 1500 lines of diff.
2005-01-29 19:41:44 +00:00
Celestar 1fd8c45c55 (svn r1693) -Fix: [ 1108618 ] A wrong error message was displayed when trying to
expand railroad stations beyond maximum spread
2005-01-27 09:43:24 +00:00
miham 7874c86cb2 (svn r1678) Added cheat option for setting production of raw-material product industries in game 2005-01-26 10:52:23 +00:00
dominik aad7995648 (svn r1646) Miscellaneous langfile fixes, in particular for STR_NETWORK_SERVER_ADDRESS, broken by myself in r1611 2005-01-24 20:42:02 +00:00
miham 6912223444 (svn r1630) Langfile update 2005-01-23 22:39:34 +00:00
dominik 7d0468aaa4 (svn r1611) Display server port in the multiplayer game info window
I had to make the multiplayer window 10 pixels wider for this
2005-01-23 13:19:15 +00:00
dominik 6027e777c8 (svn r1598) Feature: Message history now is stickyable and resizeable
The news messages are now precisely cropped according to pixel width to fit optimal into the window.
Introduced a new date format: DATE_TINY, which is ISOish.
2005-01-22 23:13:20 +00:00
celestar 962dd27a8c (svn r1581) Added a display for the total map population to the town display (Jango) 2005-01-21 16:51:25 +00:00
dominik ef93fcfe48 (svn r1579) Fix: [ 1105963 ] Buoys can now only be removed if no ship has it in their schedule.
This makes buoys more useable in multiplayer games again, as buoys can't be deleted by other players if they are used.
2005-01-20 22:19:34 +00:00
miham 4559279686 (svn r1555) Daily (err.. this time it's rather weekly, sorry!) langfile updates 2005-01-17 22:44:33 +00:00
dominik be5a832db3 (svn r1543) Fix: [ 1101906 ] Configure Patches window text overflow 2005-01-16 14:10:13 +00:00
darkvater 37f56fa324 (svn r1538) -Feature: [988816] Disable servicing when breakdowns set to none (jaguar7) 2005-01-16 12:29:52 +00:00
darkvater 6e07bad728 (svn r1531) -Feature: [1039061] Swiss town-names (vulvulune) 2005-01-15 21:41:49 +00:00
darkvater f9b5f704b1 (svn r1518) -Fix: server issue where some company names were wrong
-Fix: Highscore troubles; accessing members of deleted window
2005-01-15 01:52:23 +00:00
darkvater c3a40dba68 (svn r1515) -Removed the 'close ALL windows' from the toolbar since shift+del does this. 2005-01-15 00:42:01 +00:00
miham 9e10458209 (svn r1503) Added feature:
o allows users to setup the production values of the rawmaterial producing 
  industries in the editor

Modified:
o ttd.h - added CT_INVALID for 0xFF cargo type
o english.txt - added 1 string
o industry_gui.c - the feature itself
o window.h - added compile asserts to the structs which checks whether their
  sizes are smaller than WINDOW_CUSTOM_SIZE

Thanks:
o Darkvater to bother me to constantly improve the patch
o Various users at #openttd for testing
2005-01-14 00:14:13 +00:00
celestar 7dddb6cf7a (svn r1500) -Feature: Train window shows now the number of vehicles per row (mpetrov) 2005-01-13 17:23:24 +00:00
celestar 237732d0a1 (svn r1499) -Fix: Order tooltip now explains the ctrl+click scroll. [1101412 / 1097043] (mpetrov) 2005-01-13 17:06:10 +00:00
darkvater 06cc62f40d (svn r1496) -Fix: highscore no longer crashes in network games with a dedicated server. At the end of the game (can only be set by the server) the highscore is shown for the top5 companies of that game
-Fix: fixed some compiler warnings
-Added PF_NETWORK_ONLY flag to settings. Such a setting can only be modified in a network game.
2005-01-13 16:28:47 +00:00
celestar 0074496ea4 (svn r1495) -Fix: Loan does not count against the company value
-Feature: New companies receive a 5-year protection period
2005-01-13 09:55:32 +00:00
darkvater 5fac6142e8 (svn r1479) -Added highscore chart (accessible from the difficulty window) with top5 companies for a given difficulty (select the difficulty in the menu)
-Added endgame score on 1 jan 2051 where you are added to the highscore if sufficiently large points have been accumulated. Game is paused while
-These values are saved in hs.dat; added read/write functions for it
-Added code to delete all windows to show charts. There is one issue left: somehow a news-gui pops up in front of the the chart at the end of the game.
2005-01-11 00:54:06 +00:00
truelight 9853d4e0d4 (svn r1444) -Fix: fixed weight for double-head trains (and with that the acceleration)
(now maglev lvl4 can reach their top speed, and are faster than lvl3) 
(Tnx to Darkvater :))
-Fix: Buy Vehicle GUI now shows HPs bigger than 32000 correctly
2005-01-09 14:45:19 +00:00
miham 13dda25334 (svn r1439) Daily langfile updates [except latvian for non-iso8859-1 chars] (semi-automatic)
The last patch (norwegian townnames was from Simen Graaten
2005-01-09 01:11:01 +00:00
miham 0f339f3a6b (svn r1438) Added norwegian townnames 2005-01-09 00:17:01 +00:00
darkvater 116789022c (svn r1418) -Feature: [1098254] (dis)Allow Shares. Add patch options to allow buying/selling of shares (Hackykid) 2005-01-07 23:59:59 +00:00
bjarni a4111363c0 (svn r1405) Added half done Estonian translation (indrek) 2005-01-06 19:40:44 +00:00
miham 57aebadb15 (svn r1403) Daily langfile updates (semi-automatic) [505 missing strings] 2005-01-06 18:49:51 +00:00
dominik 2543158c8e (svn r1385) Fix: [ 1095020 ] When all stations in an aircraft's order list are demolished, the plane eventually crashes (running out of fuel) 2005-01-05 13:15:27 +00:00
darkvater 6edb21231e (svn r1375) -Fix: [1050990] Buying trains sometimes accounted for incorrectly. Was the result of the cost getting reset in a recursive call of docommand. That is fixed. In addition all cost-commands are typed explicitely. Please do not forget to do so or your costs will be credited to construction if you are unlucky. 2005-01-04 17:11:03 +00:00
bjarni e0c4e144b9 (svn r1350) Replace Vehicle GUI:
- Replaced "WP(w,replaceveh_d).line_height" with 
"w->resize.step_height" since they needed to be the same anyway
- Cleaned the code a litte for readability (like correct tabbing)
- Added company color to replace vehicle windows to make them look like 
the rest of the vehicle windows and made the caption text white (also to 
fit the standard)

 --This line, and those below, will be ignored--

M    vehicle_gui.c
M    lang/english.txt
M    window.h
2005-01-03 20:52:09 +00:00
truelight a94fe04a9a (svn r1348) -Feature: resizable windows. Read the comment in window.h to find out
how the system works. All useful windows are already made resizable. Enjoy :)
-Fix: fixed some GUI-glitches and flaws along the way
2005-01-03 19:45:18 +00:00
darkvater 3ee8697bbf (svn r1341) -Fix: fix WWT_FRAME drawing when there is no text there (STR_NULL)
-Copyright notice is now 2002-2005 for all languages
2005-01-03 17:55:25 +00:00
darkvater ca1b3a80ae (svn r1340) -Feature: scrolling credits list...finally! Hope nobody gets offended if I forgot them. 2005-01-03 16:45:42 +00:00
dominik 288c52b688 (svn r1335) Removed wrongly renamed STR_TOWNNAME_ADDITIONAL_ENGLISH from all language files 2005-01-03 12:03:24 +00:00
darkvater ae336f146d (svn r1327) -Fix: made resource file version independent for windows
-Fix: language file inconsistencies...please update all other language files as well when you rename a string name and do nothing else.
2005-01-03 00:42:43 +00:00
bjarni 29d8c5bb50 (svn r1323) Adding autoreplace feature
This feature works much like autorenew, but it will get you a new engine type instead of a new one of the same type. Once 
ordered, it will automatically replace the engines while they visits a depot. The GUI for setting this up have been added on the 
vehicle overview windows
Note: autorenew is now autoreplace, but to the same engine type
Nice new features, that was added to make this possible
- windows can now have two independant vertical scrollbars
- CMD_SHOW_NO_ERROR have been added as a flag for DoCommandP. It will make it do the action instead of showing the red box with 
estimated costs even if shift is pressed
- fixed problem where enginetypes where not initialized when loading a game. It's now done in InitializeGame()
2005-01-02 17:23:04 +00:00
truelight a11f46fed4 (svn r1322) -Add: banning system (mostly tnx to guru3)
A server can ban people via ClientList
  Both server and dedicated can do it via console:
   'ban', 'unban', 'banlist'.
2005-01-02 12:03:43 +00:00
truelight 36333076d5 (svn r1314) -Fix: Population numbers is no longer negative for 32k+ towns 2004-12-31 19:09:03 +00:00
truelight 92ac503b74 (svn r1312) -Add: Patch which is on by default: population in label of the town
-Fix: Expand town is a bit more agressive
-Fix: Fixed a bug in growing algorithm
2004-12-31 18:57:24 +00:00
truelight d76ecbba7c (svn r1307) -Fix/feature: rewrote the townname generation code. Code is much more
readable now. 'American' is replaces by 'Additional English' (Jango)
2004-12-31 14:43:47 +00:00
miham 6c1e2989b1 (svn r1303) Daily langfile update (automatic) 2004-12-31 09:47:09 +00:00
miham e24c0ec9df (svn r1294) Daily langfile updates (automatic) 2004-12-28 22:46:09 +00:00
miham 37a18c858f (svn r1293) Fixed the bug in translator 2004-12-28 22:36:46 +00:00
truelight 1f4c1e8821 (svn r1281) -Fix: the OS/2 is now finished. Fixes:
- Networking
  - File selector issue
  - Keyboard input
  - Dedicated server console issue (use dedicated.cmd to open a server)
  - Plus many other minor issues
2004-12-27 10:40:04 +00:00
miham c575939ef4 (svn r1277) Daily langfile updates (automatic) 2004-12-25 17:08:56 +00:00
miham 4972ba9a78 (svn r1273) Daily langfile updates (automatic) 2004-12-24 00:24:13 +00:00
bjarni 7d18544b04 (svn r1270) Updated all languages so they are ready to be released
moved russian, turkish and latvian 'translations' to lang/unfinished so we do not release 'translations' with nearly no translated strings
2004-12-23 23:53:13 +00:00
darkvater 1e8cfa10bf (svn r1267) -Fix: fix the wrong language file postfix strings...if you do such a change in english.txt, please also update the other language as well too! 2004-12-23 22:45:24 +00:00
bjarni c330e4203e (svn r1261) Removed the English strings from danish.txt 2004-12-23 19:50:01 +00:00
dominik 58c153b9ac (svn r1255) Renamed "postfix" to "suffix", for strings and variable names 2004-12-23 18:28:13 +00:00
darkvater 3a98db672b (svn r1241) -To get empty password, '*' is not needed in the gui; forgot to remove it from the tooltip...it's late already. 2004-12-23 00:33:44 +00:00
darkvater c4836bbd70 (svn r1239) -Feature: Added gui option of setting company password. It can be found in the 'company information' window
-Spiced up 'set company_pw' a bit, where if no pw is typed, it shows the current one.
-Added a space between company name and player; looks better
2004-12-22 23:24:53 +00:00
miham 64e153fc34 (svn r1235) Daily langfile updates (automatic) 2004-12-22 21:09:45 +00:00
dominik e297eada07 (svn r1233) Fixed several currency issues. Now currencies should work correctly again. 2004-12-22 19:48:27 +00:00
truelight 90b2b2144b (svn r1227) -Add: Ingame Server-list (select Internet, then Find Servers)
-Fix: UDPListener was launched wrongly
-Fix: Not all sockets have broadcast enabled anymore
-Fix: Server-advertise retries 3 times before giving up
2004-12-22 18:42:56 +00:00
dominik b7f71b026d (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones). 2004-12-22 16:54:55 +00:00
dominik 4f4fa940d8 (svn r1215) Feature: You can now make a custom currency by chosing "Custom..." 2004-12-22 13:19:26 +00:00
darkvater 46af99b8c0 (svn r1214) -Feature: Stickified Industries (list & window), Smallmaps (all three), Stations (list & window) and Towns (list & window). I hope I didn't forget to update a widget somewhere :O
-Feature: With the sticky windows on and some unfortunate resizing of your game it the 'close' button might go outside of the playing field, making it impossible to close. Added an option to the Options menu that closes all windows, even if they are stickified ("Close ALL windows")
2004-12-22 01:32:30 +00:00
miham 9a0c994fa8 (svn r1210) Daily langfile updates (automatic) 2004-12-21 22:53:55 +00:00
truelight 19e3842615 (svn r1204) -Add: [Network] Added some cheaters-protection (money-cheat mostly) 2004-12-21 17:31:10 +00:00
miham 97865f03f6 (svn r1195) Daily langfile updates (automatic) 2004-12-21 14:35:19 +00:00
miham 5caca8d64e (svn r1181) Daily langfile updates (automatic) 2004-12-20 12:38:33 +00:00
dominik 110b410af4 (svn r1179) Fix: Tooltips for vehicle list sorting
This has gotta be the greatest kick for Moriarty!
2004-12-19 22:23:32 +00:00
tron 7182b2508d (svn r1177) Enable non-stop flag for waypoints 2004-12-19 21:03:16 +00:00
truelight db16262698 (svn r1174) -Fix: [Network] All strings can now be translated (no more hardcoded strings) 2004-12-19 15:14:55 +00:00
miham 52685ad50c (svn r1143) Daily langfile updates (automatic) 2004-12-17 04:42:55 +00:00
darkvater 83981e40b5 (svn r1121) -Feature: Added sticky windows feature. A small pin allows the user to set the window as undeletable and can only be closed by hand. As an example the viewport window has been stickied (thanks to Neko-San)
-To use the feature add WDF_STICKY_BUTTON to the widget description and update all widget-ID's since sticky button will be widget 2.
2004-12-15 23:33:04 +00:00
miham 37192a99a6 (svn r1114) Daily langfile updates (automatic) 2004-12-15 21:54:13 +00:00
truelight 5f51b42c99 (svn r1113) -Add: [Network] Added the GUI part for server advertising. When you go
to Start Server, you can select by connection: 'Internet (advertise)'. 
When selected, the server will announce itself to the server-list at 
http://servers.openttd.org (when finished)
2004-12-15 21:54:07 +00:00