ludde
f432314fa9
(svn r2649) Get rid of 2 warnings.
2005-07-20 09:49:04 +00:00
ludde
951cde5b72
(svn r2648) Only use _stdcall calling convention for zlib on win32/msvc.
2005-07-20 09:35:05 +00:00
ludde
26c8bdde43
(svn r2647) Fix: [ntp] Fix assertion error introduced in r2635
2005-07-20 09:31:46 +00:00
ludde
b8b14ac6c8
(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
2379c59ab8
(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
f0c0c03c5f
(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
7c694f2553
(svn r2643) Get rid of some unnecessary casts
2005-07-19 21:49:35 +00:00
miham
4b1c520264
(svn r2642) [Translators] Updated translations to 20050719 (0 lang(s))
2005-07-19 21:28:15 +00:00
ludde
7a553d8439
(svn r2641) Fix: [strings] forgot to increase argv pointer twice for {CARGO}
2005-07-19 21:14:00 +00:00
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.
2005-07-19 20:52:15 +00:00
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
2005-07-19 20:45:47 +00:00
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.
2005-07-19 20:43:53 +00:00
miham
e3a75901c9
(svn r2637) [Translations] Updated to 2005-07-18
2005-07-19 16:34:46 +00:00
ludde
5862c0a174
(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
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.
2005-07-19 11:42:40 +00:00
tron
29f6ada06a
(svn r2634) Fix typo: IsSteepTile expects a tileh, not a TileIndex (thanks to peter1138)
2005-07-19 07:20:48 +00:00
tron
c1da382e9a
(svn r2633) Move spritecache related variable from variables.h to spritecache.[ch]
2005-07-19 06:54:13 +00:00
tron
bbc4c5fc34
(svn r2632) Revert accidently commited change
2005-07-19 06:48:12 +00:00
tron
28a6e10a63
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
2005-07-19 06:47:07 +00:00
tron
6b439d6f82
(svn r2630) Forgot one Pixel (see r2571)
2005-07-19 06:31:39 +00:00
truelight
dcd97a431b
(svn r2629) -Codechange: removed stupid comment on top of players.c
2005-07-18 23:33:14 +00:00
Darkvater
5695330940
(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
e52443ebc1
(svn r2627) [Translations] Fixing typos in hungarian langfile
2005-07-17 22:20:04 +00:00
tron
59d4ab3752
(svn r2626) static, const, misc.
2005-07-17 20:14:58 +00:00
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.
2005-07-17 20:09:02 +00:00
Darkvater
eabc482184
(svn r2624) - Fix: oops, forgot to change the already in use DrawStringCenteredTruncated() functions.
2005-07-17 19:38:40 +00:00
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.
2005-07-17 19:23:18 +00:00
ludde
52b42ff508
(svn r2622) Fix: remove _cargoc.names_p, it was never used.
2005-07-17 18:49:05 +00:00
hackykid
edbe969d23
(svn r2621) - Fix: [pbs] When removing tracks, clear their reserved status.
2005-07-17 18:48:45 +00:00
ludde
df08e10cfa
(svn r2620) Fix: [language] Fix broken french.txt and polish.txt
2005-07-17 18:48:05 +00:00
ludde
abc9376308
(svn r2619) Fix: [viewport] Fix potential buffer overflow reported by Tron
2005-07-17 18:36:47 +00:00
Darkvater
39c9b8a665
(svn r2618) - Fix: add mersenne.c to VS6 project file (ludde)
2005-07-17 18:20:55 +00:00
Darkvater
ff2662ebe7
(svn r2617) - Fix: fix some warnings, and reenable vs.net2003 signed/unsigned warnings
2005-07-17 18:11:17 +00:00
tron
b9a6c16461
(svn r2616) Don't stop when compiling a language fails, just delete the defective .lng
2005-07-17 18:09:23 +00:00
miham
71277a2283
(svn r2615) [trrnasltwsds] 45253rqwer2
2005-07-17 17:57:57 +00:00
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.
2005-07-17 17:16:35 +00:00
Darkvater
f8b7b107d8
(svn r2613) - Truncate savegames, and vehicle-texts in their window.
...
- Hardcoded width 5 for saves-path...oops :O
2005-07-17 17:15:33 +00:00
truelight
99c6944497
(svn r2612) -Fix: corrected headers for ai_new.h
2005-07-17 16:22:27 +00:00
Darkvater
0eef2daf06
(svn r2611) - CodeChange: use standardized truncutation with the newsmessage-history window as well
2005-07-17 16:02:17 +00:00
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
2005-07-17 16:01:26 +00:00
Darkvater
80aa8c868b
(svn r2609) - Feature: remove extension from savegames/scenarios when browsing the folders.
2005-07-17 15:58:47 +00:00
Darkvater
d355aa11a5
(svn r2608) - Fix: add strings.h to vs.net2003 project file
2005-07-17 15:55:26 +00:00
Darkvater
7fceed0446
(svn r2607) - Feature: add support for truncating strings to a given (pixel) length. Function courtesy of Ludde.
2005-07-17 15:54:57 +00:00
truelight
a09342c1fc
(svn r2606) -Codechange: renamed ai.c to ai_old.c, and ai.h to ai_new.h to make room
...
for a global AI-handler
2005-07-17 15:34:10 +00:00
ludde
1022bf7d93
(svn r2605) Fix [languages] Add ##plural command in all langfiles.
2005-07-17 14:03:33 +00:00
ludde
2fd162b8dd
(svn r2604) Fix: removed unused variable
2005-07-17 13:46:42 +00:00
ludde
62011eed95
(svn r2603) Fix [multistop] Fix problem with multistop handling, the range in my fix was way too high. Also only lock a slot for 5 days instead of 30.
2005-07-17 13:45:43 +00:00
truelight
658f9cb03f
(svn r2602) -Codechange: removed unused variable (disable_computer)
...
-Fix: Changed some stuff to make server-side AIs possible in the far future
2005-07-17 13:34:19 +00:00
ludde
3ce9fb6bbd
(svn r2601) Fix: Added TIC,TOC macros do be able to do profiling easier.
2005-07-17 12:49:00 +00:00
ludde
b76a0b8158
(svn r2600) Fix: [vehicles] Fix problem with vehicle loop not distributing the calls evenly over the day.
2005-07-17 12:44:35 +00:00