Commit Graph
50 Commits
Author SHA1 Message Date
fredb 4477867ef4 Update MSVC 7.1 projects 2007-06-16 16:14:23 +00:00
fredb e696c884dc MSVC 7 compilation 2007-06-16 16:13:29 +00:00
fredb 3824f064cd Update MSVC 7.1 projects 2007-04-03 11:35:19 +00:00
fredb cba6db752b Avoid potential memory leak problems when exceptions are thrown by using reference objects 2007-04-03 11:25:07 +00:00
fredb aacdcad529 restore 'double checked locking' 2007-01-29 08:19:13 +00:00
fredb 39f683b272 Ensure a reference on the cube map texture is always held 2007-01-26 20:30:02 +00:00
fredb d534cf6f02 Better fix for the constant scale factor problem 2007-01-21 11:15:36 +00:00
fredb dd4326f7c4 Support constant scaling factor 2007-01-21 10:33:34 +00:00
fredb 40aecd688e Don't segfault when dir is empty 2007-01-16 21:34:18 +00:00
fredb a0af7f0524 Update MSVC 7.1 project file and fix win32 compilation 2007-01-09 21:58:04 +00:00
fredb 108689661f Add a prototype simgear_config.h for MSVC 7.1 and a rule to build it. 2007-01-06 17:01:58 +00:00
fredb d3e00dba8e Add a prototype simgear_config.h for MSVC 7.1 and a rule to build it.
At Olaf requests, add MSVC 8 specific symbols to remove pedantic warnings
2007-01-06 16:52:50 +00:00
fredb fcd33e5035 Remove redundant directory ( projects as a whole is already there ) 2007-01-06 16:47:57 +00:00
fredb 6a0bb18fca Refresh MSVC6 project file 2007-01-06 14:45:21 +00:00
fredb 8aa8d87781 Fix a typo 2007-01-06 14:44:54 +00:00
fredb 4998af8d7a Add SGBinding.[ch]xx to the MSVC 7.1 project 2007-01-04 22:24:23 +00:00
fredb c6aa95f3f3 std::find is defined in <algorithm> 2007-01-04 22:23:40 +00:00
fredb 09bab4f162 memcpy needs #include <string.h> 2006-12-17 17:52:15 +00:00
fredb 49fcc799ca Port jpgfactory to OSG 2006-12-16 17:29:16 +00:00
fredb 10bc803775 Project files for MSVC 7.1 aka .NET 2003 2006-12-16 13:12:48 +00:00
fredb b5c4328682 Mac fix from Ima Sudonim 2006-11-18 18:58:51 +00:00
fredb e0b2687231 copysign is already in compiler.h 2006-11-07 21:31:17 +00:00
fredb e947bac4a3 This class is for plib only 2006-11-07 07:22:48 +00:00
fredb 829c729ee9 Don't try to load textures when no name is given 2006-11-06 21:59:02 +00:00
fredb 5d3aacb892 Attempt to fix the APIENTRY problem. It looks like a problem in OSG, or a conflict between OSG and plib/pui 2006-11-03 18:08:46 +00:00
fredb 741e9c5ed5 For some reason I don't know yet, the APIENTRY stuff in osg/GL is broken for some files. Include the real windows.h until we find why. 2006-11-03 10:04:58 +00:00
fredb 1408c1b623 add copysign definition for MSVC 2006-11-03 09:57:02 +00:00
fredb c256f8d09e Win32 compilation fix 2006-11-02 17:40:54 +00:00
fredb 9f5412fa9d Win32 only : Don't alloc a console when it is not needed 2006-09-27 20:16:32 +00:00
fredb 0dc9de81ae Add a simple program to benchmark SGTimeStamp::stamp() 2006-09-02 11:21:22 +00:00
fredb 5b8f42ce5e Make the SGTimeStamp behave under Windows just like for other environments 2006-08-31 18:26:45 +00:00
fredb 5314274ed6 Use getNodeValue as initially planned 2006-08-28 19:38:23 +00:00
fredb 629a4a950e Better encapsulation for personality 2006-08-25 19:25:56 +00:00
fredb 6e42bc55e0 Reorganize personality parameters and add personality to translate, blend and scale animations 2006-08-24 22:46:40 +00:00
fredb 7a459db022 Win32 fix 2006-07-30 21:02:36 +00:00
fredb 49fe06498a Compile again on Win32 platforms 2006-06-17 22:02:32 +00:00
fredb b3262fcb80 Compile again on Win32 platforms 2006-06-16 10:03:38 +00:00
fredb b9631e8521 Mac fix 2006-05-04 05:58:59 +00:00
fredb f664f7a201 Fix the initial texture path problem. Loaders are setting the one given to ssgLoad as the default one behind our back :-( 2006-04-29 08:09:51 +00:00
fredb f72b3882c3 Redefine the default PLIB loader behavior : don't clear the texture cache after every model load 2006-04-28 18:05:46 +00:00
fredb 27a120c7c3 Wrong config file name 2006-02-26 11:02:21 +00:00
fredb a75b4af374 Melchior FRANZ:
- don't unlock an already unlocked mutex (Someone wanted to be on
  the safe side with this, but the result is undefined and makes
  pthread_mutex_destroy fail. Reference: manpage for
  pthread_mutexattr_gettype/The Open Group[1]: "Attempting to
  unlock a mutex of this type which is not locked results in
  undefined behaviour.")

- re-enabled all subsystem destructors again (this has been disabled
  because fgfs hung on exit, due to the mutex destroy failure from
  above.)


Reference:
  http://www.opengroup.org/onlinepubs/007908799/xsh/pthread_mutexattr_gettype.html
2006-02-21 12:59:31 +00:00
fredb 3eba296157 Missing defines 2006-02-18 16:19:54 +00:00
fredb 1b51de08f5 Add missing include files needed by the new math code under windows 2006-02-18 13:24:24 +00:00
fredb 3e37f3fa54 Fix Code generation option for debug build 2006-02-18 12:04:37 +00:00
fredb a18679e95d Remove compiler warnings 2006-02-17 21:57:13 +00:00
fredb 930a84b459 Outputing 6 digits is not enough for a double 2006-02-07 20:50:35 +00:00
fredb 610e447d7c The sample is now managed by a SGSharedPtr and shouldn't be deleted explicitely 2006-01-24 21:49:56 +00:00
fredb 36e7684d9a MSVC vsnprintf ( in fact _vsnprinft ) returns -1 when the buffer is too short 2006-01-10 20:25:46 +00:00
fredb 795c079af0 Use the new SGPath::create_dir function
Ensure no triangles array could have more than 32767 vertices, a PLIB limit.
2006-01-07 13:21:36 +00:00