celestar
18a93cca3d
(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
19 years ago
miham
030c37160d
(svn r2656) [Translations] Revert changes done in 2653
19 years ago
tron
389f61218d
(svn r2655) An uint16 is an uint16, not a byte - fix wrong cast
19 years ago
tron
4130198f48
(svn r2654) SlWriteUint16() should have a uint16 as parameter, not some arbitrary enum
19 years ago
miham
3720503e7c
(svn r2653) [Translators] Updated translations to 20050720 (28 lang(s))
19 years ago
Darkvater
29b81f63fd
(svn r2652) - CodeChange: show 'too many sprites' in hex value; Patch signed off by Tron
19 years ago
Darkvater
7da16dbf4b
(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.
19 years ago
tron
ac66e3e28f
(svn r2650) Convert many explicit shifts+ands to extract bits to invocations of GB - should be a bit nicer to read
19 years ago
ludde
f432314fa9
(svn r2649) Get rid of 2 warnings.
19 years ago
ludde
951cde5b72
(svn r2648) Only use _stdcall calling convention for zlib on win32/msvc.
19 years ago
ludde
26c8bdde43
(svn r2647) Fix: [ntp] Fix assertion error introduced in r2635
19 years ago
ludde
b8b14ac6c8
(svn r2646) Change: [ntp] Fix uninitialized variable and add some more asserts to be able to debug an assert error.
19 years ago
Darkvater
2379c59ab8
(svn r2645) Fix (useless)warning in graph_gui and add brackets around HASBIT in an if statement
19 years ago
Darkvater
f0c0c03c5f
(svn r2644) - Fix: my name was mistyped ;p
...
- Add DoDrawStringCentered() and change the multiline strings in the about box to single-line ones
19 years ago
tron
7c694f2553
(svn r2643) Get rid of some unnecessary casts
19 years ago
miham
4b1c520264
(svn r2642) [Translators] Updated translations to 20050719 (0 lang(s))
19 years ago
ludde
7a553d8439
(svn r2641) Fix: [strings] forgot to increase argv pointer twice for {CARGO}
19 years ago
Darkvater
34253195a2
(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.
19 years ago
celestar
448467a9a1
(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
19 years ago
Darkvater
99c17f8ac7
(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.
19 years ago
miham
e3a75901c9
(svn r2637) [Translations] Updated to 2005-07-18
19 years ago
ludde
5862c0a174
(svn r2636) Fix: Switched to using the _fastcall calling convention instead of cdecl. (Please tell me if you get linking problems)
19 years ago
ludde
3e97dda275
(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.
19 years ago
tron
29f6ada06a
(svn r2634) Fix typo: IsSteepTile expects a tileh, not a TileIndex (thanks to peter1138)
19 years ago
tron
c1da382e9a
(svn r2633) Move spritecache related variable from variables.h to spritecache.[ch]
19 years ago
tron
bbc4c5fc34
(svn r2632) Revert accidently commited change
19 years ago
tron
28a6e10a63
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
19 years ago
tron
6b439d6f82
(svn r2630) Forgot one Pixel (see r2571)
19 years ago
truelight
dcd97a431b
(svn r2629) -Codechange: removed stupid comment on top of players.c
19 years ago
Darkvater
5695330940
(svn r2628) - Fix: Planting trees does not result in a MapSize() assertion anymore; introduced in r2598
19 years ago
miham
e52443ebc1
(svn r2627) [Translations] Fixing typos in hungarian langfile
19 years ago
tron
59d4ab3752
(svn r2626) static, const, misc.
19 years ago
hackykid
1d11bbb34d
(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.
19 years ago
Darkvater
eabc482184
(svn r2624) - Fix: oops, forgot to change the already in use DrawStringCenteredTruncated() functions.
19 years ago
Darkvater
0550c4a87a
(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.
19 years ago
ludde
52b42ff508
(svn r2622) Fix: remove _cargoc.names_p, it was never used.
19 years ago
hackykid
edbe969d23
(svn r2621) - Fix: [pbs] When removing tracks, clear their reserved status.
19 years ago
ludde
df08e10cfa
(svn r2620) Fix: [language] Fix broken french.txt and polish.txt
19 years ago
ludde
abc9376308
(svn r2619) Fix: [viewport] Fix potential buffer overflow reported by Tron
19 years ago
Darkvater
39c9b8a665
(svn r2618) - Fix: add mersenne.c to VS6 project file (ludde)
19 years ago
Darkvater
ff2662ebe7
(svn r2617) - Fix: fix some warnings, and reenable vs.net2003 signed/unsigned warnings
19 years ago
tron
b9a6c16461
(svn r2616) Don't stop when compiling a language fails, just delete the defective .lng
19 years ago
miham
71277a2283
(svn r2615) [trrnasltwsds] 45253rqwer2
19 years ago
Darkvater
dfc3695ad7
(svn r2614) - Fix: Trunctuate function used one less character than it was supposed to. Because of this real width and reported width didn't correspond with eachother.
19 years ago
Darkvater
f8b7b107d8
(svn r2613) - Truncate savegames, and vehicle-texts in their window.
...
- Hardcoded width 5 for saves-path...oops :O
19 years ago
truelight
99c6944497
(svn r2612) -Fix: corrected headers for ai_new.h
19 years ago
Darkvater
0eef2daf06
(svn r2611) - CodeChange: use standardized truncutation with the newsmessage-history window as well
19 years ago
Darkvater
3e49626aec
(svn r2610) - Feature: set server map name to the loaded name of the game/scenario. Also truncate where neccessary
...
- Feature: truncate the path of the saveload window
19 years ago
Darkvater
80aa8c868b
(svn r2609) - Feature: remove extension from savegames/scenarios when browsing the folders.
19 years ago
Darkvater
d355aa11a5
(svn r2608) - Fix: add strings.h to vs.net2003 project file
19 years ago