summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-07-20(svn r2656) [Translations] Revert changes done in 2653miham
2005-07-20(svn r2655) An uint16 is an uint16, not a byte - fix wrong casttron
2005-07-20(svn r2654) SlWriteUint16() should have a uint16 as parameter, not some ↵tron
arbitrary enum
2005-07-20(svn r2653) [Translators] Updated translations to 20050720 (28 lang(s))miham
2005-07-20(svn r2652) - CodeChange: show 'too many sprites' in hex value; Patch signed ↵Darkvater
off by Tron
2005-07-20(svn r2651) - Fix: [ 1220776 ] Removes warning when compiling saveload.c on ↵Darkvater
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(svn r2650) Convert many explicit shifts+ands to extract bits to invocations ↵tron
of GB - should be a bit nicer to read
2005-07-20(svn r2649) Get rid of 2 warnings.ludde
2005-07-20(svn r2648) Only use _stdcall calling convention for zlib on win32/msvc.ludde
2005-07-20(svn r2647) Fix: [ntp] Fix assertion error introduced in r2635ludde
2005-07-20(svn r2646) Change: [ntp] Fix uninitialized variable and add some more ↵ludde
asserts to be able to debug an assert error.
2005-07-19(svn r2645) Fix (useless)warning in graph_gui and add brackets around HASBIT ↵Darkvater
in an if statement
2005-07-19(svn r2644) - Fix: my name was mistyped ;pDarkvater
- Add DoDrawStringCentered() and change the multiline strings in the about box to single-line ones
2005-07-19(svn r2643) Get rid of some unnecessary caststron
2005-07-19(svn r2642) [Translators] Updated translations to 20050719 (0 lang(s))miham
2005-07-19(svn r2641) Fix: [strings] forgot to increase argv pointer twice for {CARGO}ludde
2005-07-19(svn r2640) - CodeChange: change calling convention to __fastcall as well ↵Darkvater
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(svn r2639) -Add: Added the vehicle names in table/engines.h so that you ↵celestar
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(svn r2638) - Fix: Unable to delete savegames. Deleting TTDLX savegames is ↵Darkvater
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(svn r2637) [Translations] Updated to 2005-07-18miham
2005-07-19(svn r2636) Fix: Switched to using the _fastcall calling convention instead ↵ludde
of cdecl. (Please tell me if you get linking problems)
2005-07-19(svn r2635) Fix: [ntp/misc] Improve the old pathfinder. Changed it to A* ↵ludde
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(svn r2634) Fix typo: IsSteepTile expects a tileh, not a TileIndex (thanks ↵tron
to peter1138)
2005-07-19(svn r2633) Move spritecache related variable from variables.h to ↵tron
spritecache.[ch]
2005-07-19(svn r2632) Revert accidently commited changetron
2005-07-19(svn r2631) Move screenshot related variables from variables.h to ↵tron
screenshot.[ch]
2005-07-19(svn r2630) Forgot one Pixel (see r2571)tron
2005-07-18(svn r2629) -Codechange: removed stupid comment on top of players.ctruelight
2005-07-18(svn r2628) - Fix: Planting trees does not result in a MapSize() assertion ↵Darkvater
anymore; introduced in r2598
2005-07-17(svn r2627) [Translations] Fixing typos in hungarian langfilemiham
2005-07-17(svn r2626) static, const, misc.tron
2005-07-17(svn r2625) - Fix: [pbs] Store the end of a train's reserved path ↵hackykid
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(svn r2624) - Fix: oops, forgot to change the already in use ↵Darkvater
DrawStringCenteredTruncated() functions.
2005-07-17(svn r2623) - CodeChange: rework DrawStringCenteredTruncated() a bit. ↵Darkvater
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(svn r2622) Fix: remove _cargoc.names_p, it was never used.ludde
2005-07-17(svn r2621) - Fix: [pbs] When removing tracks, clear their reserved status. hackykid
2005-07-17(svn r2620) Fix: [language] Fix broken french.txt and polish.txtludde
2005-07-17(svn r2619) Fix: [viewport] Fix potential buffer overflow reported by Tronludde
2005-07-17(svn r2618) - Fix: add mersenne.c to VS6 project file (ludde)Darkvater
2005-07-17(svn r2617) - Fix: fix some warnings, and reenable vs.net2003 ↵Darkvater
signed/unsigned warnings
2005-07-17(svn r2616) Don't stop when compiling a language fails, just delete the ↵tron
defective .lng
2005-07-17(svn r2615) [trrnasltwsds] 45253rqwer2miham
2005-07-17(svn r2614) - Fix: Trunctuate function used one less character than it was ↵Darkvater
supposed to. Because of this real width and reported width didn't correspond with eachother.
2005-07-17(svn r2613) - Truncate savegames, and vehicle-texts in their window.Darkvater
- Hardcoded width 5 for saves-path...oops :O
2005-07-17(svn r2612) -Fix: corrected headers for ai_new.htruelight
2005-07-17(svn r2611) - CodeChange: use standardized truncutation with the ↵Darkvater
newsmessage-history window as well
2005-07-17(svn r2610) - Feature: set server map name to the loaded name of the ↵Darkvater
game/scenario. Also truncate where neccessary - Feature: truncate the path of the saveload window
2005-07-17(svn r2609) - Feature: remove extension from savegames/scenarios when ↵Darkvater
browsing the folders.
2005-07-17(svn r2608) - Fix: add strings.h to vs.net2003 project fileDarkvater
2005-07-17(svn r2607) - Feature: add support for truncating strings to a given (pixel) ↵Darkvater
length. Function courtesy of Ludde.