Commit Graph

24 Commits

Author SHA1 Message Date
peter1138 68572f1076 (svn r9418) -Codechange: Implement actions 1/2/3 for cargos, callback handler and custom icon sprites 2007-03-23 20:55:45 +00:00
maedhros 73ff939ddb (svn r9315) -Merge: The newhouses branch. With this merge comes almost complete support for
the newhouses grf specs, so all newhouses grfs will be playable in the game.

Many thanks to everyone who contributed code and ideas, and all the testers
who found things we missed.
2007-03-19 11:27:30 +00:00
bjarni f776f3beb1 (svn r9073) -Codechange: moved autoreplace to a file of it's own (now autoreplace has a cmd and a gui file) 2007-03-08 23:05:05 +00:00
rubidium ea319b78f8 (svn r8969) -Codechange: rework of the player face bits.
- introduce a new format (with backward compatability) that is more clear and needs a much simpler face drawer
 - replace tons of ifs/switches/magic numbers by table lookups
2007-03-02 01:17:11 +00:00
peter1138 6062004960 (svn r8849) -Codechange: Replace hardcoded global/climate cargo mapping tables with dynamically generated data. Change associated code to use new functions. 2007-02-22 22:09:51 +00:00
rubidium 45b662c679 (svn r8832) -Change: rewrite the solution file generator a little so it makes project files that look more like the ones generated by respectively MSVC2003 and MSVC2005.
For some reason the internal formatting of the XML between MSVC2003 and MSVC2005 differs, so adding a file in MSVC2005 would result in basically adding the entire openttd_vs80.vcproj to the diff.
2007-02-21 17:59:34 +00:00
peter1138 ef2daa5060 (svn r8826) -Codechange: Replace _cargoc's separate arrays with a regular struct array (with accessor) and implement new initialization method using cargo labels. 2007-02-20 22:09:21 +00:00
truelight ee9f17844d (svn r8757) -Add: added libtimidity music driver (it is a nice small library simular to timidity via extmidi)
[PSP] -Add: added PSP specific code for libtimidity. libtimidity code is based on the work of Turulo. Tnx a bunch!
2007-02-16 09:50:28 +00:00
bjarni ca1a88f6c4 (svn r8605) -Codechange: [OSX] changed all objective C to objective C++
This will permanently solve the issue where compilation on OSX broke because C++ code was added to some header files

   -Note: (important if you develop mac specific code)
   taken from http://developer.apple.com/releasenotes/Cocoa/Objective-C++.html           
    gdb lacks an integrated C++ with Objective-C parser. This means that gdb won't be able to evaluate expressions that contain both C++ and Objective-C constructs.
    gdb assumes that the language for ".mm" files is C++.
    you can change it to objective C by typing: (gdb) set language objc 
    Mixing C++ and objective C has some limitation (see link for all of them)
2007-02-05 21:16:56 +00:00
Darkvater b6186cf39c (svn r8435) -Regression (r7759?): Readd aircraft.h to the project files which were added in r6644 but miracuously disappeared sometime afterwards 2007-01-28 00:28:12 +00:00
KUDr 201ba1f5c3 (svn r8414) -Codechange: Use own AutoPtrT instead of std::auto_ptr.
-Simplifies assignment from raw pointers
 -Should be harder to crash the program by incorrect assignment into it.
 -Should help with MorphOS compilation errors
2007-01-26 11:38:07 +00:00
bjarni c856c26611 (svn r8371) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a file of it's own
Note: it's the same as r8363, only this time the svn history of autoreplace should be preserved
2007-01-23 13:26:12 +00:00
bjarni 422004013e (svn r8370) -Revert (r8363): the autoreplace GUI move cleared the file history 2007-01-23 13:10:43 +00:00
bjarni 97effdcb96 (svn r8363) -Codechange: [autoreplace GUI] moved the autoreplace GUI to a file of it's own 2007-01-23 00:04:17 +00:00
truelight dfd951c34c (svn r8326) -Fix r8304: forgot to update projects/generate to keep in mind the new WINCE tag in sources.list
-Fix: MSVC doesn't order files itself, so put win32.cpp in the right place ourself
-Update: update the MSVC projects files for r8324 (MiHaMiX)
2007-01-21 19:40:38 +00:00
truelight 805246015f (svn r8304) [WinCE] -Add: added configure detection for WinCE.
Compiling doesn't work, neither does running, but it is a first step in developing an official WinCE port
2007-01-21 14:14:27 +00:00
maedhros 38647bb426 (svn r8301) -Codechange: Move the code relating to the sign list window from graph_gui.cpp to a file of its own: signs_gui.cpp. 2007-01-21 12:35:35 +00:00
KUDr 8b65342449 (svn r8125) -Codechange: Station is now constructed/destroyed using new/delete operators (don't worry, they still use the same memory pool). Few station related functions turned into Station::methods (just first step). All this new stuff moved from station_cmd.cpp to the new file (station.cpp). 2007-01-14 19:18:50 +00:00
KUDr ae41162322 (svn r8104) -Fix: missing helpers.hpp added into source.list and VC 2007-01-13 16:23:24 +00:00
KUDr 0108e5f85c (svn r8099) -Fix (r8092): source.list updated to reflect move of header files (thanks stillunknown). vcproj files updated too (thanks glx) 2007-01-13 15:22:36 +00:00
truelight bab05c52f8 (svn r8040) [Configure] -Fix: for some reason, OS2 compiled unix.cpp, not os2.cpp 2007-01-10 19:13:33 +00:00
rubidium f35ed4bbc2 (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 2007-01-10 18:56:51 +00:00
rubidium 627ebe8430 (svn r7829) -Codechange: move the network (core) initialization/shutdown functions into network/core, so the can be reused in the masterserver_updater. 2007-01-04 18:50:40 +00:00
rubidium 66bbf336c6 (svn r7759) -Merge: makefile rewrite. This merge features:
- A proper ./configure, so everything needs to be configured only once, not for every make.
 - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
 - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
 - Proper support for OSX universal binaries.
 - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
 - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.

Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
2007-01-02 19:19:48 +00:00