Tue, 23 Jan 2007 14:47:38 +0000 |
rubidium |
(svn r8372) -Fix (8361): NUM_LANDSCAPE comes (via some detour) from openttd.h, which does not exist in the masterserver/updater.
draft
|
Tue, 23 Jan 2007 13:26:12 +0000 |
bjarni |
(svn r8371) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a file of it's own
draft
|
Tue, 23 Jan 2007 13:10:43 +0000 |
bjarni |
(svn r8370) -Revert (r8363): the autoreplace GUI move cleared the file history
draft
|
Tue, 23 Jan 2007 12:41:04 +0000 |
maedhros |
(svn r8369) -Cleanup: [Graphs] Rename include_neg and adj_height to more descriptive names, and add some more comments.
draft
|
Tue, 23 Jan 2007 12:19:41 +0000 |
maedhros |
(svn r8368) -Cleanup: [Graphs] Rename the variables relating to whether datasets should be drawn, and use HASBIT for testing against them.
draft
|
Tue, 23 Jan 2007 11:20:59 +0000 |
maedhros |
(svn r8367) -Fix: [Graphs] Don't try to use the same value to mean something is invalid for both an int64 and a uint.
draft
|
Tue, 23 Jan 2007 10:21:51 +0000 |
maedhros |
(svn r8366) -Codechange: [Graphs] Make the scaling code less cryptic, and fix two longstanding bugs.
draft
|
Tue, 23 Jan 2007 02:31:49 +0000 |
belugas |
(svn r8365) -Cleanup: Remove unneeded and dead links, install Owner informations, add attribute m6.
draft
|
Tue, 23 Jan 2007 01:00:56 +0000 |
bjarni |
(svn r8364) -Codechange (r8362): added an assert to catch conditions where a request wants to draw more vehicles than the list contains
draft
|
Tue, 23 Jan 2007 00:04:17 +0000 |
bjarni |
(svn r8363) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a file of it's own
draft
|
Mon, 22 Jan 2007 23:23:30 +0000 |
bjarni |
(svn r8362) -Codechange: [vehicle build window] moved the engine drawing loop to a function of it's own
draft
|
Mon, 22 Jan 2007 21:38:16 +0000 |
rubidium |
(svn r8361) -Codechange: make sure the range of the dates coming from the network are valid in OpenTTD
draft
|
Mon, 22 Jan 2007 21:00:38 +0000 |
miham |
(svn r8360) [Translations] -Fix: removed 4 empty strings from simplified chinese translation
draft
|
Mon, 22 Jan 2007 20:52:20 +0000 |
miham |
(svn r8359) [Translations] -Change: Removed the .UTF-8 suffix from isocodes
draft
|
Mon, 22 Jan 2007 20:38:19 +0000 |
maedhros |
(svn r8356) -Codechange: [Graphs] Rename mx to highest_value, and fix the scaling for negative values.
draft
|
Mon, 22 Jan 2007 18:28:30 +0000 |
miham |
(svn r8354) -Update: WebTranslator2 update to 2007-01-22 19:27:50
draft
|
Mon, 22 Jan 2007 16:48:36 +0000 |
bjarni |
(svn r8353) -Cleanup: added IsPlayerBuildableVehicleType() to autoreplace code (duplicated code removal)
draft
|
Mon, 22 Jan 2007 16:26:45 +0000 |
maedhros |
(svn r8350) -Codechange: [Graphs] Use DrawStringCentered instead of a hardcoded offset to make the string appear centred.
draft
|
Mon, 22 Jan 2007 16:16:52 +0000 |
bjarni |
(svn r8349) -Codechange: replaced CMD_REFIT_VEH() and similar defines with real static inline functions
draft
|
Mon, 22 Jan 2007 15:46:57 +0000 |
maedhros |
(svn r8347) -Codechange: [Graphs] Make some more variables local to the loops they're used in, and remove some assumptions about the size of an array.
draft
|
Mon, 22 Jan 2007 14:08:14 +0000 |
bjarni |
(svn r8343) -Cleanup: [build vehicle windows] added a few comments and removed two switch-cases, that we can do without
draft
|
Mon, 22 Jan 2007 10:27:14 +0000 |
bjarni |
(svn r8341) -Codechange (r8336): added assert to VehTypeToIndex() to ensure valid vehicle types in the argument
draft
|
Mon, 22 Jan 2007 08:38:18 +0000 |
bjarni |
(svn r8340) -Cleanup (r8338): removed now unused header includes from roadveh_gui.cpp
draft
|
Mon, 22 Jan 2007 02:59:50 +0000 |
belugas |
(svn r8339) -Fix(r8331): MSVC seems to be a little more strict (or less intelligent) then other compilers when it comes to operator precedence.
draft
|
Mon, 22 Jan 2007 02:09:51 +0000 |
bjarni |
(svn r8338) -Codechange: merged road vehicle build window into the other ones
draft
|
Mon, 22 Jan 2007 01:35:53 +0000 |
bjarni |
(svn r8337) -Cleanup: removed some more switch-cases in build_vehicle_gui.cpp and added arrays + VehTypeToIndex() instead
draft
|
Mon, 22 Jan 2007 01:13:10 +0000 |
bjarni |
(svn r8336) -Codechange: added function to translate vehicle types to 0,1,2... for use for index to arrays
draft
|
Mon, 22 Jan 2007 00:26:46 +0000 |
bjarni |
(svn r8335) -Feature: the build ship window is now also resizable horizontally and contains sorting options
draft
|
Sun, 21 Jan 2007 23:24:25 +0000 |
bjarni |
(svn r8334) -Fix (r8331): build window buttons now both resize as intended
draft
|
Sun, 21 Jan 2007 23:13:46 +0000 |
bjarni |
(svn r8333) -Codechange: when invalidating a build window list, set a flag instead of rebuilding the list and then rebuild it the next time it's redrawn
draft
|
Sun, 21 Jan 2007 22:57:52 +0000 |
bjarni |
(svn r8332) -Codechange: moved DrawAircraftImage() and CcBuildAircraft() from build_vehicle_gui.cpp to aircraft_gui.cpp
draft
|
Sun, 21 Jan 2007 22:50:43 +0000 |
bjarni |
(svn r8331) -Feature: the train and aircraft build windows are now resizable in horizontal direction as well
draft
|
Sun, 21 Jan 2007 20:54:29 +0000 |
maedhros |
(svn r8330) -Codechange: Remove num_x and num_dataset from DrawGraph.
draft
|
Sun, 21 Jan 2007 20:34:28 +0000 |
maedhros |
(svn r8329) -Codechange: Remove the the horribly abused j and k variables completely, and make i local to each loop it's used in.
draft
|
Sun, 21 Jan 2007 20:14:35 +0000 |
maedhros |
(svn r8328) -Codechange: Remove some magic numbers in the graph drawing code.
draft
|
Sun, 21 Jan 2007 20:08:00 +0000 |
bjarni |
(svn r8327) -Codechange: though overloading, IsPlayerBuildableVehicleType() now works with the type given as a byte as well as a vehicle pointer
draft
|
Sun, 21 Jan 2007 19:40:38 +0000 |
truelight |
(svn r8326) -Fix r8304: forgot to update projects/generate to keep in mind the new WINCE tag in sources.list
draft
|
Sun, 21 Jan 2007 19:31:29 +0000 |
miham |
(svn r8324) [Translations] -Change: Declared simplified_chinese as officially available language (number of missing strings is far less than 100)
draft
|
Sun, 21 Jan 2007 19:27:50 +0000 |
miham |
(svn r8323) [Translations] -Fix: removed untranslated strings from chinese language, fixed a wrong plural param
draft
|
Sun, 21 Jan 2007 19:19:25 +0000 |
maedhros |
(svn r8322) -Codechange: Rename unk61A and unk61C to something a little more descriptive.
draft
|
Sun, 21 Jan 2007 19:00:31 +0000 |
tron |
(svn r8321) -Fix
draft
|
Sun, 21 Jan 2007 18:46:19 +0000 |
tron |
(svn r8320) -Fix
draft
|
Sun, 21 Jan 2007 18:42:15 +0000 |
maedhros |
(svn r8319) -Codechange: Remove the remaining colours from GraphDrawer as they're also the same everywhere.
draft
|
Sun, 21 Jan 2007 18:30:21 +0000 |
miham |
(svn r8318) -Update: WebTranslator2 update to 2007-01-21 19:29:35
draft
|
Sun, 21 Jan 2007 18:07:35 +0000 |
maedhros |
(svn r8317) -Codechange: Remove GraphDrawer::bg_line_color since it was the same everywhere it was set.
draft
|
Sun, 21 Jan 2007 17:29:38 +0000 |
rubidium |
(svn r8316) -Codechange: move the GRF ID and MD5 checksum from GRFConfig to GRFIdentifier so it can be reused.
draft
|
Sun, 21 Jan 2007 17:09:32 +0000 |
truelight |
(svn r8315) -Fix: use ShowInfo over fprintf(stderr, as Windows doesn't always have a stderr visible/available
draft
|
Sun, 21 Jan 2007 16:08:18 +0000 |
tron |
(svn r8314) -Fix
draft
|
Sun, 21 Jan 2007 15:18:36 +0000 |
truelight |
(svn r8313) [WinCE] -Fix: -lws2 wasn't included in libraries, so network couldn't be linked
draft
|
Sun, 21 Jan 2007 15:03:37 +0000 |
maedhros |
(svn r8312) -Fix (r8038, sort of): Operating profit and the company value can be negative,
draft
|
Sun, 21 Jan 2007 14:44:25 +0000 |
truelight |
(svn r8311) [WinCE] -Fix r8304: GDI wasn't enabled by default on WinCE
draft
|
Sun, 21 Jan 2007 14:36:08 +0000 |
truelight |
(svn r8310) -Fix r8309: it is wise to put #endifs in the right place ;)
draft
|
Sun, 21 Jan 2007 14:32:40 +0000 |
truelight |
(svn r8309) [WinCE] -Fix: WinCE doesn't know resolution changing
draft
|
Sun, 21 Jan 2007 14:21:31 +0000 |
truelight |
(svn r8308) [WinCE] -Revert r5764: in case of WinCE, use the code for FileExists as it was in pre-r5764 for Win32 (tnx Darkvater)
draft
|
Sun, 21 Jan 2007 14:19:44 +0000 |
truelight |
(svn r8307) [WinCE] -Fix: for now disable sound and music. That will be done later.
draft
|
Sun, 21 Jan 2007 14:19:18 +0000 |
truelight |
(svn r8306) [WinCE] -Fix: some functions don't exists in WinCE, so give an alternative where possible
draft
|
Sun, 21 Jan 2007 14:15:38 +0000 |
truelight |
(svn r8305) -Codechange: defining 'static const' in a header is a bit weird.
draft
|
Sun, 21 Jan 2007 14:14:27 +0000 |
truelight |
(svn r8304) [WinCE] -Add: added configure detection for WinCE.
draft
|
Sun, 21 Jan 2007 13:16:31 +0000 |
bjarni |
(svn r8303) -Codechange (r8293): default is moved to the front of the switch in ShowVehicleListWindowLocal()
draft
|
Sun, 21 Jan 2007 12:35:35 +0000 |
maedhros |
(svn r8301) -Codechange: Move the code relating to the sign list window from graph_gui.cpp to a file of its own: signs_gui.cpp.
draft
|
Sun, 21 Jan 2007 11:49:18 +0000 |
maedhros |
(svn r8300) -Codechange: Add a prototype for DrawPlayerIcon to players.h and include that
draft
|
Sun, 21 Jan 2007 08:04:14 +0000 |
tron |
(svn r8299) -Fix
draft
|
Sun, 21 Jan 2007 01:25:59 +0000 |
bjarni |
(svn r8296) -Fix: GenerateVehicleSortList() tried to put a TileIndex into an uint16
draft
|
Sun, 21 Jan 2007 01:07:15 +0000 |
bjarni |
(svn r8295) -Cleanup: merged arguments station, order and depot_airport_index for GenerateVehicleSortList() and BuildVehicleList() into one uint16 argument
draft
|
Sun, 21 Jan 2007 00:13:39 +0000 |
bjarni |
(svn r8294) -Fix: deleting a vehicle with shared orders, but no orders would fail to reset prev_shared and next_shared
draft
|
Sun, 21 Jan 2007 00:01:47 +0000 |
bjarni |
(svn r8293) -Codechange: overloaded ShowVehicleListWindow() so it can open all types of vehicle lists (depending on arguments)
draft
|
Sat, 20 Jan 2007 18:50:50 +0000 |
miham |
(svn r8290) -Update: WebTranslator2 update to 2007-01-20 19:46:14
draft
|
Sat, 20 Jan 2007 18:42:27 +0000 |
miham |
(svn r8289) [Translations] -Fix: translators sent some offline translation for simplified chinese (Fishingsnow) and japanese (ickoonite)
draft
|
Sat, 20 Jan 2007 11:26:16 +0000 |
bjarni |
(svn r8288) -Fix: [OSX] compiling with debug enabled now works again
draft
|
Sat, 20 Jan 2007 09:49:29 +0000 |
peter1138 |
(svn r8287) -Fix (r8286): forgot to check for newline format, sorry...
draft
|
Sat, 20 Jan 2007 09:19:37 +0000 |
peter1138 |
(svn r8286) -Add: Korean translation by Ezi
draft
|
Fri, 19 Jan 2007 22:41:50 +0000 |
KUDr |
(svn r8284) -Fix (r8277): g++ compilation error: missing brackets in sizeof
draft
|
Fri, 19 Jan 2007 21:40:10 +0000 |
peter1138 |
(svn r8283) -Fix (r8128): Custom waypoint drawing used wrong bits since bitshuffling occurred. Also update with other station drawing changes (code duplication,
draft
|
Fri, 19 Jan 2007 18:33:30 +0000 |
miham |
(svn r8281) -Update: WebTranslator2 update to 2007-01-19 19:32:57
draft
|
Fri, 19 Jan 2007 17:46:44 +0000 |
peter1138 |
(svn r8280) -Codechange: Remove unnecessarily complex assignment of waypoint string ID.
draft
|
Fri, 19 Jan 2007 17:44:11 +0000 |
Darkvater |
(svn r8279) -Regression (r8274): Removing signals could fail under certain circumstances (not the proper bits of p1/p2 were set to trackbits). Moved trackbits back to bits 0..2, ctrl to 3, semaphore to 4. Also lower the decision of the ctrl-override of signal/semaphore from the GUI into the cmd function since we are passing the ctrl-bit anyways. Bug(s) found by Frostregen; thanks
draft
|
Fri, 19 Jan 2007 16:01:43 +0000 |
KUDr |
(svn r8277) -Fix (r8038): assert on game exit when waypoints were used. The static variable of type Station (inside ComposeWaypointStation) replaced by byte array so no destructor is called for it on exit.
draft
|
Fri, 19 Jan 2007 11:47:48 +0000 |
tron |
(svn r8276) -Fix
draft
|
Fri, 19 Jan 2007 06:08:04 +0000 |
tron |
(svn r8275) -Fix
draft
|
Fri, 19 Jan 2007 00:01:52 +0000 |
Darkvater |
(svn r8274) -Codechange (r8151): Move the automatic semaphore/signal checks inside the CMD_ functions where they are supposed to be. Achieve this by adding a seperate bit to p1/p2 to hold the CTRL-modifier. While here, use proper types, and 'unify' the parameter bit-meanings. 0 - ctrl-pressed, 1 - signal/semaphore, 2-4 - trackbits, 5 - remove (internal), 24-31 - drag density.
draft
|
Thu, 18 Jan 2007 23:48:04 +0000 |
KUDr |
(svn r8273) -Fix: return value from clamp was ignored
draft
|
Thu, 18 Jan 2007 23:45:58 +0000 |
KUDr |
(svn r8272) -Fix (r8038): signed/unsigned change - PlayerID is now enum (signed) and was byte so test for PlayerID validity needed to be updated (Darkvater)
draft
|
Thu, 18 Jan 2007 22:24:11 +0000 |
miham |
(svn r8267) [Translations] -Fix: (r8266) fixed the ownname and the isocode of the russian language
draft
|
Thu, 18 Jan 2007 18:42:50 +0000 |
miham |
(svn r8266) -Update: WebTranslator2 update to 2007-01-18 19:42:06
draft
|
Thu, 18 Jan 2007 15:39:58 +0000 |
Darkvater |
(svn r8254) -Merge: Release changes from the 0.5 branch back to trunk. This ensures an updated changelog, readme, et.
draft
|
Thu, 18 Jan 2007 15:27:57 +0000 |
Darkvater |
(svn r8253) -Codechange: Be more strict about language generation and fail any languages not having the mandatory ##name, ##ownname and ##isocode pragma's.
draft
|
Thu, 18 Jan 2007 15:26:52 +0000 |
Darkvater |
(svn r8252) -Regression(r8204): WT2 commit removed ##isocode from Russian, resulting in a clean
draft
|
Thu, 18 Jan 2007 14:08:56 +0000 |
Darkvater |
(svn r8240) -Fix (r8013): Put the output of -h to stdout and not to stderr (through ShowInfo)
draft
|
Thu, 18 Jan 2007 14:06:30 +0000 |
Darkvater |
(svn r8239) -Regression (r7278): Help window was empty for UNICODE builds
draft
|
Thu, 18 Jan 2007 09:34:44 +0000 |
KUDr |
(svn r8231) -Fix (r8125): MP desync caused by calling Random() from station constructor. This was wrong because station constructor is called also when loading savegame and when player tries to build station when it is not sure that it will succeed (thanks Rubidium)
draft
|
Wed, 17 Jan 2007 23:25:19 +0000 |
Darkvater |
(svn r8218) -Codechange: Increase spritecache size to 2MB. This will vastly improve performance when using (lots of) grf files. You can change it yourself easily with the SPRITE_CACHE_SIZE compile flag. (peter1138).
draft
|
Wed, 17 Jan 2007 22:44:49 +0000 |
peter1138 |
(svn r8214) -Fix (r8038): The fast forward flag stores 2 bits, not 1. Remember the
draft
|
Wed, 17 Jan 2007 22:32:34 +0000 |
tron |
(svn r8212) -Fix
draft
|
Wed, 17 Jan 2007 22:19:12 +0000 |
peter1138 |
(svn r8211) -Codechange: (NewGRF) Implement callback 2D, explicit vehicle colour map
draft
|
Wed, 17 Jan 2007 21:14:17 +0000 |
tron |
(svn r8207) -Fix
draft
|
Wed, 17 Jan 2007 21:05:39 +0000 |
miham |
(svn r8206) [Translations] -Fix: Fixed r8193, converted the html notations back to UTF8 characters
draft
|
Wed, 17 Jan 2007 20:37:25 +0000 |
miham |
(svn r8204) -Fix: reverted r8202, since it did not solve all the problems, since ALL language changes done today are garbage due to a quick bugfix in WT2 which introduced another, much more serious bug: put an utf8_to_htmlcode() call to a wrong place
draft
|
Wed, 17 Jan 2007 20:34:29 +0000 |
tron |
(svn r8203) -Fix:
draft
|
Wed, 17 Jan 2007 20:29:45 +0000 |
miham |
(svn r8202) -Fix: r8193: russian.txt changes somehow became garbage
draft
|
Wed, 17 Jan 2007 19:55:18 +0000 |
rubidium |
(svn r8198) -Codechange: two global variables are not needed when network is disabled.
draft
|
Wed, 17 Jan 2007 18:43:03 +0000 |
miham |
(svn r8193) -Update: WebTranslator2 update to 2007-01-17 19:42:11
draft
|
Wed, 17 Jan 2007 12:57:35 +0000 |
peter1138 |
(svn r8186) -Fix (FS#557): Apply railtype offset to station graphics if no custom station is in use.
draft
|
Wed, 17 Jan 2007 11:15:51 +0000 |
celestar |
(svn r8185) -Codechange: Equipped Roadstops with new/delete operators and gave them proper constructors/destructors (Thanks to KUDr for a nice interactive C++ lesson)
draft
|
Wed, 17 Jan 2007 06:54:03 +0000 |
tron |
(svn r8184) if cascade -> switch
draft
|
Wed, 17 Jan 2007 06:33:23 +0000 |
tron |
(svn r8183) When iterating over the map in AfterLoadGame() do it the same way for all loops
draft
|
Wed, 17 Jan 2007 00:01:55 +0000 |
rubidium |
(svn r8171) -Fix (FS#556): return SL_ERROR when unthreaded saves failed, to make sure we do not try to send zero-byte savegames.
draft
|
Tue, 16 Jan 2007 23:01:06 +0000 |
Darkvater |
(svn r8168) -Regression (r6783): ParseConnectionstring didn't use the port parameter if a player was also specified. (both IP#Player:Port and IP:Port#Player btw)
draft
|
Tue, 16 Jan 2007 22:56:18 +0000 |
rubidium |
(svn r8167) -Fix (FS#556): a network client crashes, due to a division by zero, when the connection gets lost at the right moment or when the packet is malformed (server sends size 0 for the map).
draft
|
Tue, 16 Jan 2007 22:10:35 +0000 |
peter1138 |
(svn r8166) -Fix (r7797): Protect against out of bounds access to the sprite ptr
draft
|
Tue, 16 Jan 2007 21:34:51 +0000 |
Darkvater |
(svn r8165) -Revert r8107 and show the MD5SUM of the *REPLACEMENT* grf file, NOT the original one. Reason for this is that this md5sum is saved, and otherwise a wrong md5sum would be stored in a savegame.
draft
|
Tue, 16 Jan 2007 20:16:30 +0000 |
Darkvater |
(svn r8164) -Codechange (r8159): Fix up some comments/doxygen for disasters and rename Submarine1/2 to small/big
draft
|
Tue, 16 Jan 2007 19:27:28 +0000 |
miham |
(svn r8163) [Translations] Re-added cases for the czech language (they were removed either accidentally or on purpose, will look after it later
draft
|
Tue, 16 Jan 2007 18:45:25 +0000 |
miham |
(svn r8162) WebTranslator2 update to 2007-01-16 19:44:34
draft
|
Tue, 16 Jan 2007 18:31:58 +0000 |
rubidium |
(svn r8161) -Fix (FS#555, r8144): enroute_from_xy was not set properly for old savegames.
draft
|
Tue, 16 Jan 2007 17:44:59 +0000 |
maedhros |
(svn r8160) -Fix (r8151): Do not use HasSignals on tiles without railways.
draft
|
Tue, 16 Jan 2007 16:54:06 +0000 |
Darkvater |
(svn r8159) -Cleanup: Sprinkle some coding-style and comments on the disaster code.
draft
|
Tue, 16 Jan 2007 16:28:41 +0000 |
Darkvater |
(svn r8158) -Fix: The submarine disaster failed to move at all due to wrong masking of trackbits
draft
|
Tue, 16 Jan 2007 15:45:20 +0000 |
rubidium |
(svn r8157) -Fix (r3136): moving cargo during auto replaces did not update the cached vehicle weight for trains properly. This caused (in network games) the server to have a different cached vehicle weight than newly joined clients would have, which causes desyncs.
draft
|
Tue, 16 Jan 2007 15:20:22 +0000 |
bjarni |
(svn r8155) -Fix: fixed compilation when --disable-network is in use
draft
|
Tue, 16 Jan 2007 15:18:02 +0000 |
peter1138 |
(svn r8154) -Codechange: Water can no longer be under bridge tiles, so don't check for it.
draft
|