------------------------------------------------------------------------ r4317 | celestar | 2006-04-07 15:57:03 +0000 (Fri, 07 Apr 2006) | 1 line -Codechange: More map accessors for ship_cmd. it is now map-access free, but still requires a huge cleanup ------------------------------------------------------------------------ r4316 | celestar | 2006-04-07 09:37:04 +0000 (Fri, 07 Apr 2006) | 1 line -Codechange: finished r4257 (forgot one variable there) ------------------------------------------------------------------------ r4315 | tron | 2006-04-07 09:15:17 +0000 (Fri, 07 Apr 2006) | 1 line Remove MAX_QUERYSTR_LEN, rather use lengthof() the real thing ------------------------------------------------------------------------ r4314 | tron | 2006-04-07 09:07:53 +0000 (Fri, 07 Apr 2006) | 1 line -Fix: a buffer overflow of the chat box introduced in r1263. Don't tell the Textbuf an arbitrary number as size of the string buffer, but the real lengthof() it ------------------------------------------------------------------------ r4313 | tron | 2006-04-07 09:00:57 +0000 (Fri, 07 Apr 2006) | 1 line The parent window of the chat box is always the main toolbar (?!), therefore don't pass this information as parameter ------------------------------------------------------------------------ r4312 | tron | 2006-04-07 08:57:03 +0000 (Fri, 07 Apr 2006) | 1 line Calculate the maximum pixel width of the entered text in the chat box from the "text box"-widget instead of hardcoding an arbitrary - and wrong - number ------------------------------------------------------------------------ r4311 | celestar | 2006-04-07 08:42:30 +0000 (Fri, 07 Apr 2006) | 2 lines -Fix/Codechange: Clear the railtype when removing rail under a bridge. FS#103 exhibited this problem ------------------------------------------------------------------------ r4310 | tron | 2006-04-07 08:37:39 +0000 (Fri, 07 Apr 2006) | 1 line The chat box has no visible window title, therefore remove the string ------------------------------------------------------------------------ r4309 | tron | 2006-04-07 08:27:43 +0000 (Fri, 07 Apr 2006) | 1 line The initial string of the chat box is always the empty string, so don't jump through hoops to check if nothing was entered and simplify the code ------------------------------------------------------------------------ r4307 | celestar | 2006-04-07 07:40:44 +0000 (Fri, 07 Apr 2006) | 1 line -Fix: Coding style in previous commit. Thanks to Tron for instant notice ------------------------------------------------------------------------ r4306 | celestar | 2006-04-07 07:39:03 +0000 (Fri, 07 Apr 2006) | 2 lines -Fix (103). Assertion when removing elrails under bridges. Thanks to Rubidium for reporting and fixing ------------------------------------------------------------------------ r4305 | celestar | 2006-04-07 07:19:14 +0000 (Fri, 07 Apr 2006) | 2 lines -Codechange: Minor elrail cleanup (Tron) ------------------------------------------------------------------------ r4304 | tron | 2006-04-07 07:08:20 +0000 (Fri, 07 Apr 2006) | 1 line The chat box' parent window (the main toolbar, wtf?) doesn't care for the WE_ON_EDIT_TEXT_CANCEL event, so don't send one. This code looks like it was mindlessly copy&pasted from the query box ------------------------------------------------------------------------ r4302 | Darkvater | 2006-04-06 19:16:39 +0000 (Thu, 06 Apr 2006) | 1 line - Fix: s/maxlength/maxwidth of course, the buffer size is always set. Comment-change only ------------------------------------------------------------------------ r4301 | Darkvater | 2006-04-06 19:11:41 +0000 (Thu, 06 Apr 2006) | 1 line - Fix: the maxlength parameter of Textbuf is supposed to be the size of the buffer (so length of string + '\0'), but in the code it was a mix of both. It didn't cause any problems though, only an occasionaly one-less character than allowed. (thanks Tron for noticing) ------------------------------------------------------------------------ r4292 | Darkvater | 2006-04-05 20:12:54 +0000 (Wed, 05 Apr 2006) | 1 line - CodeChange: sprinkle some holy water on l'ugly code (braces, and pos is PacketSize not int) ------------------------------------------------------------------------ r4291 | Darkvater | 2006-04-05 20:11:01 +0000 (Wed, 05 Apr 2006) | 1 line - Fix: validate all received strings for correctness. This fixes potential crashes on invalid clients/servers (thanks test for bringing this to our attention) ------------------------------------------------------------------------ r4290 | celestar | 2006-04-05 19:08:09 +0000 (Wed, 05 Apr 2006) | 1 line -Fix: fixed power computation for mixed consists on level crossings (michi_cc) ------------------------------------------------------------------------ r4289 | celestar | 2006-04-05 18:46:21 +0000 (Wed, 05 Apr 2006) | 2 lines -Codechange: Make use of water_map accessors for ships. Make a mental note to clean ship_cmd ------------------------------------------------------------------------ r4286 | celestar | 2006-04-05 10:19:59 +0000 (Wed, 05 Apr 2006) | 1 line -Fix: Typo in 4280 ------------------------------------------------------------------------ r4284 | celestar | 2006-04-05 09:28:57 +0000 (Wed, 05 Apr 2006) | 2 lines -Fix: Tunnel portals no longer have a pylon ON them if there is a track right above the portal ------------------------------------------------------------------------ r4283 | celestar | 2006-04-05 09:17:43 +0000 (Wed, 05 Apr 2006) | 2 lines -Cleanup: More elrail housekeeping, remove code dublication, more meaningful variable names, simplify control flow.. ------------------------------------------------------------------------ r4282 | celestar | 2006-04-05 08:45:29 +0000 (Wed, 05 Apr 2006) | 2 lines -Cleanup: Re-arranged the ignore groups into a more readable arrangement ------------------------------------------------------------------------ r4281 | celestar | 2006-04-05 08:28:03 +0000 (Wed, 05 Apr 2006) | 1 line -Cleanup: Begun cleaning up elrail code a bit, mostly comments and enum/array alignment ------------------------------------------------------------------------ r4280 | celestar | 2006-04-05 05:22:42 +0000 (Wed, 05 Apr 2006) | 2 lines -Codechange: Add and make use of map accessors concerning railway waypoints ------------------------------------------------------------------------ r4279 | tron | 2006-04-04 21:35:13 +0000 (Tue, 04 Apr 2006) | 1 line s/\= 10.3 not >; fixed comment (thanks Bjarni) ------------------------------------------------------------------------ r4219 | Darkvater | 2006-03-31 21:22:41 +0000 (Fri, 31 Mar 2006) | 1 line - Add support for WITH_ICONV. It is enabled by default for OSX > 10.3 for all others set it with WITH_ICONV in Makefile.config or with --with-iconv with configure. --with-config=/somedir will search for iconv include files somewhere (or in Makefile.config with WITH_ICONV_PATH). Custom library loading is not (yet) supported ------------------------------------------------------------------------ r4218 | Darkvater | 2006-03-31 21:13:53 +0000 (Fri, 31 Mar 2006) | 1 line - Codechange: Try to make the rdtsc() not present warning message a bit more clear ------------------------------------------------------------------------ r4217 | peter1138 | 2006-03-31 21:06:55 +0000 (Fri, 31 Mar 2006) | 2 lines Replace SDL-CONFIG and LIBPNG-CONFIG with SDL_CONFIG and LIBPNG_CONFIG ------------------------------------------------------------------------ r4216 | celestar | 2006-03-31 19:14:17 +0000 (Fri, 31 Mar 2006) | 1 line -Fix: Fixed revision 4214, did a bad error there. Thanks MiHaMiX for pointing it out ------------------------------------------------------------------------ r4215 | celestar | 2006-03-31 19:10:54 +0000 (Fri, 31 Mar 2006) | 2 lines -Codechange: Renamed *RoadStation* functions to *RoadStop* and moved them to station_map.h to keep consistency ------------------------------------------------------------------------ r4214 | celestar | 2006-03-31 19:01:57 +0000 (Fri, 31 Mar 2006) | 1 line -Fix: Do not try to obtain Trackbits for normal rails, bus stops, airports and other non-rail tiles ------------------------------------------------------------------------ r4212 | celestar | 2006-03-31 18:36:13 +0000 (Fri, 31 Mar 2006) | 2 lines -Codechange: Add and make use of an accessor that retrieves the type of a water tile. Add an enum describing the different water tiles ------------------------------------------------------------------------