Commit Graph

2150 Commits (e3f4aecd3722b88f147a1a9b96fd15807de26741)
 

Author SHA1 Message Date
tron e3f4aecd37 (svn r2659) Catch up with reality in the landscape documentation 19 years ago
celestar 1fed0046ac (svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite 19 years ago
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
19 years ago
miham b4b7d1d6bd (svn r2656) [Translations] Revert changes done in 2653 19 years ago
tron 765e80114b (svn r2655) An uint16 is an uint16, not a byte - fix wrong cast 19 years ago
tron e36d25210e (svn r2654) SlWriteUint16() should have a uint16 as parameter, not some arbitrary enum 19 years ago
miham f1946d8349 (svn r2653) [Translators] Updated translations to 20050720 (28 lang(s)) 19 years ago
Darkvater b8f1bbbad1 (svn r2652) - CodeChange: show 'too many sprites' in hex value; Patch signed off by Tron 19 years ago
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. 19 years ago
tron f09638ad3d (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 f3645d7307 (svn r2649) Get rid of 2 warnings. 19 years ago
ludde 50660a2c94 (svn r2648) Only use _stdcall calling convention for zlib on win32/msvc. 19 years ago
ludde 57f92104af (svn r2647) Fix: [ntp] Fix assertion error introduced in r2635 19 years ago
ludde a2f6256c33 (svn r2646) Change: [ntp] Fix uninitialized variable and add some more asserts to be able to debug an assert error. 19 years ago
Darkvater 72c33083f5 (svn r2645) Fix (useless)warning in graph_gui and add brackets around HASBIT in an if statement 19 years ago
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
19 years ago
tron 7269771544 (svn r2643) Get rid of some unnecessary casts 19 years ago
miham cea98113b7 (svn r2642) [Translators] Updated translations to 20050719 (0 lang(s)) 19 years ago
ludde d4e424bc48 (svn r2641) Fix: [strings] forgot to increase argv pointer twice for {CARGO} 19 years ago
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. 19 years ago
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 19 years ago
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. 19 years ago
miham 85c9e125ea (svn r2637) [Translations] Updated to 2005-07-18 19 years ago
ludde 868938a64b (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 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.
19 years ago
tron 857a3a1ffc (svn r2634) Fix typo: IsSteepTile expects a tileh, not a TileIndex (thanks to peter1138) 19 years ago
tron 87be1312d2 (svn r2633) Move spritecache related variable from variables.h to spritecache.[ch] 19 years ago
tron 6500fd2b91 (svn r2632) Revert accidently commited change 19 years ago
tron bce6f5c0a5 (svn r2631) Move screenshot related variables from variables.h to screenshot.[ch] 19 years ago
tron 3428e4e4b0 (svn r2630) Forgot one Pixel (see r2571) 19 years ago
truelight f4032b8f9f (svn r2629) -Codechange: removed stupid comment on top of players.c 19 years ago
Darkvater c966fc23fb (svn r2628) - Fix: Planting trees does not result in a MapSize() assertion anymore; introduced in r2598 19 years ago
miham dc5ee38738 (svn r2627) [Translations] Fixing typos in hungarian langfile 19 years ago
tron 152439b56c (svn r2626) static, const, misc. 19 years ago
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.
19 years ago
Darkvater 09195e0bda (svn r2624) - Fix: oops, forgot to change the already in use DrawStringCenteredTruncated() functions. 19 years ago
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.
19 years ago
ludde b998b9b8e6 (svn r2622) Fix: remove _cargoc.names_p, it was never used. 19 years ago
hackykid d5b305852f (svn r2621) - Fix: [pbs] When removing tracks, clear their reserved status. 19 years ago
ludde 7238b015fa (svn r2620) Fix: [language] Fix broken french.txt and polish.txt 19 years ago
ludde 3eee2b7b7c (svn r2619) Fix: [viewport] Fix potential buffer overflow reported by Tron 19 years ago
Darkvater baccddb461 (svn r2618) - Fix: add mersenne.c to VS6 project file (ludde) 19 years ago
Darkvater 5261529887 (svn r2617) - Fix: fix some warnings, and reenable vs.net2003 signed/unsigned warnings 19 years ago
tron f3c14486be (svn r2616) Don't stop when compiling a language fails, just delete the defective .lng 19 years ago
miham 463bf4641d (svn r2615) [trrnasltwsds] 45253rqwer2 19 years ago
Darkvater cbad2dad33 (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 3f8ba76b2f (svn r2613) - Truncate savegames, and vehicle-texts in their window.
- Hardcoded width 5 for saves-path...oops :O
19 years ago
truelight cddc52fb8f (svn r2612) -Fix: corrected headers for ai_new.h 19 years ago
Darkvater 12507a725a (svn r2611) - CodeChange: use standardized truncutation with the newsmessage-history window as well 19 years ago
Darkvater 6a91b08cad (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