summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-07-13(svn r2560) Fix: various minor code changes.ludde
Added RandomTile/RandomTileSeed functions to generate a random tile. Changed landscape routines so they don't assume that the Y map side is a power of two. (support for this is not complete, though) Changed some frequently used map macros to not compute the values each time. Silence some warnings on MSVC.
2005-07-13(svn r2559) Cleaned up new saveload code for the mapludde
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-07-13(svn r2557) -Add: Added the AUTOBRIEF option to the Doxyfilecelestar
2005-07-12(svn r2556) -Fix: update newline style of new files to native. Don't forget ↵Darkvater
this when you add a new file! 'svn ps svn:eol-style native <file>'
2005-07-12(svn r2555) Initialise since r2553 uninitialised variable and remove since ↵tron
r2553 unused array (ludde)
2005-07-12(svn r2554) - Fix: [pathfinding] Change to using some helper functions for ↵ludde
checking the railtype.
2005-07-12(svn r2553) - Fix: [pathfinding] Remove old-old train pathfinder. Enhanced ↵ludde
old pathfinder. - Penalties for red signals and for slopes. - Increased the search depth to work better with large train networks.
2005-07-12(svn r2552) - Fix: [map] Fix so the code compiles correctly and doesn't ↵ludde
crash on MSVC6 in optimization mode.
2005-07-12(svn r2551) [Translations] Added slovenian language (~20% complete)miham
2005-07-12(svn r2550) raise 32767 limit of gamma values, and 16MB limit of RIFF chunks ↵ludde
in saveload code.
2005-07-12(svn r2549) [Translators] Updated translations to 20050712 (1 lang(s))miham
2005-07-12(svn r2548) -Fix: blinking 'lock' gfx in multiplayer games. Some pixels had ↵Darkvater
special values that triggered palette-change
2005-07-11(svn r2547) [Translators] Updated translations to 20050711 (3 lang(s))miham
2005-07-11(svn r2546) Don't calculate a value which never gets used and simplify some ↵tron
calculations
2005-07-11(svn r2545) -Fix: Modified the Doxyfile so that it works on other computers ↵celestar
(than mine) as well :)
2005-07-11(svn r2544) -Add: Added the Doxyfile to the trunk. run "doxygen" to generate ↵celestar
html-based documentation on the source code on the fly (about 9MB in size currently). documentation will be stored in docs/source/html/ (request by blathijs)
2005-07-10(svn r2543) [Translators] Updated translations to 20050710 (2 lang(s))miham
2005-07-10(svn r2542) -Add: [GPMI] Added GPMI (http://sourceforge.net/projects/libgpmi/) truelight
support to OpenTTD in preperation of AIScripts (long term). It is OFF by default. Add GPMI:=1 to Makefile.config to enable.
2005-07-10(svn r2541) -Feature: Modified IsCompatibleRail so that an engine can move ↵celestar
on more than one railtype (like Diesel engines on electrified rail). -Codechange: Use IsCompatibleRail where it should be used
2005-07-09(svn r2540) [Translators] Updated translations to 20050709 (12 lang(s))miham
2005-07-09(svn r2539) * Fix: Mixed up use of trackdirs and directions in ↵matthijs
GetTileRailType() causes NPF to not consider routes under bridges.
2005-07-09(svn r2538) - Fix: Use IsCompatibleRailType() function instead of checking ↵hackykid
this yourself.
2005-07-09(svn r2537) Small changes, especially use fprintf to stderr for warnings and ↵tron
errors instead of plain printf
2005-07-09(svn r2536) - Fix: [ 1215999 ] Segmentation fault in main menu - corrupted ↵Darkvater
sample.cat. Flush the output buffer to print the error message before the game crashes. (mcmohr)
2005-07-08(svn r2535) Tabstron
2005-07-08(svn r2534) Small cleanuptron
2005-07-08(svn r2533) Move misplaced parenthesis, found by luddetron
2005-07-08(svn r2532) - Fix: Don't waste space using an int where a byte would ↵hackykid
suffice. (ludde)
2005-07-08(svn r2531) [Translators] Updated translations to 20050708 (1 lang(s))miham
2005-07-08(svn r2530) - Fix: [ 1219829 ] Mouse-wheel crashes OTTD. Widget detection ↵Darkvater
failed to detect the most-right and most-bottom pixels of a widget. If scrollwheel is used on a not-found widget (such as the background of the toolbar), it will now fail correctly (glx)
2005-07-07(svn r2529) - Fix: PBS signals showed up as normal signals with the query toolDarkvater
- Update landscape_grid.html to show busy bits used by PBS.
2005-07-07(svn r2528) - Fix: TTDPatch games had garbage in _map3[hi]&0xF0 which ↵Darkvater
interfered with OpenTTD PBS functionality; fixed in oldloader - Fix: TTD AI internals are still a puzzle and the AI in state 'SellVehicle' doesn't have a valid vehicle, so change the state to something harmless. Both fixed make sure that Megarail TTD scenario works
2005-07-07(svn r2527) - Clarify map-description file. Bits are from left to right with ↵Darkvater
the lowest bit on the left. Eg. 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ... Is that clear?
2005-07-06(svn r2525) - Fix: [pbs] Fix a mistake in the comments/docs. hackykid
2005-07-06(svn r2524) - Add pbs.[ch] to VS.NET2003 and VS6 project files.Darkvater
2005-07-06(svn r2523) Readd a comment which got lost in r2522tron
2005-07-05(svn r2522) Reorganize sprite load and decompression in order to remove a ↵tron
special case from the sprite blitter, which decompressed certain sprites every time when blitting them
2005-07-05(svn r2521) -Codechange: Removed trailing "\n"s from DEBUG statementscelestar
2005-07-05(svn r2520) [Translators] Updated translations to 20050705 (14 lang(s))miham
2005-07-05(svn r2519) - Fix: Update OS/2 project with pbs.corudge
2005-07-05(svn r2518) Small cleanuptron
2005-07-04(svn r2517) - Fix: [pbs] Detect end-of-lines properly regarding depots. hackykid
2005-07-04(svn r2516) - Feature: [pbs] Implement path-based-signalling. This allows ↵hackykid
multiple trains within the same signal block, provided their paths dont intersect. For this the block must have all exit and entry signals be pbs signals. Place these by ctrl-clicking 4 times on a normal signal. - Feature: [pbs] Implement autoplacement of pbs blocks, when a block has an entry and an exit pbs signal, covert the entire block to pbs. Can be turned off in the patch settings. - Feature: [pbs] Allow showing of reserved status by making the tracks darker, when the pbs debug level is at least 1.
2005-07-04(svn r2515) -Codechange: Removed a good deal of magic sprite numbers in the ↵celestar
rail drawing code, and placed neatly into arrays and enums. This also makes way to implement more railtypes without having to do tons of ugly hacks.
2005-07-03(svn r2514) - Codechange: [NPF] Move the checking of railtype into a ↵matthijs
funciton IsCompatibleRail(). - Codechange: [NPF] Check the railtype along a route against the engine type instead of against the previouse tile. This clears the way for electriefied rails. - Add: [NPF] [ 1209644 ] A penalty for crossings (peter1138)
2005-07-03(svn r2513) Small cleanuptron
2005-07-03(svn r2512) Small cleanuptron
2005-07-03(svn r2511) Fix an old bug in the PCX writer: The first pixel column ↵tron
contained garbage, the picture was shifted one to the right, and the last column was dropped
2005-07-02(svn r2510) [Translators] Updated translations to 20050702 (1 lang(s))miham