Commit Graph
81 Commits
Author SHA1 Message Date
fredb 8174005ac8 MINGW patch by Csaba Halasz 2008-09-28 08:11:10 +00:00
fredb 3edcbc3b99 Use a more relevant library name 2008-08-31 18:39:49 +00:00
fredb 5a1cc8745e Update version 2008-08-31 18:35:02 +00:00
fredb 7f9b3a8666 Update MSVC 7.1 projects - Adapt to OSG 2.6.0-rc1 : location of header files should now be searched in the install directory, here ..\..\..\install\msvc71\OpenSceneGraph\include 2008-08-02 11:31:47 +00:00
fredb aa07b5bdd8 GL/wgl.h never existed, and a glx equivalent is not needed 2008-07-27 18:04:13 +00:00
fredb ff72b68731 Remove unneeded inclusions of windows.h, GL.h and GLU.H 2008-07-27 15:15:33 +00:00
fredb 433be0e46b Maybe a more portable way to do it 2008-07-25 21:33:54 +00:00
fredb 900607034e Compile again with MSVC 2008-07-25 21:27:46 +00:00
fredb cdff0fceea Update MSVC 7.1 projects 2008-06-08 16:45:13 +00:00
fredb 1a498348ee Fix non threadsafe code 2008-06-01 17:25:05 +00:00
fredb c6b03555f7 Report abnormal condition 2008-05-31 12:08:17 +00:00
fredb bb1a270532 Update MSVC 7.1 projects 2008-05-31 12:06:30 +00:00
fredb 69ea4b846a Fix a problem in loading models with paged LOD in some circunstances ( debug with MSVC for instance ) 2008-05-31 12:05:11 +00:00
fredb 373a0e4a7d Use bool instead of int to represent boolean values 2008-05-31 10:02:43 +00:00
fredb ec72b46dcb Win32 fix 2008-05-15 06:19:15 +00:00
fredb 0c06bfd3d9 Update MSVC 7.1 projects 2008-04-23 22:09:23 +00:00
fredb 5e4c4725bc Update MSVC 7.1 projects 2008-04-14 06:27:26 +00:00
fredb bb3b606820 Allows to load submodels with path relative to current model path.
Submodel path must be prefixed by ./ otherwise path is relative to fg_root ( current behavior )
2008-04-02 22:25:12 +00:00
fredb bd19899bbc Update MSVC 7.1 projects 2008-03-22 11:39:01 +00:00
fredb b69753fb76 Win32 fix 2008-03-22 11:38:50 +00:00
fredb 1f9e954610 Update MSVC 7.1 projects 2008-03-09 22:09:52 +00:00
fredb 49b5c2058d Initialize variables before using them 2008-03-02 16:49:07 +00:00
fredb 620e71e800 Update MSVC 7.1 projects 2008-02-28 21:25:44 +00:00
fredb edee4b3fe5 Update MSVC 7.1 projects 2008-01-17 21:41:48 +00:00
fredb 701c4bcf27 Avoid spitting gazillion 'Cannot find image file "" ' message on the console while loading random objects 2008-01-12 08:50:21 +00:00
fredb 65d0ee126a Update MSVC 7.1 projects 2008-01-04 21:45:41 +00:00
fredb 4db6435090 Remove warnings 2008-01-04 21:45:14 +00:00
fredb 182ee9d7e4 Update MSVC 7.1 projects 2007-12-18 22:25:24 +00:00
fredb 60f0003436 Update MSVC 7.1 projects 2007-12-02 12:28:30 +00:00
fredb 671f3f5890 Update MSVC 7.1 projects 2007-08-12 13:40:16 +00:00
fredb 9bae445624 Fix a typo 2007-08-12 13:32:42 +00:00
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