Commit Graph

2286 Commits

Author SHA1 Message Date
celestar
f2e4b6b2f6 (svn r2544) -Add: Added the Doxyfile to the trunk. run "doxygen" to generate 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-11 09:00:49 +00:00
miham
f2e0a57627 (svn r2543) [Translators] Updated translations to 20050710 (2 lang(s)) 2005-07-10 17:46:07 +00:00
truelight
48b3b8699d (svn r2542) -Add: [GPMI] Added GPMI (http://sourceforge.net/projects/libgpmi/)
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 14:57:43 +00:00
celestar
84faec4c43 (svn r2541) -Feature: Modified IsCompatibleRail so that an engine can move on more
than one railtype (like Diesel engines on electrified rail).
-Codechange: Use IsCompatibleRail where it should be used
2005-07-10 01:25:17 +00:00
miham
92a8900518 (svn r2540) [Translators] Updated translations to 20050709 (12 lang(s)) 2005-07-09 17:45:57 +00:00
matthijs
405ca1ea4d (svn r2539) * Fix: Mixed up use of trackdirs and directions in GetTileRailType() causes NPF to not consider routes under bridges. 2005-07-09 13:45:21 +00:00
hackykid
3091f97c41 (svn r2538) - Fix: Use IsCompatibleRailType() function instead of checking this yourself. 2005-07-09 11:39:35 +00:00
tron
d7c0bf20d2 (svn r2537) Small changes, especially use fprintf to stderr for warnings and errors instead of plain printf 2005-07-09 09:24:34 +00:00
Darkvater
93a3b7e0a1 (svn r2536) - Fix: [ 1215999 ] Segmentation fault in main menu - corrupted sample.cat. Flush the output buffer to print the error message before the game crashes. (mcmohr) 2005-07-09 00:14:40 +00:00
tron
1307f90b5e (svn r2535) Tabs 2005-07-08 22:25:24 +00:00
tron
11421beed1 (svn r2534) Small cleanup 2005-07-08 21:24:27 +00:00
tron
fde78bb03f (svn r2533) Move misplaced parenthesis, found by ludde 2005-07-08 19:46:41 +00:00
hackykid
dad7e8f486 (svn r2532) - Fix: Don't waste space using an int where a byte would suffice. (ludde) 2005-07-08 19:02:26 +00:00
miham
0438c54bd7 (svn r2531) [Translators] Updated translations to 20050708 (1 lang(s)) 2005-07-08 17:46:10 +00:00
Darkvater
5f2c7448b5 (svn r2530) - Fix: [ 1219829 ] Mouse-wheel crashes OTTD. Widget detection 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-08 00:14:19 +00:00
Darkvater
bf794fad62 (svn r2529) - Fix: PBS signals showed up as normal signals with the query tool
- Update landscape_grid.html to show busy bits used by PBS.
2005-07-07 22:15:34 +00:00
Darkvater
4ae02ddbad (svn r2528) - Fix: TTDPatch games had garbage in _map3[hi]&0xF0 which 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 22:14:37 +00:00
Darkvater
8442562b7b (svn r2527) - Clarify map-description file. Bits are from left to right with 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-07 15:21:55 +00:00
hackykid
7f2424b241 (svn r2525) - Fix: [pbs] Fix a mistake in the comments/docs. 2005-07-06 10:43:36 +00:00
Darkvater
861df07677 (svn r2524) - Add pbs.[ch] to VS.NET2003 and VS6 project files. 2005-07-06 10:41:56 +00:00
tron
718a41f517 (svn r2523) Readd a comment which got lost in r2522 2005-07-06 06:18:53 +00:00
tron
784420e706 (svn r2522) Reorganize sprite load and decompression in order to remove a special case from the sprite blitter, which decompressed certain sprites every time when blitting them 2005-07-05 19:54:35 +00:00
celestar
53e58e8bdb (svn r2521) -Codechange: Removed trailing "\n"s from DEBUG statements 2005-07-05 17:47:10 +00:00
miham
d6b487b665 (svn r2520) [Translators] Updated translations to 20050705 (14 lang(s)) 2005-07-05 17:45:50 +00:00
orudge
324bb4f829 (svn r2519) - Fix: Update OS/2 project with pbs.c 2005-07-05 12:10:06 +00:00
tron
a468f14870 (svn r2518) Small cleanup 2005-07-05 11:09:18 +00:00
hackykid
6b3b784c85 (svn r2517) - Fix: [pbs] Detect end-of-lines properly regarding depots. 2005-07-04 15:25:06 +00:00
hackykid
ab9c6f126d (svn r2516) - Feature: [pbs] Implement path-based-signalling. This allows 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 14:58:55 +00:00
celestar
d07e1a875e (svn r2515) -Codechange: Removed a good deal of magic sprite numbers in the 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-04 10:01:06 +00:00
matthijs
e675794812 (svn r2514) - Codechange: [NPF] Move the checking of railtype into a 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 13:02:54 +00:00
tron
7ecc1a040f (svn r2513) Small cleanup 2005-07-03 11:31:03 +00:00
tron
4e88566d76 (svn r2512) Small cleanup 2005-07-03 10:22:20 +00:00
tron
c3b47e09d3 (svn r2511) Fix an old bug in the PCX writer: The first pixel column contained garbage, the picture was shifted one to the right, and the last column was dropped 2005-07-03 07:51:13 +00:00
miham
e9ecf89078 (svn r2510) [Translators] Updated translations to 20050702 (1 lang(s)) 2005-07-02 17:45:05 +00:00
celestar
edf89d7950 (svn r2507) -Fix: Forgot to change an enum in rail.h in r2499 (thanks blathijs for
pointing it out)
2005-07-02 13:03:56 +00:00
bjarni
c6287f942d (svn r2506) - Fix: [OSX, makefile] The makefile can now also see OSX 10.4 as OSX 2005-07-01 18:16:16 +00:00
tron
6923badbba (svn r2505) Remove some unnecessary #includes 2005-07-01 15:46:27 +00:00
tron
62b5e913c6 (svn r2504) Move Draw*EngineInfo to engine_gui.c to reduce dependencies 2005-07-01 14:05:44 +00:00
tron
12e506bd1b (svn r2503) Small cleanup 2005-07-01 06:25:35 +00:00
tron
332479778e (svn r2502) Small cleanup 2005-06-30 19:49:01 +00:00
tron
e0f748a34d (svn r2501) Forgot to change part of the win32 code in r2497 2005-06-30 19:28:00 +00:00
miham
953912064c (svn r2500) [Translators] Updated translations to 20050630 (1 lang(s)) 2005-06-30 17:45:14 +00:00
celestar
189a1c4017 (svn r2499) -Codechange: Moved the semaphore bit from bit 2 to bit 3 in _map_hi for rails, in order to make way for pbs 2005-06-30 13:24:17 +00:00
tron
b39195ddfa (svn r2498) -Fix: [1230241] The console variable autoclean_unprotected was linked to the variable _network_autoclean_protected 2005-06-30 12:42:27 +00:00
tron
6319c11b1f (svn r2497) Use a struct array for palette entries instead of a flat byte array 2005-06-30 05:27:32 +00:00
tron
f183467322 (svn r2496) -Fix: [1179933] When toggling build/remove via keyboard the selection wasn't correctly redrawn 2005-06-29 08:14:09 +00:00
miham
35e614b436 (svn r2495) [Translators] Updated translations to 20050628 (1 lang(s)) 2005-06-28 17:45:15 +00:00
hackykid
77d99eb807 (svn r2494) - Fix: [newgrf] Dont assume a spriteset can only have 4 or 8 sprites. 2005-06-27 21:34:31 +00:00
miham
f81766c3fd (svn r2493) [Translators] Updated translations to 20050627 (1 lang(s)) 2005-06-27 17:45:21 +00:00
tron
5cbd8b598c (svn r2492) Remove some pointless casts and fix some nearby indentation 2005-06-27 06:57:24 +00:00