Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-01-02 | (svn r7759) -Merge: makefile rewrite. This merge features: | rubidium | |
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy. | |||
2007-01-02 | (svn r7751) -Codechange: move network_* to a new network map. Furthermore ↵ | rubidium | |
move the low level network functions to network/core, so they can be reused by the masterserver and website-serverlist-updater. | |||
2006-12-27 | (svn r7575) -Codechange: Allow the AI to build signals under bridges (revert ↵ | celestar | |
r4911) | |||
2006-12-27 | (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary ↵ | celestar | |
rail/road combinations (including signals) | |||
2006-12-26 | (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate ↵ | Darkvater | |
debugging levels to use in debug.h. grfmsg() is now used as a specific debug-function for grf. | |||
2006-12-13 | (svn r7494) -Fix: Really disable AI's in Multiplayer if you tell it so. In ↵ | Darkvater | |
loaded games with AI's the setting didn't take effect, resulting in immediate desyncs. | |||
2006-12-05 | (svn r7372) - CodeChange: Rename all GetXXXArraySize() functions to ↵ | matthijs | |
GetNumXXX() and add GetMaxXXXIndex() functions. This prepares for the new pool interface. | |||
2006-11-05 | (svn r7074) -Fix (r7073): stupid debugs | peter1138 | |
2006-11-05 | (svn r7073) -Feature: Add cargo refit support to both AIs for road vehicles | peter1138 | |
2006-11-05 | (svn r7072) -Fix (r7070): Go up, not down, through the engines. And replace ↵ | peter1138 | |
the comment too... | |||
2006-11-05 | (svn r7070) -Codechange: Make the AI choose road vehicles based on a rating ↵ | peter1138 | |
(currently max speed * capacity) instead of either the cost or the index of the vheicle. | |||
2006-11-05 | (svn r7069) -Fix: AI tried to build road from the back or side of road ↵ | KUDr | |
stop/depot (peter1138) | |||
2006-11-03 | (svn r7057) -Codechange: Remove hardcoded lists of road vehicles for each ↵ | peter1138 | |
cargo type in favour of just checking the cargo type of each vehicle. | |||
2006-11-03 | (svn r7048) -Cleanup: DEBUG doesn't need a newline character, use DEBUG ↵ | Darkvater | |
instead of printf and the verb is build/built/built not build/*/build or build/*/builded. | |||
2006-10-31 | (svn r7020) -Fix r6047: AI tries to delete stations that are 'in use' ↵ | glx | |
because FOR_ALL_STATIONS skips invalid stations | |||
2006-10-15 | (svn r6780) -Codechange: Remove GPMI leftovers (-b impersonisation of AI in MP). | Darkvater | |
2006-10-14 | (svn r6776) -Codechange: Use IsValidPlayer() function to determine of a ↵ | Darkvater | |
PlayerID is an actual playable player (< MAX_PLAYERS) or not. | |||
2006-10-14 | (svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to ↵ | Darkvater | |
PLAYER_SPECTATOR and put it into player.h where it belongs (instead of map.h) | |||
2006-10-14 | (svn r6771) -Codechange: Replace two macros with functions. IS_HUMAN_PLAYER and | Darkvater | |
IS_INTERACTIVE_PLAYER | |||
2006-10-12 | (svn r6752) -Codechange: Move command functions from messy functions.h into ↵ | Darkvater | |
command.h | |||
2006-09-05 | (svn r6407) -Fix: Check return values of DoCommand() with CmdFailed and that ↵ | Darkvater | |
of DoCommandP with a boolean type. | |||
2006-09-05 | (svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because ↵ | Darkvater | |
it accepts DiagDirections, and add TileOffsByDir that handles Directions. -Codechange: Make the treeloop use TileOffsByDir(). | |||
2006-09-03 | (svn r6353) -Codechange: Make DestinationID a typedef of uin16, which is as ↵ | tron | |
large as any type of destinataion (StationID, DepotID, WaypointID) it can hold DestinationID being a union of these types is just hassle without benefit and cannot be handled correctly everywhere because of local lack of information | |||
2006-08-31 | (svn r6280) -Codechange: Use the same naming for trains as for other vehicles: | Darkvater | |
CMD_SEND_TRAIN_TO_DEPOT instead of CMD_TRAIN_GOTO_DEPOT | |||
2006-08-28 | (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else ↵ | rubidium | |
{' -> '} else {', tabs between code and comment, etc. | |||
2006-08-26 | (svn r6142) -Codechange: added WaypointID (sorry DV, couldn't splits it anymore) | truelight | |
-Codechange: introduced DestinationID, which is in fact an union of several types Used in Order struct, so no longer StationID is abused for all targets. Hangars are a big exception, as they use a station-id with GOTO_DEPOT (go figure) | |||
2006-08-22 | (svn r6057) -Codechange: made a function GetRandomXXX, that _always_ returns ↵ | truelight | |
a valid XXX, unless there are none to pick from. Then NULL is returned. | |||
2006-08-22 | (svn r6055) -Codechange: added GetXXXArraySize, which returns HighestID + 1 ↵ | truelight | |
(or, will do that). It isn't the best name, but we couldn't find any better. This unifies the pool-system even more. | |||
2006-08-22 | (svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips ↵ | truelight | |
invalid ones -Codechange: use IsValidXXX where ever possible Note: both changes to prepare for new pool system, which needs those changes. For every pool there are 2 ugly lines, which will be removed when done implementing new pool system. Based on FS#13 by blathijs, partly implemented. | |||
2006-08-22 | (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. ↵ | rubidium | |
whitespace fixes only except for a few comments to make them uniform for the whole enum/struct. | |||
2006-08-22 | (svn r6043) -Codechange: use wrapper if they are available | truelight | |
2006-08-20 | (svn r5975) -Cleanup: use ORIGINAL_BASE_YEAR & ORIGINAL_MAX_YEAR where the ↵ | rubidium | |
functions really depend on the original date format. -Cleanup: use DAYS_TILL_ORIGINAL_BASE_YEAR where the date variables are in the old date format and conversions are needed. -Cleanup: replace one (forgotten) instance of uint16 with Date. | |||
2006-08-14 | (svn r5887) -Cleanup: move date related functions, defines and variables to ↵ | rubidium | |
date.[ch] -Cleanup: fix whitespace related coding style issues in date.[ch] -Cleanup: make original comments doxygen compatible and remove/change outdated comments | |||
2006-06-27 | (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular | tron | |
2006-06-14 | (svn r5263) Use the flag which denotes if it's a plane or helicopter instead ↵ | tron | |
of magical engine numbers | |||
2006-06-11 | (svn r5228) Suppress MSVC warnings about signed/unsigned comparison | KUDr | |
2006-06-11 | (svn r5222) Misc. smaller changes, mostly const, variable scope and ↵ | tron | |
replacing some magic numbers by enums | |||
2006-06-10 | (svn r5210) Many small changes which piled up: const, unsigned, variable ↵ | tron | |
scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc. | |||
2006-06-07 | (svn r5155) - Remove the bridge branch merge (revision r5070) | tron | |
2006-06-05 | (svn r5129) Accommodate the default AI for the new railtype: It used hard ↵ | tron | |
coded numbers instead of enums to calculate prices | |||
2006-06-05 | (svn r5128) Remove the global variable _cur_ai_player | tron | |
2006-06-05 | (svn r5127) Use IsRoadVehInDepotStopped() and IsAircraftInHangarStopped() | tron | |
2006-06-04 | (svn r5098) Do some manual CSE and replace a few magic numbers to improve ↵ | tron | |
the readability of the trolly AI | |||
2006-06-04 | (svn r5097) -Fix: The trolly AI used information from the wrong industry ↵ | tron | |
when calculating the amount of to be transported goods | |||
2006-06-04 | (svn r5096) Avoid unnecessary copying of _cmd_text | tron | |
2006-06-04 | (svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. ↵ | tron | |
_new_vehicle_id is enough. | |||
2006-06-04 | (svn r5092) -Fix: There was a gross race condition in the AI code which made ↵ | tron | |
it pretty random if the AI could give a new vehicle its orders | |||
2006-06-04 | (svn r5091) Remove duplicate code (same check twice) | tron | |
2006-06-02 | (svn r5070) Merged the bridge branch | celestar | |
-Feature: Bridges can now be placed above: Any railway track combination (excluding depots and waypoints) Any road combination (excluding depots) Clear tiles (duh), including fields Tunnel entrances Bridge heads Thanks to Tron for idea and implementation, KUDr for the yapf synchronization and many others for hours of testing There are still a number of visual problems remaining, especially when electric railways are on or under the bridge. DO NOT REPORT THOSE BUGS FOR THE TIME BEING please. | |||
2006-05-21 | (svn r4943) uint tile -> TileIndex tile, byte player -> PlayerID player | tron | |