1
0
Fork 0

Commit Graph

  • 051181f9c2 (svn r6870) - Codechange: (re-)unify the code to retrieve the sprite group for a vehicle. peter1138 2006-10-21 14:53:57 +0000
  • 165d65a7d0 (svn r6867) WebTranslator2 update to 2006-10-21 15:42:20 estonian - 15 fixed, 263 changed by kristjans (278) miham 2006-10-21 13:42:47 +0000
  • 225879b726 (svn r6865) WebTranslator2 update to 2006-10-21 09:47:34 brazilian_portuguese - 1 fixed by tucalipe (1) bulgarian - 49 fixed by kokobongo (49) catalan - 2 changed by arnaullv (2) czech - 12 changed by Hadez (12) estonian - 6 fixed, 323 changed by t2t2 (2), kristjans (327) french - 1 changed by glx (1) galician - 11 fixed by Condex (11) german - 1 fixed by Neonox (1) turkish - 12 fixed by jnmbk (12) miham 2006-10-21 07:49:22 +0000
  • df8b06dec6 (svn r6858) - Fix (r6855): Handle rail vehicles with no capacity (N/A) by setting cargo type to CT_INVALID and handling it later. STR_8838_N_A is not a valid cargo type... peter1138 2006-10-20 19:48:25 +0000
  • 6d2c7b4fdf (svn r6857) - Fix (r6855): Update all languages with {STRING} -> {CARGO} change peter1138 2006-10-20 14:31:35 +0000
  • 8411b3b9fe (svn r6855) - Codechange: When displaying a "quantity of cargo" string, use the {CARGO} command and supply the cargo type and quantity, instead of manually looking up the cargo type's string. peter1138 2006-10-20 11:53:29 +0000
  • 5b72dd22e8 (svn r6854) -Codechange: Use DrawSringCentered instead of DrawStringMultiCenter for simple strings if maximum width is set to zero anywyas. Darkvater 2006-10-20 10:48:46 +0000
  • dd8bd7be0e (svn r6838) - Fix (r6836): MS VC complains beecause it doesn't understand consts... (or I don't...) peter1138 2006-10-19 12:21:35 +0000
  • 45fa2a12fd (svn r6837) - Codechange: More const SpriteGroups missed in r6836 peter1138 2006-10-19 10:40:21 +0000
  • 81d41b8d57 (svn r6836) - Codechange: constify SpriteGroup references. These used to be non-const when we kept a reference count, which we don't do anymore. peter1138 2006-10-19 10:20:36 +0000
  • fde4bf4cca (svn r6835) - Fix: Pressing ^D (EOF) at a dedicated console caused it to repeat the last command, instead of doing nothing. peter1138 2006-10-19 09:39:29 +0000
  • 7c99e38c60 (svn r6828) -Fix: Properly fix r6842 Darkvater 2006-10-18 21:38:45 +0000
  • b1fb27dc2e (svn r6827) -Fix r6824: removed warning glx 2006-10-18 21:33:59 +0000
  • 6b55f4cf07 (svn r6825) -Codechange: Remove two globals from chat-window Darkvater 2006-10-18 21:19:04 +0000
  • b944a133cb (svn r6824) -Feature: Change the functionality of the chat window. SHIFT+ENTER (SHIFT+T) sends a message to all players, CTRL+ENTER (CTRL+T) sends a message to all team mates and ENTER (T) sends a message to teammates if you have any, otherwise to all players. The chat-window now also shows what kind of message is being sent. Shortcut functionality has not been changed (ENTER sends message, ESC closes window) Darkvater 2006-10-18 21:07:36 +0000
  • 034f5abc4b (svn r6823) - Codechange: Ignore bit 0 of a NewStation custom tile callback result. This fixes cosmetic problems with some add on stations. peter1138 2006-10-18 17:44:46 +0000
  • f730a2864f (svn r6822) -Fix r6821: add type for measure_strings_length[] glx 2006-10-18 14:42:19 +0000
  • 2d48fd2861 (svn r6821) -Codechange: For the measurement tool do not show the tooltip when the selection is only a single tile. Seems this was a bit annoying to some ;) Darkvater 2006-10-18 14:20:10 +0000
  • 68314cf576 (svn r6820) -Codechange: Some more const correctness, coding style. -Codechange: Add FOR_ALL_ACTIVE_CLIENT_INFOS macro that will loop all clients skipping inactive ones. Darkvater 2006-10-18 13:17:46 +0000
  • ccc1ad52d9 (svn r6819) WebTranslator2 update to 2006-10-18 12:54:18 bulgarian - 47 fixed, 1 changed by groupsky (48) danish - 1 fixed by ThomasA (1) italian - 1 fixed by sidew (1) slovak - 1 fixed by lengyel (1) miham 2006-10-18 10:57:32 +0000
  • d6a2203f06 (svn r6817) -Fix: set svn:eol-style for vs80 files glx 2006-10-18 00:10:38 +0000
  • e97d801d92 (svn r6816) -Codechange: Some coding style, variable localization, const correctness. -Codechange: 'quited' is not a word, use has_quit instead for NetworkClientState Darkvater 2006-10-17 23:34:12 +0000
  • 7cdf6f0aff (svn r6815) WebTranslator2 update to 2006-10-18 00:20:47 czech - 3 changed by KUDr (3) miham 2006-10-17 22:21:13 +0000
  • fbc724c6cb (svn r6814) -Codechange: For network games ci->client_playas was always p->index + 1. To correctly handle this ci->client_playas - 1 was used all over the code making it pretty confusing at times. Use proper one-on-one values now. Special handling is only needed for user-output to not to confuse users. Darkvater 2006-10-17 22:16:46 +0000
  • 821df34b6e (svn r6811) WebTranslator2 update to 2006-10-17 22:35:27 american - 1 fixed by WhiteRabbit (1) bulgarian - 50 fixed, 1 changed by kokobongo (51) czech - 30 fixed by KUDr (30) estonian - 5 fixed by vermon (5) finnish - 1 fixed by kerba (1) miham 2006-10-17 20:36:03 +0000
  • 0a19febcc2 (svn r6807) WebTranslator2 update to 2006-10-17 21:11:51 bulgarian - 20 fixed, 1 deleted by kokobongo (21) dutch - 1 fixed by webfreakz (1) hungarian - 2 fixed by miham (2) polish - 1 fixed by meush (1) spanish - 1 fixed by eusebio (1) swedish - 2 fixed, 5 changed by cjw (7) miham 2006-10-17 19:12:30 +0000
  • 7fe56f2132 (svn r6806) WebTranslator2 update to 2006-10-17 20:36:04 catalan - 1 fixed, 9 changed by arnaullv (10) danish - 13 changed by ThomasA (13) finnish - 5 fixed, 8 changed by hapo (13) french - 1 fixed, 6 changed by belugas (6), glx (1) swedish - 5 fixed by daishan (5) miham 2006-10-17 18:36:39 +0000
  • 5ecd5eb4f4 (svn r6804) -Codechange: Remove the unused NF_NOEXPIRE flag. Darkvater 2006-10-17 18:15:35 +0000
  • fba7d2f7f3 (svn r6803) -Codechange: Substitute magic numbers by an enum for the news windows Darkvater 2006-10-17 17:59:41 +0000
  • ec9e59b4fc (svn r6802) - Fix (r6800): Remove now unused 'lost train' strings from all language files. peter1138 2006-10-17 17:17:51 +0000
  • c88f7b0138 (svn r6801) - Fix (r6619): Always disable the train refit button. It will be enabled later if refitting is possible. peter1138 2006-10-17 17:10:39 +0000
  • c758f7d812 (svn r6800) -Feature change: [train is lost] message is now generated immediately when pathfinder can't find the path. (thanks MeusH, peter1138 and Brianetta for ideas and help). KUDr 2006-10-17 16:16:19 +0000
  • da63942041 (svn r6795) - NewGRF: Add support for cargo-specific wagon overrides. peter1138 2006-10-17 14:52:55 +0000
  • 8072c6fe17 (svn r6794) - Fix: In the train detail window, split up articulated parts if they can contain cargo. This allows us to show the full cargo contents. peter1138 2006-10-17 07:33:05 +0000
  • ed9ddfaba1 (svn r6793) -Fix(5464): When checking items on an array, make sure to respect boundaries(jez). Made some comments code style compliant belugas 2006-10-17 03:39:30 +0000
  • abc14c950a (svn r6792) -Cleanup: improved the English used in STR_VEH_WITH_SHARED_ORDERS_LIST_TIP (jez) The meaning should remain the same and there is no need to retranslate this string bjarni 2006-10-16 21:30:08 +0000
  • c2736007e5 (svn r6791) -Fix: [YAPF] YapfFindNearestRailDepotTwoWay() did not work for train inside tunnel. KUDr 2006-10-16 19:17:30 +0000
  • 3fafc6c82b (svn r6790) WebTranslator2 update to 2006-10-16 13:46:16 catalan - 3 changed by arnaullv (3) danish - 6 fixed, 61 changed by ThomasA (67) italian - 5 fixed by sidew (5) miham 2006-10-16 11:46:47 +0000
  • cd337672ba (svn r6789) - Codechange: Tidy up VehicleNameSorter() to use no global vars, and match the style of EngineNameSorter(). This also removes a bug where _internal_name_sorter_id was never set properly for anything other than trains. peter1138 2006-10-16 10:29:29 +0000
  • afb45b6f29 (svn r6788) - Codechange: Add and use a function to test if a string ID is a custom name. peter1138 2006-10-16 10:26:22 +0000
  • d5baf25923 (svn r6787) -Codechange: Use PLAYER_NEW_COMPANY as a player identifier wishing to become a new player instead of a 0. Darkvater 2006-10-15 23:48:34 +0000
  • 7cac86186e (svn r6786) -Codechange: To join a new company CMD_PLAYER_CTRL is executed with so far a local spectator (awaiting assignment from server). Since a spectator cannot execute any commands, a local player is impersonated. Move this impersonation to the server side where CMD_PLAYER_CTRL is handled specially anyways. Darkvater 2006-10-15 23:42:18 +0000
  • 085a6b497f (svn r6785) -Cleanup: Remove unused _network_playas from NetworkAddServer. This function only adds favourite servers to the list, does nothing with regards to connection Darkvater 2006-10-15 23:37:15 +0000
  • fea1f59f11 (svn r6784) -Codechange: Change invalid PlayerID type into ClientID which it is in CmdPlayerCtrl Darkvater 2006-10-15 23:35:26 +0000
  • 4bb6587f40 (svn r6783) -Codechange: Allow ParseConnectionString to allow players with more than one digit Darkvater 2006-10-15 23:31:22 +0000
  • a01ae2bafe (svn r6782) - Fix (r3947): Invalidate depot & vehicle windows when reversing a single engine with ctrl-click. peter1138 2006-10-15 20:46:10 +0000
  • 4c1423fc38 (svn r6781) - Fix (r5926): Some house introduction dates were incorrectly adjusted in the move to 32bit dates. peter1138 2006-10-15 19:01:40 +0000
  • b2110cbaed (svn r6780) -Codechange: Remove GPMI leftovers (-b impersonisation of AI in MP). Darkvater 2006-10-15 17:01:19 +0000
  • 5a1ee9e02b (svn r6779) -Fix r6631: waypoint selector now correctly shows the current selected waypoint type (thx Maedhros) glx 2006-10-15 16:56:58 +0000
  • 678b44d976 (svn r6778) WebTranslator2 update to 2006-10-15 15:27:37 brazilian_portuguese - 1 changed by tucalipe (1) catalan - 15 changed by arnaullv (15) estonian - 6 fixed by vermon (6) german - 4 fixed by Neonox (4) polish - 5 fixed, 2 changed by meush (7) portuguese - 7 fixed by izhirahider (7) spanish - 5 fixed by eusebio (5) miham 2006-10-15 13:28:20 +0000
  • c22b610c52 (svn r6777) -GuiChange: When painting a lowered button on CargoPaymentsRates, displace the content of one pixel to the right and to the bottom. This will make it look like a normal button belugas 2006-10-15 03:40:53 +0000
  • 6b6d908308 (svn r6776) -Codechange: Use IsValidPlayer() function to determine of a PlayerID is an actual playable player (< MAX_PLAYERS) or not. Darkvater 2006-10-14 22:31:18 +0000
  • 9732c129c1 (svn r6775) -Codechange: Use some more proper types, especially Owner and PlayerID as these are used intermixed often. Darkvater 2006-10-14 22:22:48 +0000
  • dad5d5dd72 (svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPECTATOR and put it into player.h where it belongs (instead of map.h) Darkvater 2006-10-14 15:49:43 +0000
  • abb0fa7bc5 (svn r6773) -eh...I had to test it didn't i, just forgot to save Darkvater 2006-10-14 15:44:28 +0000
  • 975442040d (svn r6772) -Codechange: Do not abuse OWNER_SPECTATOR as the "owner" of the industry for the minimap. This also saves us from having this huge _owner_colors table. Darkvater 2006-10-14 15:43:37 +0000
  • 2dcdeb985d (svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and IS_INTERACTIVE_PLAYER Darkvater 2006-10-14 15:15:56 +0000
  • 91ac1fa186 (svn r6770) -Codechange: Make the airport checking a bit stricter...fix unnoticed errors: Commuter (20): invalid use of terminal group designator; since all other options goto position 2 and no additional blocks are checked, simplify state Intercontinental (23, 30): no extra states are needed since all options go to position 70 and 31 unconditionally Intercontinental (31): invalid use of more-options-to-follow (255) Darkvater 2006-10-14 10:26:13 +0000
  • 4dff87dc32 (svn r6769) -Codechange: Minor syntax, const correctness, variable localization, coding style changes to airport code, and cleanup of airport.c. Should not change any functionality. Darkvater 2006-10-14 09:51:04 +0000
  • 9c508259a9 (svn r6768) -Cleanup: For airports change *Airport to *apc (variable naming coding style conformance (AirportFTAClass), *FA to *apFA (to better reflect its type AirportFTAbuildup), and ->next_in_chain into ->next. Darkvater 2006-10-13 23:08:55 +0000
  • c84ffc2f1f (svn r6767) WebTranslator2 update to 2006-10-13 19:54:10 american - 5 fixed by WhiteRabbit (5) brazilian_portuguese - 5 fixed, 8 changed by tucalipe (13) bulgarian - 136 fixed, 12 changed by groupsky (148) dutch - 5 fixed by habell (5) french - 5 fixed by belugas (5) slovak - 5 fixed by lengyel (5) miham 2006-10-13 17:55:56 +0000
  • 1436bbbc84 (svn r6766) -Codechange: Move _openttd_revision[] into the functions that use it instead of global Darkvater 2006-10-13 15:52:22 +0000
  • 35b059210d (svn r6765) - Fix: Don't add up running cost of articulated engine parts. peter1138 2006-10-13 15:15:22 +0000
  • 22774d093c (svn r6764) -Fix (r6758): Wrong height difference calculated because invalid drag-type was passed to the function. Thanks peter1138. Darkvater 2006-10-12 22:11:18 +0000
  • a78db943e1 (svn r6761) WebTranslator2 update to 2006-10-12 18:11:37 catalan - 5 fixed, 15 changed by arnaullv (20) hungarian - 5 fixed by miham (5) miham 2006-10-12 16:12:06 +0000
  • 2b7a0a8dac (svn r6760) -Codechange: Do a case insensitive sort of train engine names and just normally check a boolean; no special magic needed Darkvater 2006-10-12 15:39:33 +0000
  • 841afe5c50 (svn r6759) -Codechange: Remove the brainheaded usage of STR_JUST_STRING to pass a StringID Darkvater 2006-10-12 15:38:37 +0000
  • 0ae642b914 (svn r6758) -Feature: Add a measurement tool that will show dimensions and height differences of various draggable tools (inspiration, concept and double checking by MeusH). Darkvater 2006-10-12 15:13:40 +0000
  • f1f6e4df27 (svn r6757) -Fix (r6754): Remove double function declerations from functions.h..Gaah local copy mess.... Darkvater 2006-10-12 15:06:59 +0000
  • d9a1578cf4 (svn r6756) - Fix: When resolving vehicle groups, only fall back to the default group if the group chosen is undefined, not if it returns a bad result. This fixes some issues with UKRS. peter1138 2006-10-12 15:05:25 +0000
  • fd3fd176e5 (svn r6755) - Fix: Pass the newly created vehicle when checking for articulated engines. As this could result in more parts being added than previously counted, we check to see if we need to allocate more vehicles as we add parts. peter1138 2006-10-12 15:03:19 +0000
  • cad526ef36 (svn r6754) -Codechange: Remove some #idef ENABLE_NETWORK specific defines. With networking disabled hardcode _networking/_network_available to zero and let the compiler handle all optimizations. Darkvater 2006-10-12 14:59:27 +0000
  • 15bf48acfd (svn r6753) -Codechange: Move some function declerations from functions.h into network.h and let NetworkDisconnect handle all shutdown related operations. Darkvater 2006-10-12 14:48:36 +0000
  • 110fc94cb5 (svn r6752) -Codechange: Move command functions from messy functions.h into command.h Darkvater 2006-10-12 14:42:00 +0000
  • fa43887003 (svn r6751) -Fix: Add option to enable/disable network support. Default is on Darkvater 2006-10-12 14:31:42 +0000
  • d983d93732 (svn r6750) -Codechange: Juggle around some header includes as they're only used when networking is enabled. Darkvater 2006-10-12 14:13:39 +0000
  • e78f6b7b73 (svn r6749) WebTranslator2 update to 2006-10-12 15:46:08 brazilian_portuguese - 15 fixed by tucalipe (15) bulgarian - 2 changed by groupsky (2) catalan - 2 changed by arnaullv (2) finnish - 22 changed by kerba (22) german - 7 fixed by Neonox (7) slovak - 9 fixed by lengyel (9) miham 2006-10-12 13:46:45 +0000
  • 23197f4c69 (svn r6748) -Codechange: Use already existing function to count active players. Darkvater 2006-10-12 11:42:57 +0000
  • f389bd25ae (svn r6747) -Revert wrongly committed english strings. Darkvater 2006-10-12 11:30:16 +0000
  • 4bfb4430ce (svn r6746) -Codechange: Remove the need for double strings in "checkmarked" items. While here have a little go at the MenuWndProc() function for a little cleanup. Darkvater 2006-10-12 11:27:37 +0000
  • 5c9fb10a3b (svn r6745) -Codechange: Have the dropdown menus fall fully inside the top toolbar. So normally they will start at the left side of the parent button except when they would stick out, then align with the top toolbar's right side. This also means the extra parameter 'x' is not needed, it is deducted from the widget position. Darkvater 2006-10-12 10:52:24 +0000
  • e66059f6c7 (svn r6744) -Fix: Determine the length of the main toolbar dropdown list based on the length of the strings in that list. Darkvater 2006-10-12 10:43:14 +0000
  • 7147c83bcc (svn r6743) -Fix (r6462): When determining string length for GetStringBoundingBox SETX and SETXY parameters were wrongly accounted for. The identifier itself was taken not the amount. Darkvater 2006-10-12 10:14:45 +0000
  • 5df31095f7 (svn r6742) - Newsounds: Add support for importing sounds from previously loaded GRF files. peter1138 2006-10-12 07:42:37 +0000
  • 2ba8bf37b9 (svn r6741) - Codechange: Simplify and unify resolving of station groups, and use the first available cargo type instead of only the default. peter1138 2006-10-11 22:05:59 +0000
  • d6c21e4d71 (svn r6740) -Fix: if a rail is not available, don't show toolbar even with hotkey 'A' Darkvater 2006-10-11 22:04:46 +0000
  • e262669eb6 (svn r6739) -Fix (r6001): Crash on removing farmland belonging to a farm. The search would loop around the edges causing some troubles. Also make sure that the land after farm removal is not barren but 2/3rd grass. Better suited. Darkvater 2006-10-11 21:20:53 +0000
  • 1926d97888 (svn r6738) - Fix (r2441): Only apply the virtual transfer profit if the order is a transfer order, rather than to any unload order. This fixes an issue where the AI doesn't know that a route is unprofitable. peter1138 2006-10-11 18:57:02 +0000
  • 75fe56eff0 (svn r6737) - Codechange: Sort train engines by their NewGRF specified list position instead of plain EngineID. This brings us back the custom order that was lost when generalized sorting was introduced. peter1138 2006-10-11 18:44:02 +0000
  • 8d2bf45123 (svn r6736) - Add a function to get the list position of an engine ID, for use with sorting. This is basically a reversed version of GetRailVehAtPosition() peter1138 2006-10-11 18:35:40 +0000
  • 0ad5dbfdb9 (svn r6735) - Codestyle: Just some tidying up... peter1138 2006-10-11 17:28:31 +0000
  • a89da56acd (svn r6734) WebTranslator2 update to 2006-10-11 19:25:04 catalan - 12 changed by arnaullv (12) estonian - 13 fixed by vermon (13) finnish - 179 fixed, 13 changed by kerba (192) miham 2006-10-11 17:25:36 +0000
  • 49f5be42b4 (svn r6733) WebTranslator2 update to 2006-10-11 11:15:30 catalan - 17 changed by arnaullv (17) galician - 11 fixed, 7 changed by Condex (18) greek - 1 deleted, 1 changed by gonik (2) polish - 1 changed by meush (1) turkish - 6 fixed by jnmbk (6) miham 2006-10-11 09:16:05 +0000
  • 7c73dacea1 (svn r6730) Fix: Make Build HQ and Relocate HQ buttons of Player window behave as normal placement buttons, and not as push buttons. belugas 2006-10-11 00:48:55 +0000
  • eef1d4de7a (svn r6729) -Fix r6707: [build aircraft window] solved a crash when using a grf set with a buildable helicopter with a lower EngineID than the first buildable plane Also removed a lot of const cast as they mess up the code and didn't help much bjarni 2006-10-10 20:11:48 +0000
  • 9cf0fa3238 (svn r6728) -Fix r6651: solved issue where moving rail vehicles in a depot could read from a NULL pointer bjarni 2006-10-10 17:53:08 +0000
  • 5b0183ce70 (svn r6727) -Fix r6619: don't disable inexistant widget glx 2006-10-10 17:19:21 +0000
  • 8d5033ee25 (svn r6726) -Codechange: [vehicle build window] cleaned up the name sorter (mainly by peter1138) Now both names are checked against the cache (instead of just one of them) and we got rid of some global vars bjarni 2006-10-10 15:46:03 +0000
  • 1928632f95 (svn r6725) -Fix r6624: fixed some translated strings to apply to the added {STRING} in english.txt bjarni 2006-10-10 15:13:41 +0000
  • 05d733d033 (svn r6724) -Fix r6723: respect alphabetical order glx 2006-10-10 15:09:28 +0000