Commit Graph

2174 Commits

Author SHA1 Message Date
tron 54e02a620a (svn r2687) Make a variable static 2005-07-23 15:34:05 +00:00
tron 5178ad768d (svn r2686) Revert accidently commited change 2005-07-23 15:24:31 +00:00
tron 07a6e612ec (svn r2685) -Codechange: Split the music/sound/video drivers into separate files and move them into subfolders.
This results in shorter and hopefully easier to maintain files.
Note: I had to change paths in #include statements of some unrelated files, because I added the ottd base directory to the include path (-I.)
2005-07-23 15:16:57 +00:00
tron af1d719856 (svn r2684) Correctly save and load company_value, it's 64 bits wide, not 32 bits 2005-07-23 06:51:26 +00:00
tron dd7321a014 (svn r2683) Remove redundant function call propagate return value 2005-07-23 06:45:57 +00:00
tron a13d515d5e (svn r2682) Static, casts, misc. 2005-07-22 18:19:06 +00:00
orudge c50223526c (svn r2681) - Fix OS/2 port, please do not modify openttd.wpj/tgt by hand unless you know what you're doing! 2005-07-22 16:14:24 +00:00
tron 1b6ff121f4 (svn r2680) Fix a warning 2005-07-22 15:12:51 +00:00
Darkvater 290bb2fda6 (svn r2675) - Fix: pressing enter on a load-window resulted in saving the game (Luca) 2005-07-22 09:16:34 +00:00
hackykid aa29ee6eda (svn r2674) - CodeChange: [pbs] Generalise the PSBISPbsDepot function so it can check if an arbitrary junction is a pbs junction. Preparations for making pbs more safe. 2005-07-22 08:40:19 +00:00
tron 559babcdc9 (svn r2673) Include functions.h directly, not globally via openttd.h 2005-07-22 07:02:20 +00:00
tron 18d79cc30f (svn r2672) Move saving/loading related declarations to saveload.h 2005-07-22 06:31:31 +00:00
miham ad97673399 (svn r2671) [Translations] Hand-fix polish.txt
Translators beware! Please double check your language behaviour!
Otherwise, WebTranslator now also checks paramnumber of the plural param,
and refuses to accept badly formatted plural or gender params!
2005-07-21 22:22:26 +00:00
tron 11d21bb2a1 (svn r2670) Fix r2669 2005-07-21 22:18:02 +00:00
tron 0762aa9ec9 (svn r2669) Shuffle some more stuff around to reduce dependencies 2005-07-21 22:15:02 +00:00
miham a446294e7c (svn r2668) [Translations] Updated to 2005-07-21 (4 langs) 2005-07-21 21:13:42 +00:00
miham f1bd4f1055 (svn r2667) [Translations] Restored german translations (2652:2653) 2005-07-21 19:58:36 +00:00
tron 317beebd7d (svn r2666) w32dm.c needs MAX_PATH, which gets defined in variables.h 2005-07-21 19:57:07 +00:00
tron e2a305144c (svn r2665) Move some variables, which are only used by music_gui.c, there 2005-07-21 19:46:58 +00:00
tron e53c4db866 (svn r2664) Remove depedency on player.h from variables.h 2005-07-21 19:36:43 +00:00
tron 284d9ed7fb (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 31e87de71e (svn r2662) [Translations] Updated translations to 2005-07-20 2005-07-21 18:01:43 +00:00
miham 4dde700458 (svn r2661) [Translators] Updated translations to 20050721 (1 lang(s)) 2005-07-21 17:44:20 +00:00
tron d71788c402 (svn r2660) Get rid of some more shifting/anding/casting 2005-07-21 06:31:02 +00:00
tron 5c5840417e (svn r2659) Catch up with reality in the landscape documentation 2005-07-21 06:13:17 +00:00
celestar 85f06d6e7b (svn r2658) -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite 2005-07-20 22:05:13 +00:00
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
2005-07-20 22:02:58 +00:00
miham 030c37160d (svn r2656) [Translations] Revert changes done in 2653 2005-07-20 19:15:23 +00:00
tron 389f61218d (svn r2655) An uint16 is an uint16, not a byte - fix wrong cast 2005-07-20 19:12:30 +00:00
tron 4130198f48 (svn r2654) SlWriteUint16() should have a uint16 as parameter, not some arbitrary enum 2005-07-20 19:08:02 +00:00
miham 3720503e7c (svn r2653) [Translators] Updated translations to 20050720 (28 lang(s)) 2005-07-20 17:48:35 +00:00
Darkvater 29b81f63fd (svn r2652) - CodeChange: show 'too many sprites' in hex value; Patch signed off by Tron 2005-07-20 15:38:11 +00:00
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. 2005-07-20 15:36:22 +00:00
tron ac66e3e28f (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 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