------------------------------------------------------------------------ r6994 | tron | 2006-10-28 14:37:33 +0000 (Sat, 28 Oct 2006) | 4 lines -Regression (r6291): When sending an aircrafts to a hangar the wrong bit gets tested to determine if a aircraft should stop there or just get serviced Also remove a stale comment Both spotted and fixed by Mart3p ------------------------------------------------------------------------ r6993 | tron | 2006-10-28 14:06:40 +0000 (Sat, 28 Oct 2006) | 1 line -Regression (r5833): Rails/roads on steep slopes incorrectly show a foundation edge if the NE/NW adjacent tile is a steep tile ------------------------------------------------------------------------ r6992 | tron | 2006-10-28 12:43:15 +0000 (Sat, 28 Oct 2006) | 1 line Make a const_cast<> obsolete by properly propagating the type ------------------------------------------------------------------------ r6991 | tron | 2006-10-28 12:32:55 +0000 (Sat, 28 Oct 2006) | 1 line Remove an unnecessary const_cast<> and incorrect comment (There is a difference between const FOO* and FOO* const) ------------------------------------------------------------------------ r6990 | tron | 2006-10-28 12:12:20 +0000 (Sat, 28 Oct 2006) | 1 line Remove stuff forgotten in r6980 ------------------------------------------------------------------------ r6989 | tron | 2006-10-28 12:10:11 +0000 (Sat, 28 Oct 2006) | 1 line Remove the unused GetItemFromPool() function ------------------------------------------------------------------------ r6988 | tron | 2006-10-28 12:07:32 +0000 (Sat, 28 Oct 2006) | 1 line Remove a layer of indirection when using the Savegame pool ------------------------------------------------------------------------ r6987 | tron | 2006-10-28 11:59:10 +0000 (Sat, 28 Oct 2006) | 1 line Use the pool macros for the Waypoint pool ------------------------------------------------------------------------ r6986 | tron | 2006-10-28 11:55:29 +0000 (Sat, 28 Oct 2006) | 1 line Use the pool macros for the Town pool ------------------------------------------------------------------------ r6985 | tron | 2006-10-28 11:54:53 +0000 (Sat, 28 Oct 2006) | 1 line Remove stuff forgotten in r6984 ------------------------------------------------------------------------ r6984 | tron | 2006-10-28 11:51:38 +0000 (Sat, 28 Oct 2006) | 1 line Use the pool macros for the RoadStop pool ------------------------------------------------------------------------ r6983 | tron | 2006-10-28 11:48:21 +0000 (Sat, 28 Oct 2006) | 1 line Use the pool macros for the Station pool ------------------------------------------------------------------------ r6982 | tron | 2006-10-28 11:43:56 +0000 (Sat, 28 Oct 2006) | 1 line Use the pool macros for the Sign pool ------------------------------------------------------------------------ r6981 | tron | 2006-10-28 11:40:47 +0000 (Sat, 28 Oct 2006) | 1 line Use the pool macros for the Savegame pool ------------------------------------------------------------------------ r6980 | tron | 2006-10-28 11:37:26 +0000 (Sat, 28 Oct 2006) | 1 line Use the pool macros for the Order pool ------------------------------------------------------------------------ r6979 | tron | 2006-10-28 11:32:45 +0000 (Sat, 28 Oct 2006) | 1 line Use the pool macros for the Industry pool ------------------------------------------------------------------------ r6978 | tron | 2006-10-28 11:32:12 +0000 (Sat, 28 Oct 2006) | 1 line Use the pool macros for the SoundInternal pool ------------------------------------------------------------------------ r6977 | tron | 2006-10-28 11:08:52 +0000 (Sat, 28 Oct 2006) | 1 line Use the pool macros for the EngineRenew pool ------------------------------------------------------------------------ r6976 | tron | 2006-10-28 11:02:37 +0000 (Sat, 28 Oct 2006) | 1 line Use the pool macros for the Depot pool ------------------------------------------------------------------------ r6975 | tron | 2006-10-28 10:55:59 +0000 (Sat, 28 Oct 2006) | 1 line Use the pool macros for the Vehicle pool ------------------------------------------------------------------------ r6974 | tron | 2006-10-28 10:55:26 +0000 (Sat, 28 Oct 2006) | 1 line use the pool macros for the SpriteGroup pool ------------------------------------------------------------------------ r6973 | tron | 2006-10-28 10:54:20 +0000 (Sat, 28 Oct 2006) | 1 line Add macros to easily create a pool with less code duplication and more opportunities for constant expression evaluation ------------------------------------------------------------------------ r6972 | peter1138 | 2006-10-28 08:48:31 +0000 (Sat, 28 Oct 2006) | 2 lines - Codechange: Allow standard ini-file style comments ------------------------------------------------------------------------ r6971 | glx | 2006-10-27 20:39:58 +0000 (Fri, 27 Oct 2006) | 1 line -Fix r6961: WWT_NODISTXTBTN buttons were normal buttons not push buttons ------------------------------------------------------------------------ r6969 | miham | 2006-10-27 17:13:22 +0000 (Fri, 27 Oct 2006) | 6 lines WebTranslator2 update to 2006-10-27 19:12:49 american - 1 fixed by WhiteRabbit (1) italian - 4 changed by sidew (4) polish - 1 fixed, 1 changed by meush (2) slovak - 4 fixed by lengyel (4) ------------------------------------------------------------------------ r6966 | belugas | 2006-10-27 16:18:47 +0000 (Fri, 27 Oct 2006) | 1 line -Fix(6965): Little typo while making the comment doxygen friendly ------------------------------------------------------------------------ r6965 | belugas | 2006-10-27 15:54:24 +0000 (Fri, 27 Oct 2006) | 2 lines -CodeChange : Add a climate bitmask member to IndutrySpec. Removed a loop that used the array _build_industry_types for that purpose. ------------------------------------------------------------------------ r6963 | peter1138 | 2006-10-27 14:05:42 +0000 (Fri, 27 Oct 2006) | 2 lines - Fix (r6960): signed/unsigned complaints from MSVC ------------------------------------------------------------------------ r6962 | Darkvater | 2006-10-27 13:58:58 +0000 (Fri, 27 Oct 2006) | 1 line -Fix r6961: spacing... ------------------------------------------------------------------------ r6961 | Darkvater | 2006-10-27 13:48:56 +0000 (Fri, 27 Oct 2006) | 3 lines -Codechange: Remove relic from r212 WWT_NODISTXTBTN which was originally used to not to allow clicking if a button was disabled. This has been superseded in r212 with general code that doesn't allow any click events for disabled buttons. ------------------------------------------------------------------------ r6960 | peter1138 | 2006-10-27 13:15:21 +0000 (Fri, 27 Oct 2006) | 2 lines - Feature: NewGRF: Implement some support for GRF Resource Management (GRM) ------------------------------------------------------------------------ r6959 | Darkvater | 2006-10-27 11:49:51 +0000 (Fri, 27 Oct 2006) | 4 lines -Codechange: Move GfxFillRect() out of the chat-message drawing loop since we already know how many lines we are going to draw. On certain architectures this results in a minor penalty of local function performance if only 1 line is drawn. But starting from 2 and more you'll get a net gain. ------------------------------------------------------------------------ r6958 | Darkvater | 2006-10-27 11:17:38 +0000 (Fri, 27 Oct 2006) | 2 lines -Fix (r6956): GCC warning (thx Tron) and a coding style forgotten in r6957 ------------------------------------------------------------------------ r6957 | Darkvater | 2006-10-27 11:09:24 +0000 (Fri, 27 Oct 2006) | 1 line -Cleanup: comments, coding style ------------------------------------------------------------------------ r6956 | Darkvater | 2006-10-27 11:08:17 +0000 (Fri, 27 Oct 2006) | 2 lines -Feature: Increase the chatbuffer of chat messages. Messages longer than the allocated graphical box will be wrapped to a new line. ------------------------------------------------------------------------ r6955 | Darkvater | 2006-10-27 10:27:38 +0000 (Fri, 27 Oct 2006) | 2 lines -Codechange: Change some variable names for _textmessage_box, and replace 5 different global variables with a single struct. ------------------------------------------------------------------------ r6954 | Darkvater | 2006-10-27 10:12:57 +0000 (Fri, 27 Oct 2006) | 3 lines -Feature: Constrain the drawing of a string inside an editbox to the dimensions of the widget it is in. This allows for typing longer text into an editbox (if maxwidth allows of course) and scroll around properly. ------------------------------------------------------------------------ r6953 | Darkvater | 2006-10-27 09:55:38 +0000 (Fri, 27 Oct 2006) | 3 lines -Codechange: Change FormatStringLinebreaks in such a way that if no whitespace was seen for the 'current line' of a certain maximum width, the string will be truncated instead of the old behaviour which just left it alone. ------------------------------------------------------------------------ r6948 | peter1138 | 2006-10-26 19:16:10 +0000 (Thu, 26 Oct 2006) | 2 lines - Codechange: Clear out all NewGRF file data before loading files again ------------------------------------------------------------------------ r6946 | peter1138 | 2006-10-26 13:18:12 +0000 (Thu, 26 Oct 2006) | 2 lines - Fix (r6654): This applies to all vehicle types, not just rail vehicles... (mart3p) ------------------------------------------------------------------------ r6942 | miham | 2006-10-25 19:35:09 +0000 (Wed, 25 Oct 2006) | 8 lines WebTranslator2 update to 2006-10-25 21:34:26 bulgarian - 11 fixed, 5 changed by groupsky (16) czech - 4 fixed, 3 changed by Hadez (7) dutch - 1 fixed by habell (1) galician - 22 fixed by Condex (22) italian - 2 changed by sidew (2) swedish - 4 fixed, 2 changed by daishan (6) ------------------------------------------------------------------------ r6939 | miham | 2006-10-25 05:49:41 +0000 (Wed, 25 Oct 2006) | 12 lines WebTranslator2 update to 2006-10-25 07:48:50 american - 3 fixed by WhiteRabbit (3) brazilian_portuguese - 3 fixed by tucalipe (3) bulgarian - 7 fixed, 2 changed by groupsky (9) catalan - 1 fixed by arnaullv (1) dutch - 3 fixed by webfreakz (3) estonian - 3 fixed by vermon (3) french - 4 fixed by glx (4) galician - 46 fixed, 4 changed by Condex (50) german - 5 fixed, 2 changed by Neonox (5), chu (2) italian - 4 fixed, 3 changed by sidew (7) ------------------------------------------------------------------------ r6938 | Darkvater | 2006-10-24 23:11:40 +0000 (Tue, 24 Oct 2006) | 3 lines -Codechange: Comments, typo, variable naming, whitespace, strecpy and simplification of order_gui (only disable a single widget if not local player, all others aren't visible anyways). ------------------------------------------------------------------------ r6937 | Darkvater | 2006-10-24 22:57:44 +0000 (Tue, 24 Oct 2006) | 2 lines -Codechange: Add an InitializeTextBuffer() function that handles setting up the textbuffer instead of typing it out each and every time. ------------------------------------------------------------------------ r6935 | Darkvater | 2006-10-24 22:40:27 +0000 (Tue, 24 Oct 2006) | 1 line -Fix up the languages changed in r6931 ------------------------------------------------------------------------ r6934 | Darkvater | 2006-10-24 22:27:10 +0000 (Tue, 24 Oct 2006) | 1 line -Cleanup: Some minor cleanup for network_client and removing 'stupid' comment ------------------------------------------------------------------------ r6933 | Darkvater | 2006-10-24 22:26:20 +0000 (Tue, 24 Oct 2006) | 1 line -Feature: Allow spectators to speak to eachother (team) ------------------------------------------------------------------------ r6932 | Darkvater | 2006-10-24 22:23:08 +0000 (Tue, 24 Oct 2006) | 2 lines -Codechange: Send server messages with format NETWORK_ACTION_SERVER_MESSAGE so it is general colour like the rest of the server messages. Spectators speak in grey. ------------------------------------------------------------------------ r6931 | Darkvater | 2006-10-24 22:19:12 +0000 (Tue, 24 Oct 2006) | 2 lines -Codechange: Change textmessage format a bit. Only the sender's name and target are in the sender's colour, the actual message is in white. Should improve readability. ------------------------------------------------------------------------ r6930 | belugas | 2006-10-24 19:19:25 +0000 (Tue, 24 Oct 2006) | 5 lines -Codechange: Move industry name into IndustrySpec -Codechange: member color_map is more related to random color, rename it as such ------------------------------------------------------------------------ r6928 | miham | 2006-10-24 16:39:48 +0000 (Tue, 24 Oct 2006) | 6 lines WebTranslator2 update to 2006-10-24 18:38:04 bulgarian - 523 fixed, 13 changed by groupsky (536) catalan - 3 fixed by arnaullv (3) polish - 3 fixed by meush (3) turkish - 7 fixed by jnmbk (7) ------------------------------------------------------------------------ r6927 | Darkvater | 2006-10-24 16:28:34 +0000 (Tue, 24 Oct 2006) | 2 lines -Codechange: No need to explicitly cast a boolean to a boolean and move draw_default goto outside of switch statement. ------------------------------------------------------------------------ r6926 | Darkvater | 2006-10-24 16:27:18 +0000 (Tue, 24 Oct 2006) | 3 lines -Codechange: Rename WWT_4 to WWT_TEXTBTN_2 and WWT_6 to WWT_INSET (credits to peter1138 for the aptly found name) -Codechange: Remove the explicit numbering from WindowWidgetTypes ------------------------------------------------------------------------ r6925 | Darkvater | 2006-10-24 14:15:17 +0000 (Tue, 24 Oct 2006) | 4 lines -Codechange: Be more strict with widget distinctions. WWT_PANEL is only plain panel, WWT_IMGBTN must contain an image for drawing. Renamed WWT_PANEL_2 to WWT_IMGBTN_2 because that is what it is. Added WWT_PUSHBTN that is either just a pushable button, or a textbutton, which text's drawn dynamically independent of widget. ------------------------------------------------------------------------ r6924 | Darkvater | 2006-10-24 13:20:54 +0000 (Tue, 24 Oct 2006) | 1 line -Codechange: Give the last (in the widget arrays at least) sprites meaningful names. ------------------------------------------------------------------------ r6923 | Darkvater | 2006-10-24 13:08:52 +0000 (Tue, 24 Oct 2006) | 1 line -Codechange: Load nsignalsw.grf in the same way as other mandatory additional grfs ------------------------------------------------------------------------ r6922 | Darkvater | 2006-10-24 12:56:14 +0000 (Tue, 24 Oct 2006) | 5 lines -Feature: Add proper cloning sprites and cursors, different for each vehicle. Big thanks to MB for the initial design and skidd13 for the iconified version(s). -Codechange: Change the autorenew sprites from recycle to upgrade (skidd13) -Codechange: Change the shared orders icon (MeusH) -Add missing table/files.h file to VS project file. ------------------------------------------------------------------------ r6921 | peter1138 | 2006-10-24 10:15:56 +0000 (Tue, 24 Oct 2006) | 2 lines - PEBKAC: Add an MD5 sum check of our own data files, and warn if they don't match. ------------------------------------------------------------------------ r6920 | peter1138 | 2006-10-24 07:10:37 +0000 (Tue, 24 Oct 2006) | 2 lines - Codechange: Ignore refit options of an engine if it has no capacity. ------------------------------------------------------------------------ r6912 | peter1138 | 2006-10-23 21:39:15 +0000 (Mon, 23 Oct 2006) | 2 lines - Feature: Show a list of cargo types that a vehicle is refittable to in the purchase information window. (mart3p) ------------------------------------------------------------------------ r6911 | peter1138 | 2006-10-23 21:25:30 +0000 (Mon, 23 Oct 2006) | 2 lines - Codechange: Add extra space to all purchase windows (and the replace window) to allow room for more text. (mart3p) ------------------------------------------------------------------------ r6910 | peter1138 | 2006-10-23 18:45:43 +0000 (Mon, 23 Oct 2006) | 2 lines - Codechange: Supply width of area when drawing purchase info instead of using hardcoded values. (mart3p) ------------------------------------------------------------------------ r6909 | peter1138 | 2006-10-23 18:28:46 +0000 (Mon, 23 Oct 2006) | 2 lines - Codechange: Base the decision to draw rail engine or wagon purchase information on the rail vehicle type, not an arbitrary value. ------------------------------------------------------------------------ r6908 | peter1138 | 2006-10-23 18:13:24 +0000 (Mon, 23 Oct 2006) | 2 lines - Codechange: Modify DrawStringMultiLine() to return the number of pixel lines used, and use it for drawing NewGRF additional text (mart3p) ------------------------------------------------------------------------ r6907 | miham | 2006-10-23 17:56:32 +0000 (Mon, 23 Oct 2006) | 4 lines WebTranslator2 update to 2006-10-23 19:56:02 danish - 19 changed by ThomasA (19) hungarian - 5 changed by miham (5) ------------------------------------------------------------------------ r6906 | peter1138 | 2006-10-23 17:01:02 +0000 (Mon, 23 Oct 2006) | 2 lines - Fix [FS#370]: Clear 'large plane' flag if 'helicopter' flag is set. (mart3p) ------------------------------------------------------------------------ r6905 | peter1138 | 2006-10-23 16:47:20 +0000 (Mon, 23 Oct 2006) | 2 lines - Codechange: Copy cargo subtype when cloning vehicles. ------------------------------------------------------------------------ r6904 | belugas | 2006-10-23 16:35:27 +0000 (Mon, 23 Oct 2006) | 2 lines -CodeChange : Cleanup of industry_cmd (Step-5). Add member life_type to IndustrySpec and remove the now useless _industry_close_mode array ------------------------------------------------------------------------ r6901 | miham | 2006-10-23 08:29:16 +0000 (Mon, 23 Oct 2006) | 4 lines WebTranslator2 update to 2006-10-23 10:28:46 bulgarian - 6 fixed by kokobongo (6) estonian - 46 deleted, 3 changed by kristjans (49) ------------------------------------------------------------------------ r6898 | Darkvater | 2006-10-22 20:46:18 +0000 (Sun, 22 Oct 2006) | 2 lines -Fix: lowercase Error/Warning/Fatal for strgen and remove static on error() so strgen can compile with anal strecpy() :) ------------------------------------------------------------------------ r6897 | peter1138 | 2006-10-22 19:56:26 +0000 (Sun, 22 Oct 2006) | 2 lines - Fix (r6884): Another wrong last parametr :) ------------------------------------------------------------------------ r6896 | peter1138 | 2006-10-22 15:13:48 +0000 (Sun, 22 Oct 2006) | 2 lines - Fix (r6895): Supply last position of the correct buffer *again* ------------------------------------------------------------------------ r6895 | peter1138 | 2006-10-22 10:08:49 +0000 (Sun, 22 Oct 2006) | 2 lines - Fix (r6884): Add 'last' parameter to the town name generators. ------------------------------------------------------------------------ r6894 | peter1138 | 2006-10-22 10:07:40 +0000 (Sun, 22 Oct 2006) | 2 lines - Codechange: Lower the verbosity level of some NewGRF warnings ------------------------------------------------------------------------ r6893 | miham | 2006-10-22 05:37:51 +0000 (Sun, 22 Oct 2006) | 5 lines WebTranslator2 update to 2006-10-22 07:37:19 estonian - 13 fixed, 8 changed by t2t2 (2), kristjans (19) portuguese - 7 fixed by izhirahider (7) turkish - 7 fixed by jnmbk (7) ------------------------------------------------------------------------ r6890 | peter1138 | 2006-10-22 00:05:19 +0000 (Sun, 22 Oct 2006) | 2 lines - Fix (r6884): Supply last position of the correct buffer... ------------------------------------------------------------------------ r6888 | peter1138 | 2006-10-21 23:51:02 +0000 (Sat, 21 Oct 2006) | 2 lines - Fix (r6884): Missed a couple of strecpy()s in newgrf text handling ------------------------------------------------------------------------ r6886 | Darkvater | 2006-10-21 23:36:43 +0000 (Sat, 21 Oct 2006) | 1 line -Be anal for the time being about string-wannabe-buffer-overflows ------------------------------------------------------------------------ r6885 | peter1138 | 2006-10-21 23:36:06 +0000 (Sat, 21 Oct 2006) | 2 lines - Fix (r1379): List of actions panel in the town authority window went underneath its scrollbar ------------------------------------------------------------------------ r6884 | Darkvater | 2006-10-21 23:31:34 +0000 (Sat, 21 Oct 2006) | 4 lines -Codechange: Add strict bounds checking in string formatting system. The last parameter should point to the end of the buffer (eg lastof(buf)) Courtesy of Tron. ------------------------------------------------------------------------ r6882 | Darkvater | 2006-10-21 23:08:17 +0000 (Sat, 21 Oct 2006) | 1 line -Fix r6777: Off by one drawing error for cargo buttons ------------------------------------------------------------------------ r6881 | Darkvater | 2006-10-21 23:00:27 +0000 (Sat, 21 Oct 2006) | 1 line -Fix r6874: uint > int to remove signedness warning MSVC (peter1138) ------------------------------------------------------------------------ r6879 | Darkvater | 2006-10-21 22:50:57 +0000 (Sat, 21 Oct 2006) | 4 lines -Codechange: Remove the superflouos argument CharsetFilter parameter from HandleEditBoxKey as the same information is present in querystr_d->afilter -Also (&((querystr_d *)&WP(w, querystr_d))->text is the same as &WP(w, querystr_d).text ------------------------------------------------------------------------ r6878 | Darkvater | 2006-10-21 22:38:50 +0000 (Sat, 21 Oct 2006) | 1 line -Fix r6876 +add network.c, network_client.c ------------------------------------------------------------------------ r6877 | Darkvater | 2006-10-21 22:33:45 +0000 (Sat, 21 Oct 2006) | 1 line -Fix r6876 +add main_gui.c ------------------------------------------------------------------------ r6876 | Darkvater | 2006-10-21 22:29:14 +0000 (Sat, 21 Oct 2006) | 4 lines -Codechange: Change the naming of _PLAYER in DESTTYPE_PLAYER/NETWORK_ACTION_CHAT_PLAYER to _COMPANY as that is whom you are really addressing to. Also change some variable names, 'desttype' is confusing if there is also a parameter 'dest', so rename it to just type. ------------------------------------------------------------------------ r6875 | Darkvater | 2006-10-21 22:24:28 +0000 (Sat, 21 Oct 2006) | 1 line -Feature: Allow for " to be in console tokens. Escape them with \. eg \". ------------------------------------------------------------------------ r6874 | peter1138 | 2006-10-21 19:32:46 +0000 (Sat, 21 Oct 2006) | 2 lines - [NewStations] Mark all tiles of a railway station dirty when adding or removing tiles. ------------------------------------------------------------------------