Commit Graph

280 Commits (9cfb89cf240c74b3d31e801daabbe91b042c241b)

Author SHA1 Message Date
miham 7c0df5c836 (svn r1870) Added new language: lithuanian 20 years ago
miham ab57ad1f3d (svn r1864) Automatic langfile updates 20 years ago
bjarni b0042740a6 (svn r1851) - Language: added Frisian translation (no strings have been translated yet) 20 years ago
miham 491063c9a1 (svn r1807) Langfile updates (20050205) 20 years ago
miham eb21ec63a3 (svn r1759) Daily/Weekly/Monthly langfile updates 20 years ago
matthijs eb78cdb2d4 (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().
20 years ago
tron 001aa8e453 (svn r1722) -Feature: Bigger maps - anyone? 20 years ago
celestar 3c82a2b3c7 (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.
20 years ago
Celestar 0a531338e9 (svn r1693) -Fix: [ 1108618 ] A wrong error message was displayed when trying to
expand railroad stations beyond maximum spread
20 years ago
miham 08727614fc (svn r1678) Added cheat option for setting production of raw-material product industries in game 20 years ago
dominik dfd0276d3a (svn r1646) Miscellaneous langfile fixes, in particular for STR_NETWORK_SERVER_ADDRESS, broken by myself in r1611 20 years ago
miham c1db3ea675 (svn r1630) Langfile update 20 years ago
dominik c857bfa12a (svn r1611) Display server port in the multiplayer game info window
I had to make the multiplayer window 10 pixels wider for this
20 years ago
dominik bb34830bee (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.
20 years ago
celestar 07a10a51a7 (svn r1581) Added a display for the total map population to the town display (Jango) 20 years ago
dominik 274b4f01ee (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.
20 years ago
miham 05d0c2ce89 (svn r1555) Daily (err.. this time it's rather weekly, sorry!) langfile updates 20 years ago
dominik 8493f68c96 (svn r1543) Fix: [ 1101906 ] Configure Patches window text overflow 20 years ago
darkvater 0fc9b656e2 (svn r1538) -Feature: [988816] Disable servicing when breakdowns set to none (jaguar7) 20 years ago
darkvater 8bec09737f (svn r1531) -Feature: [1039061] Swiss town-names (vulvulune) 20 years ago
darkvater cd4272e08d (svn r1518) -Fix: server issue where some company names were wrong
-Fix: Highscore troubles; accessing members of deleted window
20 years ago
darkvater 0961c6af96 (svn r1515) -Removed the 'close ALL windows' from the toolbar since shift+del does this. 20 years ago
miham 0c75fe0948 (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
20 years ago
celestar cd2779dc67 (svn r1500) -Feature: Train window shows now the number of vehicles per row (mpetrov) 20 years ago
celestar 18643f2a2f (svn r1499) -Fix: Order tooltip now explains the ctrl+click scroll. [1101412 / 1097043] (mpetrov) 20 years ago
darkvater 84adfdf8c8 (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.
20 years ago
celestar 9a287d932d (svn r1495) -Fix: Loan does not count against the company value
-Feature: New companies receive a 5-year protection period
20 years ago
darkvater 199a77d1ea (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.
20 years ago
truelight 0cfc15a475 (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
20 years ago
miham 25470edddd (svn r1439) Daily langfile updates [except latvian for non-iso8859-1 chars] (semi-automatic)
The last patch (norwegian townnames was from Simen Graaten
20 years ago
miham 34dee18a2c (svn r1438) Added norwegian townnames 20 years ago
darkvater c2b59b2089 (svn r1418) -Feature: [1098254] (dis)Allow Shares. Add patch options to allow buying/selling of shares (Hackykid) 20 years ago
bjarni 3845670c78 (svn r1405) Added half done Estonian translation (indrek) 20 years ago
miham a08f926fe6 (svn r1403) Daily langfile updates (semi-automatic) [505 missing strings] 20 years ago
dominik 0a37e6202b (svn r1385) Fix: [ 1095020 ] When all stations in an aircraft's order list are demolished, the plane eventually crashes (running out of fuel) 20 years ago
darkvater fc52b512aa (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. 20 years ago
bjarni 578d34cfe0 (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
20 years ago
truelight 3b7d2a8b67 (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
20 years ago
darkvater 83342a0bcb (svn r1341) -Fix: fix WWT_FRAME drawing when there is no text there (STR_NULL)
-Copyright notice is now 2002-2005 for all languages
20 years ago
darkvater d02bdb0768 (svn r1340) -Feature: scrolling credits list...finally! Hope nobody gets offended if I forgot them. 20 years ago
dominik 4c5c4d23f3 (svn r1335) Removed wrongly renamed STR_TOWNNAME_ADDITIONAL_ENGLISH from all language files 20 years ago
darkvater 37bf3bf4cf (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.
20 years ago
bjarni 5da75918c0 (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()
20 years ago
truelight 5eeab7fcfe (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'.
20 years ago
truelight db6e1bbb88 (svn r1314) -Fix: Population numbers is no longer negative for 32k+ towns 20 years ago
truelight c748f6db57 (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
20 years ago
truelight d32bfd8adb (svn r1307) -Fix/feature: rewrote the townname generation code. Code is much more
readable now. 'American' is replaces by 'Additional English' (Jango)
20 years ago
miham 62146b0f3b (svn r1303) Daily langfile update (automatic) 20 years ago
miham f576a873d6 (svn r1294) Daily langfile updates (automatic) 20 years ago
miham 2b5ffc7208 (svn r1293) Fixed the bug in translator 20 years ago
truelight fe16ef6637 (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
20 years ago
miham 4ca82299f4 (svn r1277) Daily langfile updates (automatic) 20 years ago
miham 5e50988ff3 (svn r1273) Daily langfile updates (automatic) 20 years ago
bjarni b3d2b586a8 (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
20 years ago
darkvater 194ecb5193 (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! 20 years ago
bjarni b8771f511e (svn r1261) Removed the English strings from danish.txt 20 years ago
dominik 1fa1a391dc (svn r1255) Renamed "postfix" to "suffix", for strings and variable names 20 years ago
darkvater 007895ae1a (svn r1241) -To get empty password, '*' is not needed in the gui; forgot to remove it from the tooltip...it's late already. 20 years ago
darkvater 552cb7ad60 (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
20 years ago
miham e04e8f53c3 (svn r1235) Daily langfile updates (automatic) 20 years ago
dominik 675a44b67f (svn r1233) Fixed several currency issues. Now currencies should work correctly again. 20 years ago
truelight 457720ff95 (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
20 years ago
dominik 13eba00152 (svn r1222) Currency cleanup. Changed some currency symbols according to forum suggestions (thx ChrisCF) and rearranged the currencies alphabetically (except for the major ones). 20 years ago
dominik 38b8b7848f (svn r1215) Feature: You can now make a custom currency by chosing "Custom..." 20 years ago
darkvater 4e38703e8c (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")
20 years ago
miham 6e1353ed98 (svn r1210) Daily langfile updates (automatic) 20 years ago
truelight 6b047f7b14 (svn r1204) -Add: [Network] Added some cheaters-protection (money-cheat mostly) 20 years ago
miham 93f29c16c3 (svn r1195) Daily langfile updates (automatic) 20 years ago
miham 6146ed8493 (svn r1181) Daily langfile updates (automatic) 20 years ago
dominik 5611e85dac (svn r1179) Fix: Tooltips for vehicle list sorting
This has gotta be the greatest kick for Moriarty!
20 years ago
tron 7a82b777bf (svn r1177) Enable non-stop flag for waypoints 20 years ago
truelight 182eb874e8 (svn r1174) -Fix: [Network] All strings can now be translated (no more hardcoded strings) 20 years ago
miham d2ce151957 (svn r1143) Daily langfile updates (automatic) 20 years ago
darkvater 302893f0da (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.
20 years ago
miham 3dd310b7a0 (svn r1114) Daily langfile updates (automatic) 20 years ago
truelight 9954819ff2 (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)
20 years ago
darkvater 1cf4b33f61 (svn r1111) -Fix: Some language file fixes. Added a space in 'company information' and fixed most not-same-format as english.txt problems. Some are remaining because they need translations. 20 years ago
truelight 2f6a26ab2d (svn r1108) -Fix: [Network] Fixed problem around slow clients:
They joined, they got the map, but it took some time before the new 
player was created. In this time a player could do stuff, causing a 
player-id-mismatch, and the player was kicked out. Now a player get's a 
nice GUI which says: registering.. When that is gone, the player is 
joined and can play safely. Tnx to Moriarty for bugging me with this bug ;)
20 years ago
miham 60ad02c341 (svn r1094) Daily langfile updates (automatic) 20 years ago
miham af2f6830d0 (svn r1089) Daily langfile updates (automatic) 20 years ago
dominik a733a469b5 (svn r1088) Strings cleanup. Renamed some strings to reflect their content. 20 years ago
dominik 967425b368 (svn r1082) Feature: Chat toolbar
- to chat with all players press Return (or Shift-T) and type in the message
- Press Return again to send the message
20 years ago
miham a63b2f3061 (svn r1081) Daily langfile updates (automatic) 20 years ago
miham 5a2c5fed09 (svn r1075) Daily langfile updates (automatic) 20 years ago
truelight 0f83be4d5b (svn r1052) -Fix: [Network] You can't join a server when revision mismatches. 20 years ago
miham 39bd7590af (svn r1036) Daily langfile updates (automatic) 20 years ago
dominik bbd3ec33d0 (svn r1030) Some toolbar icons are arranged differently:
- Landscaping buttons have to be accessed from the landscaping toolbar
 - Landscaping toolbar can be opened from all other toolbars
 - The order of buttons in the docks toolbar now matches the other toolbars
 - Landscaping toolbar has new keyboard shortcuts
20 years ago
tron f3f91f392d (svn r1027) Add tooltips to the per-station vehicle list buttons 20 years ago
miham 2dd36c2012 (svn r1013) Daily langfile updates (automatic) 20 years ago
tron 13e8d01dcb (svn r1009) -Feature: per-station vehicle lists
This adds a little button per vehicle class to the station window which opens a list of all vehicles that have this station on their schedule.
As side effect this gets rid of some global variables.
20 years ago
miham 0d51e4b5a5 (svn r1006) Daily langfile updates (automatic) 20 years ago
bjarni f87fc583d4 (svn r986) Norwegian translation update (Johannes) 20 years ago
bjarni b043d3e567 (svn r980) Fixed issues where MorphOS would get problems if AmigaOS would get a port, since MorphOS also have the flag __AMIGA__ defined (Tokai) 20 years ago
Celestar 945ceb06fc (svn r979) Allow more realistically sized catchment areas 20 years ago
miham bb9854c893 (svn r977) Daily langfile updates (automatic) 20 years ago
miham cd591136a6 (svn r953) Daily langfile updates (automatic) 20 years ago
miham edb26fb40e (svn r950) Daily langfile updates (automatic) 20 years ago
truelight d6a1f3e412 (svn r942) -Merged branch/network back into the trunk 20 years ago
miham 9a900c0f30 (svn r906) Daily langfile updates (automatic) 20 years ago
miham 0f5793ffa0 (svn r880) Daily langfile updates (automatic) 20 years ago