Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Scripted Wizard renewed icons, and small refinements to a few wizard scripts

<< < (2/2)

ptDev:
I have submited the zipped images as a patch in berlios.de (patch number 002985). To apply to your working copy, extract and overwrite on the source.
Alternatively, you can extract the zip attached to the first post over your binaries.

stahta01:
Here's my patch again feel free to submit it; I just do not have time and energy to keep it up to date.
Tim S.

cb_SDL_Wizard.patch

--- Code: ---Index: src/plugins/scriptedwizard/resources/sdl/wizard.script
===================================================================
--- src/plugins/scriptedwizard/resources/sdl/wizard.script (revision 5680)
+++ src/plugins/scriptedwizard/resources/sdl/wizard.script (working copy)
@@ -47,8 +47,15 @@
         local dir_nomacro_inc = GetCompilerIncludeDir(dir, SDLPathDefault, SDLPathDefaultInc);
         if (dir_nomacro_inc.IsEmpty())
             return false;
-        if (!VerifyFile(dir_nomacro_inc, _T("SDL.h"), _T("SDL's include")))
-            return false;
+            
+        if (!IO.FileExists(dir_nomacro_inc + wxFILE_SEP_PATH + _T("SDL.h")))
+        {
+            if (VerifyFile(dir_nomacro_inc, _T("SDL/SDL.h"), _T("SDL's include")))
+                SDLPathDefaultInc = SDLPathDefaultInc + _T("/SDL");
+            else
+                return false;
+        }
+        
 
         // verify library dependencies
         local dir_nomacro_lib = GetCompilerLibDir(dir, SDLPathDefault, SDLPathDefaultLib);

--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version