Commit Graph

717 Commits

Author SHA1 Message Date
truelight 322953ad2e (svn r8967) -Fix (OSX): silent the warnings in cocoa_v.mm about deprecated stuff.. we know that\! 2007-03-02 00:36:16 +00:00
rubidium f3f966e616 (svn r8907) -Fix (r3281): reading from an unitialized variable. 2007-02-26 00:41:24 +00:00
Darkvater 1bbbbeeef1 (svn r8860) -Cleanup: some style changes, proper #endif comments, variable initialisation, WINCE ifdef and a vsprintf to vsnprintf change. 2007-02-23 12:56:10 +00:00
truelight d431df8277 (svn r8756) [PSP] -Fix: made the dedicated code compile with PSP. It is almost UNIX, just it needs more includes ;)
(or more, it compiles, if it works is a whole other story ;))
2007-02-16 09:39:32 +00:00
Darkvater 4d4c1e0505 (svn r8691) -Cleanup: Some proper #endif comments for sound/music/video files, and a little elimination of magic numbers in Win32SoundStart 2007-02-12 21:55:10 +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
truelight 203ccad578 (svn r8310) -Fix r8309: it is wise to put #endifs in the right place ;) 2007-01-21 14:36:08 +00:00
truelight 6a145e06c3 (svn r8309) [WinCE] -Fix: WinCE doesn't know resolution changing
-Fix: WinCE doesn't know GetKeyboardState
-Fix: made a replacement of GetCurrentDirectory, where CurDir is assumed to be the dir the executable is located (esoftinteractive.com)
-Fix: the GCC compiler is more happy if the WinMain is called that
-Fix: a really old typo (missing ')') ;)
-Fix: GdiFlush() isn't supported on WinCE
2007-01-21 14:32:40 +00:00
bjarni 00b730ebca (svn r8288) -Fix: [OSX] compiling with debug enabled now works again
-This is once again an obj-C vs C++ issue. I need to make a nice and permanent solution soon, but I need the debugger right now
2007-01-20 11:26:16 +00:00
bjarni 19bdb49e5b (svn r8141) -Fix r8128: [OSX] now OSX can compile again.
Note: this is again another not so nice workaround as Objective C fails to include C++ code in the headers
    We should move to Objective C++ as soon as possible, but such a change is not done overnight and
    this quick fix will allow OSX to compile until the prober solution is done
2007-01-15 00:58:18 +00:00
KUDr 0edc029f9f (svn r8095) -Codechange: stuff that is not related to HAL moved from hal.h to gfx.h 2007-01-13 14:43:46 +00:00
rubidium c5a7eaca65 (svn r8043) -Fix (8028): forgot setting a variable. 2007-01-10 20:11:13 +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
KUDr e373ea7096 (svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp) 2007-01-10 18:12:09 +00:00
rubidium 4c2b993d1d (svn r8028) -Fix: overflow of ticks was not handled properly, possibly resulting a non-reacting gameserver/gameclient. 2007-01-10 15:00:20 +00:00
bjarni 7dff5fccd3 (svn r7886) -Fix: [OSX] control+enter will no longer toggle fullscreen as it collided with other hotkeys (pv2b)
People should use command+enter as it was originally intended (this key combo also worked before this commit)
2007-01-05 19:50:44 +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