summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-12-05(svn r3261) - Autoreplace: If a replaced vehicle had a custom name, transfer ↵peter1138
it to the new vehicle. Fixes "[ 1370039 ] Autoreplaced vehicles lose their names"
2005-12-05(svn r3260) -Add: add events for AIs to check if a command execution failed ↵truelight
or succeeded
2005-12-04(svn r3259) -Fix: [OSX] fixed that universal binaries did not make a bundlebjarni
2005-12-04(svn r3258) -Feature: [OSX] added support for universal binariesbjarni
it needs both PPC and x86 libs to compile due to this fact, compilation with libPNG or SDL is not tested (dedicated servers only) only PPC part is tested as I don't have x86 OSX
2005-12-03(svn r3257) -Codechange: [OSX] removed the dynamic lib in bundle option ↵bjarni
(introduced in rev 3230) it caused way more problems than it solved
2005-12-03(svn r3256) -Fix: [OSX] fixed issue where building the bundle could take ↵bjarni
place before linking if -j 2 was used
2005-12-02(svn r3254) - Fix: graphical glitch with autorail tool on a certain tile-type.Darkvater
- CodeChange: adhere the global variables in autorail.h to the coding style (eg. start with underscore).
2005-12-02(svn r3253) -Add: add BuildRoad event for AIstruelight
2005-12-02(svn r3252) - NewGRF: Map new train subtypes to old types for rail vehicles.peter1138
2005-12-01(svn r3251) -Fix: report errors from GPMI in a more detailed way (Igor2Code)truelight
2005-11-30(svn r3250) -Fix: AIs weren't uninitialized when a new game was loadedtruelight
2005-11-30(svn r3249) Fix for issue introduced in r3228. The original code was good ↵peter1138
for raising, then for lowering, now for both.
2005-11-29(svn r3248) - Codechange: Change interface of CanRefitTo() to supply the ↵peter1138
engine type directly instead of getting it from a vehicle. This allows the function to be used before vehicles are involved.
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-29(svn r3246) -Fix: small glitch in ai_network_client code (network_client.c)truelight
-Fix: make sure this glitch can never happen again (ai.c)
2005-11-29(svn r3245) -Add: allow OpenTTD to give his GPMI-params to the GPMI modulestruelight
2005-11-28(svn r3244) -Fix: [GPMI] Even more GPMI based AI-code cleanup, bug fixes, ↵truelight
and you can now control the AI that is going to boot
2005-11-28(svn r3243) -Fix: IncreaseLoan and DecreaseLoan were inconsistent for AIstruelight
2005-11-27(svn r3242) -Fix: small glitch in AllowAI controltruelight
2005-11-26(svn r3239) - Codechange: Introduce and use helper functions for engine ↵peter1138
replacement code.
2005-11-26(svn r3238) -Fix: always save if you want GPMI-based AIs, this on request by truelight
Darkvater, so we can, in the future, save patch options in savegames without any problems.
2005-11-26(svn r3237) - CodeChange: remove silencing of some warnings. MSVC6 once ↵Darkvater
again has some issues with enums, and other things as usual, so silence those still.
2005-11-26(svn r3236) - Fix: warnings about 'CDECL must be used with ...' on VS6Darkvater
2005-11-26(svn r3235) - Fix: fix two crashes, one with making a screenshot in the main ↵Darkvater
menu without any game loaded, another when failing to load a scenario in 'New Game'
2005-11-23(svn r3234) [Translations] Estonian is still unfinishedmiham
2005-11-23(svn r3233) [Translations] Estonian now available againmiham
2005-11-23(svn r3232) -Add: implemented the event-system for AIstruelight
-Add: added several hooks (event-callbacks) for road-related-stuff
2005-11-23(svn r3231) Fix: update the GPMI implementation to the latest GPMI-API versiontruelight
2005-11-23(svn r3230) -Feature: [OSX] OSX builds can now change where it searches for ↵bjarni
dynamic libs and can move libs into the bundle This is not a fix for the issues with static linking, more like a workaround. Static linking still got issues Apple recommends to use dynamic linking anyway, so I guess this doesn't matter much
2005-11-22(svn r3229) -Add: add more GPMI support. Now GPMI-based AIs can be loaded ↵truelight
(doesn't change a thing if you didn't enable GPMI)
2005-11-22(svn r3228) - Fix: [ 1327011 ] Fix: don't lower land on tunnel, even with ↵peter1138
diag tracks on it (based on patch by glx)
2005-11-22(svn r3227) -Codechange: [Savegame] removed 'minor' version, and renamed ↵truelight
'major' version to just: version.
2005-11-22(svn r3226) -Fix: GPMI implementation had minor glitchestruelight
-Fix: the AI speed control is done by the AI-core, individual AIs don't have to do it (so, AIs were delayed twice ;) -Add: Support for AI-network-clients (an AI, connecting to a remote server) -Fix: minor AI-core problems
2005-11-22(svn r3225) - Fix for "[ 1359165 ] Autoreplace problem with r3171 and later" ↵peter1138
-- Move the disabled/hidden bits to custom data in window struct.
2005-11-21(svn r3224) -Add: Allow the NewAI to work in Multiplayer Games (switchable ↵truelight
via patch settings, off by defaut). An other step to AIScripts. WARNING: this is still highly experimental and has known bugs!
2005-11-19(svn r3223) -Fix: [autoreplace] fixed crash when replacing a train engine ↵bjarni
without any cars (introduced in r3220)
2005-11-19(svn r3222) -Feature: Right-Click-Scrolling optionally moves in the opposite ↵tron
direction (Requested by manx)
2005-11-19(svn r3221) [Translations] Updated to 2005-11-19miham
2005-11-19(svn r3220) -Fix: [autoreplace] Autoreplaced trains now replace their cargo ↵bjarni
to the train instead of just the new engine This applies to wagon removal during autoreplace too
2005-11-19(svn r3219) -Codechange: removed the now obsolite code in the build train ↵bjarni
command to make half multiheaded engines
2005-11-18(svn r3218) -Feature: Multiheaded train engines will now stay in the same trainbjarni
This means that any user attempt to remove a rear engine will tell the user to move the front engine instead This fixes the assert when moving multiheaded engines (introduced in r3144) Note: to make old savegames use this feature, some engines might be turned around in order to link engines in pairs -Codechange: train subtype is now a bitmask This allows fast access to info like if it is a wagon or engine and if it is in front and so on Note: savegame version bump
2005-11-18(svn r3217) Fix issue with resizing stepped windows introduced in revision 3181.peter1138
2005-11-17(svn r3216) - Fix (regression): endless loop introduced in revision 3190Darkvater
2005-11-17(svn r3215) - Fix: warning on VS.NET 2003 complaining about constness ↵Darkvater
reintroduced by revision 3192
2005-11-17(svn r3214) -Feature: openttd.cfg can now set how many autosaves to keep ↵bjarni
before starting to overwrite old ones max_autosave_num in the config files sets the number of autosaves to keep (default 16) MAX_NUM_AUTOSAVES in Makefile.config sets the default value. 16 is used if no value is given this behaviour can still be overwritten by keep_all_autosave (openttd.config setting) Note: this is a requested behaviour for PDA ports, since they got limited storage space
2005-11-17(svn r3213) - Codechange: Clean up handling of road stops, avoiding ↵peter1138
unnecessary use of pointers and using the *BIT() macros.
2005-11-16(svn r3212) - Waypoints/Depots: Store waypoint index in m2 for waypoints. ↵peter1138
This moves the ground type bits from m2 to m4 for waypoints and depots (leaving room for depot index in m2 in future), and moves the custom graphics ID to the waypoint struct. - Waypoints: Until now stat_id was saved but never assigned to. Instead we now save the GRFID/local index of the custom graphics so that GRF file changes can leave graphics intact.
2005-11-16(svn r3211) Fix typo in r3181tron
2005-11-16(svn r3210) -Codechange: use IsRailWaypoint where possible (instead of ↵truelight
magicnumbers) -Codechange: IsRailWaypoint should take 'tile', not 'm5'
2005-11-16(svn r3209) In TileLoop_Track(), use names based on function rather than ↵peter1138
their place in the map array.