Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-11-29 | (svn r3247) - Fix: "[ 1335580 ] sticky windows not sticky anymore" | peter1138 | |
Determine clicked status of sticky icon from window flags rather than the widget click state. This keeps the status in one place where it can't get out of sync. | |||
2005-11-14 | (svn r3181) -Bracing | tron | |
-Indentation -Whitespace -DeMorgan's Law -Test with NULL or 0 for non-booleans -'\0' instead of 0 for chars -Remove redundantly redundant comments (like DoFoo(); // Do foo) -Join multiple short lines with a single statement -Split single lines with multiple statements -Avoid assignments in if | |||
2005-11-13 | (svn r3173) Use the trinary operator and switch to improve readability | tron | |
Also align short cases nicely | |||
2005-11-13 | (svn r3172) static, const | tron | |
2005-10-28 | (svn r3096) - Feature: 'HOME' icon to saveload dialogs that jumps to the ↵ | Darkvater | |
default save/load directory based on the dialog (added icon to openttd.grf, introduced FIOS_TYPE_DIRECT that allows arbitrary directory jumping). - Fix: on Win32 capitalize the drive-letter in the saveload dialog windows when it is first opened. | |||
2005-10-23 | (svn r3078) Some more stuff, which piled up: | tron | |
- const, whitespace, indentation, bracing, GB/SB, pointless casts - use the trinary operator where appropriate - data types (uint[] -> AcceptedCargo, ...) - if cascade -> switch - if (ptr) -> if (ptr != NULL) - DeMorgan's Law - Fix some comments - 0 -> '\0', change magic numbers to symbolic constants | |||
2005-10-19 | (svn r3064) Replace some numbers by sprite names | tron | |
2005-10-17 | (svn r3055) Give the savegame/scenarion sort order flags symbolic names | tron | |
2005-10-07 | (svn r3024) -Codechange: Another batch of replacements of ↵ | tron | |
int/uint/int16/byte/-1 with proper types and constants | |||
2005-09-30 | (svn r3001) s/Player*/const Player*/ | tron | |
s/byte/PlayerID/ s/int/PlayerID/ and related changes | |||
2005-09-14 | (svn r2952) Querytool output is be 0xAAAA. with leading 0x. Couldn't use # ↵ | Darkvater | |
cause that would have written 0X | |||
2005-09-10 | (svn r2932) Give the strings consisting of an up/a down arrow symbolic names | tron | |
2005-08-23 | (svn r2886) Rename the "owner" attribute to "m1", because when it stores an ↵ | tron | |
owner it is accessed by [GS]etOwner anyway and when it doesn't store an owner, but arbitrary data, accessing a field called "owner" is confusing. | |||
2005-08-14 | (svn r2866) Move all functions and tables which aren't directly involved in ↵ | tron | |
managing the sprite heap to a new file gfxinit.c. This doesn't ease the global variable mess, but makes the distinction between sprite heap and gfx loading routines easier. | |||
2005-08-07 | (svn r2836) fixed the alphabetical order of the credits list like it says it ↵ | bjarni | |
is in | |||
2005-08-03 | (svn r2799) Make the only two non-const widget lists const | tron | |
2005-08-01 | (svn r2781) Fix some of the issues with variables in .h files. | ludde | |
2005-08-01 | (svn r2775) Deleting a file can fail, display an error message when it happens | tron | |
2005-07-26 | (svn r2717) Move _userstring to strings.[ch] | tron | |
2005-07-24 | (svn r2702) -Codechange: Cleaned up the sprite code and replaced many magic ↵ | celestar | |
numbers by enums. There remains work in gfx.c to move the "transparency" and "recolor" bits around to make space for more sprites. However, 2800 additional sprites can now be loaded. There also remains cleanup and Doxygen work on many of the header files. | |||
2005-07-24 | (svn r2701) Insert Id tags into all source files | tron | |
2005-07-22 | (svn r2681) - Fix OS/2 port, please do not modify openttd.wpj/tgt by hand ↵ | orudge | |
unless you know what you're doing! | |||
2005-07-22 | (svn r2675) - Fix: pressing enter on a load-window resulted in saving the ↵ | Darkvater | |
game (Luca) | |||
2005-07-22 | (svn r2673) Include functions.h directly, not globally via openttd.h | tron | |
2005-07-22 | (svn r2672) Move saving/loading related declarations to saveload.h | tron | |
2005-07-21 | (svn r2669) Shuffle some more stuff around to reduce dependencies | tron | |
2005-07-19 | (svn r2644) - Fix: my name was mistyped ;p | Darkvater | |
- Add DoDrawStringCentered() and change the multiline strings in the about box to single-line ones | |||
2005-07-19 | (svn r2638) - Fix: Unable to delete savegames. Deleting TTDLX savegames is ↵ | Darkvater | |
still broken as it was always broken, but since they don't even show up; we might as well call it a feature. | |||
2005-07-17 | (svn r2613) - Truncate savegames, and vehicle-texts in their window. | Darkvater | |
- Hardcoded width 5 for saves-path...oops :O | |||
2005-07-17 | (svn r2610) - Feature: set server map name to the loaded name of the ↵ | Darkvater | |
game/scenario. Also truncate where neccessary - Feature: truncate the path of the saveload window | |||
2005-07-15 | (svn r2580) Change: Added {INDUSTRY} command for printing industry names ↵ | ludde | |
instead of the old {TOWN} {STRING} way. - The formatting of the industry name can be controlled with the string STR_INDUSTRY_FORMAT. Change: Changed several occurences of {STRING1} into {TOWN} to get rid of townnametype being used directly. | |||
2005-07-15 | (svn r2572) - Codechange: [string] Changed string system so it's not as ↵ | ludde | |
dependent on decode_parameters - Feature: [strgen] Allow changing the order of parameters in translated strings. - Use {1:TOWN} syntax to set the order. - Codechange: [strgen] Rewrote lots of strgen internals. | |||
2005-07-13 | (svn r2558) Change the internal map format from 7 arrays to one array of ↵ | tron | |
structs, this doesn't change the saved format for now. It's a stepping stone for further changes. | |||
2005-06-25 | (svn r2486) Turn TILE_FROM_XY into an inline function and rename it to ↵ | tron | |
TileVirtXY | |||
2005-06-24 | (svn r2483) Replace almost 500 "uint tile" (and variants) with "TileIndex tile" | tron | |
2005-06-21 | (svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer | celestar | |
2005-06-15 | (svn r2444) - CodeChange: Add an enum for demagicifying the values of the ↵ | hackykid | |
'flags' parameter of DrawFrameRect(). (_Abraxa_) | |||
2005-06-15 | (svn r2441) -Feature: You can now give transfer order to set up feeder systems | celestar | |
2005-06-06 | (svn r2420) - Codechange: magic number elminitation of cursorsprites. | Darkvater | |
2005-06-02 | (svn r2397) - CodeChange: rename all "ttd" files to "openttd" files. | Darkvater | |
2005-05-30 | (svn r2385) - Feature: shortcut CTRL + U that clears the commandline of the ↵ | Darkvater | |
current input-box. As requested by Tron. | |||
2005-05-26 | (svn r2366) Use SetRedErrorSquare() instead of home brewed version | tron | |
2005-05-19 | (svn r2351) -Fix: It was possible to open more than one tree window | tron | |
2005-05-17 | (svn r2348) - Fix: Do not scroll the game with the arrow keys when the ↵ | Darkvater | |
chatbox is open | |||
2005-05-16 | (svn r2331) - Fix (regression): fix text overflows in about box. | Darkvater | |
2005-05-15 | (svn r2325) - Update OpenTTD for 0.4.0 release | Darkvater | |
2005-05-12 | (svn r2300) - CodeChange: check the last number of commands, now only the ↵ | Darkvater | |
refit ones remain, and some server-only commands. - CodeChange: remove cmd-misuses CmdStartScenario() and CmdDestroyCompanyHQ() - Fix (invisible): when parameter checking CmdRestoreOrderIndex() the vehicle did not have its orders yet, so it would fail. So move doing this until AFTER the orders have been added back in RestoreVehicleOrders() | |||
2005-05-12 | (svn r2298) - CodeChange: removed CmdAbuses: CmdSetTownNameType(), ↵ | Darkvater | |
CmdStartNewGame(), CmdCreateScenario(), CmdSetNewLandscapeType() and CmdGenRandomNewGame(). - CodeChange: renamed CmdTrainGotoDepot() to CmdSendTrainToDepot() to be consistent with other depot commands. - CodeChange: 'newgame' console command now calls the unabused GenRandomNewGame(). For the server it still creates a new game, a client quits the game and continues in SP. - CodeChange: in the game-difficulty window, setup the disabled buttons on window creation, not every redraw. | |||
2005-05-09 | (svn r2288) - CodeChange: protected the next batch of commands (41 so far, ↵ | Darkvater | |
out of 115). - CodeChange: changed the airport gui airport-type checking. Added function GetValidAirports() that returns bitmasked availibility, is also used for checking. - CodeChange: to check tree-planting, 2 const arrays have been moved to table/tree_land.h (type and count) - CodeChange: added IsTownIndex() in following of IsStationIndex(), etc. - Fix (regression): road tunnels did not work anymore, forgot that their type was 0x200 (documented now) | |||
2005-04-14 | (svn r2198) renamed MacOS to MacOSX where it was written wrong. Made myself ↵ | bjarni | |
MacOSX porter as well as coder |