------------------------------------------------------------------------ r2702 | celestar | 2005-07-24 15:56:31 +0000 (Sun, 24 Jul 2005) | 7 lines -Codechange: Cleaned up the sprite code and replaced many magic numbers by enums. There remains work in gfx.c to move the "transparency" and "recolor" bits around to make space for more sprites. However, 2800 additional sprites can now be loaded. There also remains cleanup and Doxygen work on many of the header files. ------------------------------------------------------------------------ r2701 | tron | 2005-07-24 14:12:37 +0000 (Sun, 24 Jul 2005) | 1 line Insert Id tags into all source files ------------------------------------------------------------------------ r2700 | tron | 2005-07-24 13:55:39 +0000 (Sun, 24 Jul 2005) | 1 line Insert Id tag into the Makefile ------------------------------------------------------------------------ r2699 | tron | 2005-07-24 10:39:12 +0000 (Sun, 24 Jul 2005) | 1 line Hopefully fix the compilation on Windows when SDL is not present ------------------------------------------------------------------------ r2697 | tron | 2005-07-24 06:09:54 +0000 (Sun, 24 Jul 2005) | 1 line Make compiling with SDL on Windows work again (missing #includes) and fix some warnings ------------------------------------------------------------------------ r2696 | tron | 2005-07-23 19:48:24 +0000 (Sat, 23 Jul 2005) | 1 line Remove stray semicolons ------------------------------------------------------------------------ r2695 | orudge | 2005-07-23 19:00:56 +0000 (Sat, 23 Jul 2005) | 1 line - Fix: OS/2 project update, add os2.h to dedicated_v.c ------------------------------------------------------------------------ r2694 | tron | 2005-07-23 18:46:17 +0000 (Sat, 23 Jul 2005) | 1 line Various smaller changes: eol-style, static, code simplification ------------------------------------------------------------------------ r2693 | miham | 2005-07-23 17:45:42 +0000 (Sat, 23 Jul 2005) | 1 line [Translators] Updated translations to 20050723 (1 lang(s)) ------------------------------------------------------------------------ r2692 | tron | 2005-07-23 17:23:16 +0000 (Sat, 23 Jul 2005) | 1 line Forgot to add a file ------------------------------------------------------------------------ r2691 | tron | 2005-07-23 17:22:39 +0000 (Sat, 23 Jul 2005) | 1 line Separate dedicated video driver and fix bemidi declarations ------------------------------------------------------------------------ r2690 | orudge | 2005-07-23 16:28:19 +0000 (Sat, 23 Jul 2005) | 1 line - Minor cleanups to os2.c and hal.h ------------------------------------------------------------------------ r2689 | orudge | 2005-07-23 16:08:05 +0000 (Sat, 23 Jul 2005) | 1 line - Split OS/2 music driver into os2_m.c, update project file ------------------------------------------------------------------------ r2688 | tron | 2005-07-23 15:48:00 +0000 (Sat, 23 Jul 2005) | 1 line MSVC and Watcom can't handle identical file names in different directories, oh my... ------------------------------------------------------------------------ r2687 | tron | 2005-07-23 15:34:05 +0000 (Sat, 23 Jul 2005) | 1 line Make a variable static ------------------------------------------------------------------------ r2686 | tron | 2005-07-23 15:24:31 +0000 (Sat, 23 Jul 2005) | 1 line Revert accidently commited change ------------------------------------------------------------------------ r2685 | tron | 2005-07-23 15:16:57 +0000 (Sat, 23 Jul 2005) | 4 lines -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.) ------------------------------------------------------------------------ r2684 | tron | 2005-07-23 06:51:26 +0000 (Sat, 23 Jul 2005) | 1 line Correctly save and load company_value, it's 64 bits wide, not 32 bits ------------------------------------------------------------------------ r2683 | tron | 2005-07-23 06:45:57 +0000 (Sat, 23 Jul 2005) | 1 line Remove redundant function call propagate return value ------------------------------------------------------------------------ r2682 | tron | 2005-07-22 18:19:06 +0000 (Fri, 22 Jul 2005) | 1 line Static, casts, misc. ------------------------------------------------------------------------ r2681 | orudge | 2005-07-22 16:14:24 +0000 (Fri, 22 Jul 2005) | 1 line - Fix OS/2 port, please do not modify openttd.wpj/tgt by hand unless you know what you're doing! ------------------------------------------------------------------------ r2680 | tron | 2005-07-22 15:12:51 +0000 (Fri, 22 Jul 2005) | 1 line Fix a warning ------------------------------------------------------------------------ r2675 | Darkvater | 2005-07-22 09:16:34 +0000 (Fri, 22 Jul 2005) | 1 line - Fix: pressing enter on a load-window resulted in saving the game (Luca) ------------------------------------------------------------------------ r2674 | hackykid | 2005-07-22 08:40:19 +0000 (Fri, 22 Jul 2005) | 2 lines - CodeChange: [pbs] Generalise the PSBISPbsDepot function so it can check if an arbitrary junction is a pbs junction. Preparations for making pbs more safe. ------------------------------------------------------------------------ r2673 | tron | 2005-07-22 07:02:20 +0000 (Fri, 22 Jul 2005) | 1 line Include functions.h directly, not globally via openttd.h ------------------------------------------------------------------------ r2672 | tron | 2005-07-22 06:31:31 +0000 (Fri, 22 Jul 2005) | 1 line Move saving/loading related declarations to saveload.h ------------------------------------------------------------------------ r2671 | miham | 2005-07-21 22:22:26 +0000 (Thu, 21 Jul 2005) | 4 lines [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! ------------------------------------------------------------------------ r2670 | tron | 2005-07-21 22:18:02 +0000 (Thu, 21 Jul 2005) | 1 line Fix r2669 ------------------------------------------------------------------------ r2669 | tron | 2005-07-21 22:15:02 +0000 (Thu, 21 Jul 2005) | 1 line Shuffle some more stuff around to reduce dependencies ------------------------------------------------------------------------ r2668 | miham | 2005-07-21 21:13:42 +0000 (Thu, 21 Jul 2005) | 1 line [Translations] Updated to 2005-07-21 (4 langs) ------------------------------------------------------------------------ r2667 | miham | 2005-07-21 19:58:36 +0000 (Thu, 21 Jul 2005) | 1 line [Translations] Restored german translations (2652:2653) ------------------------------------------------------------------------ r2666 | tron | 2005-07-21 19:57:07 +0000 (Thu, 21 Jul 2005) | 1 line w32dm.c needs MAX_PATH, which gets defined in variables.h ------------------------------------------------------------------------ r2665 | tron | 2005-07-21 19:46:58 +0000 (Thu, 21 Jul 2005) | 1 line Move some variables, which are only used by music_gui.c, there ------------------------------------------------------------------------ r2664 | tron | 2005-07-21 19:36:43 +0000 (Thu, 21 Jul 2005) | 1 line Remove depedency on player.h from variables.h ------------------------------------------------------------------------ r2663 | tron | 2005-07-21 18:44:27 +0000 (Thu, 21 Jul 2005) | 1 line Include variables.h only in these files which need it, not globally via openttd.h ------------------------------------------------------------------------ r2662 | miham | 2005-07-21 18:01:43 +0000 (Thu, 21 Jul 2005) | 1 line [Translations] Updated translations to 2005-07-20 ------------------------------------------------------------------------ r2661 | miham | 2005-07-21 17:44:20 +0000 (Thu, 21 Jul 2005) | 1 line [Translators] Updated translations to 20050721 (1 lang(s)) ------------------------------------------------------------------------ r2660 | tron | 2005-07-21 06:31:02 +0000 (Thu, 21 Jul 2005) | 1 line Get rid of some more shifting/anding/casting ------------------------------------------------------------------------ r2659 | tron | 2005-07-21 06:13:17 +0000 (Thu, 21 Jul 2005) | 1 line Catch up with reality in the landscape documentation ------------------------------------------------------------------------ r2658 | celestar | 2005-07-20 22:05:13 +0000 (Wed, 20 Jul 2005) | 2 lines -Codechange: Use MAKE_TRANSPARENT to display a transparented sprite ------------------------------------------------------------------------ r2657 | celestar | 2005-07-20 22:02:58 +0000 (Wed, 20 Jul 2005) | 4 lines -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 ------------------------------------------------------------------------ r2656 | miham | 2005-07-20 19:15:23 +0000 (Wed, 20 Jul 2005) | 1 line [Translations] Revert changes done in 2653 ------------------------------------------------------------------------ r2655 | tron | 2005-07-20 19:12:30 +0000 (Wed, 20 Jul 2005) | 1 line An uint16 is an uint16, not a byte - fix wrong cast ------------------------------------------------------------------------ r2654 | tron | 2005-07-20 19:08:02 +0000 (Wed, 20 Jul 2005) | 1 line SlWriteUint16() should have a uint16 as parameter, not some arbitrary enum ------------------------------------------------------------------------ r2653 | miham | 2005-07-20 17:48:35 +0000 (Wed, 20 Jul 2005) | 1 line [Translators] Updated translations to 20050720 (28 lang(s)) ------------------------------------------------------------------------ r2652 | Darkvater | 2005-07-20 15:38:11 +0000 (Wed, 20 Jul 2005) | 1 line - CodeChange: show 'too many sprites' in hex value; Patch signed off by Tron ------------------------------------------------------------------------ r2651 | Darkvater | 2005-07-20 15:36:22 +0000 (Wed, 20 Jul 2005) | 1 line - 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. ------------------------------------------------------------------------ r2650 | tron | 2005-07-20 15:29:28 +0000 (Wed, 20 Jul 2005) | 1 line Convert many explicit shifts+ands to extract bits to invocations of GB - should be a bit nicer to read ------------------------------------------------------------------------ r2649 | ludde | 2005-07-20 09:49:04 +0000 (Wed, 20 Jul 2005) | 1 line Get rid of 2 warnings. ------------------------------------------------------------------------ r2648 | ludde | 2005-07-20 09:35:05 +0000 (Wed, 20 Jul 2005) | 1 line Only use _stdcall calling convention for zlib on win32/msvc. ------------------------------------------------------------------------ r2647 | ludde | 2005-07-20 09:31:46 +0000 (Wed, 20 Jul 2005) | 1 line Fix: [ntp] Fix assertion error introduced in r2635 ------------------------------------------------------------------------ r2646 | ludde | 2005-07-20 09:17:20 +0000 (Wed, 20 Jul 2005) | 1 line Change: [ntp] Fix uninitialized variable and add some more asserts to be able to debug an assert error. ------------------------------------------------------------------------ r2645 | Darkvater | 2005-07-19 22:29:35 +0000 (Tue, 19 Jul 2005) | 1 line Fix (useless)warning in graph_gui and add brackets around HASBIT in an if statement ------------------------------------------------------------------------ r2644 | Darkvater | 2005-07-19 22:12:04 +0000 (Tue, 19 Jul 2005) | 2 lines - Fix: my name was mistyped ;p - Add DoDrawStringCentered() and change the multiline strings in the about box to single-line ones ------------------------------------------------------------------------ r2643 | tron | 2005-07-19 21:49:35 +0000 (Tue, 19 Jul 2005) | 1 line Get rid of some unnecessary casts ------------------------------------------------------------------------ r2642 | miham | 2005-07-19 21:28:15 +0000 (Tue, 19 Jul 2005) | 1 line [Translators] Updated translations to 20050719 (0 lang(s)) ------------------------------------------------------------------------ r2641 | ludde | 2005-07-19 21:14:00 +0000 (Tue, 19 Jul 2005) | 1 line Fix: [strings] forgot to increase argv pointer twice for {CARGO} ------------------------------------------------------------------------ r2640 | Darkvater | 2005-07-19 20:52:15 +0000 (Tue, 19 Jul 2005) | 1 line - 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. ------------------------------------------------------------------------ r2639 | celestar | 2005-07-19 20:45:47 +0000 (Tue, 19 Jul 2005) | 1 line -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 ------------------------------------------------------------------------ r2638 | Darkvater | 2005-07-19 20:43:53 +0000 (Tue, 19 Jul 2005) | 1 line - 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. ------------------------------------------------------------------------ r2637 | miham | 2005-07-19 16:34:46 +0000 (Tue, 19 Jul 2005) | 1 line [Translations] Updated to 2005-07-18 ------------------------------------------------------------------------ r2636 | ludde | 2005-07-19 11:55:47 +0000 (Tue, 19 Jul 2005) | 1 line Fix: Switched to using the _fastcall calling convention instead of cdecl. (Please tell me if you get linking problems) ------------------------------------------------------------------------ r2635 | ludde | 2005-07-19 11:42:40 +0000 (Tue, 19 Jul 2005) | 6 lines 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. ------------------------------------------------------------------------ r2634 | tron | 2005-07-19 07:20:48 +0000 (Tue, 19 Jul 2005) | 1 line Fix typo: IsSteepTile expects a tileh, not a TileIndex (thanks to peter1138) ------------------------------------------------------------------------ r2633 | tron | 2005-07-19 06:54:13 +0000 (Tue, 19 Jul 2005) | 1 line Move spritecache related variable from variables.h to spritecache.[ch] ------------------------------------------------------------------------ r2632 | tron | 2005-07-19 06:48:12 +0000 (Tue, 19 Jul 2005) | 1 line Revert accidently commited change ------------------------------------------------------------------------ r2631 | tron | 2005-07-19 06:47:07 +0000 (Tue, 19 Jul 2005) | 1 line Move screenshot related variables from variables.h to screenshot.[ch] ------------------------------------------------------------------------ r2630 | tron | 2005-07-19 06:31:39 +0000 (Tue, 19 Jul 2005) | 1 line Forgot one Pixel (see r2571) ------------------------------------------------------------------------ r2629 | truelight | 2005-07-18 23:33:14 +0000 (Mon, 18 Jul 2005) | 2 lines -Codechange: removed stupid comment on top of players.c ------------------------------------------------------------------------ r2628 | Darkvater | 2005-07-18 00:17:19 +0000 (Mon, 18 Jul 2005) | 1 line - Fix: Planting trees does not result in a MapSize() assertion anymore; introduced in r2598 ------------------------------------------------------------------------ r2627 | miham | 2005-07-17 22:20:04 +0000 (Sun, 17 Jul 2005) | 1 line [Translations] Fixing typos in hungarian langfile ------------------------------------------------------------------------ r2626 | tron | 2005-07-17 20:14:58 +0000 (Sun, 17 Jul 2005) | 1 line static, const, misc. ------------------------------------------------------------------------ r2625 | hackykid | 2005-07-17 20:09:02 +0000 (Sun, 17 Jul 2005) | 4 lines - 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. ------------------------------------------------------------------------ r2624 | Darkvater | 2005-07-17 19:38:40 +0000 (Sun, 17 Jul 2005) | 1 line - Fix: oops, forgot to change the already in use DrawStringCenteredTruncated() functions. ------------------------------------------------------------------------ r2623 | Darkvater | 2005-07-17 19:23:18 +0000 (Sun, 17 Jul 2005) | 2 lines - 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. ------------------------------------------------------------------------ r2622 | ludde | 2005-07-17 18:49:05 +0000 (Sun, 17 Jul 2005) | 1 line Fix: remove _cargoc.names_p, it was never used. ------------------------------------------------------------------------ r2621 | hackykid | 2005-07-17 18:48:45 +0000 (Sun, 17 Jul 2005) | 2 lines - Fix: [pbs] When removing tracks, clear their reserved status. ------------------------------------------------------------------------ r2620 | ludde | 2005-07-17 18:48:05 +0000 (Sun, 17 Jul 2005) | 1 line Fix: [language] Fix broken french.txt and polish.txt ------------------------------------------------------------------------ r2619 | ludde | 2005-07-17 18:36:47 +0000 (Sun, 17 Jul 2005) | 1 line Fix: [viewport] Fix potential buffer overflow reported by Tron ------------------------------------------------------------------------ r2618 | Darkvater | 2005-07-17 18:20:55 +0000 (Sun, 17 Jul 2005) | 1 line - Fix: add mersenne.c to VS6 project file (ludde) ------------------------------------------------------------------------ r2617 | Darkvater | 2005-07-17 18:11:17 +0000 (Sun, 17 Jul 2005) | 1 line - Fix: fix some warnings, and reenable vs.net2003 signed/unsigned warnings ------------------------------------------------------------------------ r2616 | tron | 2005-07-17 18:09:23 +0000 (Sun, 17 Jul 2005) | 1 line Don't stop when compiling a language fails, just delete the defective .lng ------------------------------------------------------------------------