tron
71140a5768
(svn r2669) Shuffle some more stuff around to reduce dependencies
2005-07-21 22:15:02 +00:00
miham
cae796828b
(svn r2668) [Translations] Updated to 2005-07-21 (4 langs)
2005-07-21 21:13:42 +00:00
miham
3e12587f7a
(svn r2667) [Translations] Restored german translations (2652:2653)
2005-07-21 19:58:36 +00:00
tron
0feddf1da1
(svn r2666) w32dm.c needs MAX_PATH, which gets defined in variables.h
2005-07-21 19:57:07 +00:00
tron
cbd5227934
(svn r2665) Move some variables, which are only used by music_gui.c, there
2005-07-21 19:46:58 +00:00
tron
8b05455903
(svn r2664) Remove depedency on player.h from variables.h
2005-07-21 19:36:43 +00:00
tron
b0779b4b65
(svn r2663) Include variables.h only in these files which need it, not globally via openttd.h
2005-07-21 18:44:27 +00:00
miham
377c3a510c
(svn r2662) [Translations] Updated translations to 2005-07-20
2005-07-21 18:01:43 +00:00
miham
f7638b1794
(svn r2661) [Translators] Updated translations to 20050721 (1 lang(s))
2005-07-21 17:44:20 +00:00
tron
6ad3895306
(svn r2660) Get rid of some more shifting/anding/casting
2005-07-21 06:31:02 +00:00
tron
e3f4aecd37
(svn r2659) Catch up with reality in the landscape documentation
2005-07-21 06:13:17 +00:00
celestar
1fed0046ac
(svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite
2005-07-20 22:05:13 +00:00
celestar
7bce410f61
(svn r2657) -Codechange: The available railtypes per player are now a bitmask, so
...
that railtypes do not be in ascending order of appearance. Allows easier
implementation or more railtypes
2005-07-20 22:02:58 +00:00
miham
b4b7d1d6bd
(svn r2656) [Translations] Revert changes done in 2653
2005-07-20 19:15:23 +00:00
tron
765e80114b
(svn r2655) An uint16 is an uint16, not a byte - fix wrong cast
2005-07-20 19:12:30 +00:00
tron
e36d25210e
(svn r2654) SlWriteUint16() should have a uint16 as parameter, not some arbitrary enum
2005-07-20 19:08:02 +00:00
miham
f1946d8349
(svn r2653) [Translators] Updated translations to 20050720 (28 lang(s))
2005-07-20 17:48:35 +00:00
Darkvater
b8f1bbbad1
(svn r2652) - CodeChange: show 'too many sprites' in hex value; Patch signed off by Tron
2005-07-20 15:38:11 +00:00
Darkvater
c1f63a289a
(svn r2651) - Fix: [ 1220776 ] Removes warning when compiling saveload.c on some GCC versions (glx). This only works as long as there is only 1 saving thread active, as is the case now.
2005-07-20 15:36:22 +00:00
tron
f09638ad3d
(svn r2650) Convert many explicit shifts+ands to extract bits to invocations of GB - should be a bit nicer to read
2005-07-20 15:29:28 +00:00
ludde
f3645d7307
(svn r2649) Get rid of 2 warnings.
2005-07-20 09:49:04 +00:00
ludde
50660a2c94
(svn r2648) Only use _stdcall calling convention for zlib on win32/msvc.
2005-07-20 09:35:05 +00:00
ludde
57f92104af
(svn r2647) Fix: [ntp] Fix assertion error introduced in r2635
2005-07-20 09:31:46 +00:00
ludde
a2f6256c33
(svn r2646) Change: [ntp] Fix uninitialized variable and add some more asserts to be able to debug an assert error.
2005-07-20 09:17:20 +00:00
Darkvater
72c33083f5
(svn r2645) Fix (useless)warning in graph_gui and add brackets around HASBIT in an if statement
2005-07-19 22:29:35 +00:00
Darkvater
57084f2caa
(svn r2644) - Fix: my name was mistyped ;p
...
- Add DoDrawStringCentered() and change the multiline strings in the about box to single-line ones
2005-07-19 22:12:04 +00:00
tron
7269771544
(svn r2643) Get rid of some unnecessary casts
2005-07-19 21:49:35 +00:00
miham
cea98113b7
(svn r2642) [Translators] Updated translations to 20050719 (0 lang(s))
2005-07-19 21:28:15 +00:00
ludde
d4e424bc48
(svn r2641) Fix: [strings] forgot to increase argv pointer twice for {CARGO}
2005-07-19 21:14:00 +00:00
Darkvater
2419ee5d54
(svn r2640) - CodeChange: change calling convention to __fastcall as well for vs.net2003 as it was done for vs6. Debug/Release works fine for me, if there are probs let me (+ludde) know.
2005-07-19 20:52:15 +00:00
celestar
c6dccce69e
(svn r2639) -Add: Added the vehicle names in table/engines.h so that you know what line represents what vehicle (I hope I didn't mess that up). Added some comments while I'm at it and include the table/ directory in the Doxygen generation
2005-07-19 20:45:47 +00:00
Darkvater
b49ce7c805
(svn r2638) - Fix: Unable to delete savegames. Deleting TTDLX savegames is 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-19 20:43:53 +00:00
miham
85c9e125ea
(svn r2637) [Translations] Updated to 2005-07-18
2005-07-19 16:34:46 +00:00
ludde
868938a64b
(svn r2636) Fix: Switched to using the _fastcall calling convention instead of cdecl. (Please tell me if you get linking problems)
2005-07-19 11:55:47 +00:00
ludde
08725cd6df
(svn r2635) Fix: [ntp/misc] Improve the old pathfinder. Changed it to A* instead of Dijkstra.
...
- Benchmark shows that NTP is now around 10x faster than NPF.
- Made IsTunnelTile macro to determine if a tile is a tunnel.
- Added some useful debugging functions for making tiles red / getting accurate timestamps.
- Remove old depot finding algorithm.
- Disable warning for signed/unsigned comparisons.
2005-07-19 11:42:40 +00:00
tron
857a3a1ffc
(svn r2634) Fix typo: IsSteepTile expects a tileh, not a TileIndex (thanks to peter1138)
2005-07-19 07:20:48 +00:00
tron
87be1312d2
(svn r2633) Move spritecache related variable from variables.h to spritecache.[ch]
2005-07-19 06:54:13 +00:00
tron
6500fd2b91
(svn r2632) Revert accidently commited change
2005-07-19 06:48:12 +00:00
tron
bce6f5c0a5
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
2005-07-19 06:47:07 +00:00
tron
3428e4e4b0
(svn r2630) Forgot one Pixel (see r2571)
2005-07-19 06:31:39 +00:00
truelight
f4032b8f9f
(svn r2629) -Codechange: removed stupid comment on top of players.c
2005-07-18 23:33:14 +00:00
Darkvater
c966fc23fb
(svn r2628) - Fix: Planting trees does not result in a MapSize() assertion anymore; introduced in r2598
2005-07-18 00:17:19 +00:00
miham
dc5ee38738
(svn r2627) [Translations] Fixing typos in hungarian langfile
2005-07-17 22:20:04 +00:00
tron
152439b56c
(svn r2626) static, const, misc.
2005-07-17 20:14:58 +00:00
hackykid
552aa1b4dc
(svn r2625) - Fix: [pbs] Store the end of a train's reserved path explicitly. Prevents trains from unreserving eachothers paths in some cases.
...
- CodeChange: Use the TrackdirToTrack function instead of &7, and remove an unneeded variable.
2005-07-17 20:09:02 +00:00
Darkvater
09195e0bda
(svn r2624) - Fix: oops, forgot to change the already in use DrawStringCenteredTruncated() functions.
2005-07-17 19:38:40 +00:00
Darkvater
186036229c
(svn r2623) - CodeChange: rework DrawStringCenteredTruncated() a bit. Instead of giving center + width you give the coordinates of the bounding box (left, right) it has to fit in (ludde)
...
- CodeChange: changed (back) maximum pixel length of truncated strings to a signed integer.
2005-07-17 19:23:18 +00:00
ludde
b998b9b8e6
(svn r2622) Fix: remove _cargoc.names_p, it was never used.
2005-07-17 18:49:05 +00:00
hackykid
d5b305852f
(svn r2621) - Fix: [pbs] When removing tracks, clear their reserved status.
2005-07-17 18:48:45 +00:00
ludde
7238b015fa
(svn r2620) Fix: [language] Fix broken french.txt and polish.txt
2005-07-17 18:48:05 +00:00