Changeset 195
- Timestamp:
- 02/18/08 14:54:58 (6 months ago)
- Files:
-
- GtkRadiant/branches/ZeroRadiant/SConscript.module (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/config.py (modified) (3 diffs)
- GtkRadiant/branches/ZeroRadiant/contrib/bobtoolz/DBrush.cpp (modified) (2 diffs)
- GtkRadiant/branches/ZeroRadiant/contrib/bobtoolz/DEntity.cpp (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/contrib/camera/funchandlers.cpp (modified) (2 diffs)
- GtkRadiant/branches/ZeroRadiant/contrib/camera/misc.cpp (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/contrib/camera/misc.h (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/contrib/gtkgensurf/bitmap.cpp (modified) (2 diffs)
- GtkRadiant/branches/ZeroRadiant/contrib/gtkgensurf/dec.cpp (modified) (2 diffs)
- GtkRadiant/branches/ZeroRadiant/contrib/gtkgensurf/face.cpp (modified) (3 diffs)
- GtkRadiant/branches/ZeroRadiant/contrib/gtkgensurf/gendlgs.cpp (modified) (8 diffs)
- GtkRadiant/branches/ZeroRadiant/contrib/gtkgensurf/genmap.cpp (modified) (3 diffs)
- GtkRadiant/branches/ZeroRadiant/contrib/gtkgensurf/gensurf.cpp (modified) (2 diffs)
- GtkRadiant/branches/ZeroRadiant/contrib/hydratoolz/plugin.cpp (modified) (8 diffs)
- GtkRadiant/branches/ZeroRadiant/contrib/prtview/AboutDialog.cpp (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/contrib/prtview/stdafx.h (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/include/igl.h (modified) (2 diffs)
- GtkRadiant/branches/ZeroRadiant/include/ishaders.h (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/include/isurfaceplugin.h (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/include/itoolbar.h (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/include/iui.h (modified) (4 diffs)
- GtkRadiant/branches/ZeroRadiant/include/qerplugin.h (modified) (3 diffs)
- GtkRadiant/branches/ZeroRadiant/plugins/imagehl/lbmlib.cpp (modified) (4 diffs)
- GtkRadiant/branches/ZeroRadiant/plugins/imagem8/m32.cpp (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/plugins/imagem8/m8.cpp (modified) (2 diffs)
- GtkRadiant/branches/ZeroRadiant/plugins/imagewal/wal.cpp (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/plugins/surface_heretic2/surfacedialog.cpp (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/plugins/surface_quake2/surfacedialog.cpp (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/plugins/textool/StdAfx.cpp (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/radiant/camwindow.h (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/radiant/ui.h (modified) (1 diff)
- GtkRadiant/branches/ZeroRadiant/radiant/xmlstuff.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
GtkRadiant/branches/ZeroRadiant/SConscript.module
r180 r195 18 18 if ( libname == 'surface' ): 19 19 useGtk = True 20 if ( libname == 'surface_quake2' ): 21 useGtk = True 22 if ( libname == 'surface_heretic2' ): 23 useGtk = True 24 if ( libname == 'bkgrnd2d' ): 25 useGtk = True 26 if ( libname == 'gtkgensurf' ): 27 useGtk = True 28 if ( libname == 'bobToolz_gtk' ): 29 useGtk = True 30 if ( libname == 'camera' ): 31 useGtk = True 32 if ( libname == 'PrtView' ): 33 useGtk = True 34 if ( libname == 'spritemodel' ): 35 useGtk = True 36 if ( libname == 'TexTool' ): 37 useGtk = True 38 20 39 settings.SetupEnvironment( env, config['name'], useGtk = useGtk, useJPEG = useJPEG ) 21 40 proj = utils.vcproj( os.path.join( GetLaunchDir(), project ) ) GtkRadiant/branches/ZeroRadiant/config.py
r193 r195 101 101 102 102 for project in [ 'plugins/vfspk3/vfspk3.vcproj', 103 'plugins/vfspak/vfspak.vcproj', 104 'plugins/vfswad/vfswad.vcproj', 105 'plugins/eclassfgd/fgd.vcproj', 106 'plugins/entity/entity.vcproj', 103 107 'plugins/image/image.vcproj', 104 'plugins/entity/entity.vcproj', 108 # FIXME: Fix linker flags - xml2, z 109 # 'plugins/imagepng/imagepng.vcproj', 110 'plugins/imagewal/imagewal.vcproj', 111 'plugins/imagem8/imagem8.vcproj', 112 'plugins/spritemodel/spritemodel.vcproj', 113 'plugins/textool/TexTool.vcproj', 105 114 'plugins/map/map.vcproj', 106 115 'plugins/mapxml/mapxml.vcproj', 107 116 'plugins/shaders/shaders.vcproj', 108 'plugins/surface/surface.vcproj' 109 ]: 117 'plugins/surface/surface.vcproj', 118 'plugins/surface_quake2/surface_quake2.vcproj', 119 'plugins/surface_heretic2/surface_heretic2.vcproj', 120 # FIXME Needs splines 121 # 'contrib/camera/camera.vcproj', 122 123 # FIXME What is this? Empty dir for me - remove me? 124 # 'contrib/patches/patches.vcproj', 125 # 'contrib/archivewad/archivewad.vcproj', 126 127 # FIXME Doesn't compile cleanly 128 # 'contrib/prtview/PrtView.vcproj', 129 'contrib/hydratoolz/hydratoolz.vcproj', 130 'contrib/bobtoolz/bobToolz_gtk.vcproj', 131 'contrib/gtkgensurf/gtkgensurf.vcproj', 132 'contrib/bkgrnd2d/bkgrnd2d.vcproj' 133 ]: 110 134 ( libpath, libname ) = os.path.split( project ) 111 135 libname = os.path.splitext( libname )[0] … … 113 137 if ( libname == 'entity' ): 114 138 shlib_objects += shlib_objects_extra['mathlib'] 115 if ( libname == 'map' ): 139 # elif ( libname == 'spritemodel' ): 140 # shlib_objects += shlib_objects_extra['mathlib'] 141 # elif ( libname == 'TexTool' ): 142 # shlib_objects += shlib_objects_extra['mathlib'] 143 elif ( libname == 'map' ): 116 144 shlib_objects += shlib_objects_extra['cmdlib'] 117 145 Export( 'project', 'shlib_objects' ) … … 126 154 config['shared'] = False 127 155 Export( 'utils', 'settings', 'config' ) 128 build_dir = os.path.join( 'build', config_name, ' radiant' )156 build_dir = os.path.join( 'build', config_name, 'q3map2' ) 129 157 BuildDir( build_dir, '.', duplicate = 0 ) 130 158 lib_objects = [] GtkRadiant/branches/ZeroRadiant/contrib/bobtoolz/DBrush.cpp
r185 r195 30 30 #include "DBrush.h" 31 31 #include "DWinding.h" 32 #include "dialogs -gtk.h"32 #include "dialogs/dialogs-gtk.h" 33 33 34 34 #include "misc.h" … … 389 389 if(entity) { 390 390 g_FuncTable.m_pfnCommitBrushHandleToEntity(QER_brush, entity); 391 g_BrushTable.m_pfnBrush_Build(QER_brush );391 g_BrushTable.m_pfnBrush_Build(QER_brush, false, false, false, false); 392 392 g_BrushTable.m_pfnBrush_AddToList(QER_brush, g_AppDataTable.m_pfnSelectedBrushes()); 393 393 } else { GtkRadiant/branches/ZeroRadiant/contrib/bobtoolz/DEntity.cpp
r185 r195 30 30 #include "DEntity.h" 31 31 32 #include "dialogs -gtk.h"32 #include "dialogs/dialogs-gtk.h" 33 33 #include "misc.h" 34 34 #include "CPortals.h" GtkRadiant/branches/ZeroRadiant/contrib/camera/funchandlers.cpp
r185 r195 103 103 104 104 if( firstCam && firstCam->HasBeenSaved() ) 105 ExtractFilePath( firstCam->GetFileName(), basepath );105 CAMERA_ExtractFilePath( firstCam->GetFileName(), basepath ); 106 106 else 107 107 strcpy( basepath, g_FuncTable.m_pfnGetGamePath() ); … … 158 158 159 159 if( GetCurrentCam()->GetFileName()[0] ) 160 ExtractFilePath( GetCurrentCam()->GetFileName(), basepath );160 CAMERA_ExtractFilePath( GetCurrentCam()->GetFileName(), basepath ); 161 161 else 162 162 strcpy( basepath, g_FuncTable.m_pfnGetGamePath() ); GtkRadiant/branches/ZeroRadiant/contrib/camera/misc.cpp
r185 r195 53 53 } 54 54 55 void ExtractFilePath( const char *path, char *dest )55 void CAMERA_ExtractFilePath( const char *path, char *dest ) 56 56 { 57 57 const char *src; GtkRadiant/branches/ZeroRadiant/contrib/camera/misc.h
r183 r195 27 27 void Sys_ERROR( char* text, ... ); 28 28 char* UnixToDosPath( char* path ); 29 void ExtractFilePath( const char *path, char *dest );29 void CAMERA_ExtractFilePath( const char *path, char *dest ); 30 30 const char* ExtractFilename( const char* path ); 31 31 bool FileExists (const char *filename); GtkRadiant/branches/ZeroRadiant/contrib/gtkgensurf/bitmap.cpp
r185 r195 162 162 { 163 163 g_FuncTable.m_pfnMessageBox (g_pWnd, "This is not an 8-bit image. GenSurf can't use it.", 164 "Bitmap", MB_ICONEXCLAMATION );164 "Bitmap", MB_ICONEXCLAMATION, NULL); 165 165 fclose(fp); 166 166 return NULL; … … 418 418 419 419 sprintf (Text, "Error opening %s", gbmp.name); 420 g_FuncTable.m_pfnMessageBox (g_pWnd, Text, "Bitmap", MB_ICONEXCLAMATION );420 g_FuncTable.m_pfnMessageBox (g_pWnd, Text, "Bitmap", MB_ICONEXCLAMATION, NULL); 421 421 strcpy (gbmp.name, ""); 422 422 } GtkRadiant/branches/ZeroRadiant/contrib/gtkgensurf/dec.cpp
r185 r195 151 151 g_FuncTable.m_pfnMessageBox(g_pRadiantWnd, 152 152 "Error: Couldn't find the triangle bounding a point.", 153 "Decimation Error",MB_ICONEXCLAMATION );153 "Decimation Error",MB_ICONEXCLAMATION, NULL); 154 154 return; 155 155 } … … 250 250 g_FuncTable.m_pfnMessageBox(g_pRadiantWnd, 251 251 "Error: Couldn't find the triangle bounding a point.", 252 "Decimation Error",MB_ICONEXCLAMATION );252 "Decimation Error",MB_ICONEXCLAMATION, NULL); 253 253 return; 254 254 } GtkRadiant/branches/ZeroRadiant/contrib/gtkgensurf/face.cpp
r185 r195 29 29 #define SIDE_CROSS -2 30 30 31 vec3 vec3_origin = {0,0,0};31 vec3 gensurf_vec3_origin; 32 32 33 33 void PlaneFromPoints (float *p0, float *p1, float *p2, PLANE *plane) … … 134 134 if (x==-1) x = 2; 135 135 136 VectorCopy( vec3_origin,vup);136 VectorCopy(gensurf_vec3_origin,vup); 137 137 switch (x) 138 138 { … … 357 357 358 358 PlaneFromPoints (planepts[0], planepts[1], planepts[2], &plane[2*i]); 359 VectorSubtract ( vec3_origin, plane[2*i].normal, plane[2*i+1].normal);359 VectorSubtract (gensurf_vec3_origin, plane[2*i].normal, plane[2*i+1].normal); 360 360 plane[2*i+1].dist = -plane[2*i].dist; 361 361 GtkRadiant/branches/ZeroRadiant/contrib/gtkgensurf/gendlgs.cpp
r185 r195 99 99 "Pablo Zurita (pablo@qeradiant.com)\n" 100 100 "Hydra (hydra@hydras-world.com)", 101 "About GtkGenSurf", MB_OK );101 "About GtkGenSurf", MB_OK, NULL); 102 102 } 103 103 … … 718 718 { 719 719 sprintf (Text, "The number of divisions must be > 0 and no greater than %d.", MAX_ROWS); 720 g_FuncTable.m_pfnMessageBox (g_pWnd, Text, "GenSurf", MB_ICONEXCLAMATION );720 g_FuncTable.m_pfnMessageBox (g_pWnd, Text, "GenSurf", MB_ICONEXCLAMATION, NULL); 721 721 gtk_notebook_set_page (GTK_NOTEBOOK (notebook), EXTENTS_TAB); 722 722 return; … … 726 726 { 727 727 sprintf (Text, "The number of divisions must be > 0 and no greater than %d.", MAX_ROWS); 728 g_FuncTable.m_pfnMessageBox (g_pWnd, Text, "GenSurf", MB_ICONEXCLAMATION );728 g_FuncTable.m_pfnMessageBox (g_pWnd, Text, "GenSurf", MB_ICONEXCLAMATION, NULL); 729 729 gtk_notebook_set_page (GTK_NOTEBOOK (notebook), EXTENTS_TAB); 730 730 return; … … 735 735 g_FuncTable.m_pfnMessageBox (g_pWnd, "The \"lower-left\" values must be less than " 736 736 "the corresponding \"upper-right\" values in " 737 "the \"Extent\" box.","GenSurf", MB_OK | MB_ICONEXCLAMATION );737 "the \"Extent\" box.","GenSurf", MB_OK | MB_ICONEXCLAMATION, NULL); 738 738 gtk_notebook_set_page (GTK_NOTEBOOK (notebook), EXTENTS_TAB); 739 739 return; … … 744 744 g_FuncTable.m_pfnMessageBox (g_pWnd,"The \"lower-left\" values must be less than " 745 745 "the corresponding \"upper-right\" values in " 746 "the \"Extent\" box.","GenSurf", MB_OK | MB_ICONEXCLAMATION );746 "the \"Extent\" box.","GenSurf", MB_OK | MB_ICONEXCLAMATION, NULL); 747 747 gtk_notebook_set_page (GTK_NOTEBOOK (notebook), EXTENTS_TAB); 748 748 return; … … 751 751 if (!strlen (Texture[Game][0])) 752 752 { 753 g_FuncTable.m_pfnMessageBox (g_pWnd, "You must supply a texture name.", "GenSurf", MB_ICONEXCLAMATION );753 g_FuncTable.m_pfnMessageBox (g_pWnd, "You must supply a texture name.", "GenSurf", MB_ICONEXCLAMATION, NULL); 754 754 gtk_notebook_set_page (GTK_NOTEBOOK (notebook), EXTENTS_TAB); 755 755 return; … … 909 909 char *ptr; 910 910 911 filename = g_FuncTable.m_pfnFileDialog (g_pWnd, TRUE, "Bitmap File", gbmp.defpath );911 filename = g_FuncTable.m_pfnFileDialog (g_pWnd, TRUE, "Bitmap File", gbmp.defpath, "gtkgensurf"); 912 912 913 913 if (filename != NULL) … … 951 951 gdk_beep (); 952 952 g_FuncTable.m_pfnMessageBox (g_pWnd, "The value must be between -65536 and 65536, inclusive.", 953 "GenSurf", MB_OK | MB_ICONEXCLAMATION );953 "GenSurf", MB_OK | MB_ICONEXCLAMATION, NULL); 954 954 sprintf (Text, "%d", (int)xyz[Vertex[0].i][Vertex[0].j].fixed_value); 955 955 gtk_entry_set_text (GTK_ENTRY(widget), Text); GtkRadiant/branches/ZeroRadiant/contrib/gtkgensurf/genmap.cpp
r185 r195 173 173 { 174 174 sprintf(szOops,"Oops... screwed up with NH=%d",NH); 175 g_FuncTable.m_pfnMessageBox(NULL,szOops,"Uh oh" );175 g_FuncTable.m_pfnMessageBox(NULL,szOops,"Uh oh", 0, NULL); 176 176 } 177 177 NV_remain = NV+1; … … 205 205 { 206 206 sprintf(szOops,"Oops... screwed up with NV=%d",NV); 207 g_FuncTable.m_pfnMessageBox(NULL,szOops,"Uh oh" );207 g_FuncTable.m_pfnMessageBox(NULL,szOops,"Uh oh", 0, NULL); 208 208 } 209 209 … … 1982 1982 if(g_FuncTable.m_pfnCreateBrushHandle==NULL) 1983 1983 { 1984 g_FuncTable.m_pfnMessageBox(g_pRadiantWnd,"m_pfnCreateBrushHandle==NULL","Aw damn",0 );1984 g_FuncTable.m_pfnMessageBox(g_pRadiantWnd,"m_pfnCreateBrushHandle==NULL","Aw damn",0, NULL); 1985 1985 return; 1986 1986 } GtkRadiant/branches/ZeroRadiant/contrib/gtkgensurf/gensurf.cpp
r185 r195 398 398 { 399 399 const char *name = g_FuncTable.m_pfnFileDialog (parent, false, "Save GenSurf Settings", 400 g_FuncTable.m_pfnProfileGetDirectory () );400 g_FuncTable.m_pfnProfileGetDirectory (), "gtkgensurf"); 401 401 402 402 if (name != NULL) … … 437 437 else 438 438 name = g_FuncTable.m_pfnFileDialog (parent, true, "Open GenSurf Settings", 439 g_FuncTable.m_pfnProfileGetDirectory () );439 g_FuncTable.m_pfnProfileGetDirectory (), "gtkgensurf"); 440 440 441 441 if(name != NULL) GtkRadiant/branches/ZeroRadiant/contrib/hydratoolz/plugin.cpp
r185 r195 70 70 ==================== 71 71 */ 72 void ExtractFilePath (const char *path, char *dest)72 void HYDRA_ExtractFilePath (const char *path, char *dest) 73 73 { 74 74 const char *src; … … 86 86 } 87 87 88 void ExtractFileName (const char *path, char *dest)88 void HYDRA_ExtractFileName (const char *path, char *dest) 89 89 { 90 90 const char *src; … … 106 106 } 107 107 108 void ConvertDOSToUnixName( char *dst, const char *src )108 void HYDRA_ConvertDOSToUnixName( char *dst, const char *src ) 109 109 { 110 110 while ( *src ) … … 137 137 if (strcmp(shadername,"color") == 0) 138 138 return wadlist; 139 ExtractFilePath(shadername,tmpstr);139 HYDRA_ExtractFilePath(shadername,tmpstr); 140 140 // Sys_Printf("checking: %s\n",shadername); 141 141 … … 150 150 } 151 151 152 ExtractFileName(tmpstr,tmpstr);152 HYDRA_ExtractFileName(tmpstr,tmpstr); 153 153 154 154 wadname = (char *)malloc(strlen(tmpstr) + 5); … … 201 201 { 202 202 strcpy(wads,pEpair->value); 203 ConvertDOSToUnixName(wads,wads);203 HYDRA_ConvertDOSToUnixName(wads,wads); 204 204 205 205 Sys_Printf("HydraToolz: Current wad key is \"%s\"!\n",wads); … … 218 218 if (strchr(p1,'/') || strchr(p1,'\\')) 219 219 { 220 ExtractFileName(p1,cleanwadname);220 HYDRA_ExtractFileName(p1,cleanwadname); 221 221 wadlist = AddToWadList (wadlist, NULL, cleanwadname); 222 222 } … … 296 296 strcat(wads,";"); 297 297 298 actualwad = vfsGetFullPath((char *)wadlist->data );298 actualwad = vfsGetFullPath((char *)wadlist->data, 0, 0); 299 299 300 300 if (actualwad) GtkRadiant/branches/ZeroRadiant/contrib/prtview/AboutDialog.cpp
r185 r195 22 22 23 23 #include "stdafx.h" 24 #include "AboutDialog.h" 24 25 25 26 #ifdef _DEBUG GtkRadiant/branches/ZeroRadiant/contrib/prtview/stdafx.h
r183 r195 61 61 #include "prtview.h" 62 62 #include "portals.h" 63 #include "resource.h" // main symbols 63 64 64 65 #define MSG_PREFIX "Portal Viewer plugin: " GtkRadiant/branches/ZeroRadiant/include/igl.h
r183 r195 39 39 { 40 40 public: 41 virtual ~IGL2DWindow() { } 41 42 // Increment the number of references to this object 42 43 virtual void IncRef () = 0; … … 50 51 { 51 52 public: 53 virtual ~IGL3DWindow() { } 52 54 // Increment the number of references to this object 53 55 virtual void IncRef () = 0; GtkRadiant/branches/ZeroRadiant/include/ishaders.h
r183 r195 56 56 { 57 57 public: 58 virtual ~IShader() { } 58 59 // Increment the number of references to this object 59 60 virtual void IncRef () = 0; GtkRadiant/branches/ZeroRadiant/include/isurfaceplugin.h
r183 r195 45 45 { 46 46 public: 47 virtual ~IPluginTexdef() { } 47 48 // Increment the number of references to this object 48 49 virtual void IncRef () = 0; GtkRadiant/branches/ZeroRadiant/include/itoolbar.h
r183 r195 42 42 }; 43 43 44 virtual ~IToolbarButton() { } 44 45 virtual const char* getImage() const = 0; 45 46 virtual const char* getText() const = 0; GtkRadiant/branches/ZeroRadiant/include/iui.h
r183 r195 35 35 { 36 36 public: 37 virtual ~IWindowListener() { } 37 38 // Increment the number of references to this object 38 39 virtual void IncRef () = 0; … … 66 67 { 67 68 public: 69 virtual ~IWindow() {} 68 70 // Increment the number of references to this object 69 71 virtual void IncRef () = 0; … … 108 110 { 109 111 public: 112 virtual ~IListener() {} 110 113 // Increment the number of references to this object 111 114 virtual void IncRef () = 0; … … 120 123 { 121 124 public: 125 virtual ~IXYWndWrapper() {} 122 126 virtual void SnapToGrid( int x1, int y1, vec3_t pt ) = 0; 123 127 virtual VIEWTYPE GetViewType( void ) = 0; GtkRadiant/branches/ZeroRadiant/include/qerplugin.h
r183 r195 581 581 { 582 582 public: 583 virtual ~IModelCache() { } 583 584 virtual entity_interfaces_t *GetByID(const char *id, const char* version) = 0; 584 585 virtual void DeleteByID(const char *id, const char* version) = 0; … … 591 592 { 592 593 public: 594 virtual ~IFileTypeList() { } 593 595 virtual void addType(filetype_t type) = 0; 594 596 }; … … 597 599 { 598 600 public: 601 virtual ~IFileTypeRegistry() { } 599 602 virtual void addType(const char* key, filetype_t type) = 0; 600 603 virtual void getTypeList(const char* key, IFileTypeList* typelist) = 0; GtkRadiant/branches/ZeroRadiant/plugins/imagehl/lbmlib.cpp
r185 r195 144 144 // load the file 145 145 // 146 length = vfsLoadFile ((char *) name, (void **) &buffer );146 length = vfsLoadFile ((char *) name, (void **) &buffer, 0); 147 147 if (length == (unsigned int) -1) 148 148 return; … … 330 330 // load the file 331 331 // 332 length = vfsLoadFile ((char *) name, (void **) &buffer );332 length = vfsLoadFile ((char *) name, (void **) &buffer, 0); 333 333 if (length == (unsigned int) -1) 334 334 return; … … 515 515 // load the file 516 516 // 517 length = vfsLoadFile ((char *) name, (void **) &buffer );517 length = vfsLoadFile ((char *) name, (void **) &buffer, 0); 518 518 if (length == (unsigned int) -1) 519 519 return; … … 523 523 mipdatasize = GET_MIP_DATA_SIZE(lpMip->width,lpMip->height); 524 524 525 palettelength = vfsLoadFile ("textures/palette.lmp", (void **) &loadedpalette );525 palettelength = vfsLoadFile ("textures/palette.lmp", (void **) &loadedpalette, 0); 526 526 if (palettelength == 768) 527 527 palette = loadedpalette; GtkRadiant/branches/ZeroRadiant/plugins/imagem8/m32.cpp
r185 r195 37 37 38 38 // open file 39 if ( length = vfsLoadFile ((char *) name, (void **) &m32_file_buffer ) == (unsigned int) -1)39 if ( length = vfsLoadFile ((char *) name, (void **) &m32_file_buffer, 0) == (unsigned int) -1) 40 40 { 41 41 Sys_Printf("Unable to open file %s\n",name); GtkRadiant/branches/ZeroRadiant/plugins/imagem8/m8.cpp
r185 r195 45 45 46 46 // open file 47 if ( length = vfsLoadFile ((char *) text_buf, (void **) &m8_file_buffer) == (unsigned int) -1)47 if ( length = vfsLoadFile ((char *) text_buf, (void **) &m8_file_buffer, 0) == (unsigned int) -1) 48 48 { 49 49 strcpy(text_buf, name); … … 57 57 } 58 58 strcat(text_buf, ".m8"); 59 if ( length = vfsLoadFile ((char *) text_buf, (void **) &m8_file_buffer ) == (unsigned int) -1)59 if ( length = vfsLoadFile ((char *) text_buf, (void **) &m8_file_buffer, 0) == (unsigned int) -1) 60 60 { 61 61 Sys_Printf("Unable to open file %s\n",name); GtkRadiant/branches/ZeroRadiant/plugins/imagewal/wal.cpp
r185 r195 41 41 42 42 // open file 43 if ( length = vfsLoadFile ((char *) name, (void **) &wal_file_buffer ) == (unsigned int) -1)43 if ( length = vfsLoadFile ((char *) name, (void **) &wal_file_buffer, 0) == (unsigned int) -1) 44 44 { 45 45 Sys_Printf("Unable to open file %s\n",name); GtkRadiant/branches/ZeroRadiant/plugins/surface_heretic2/surfacedialog.cpp
r185 r195 645 645 g_bListenUpdate=FALSE; 646 646 SetChangeInFlags_Face_Heretic2 ( get_texdef_face_list() ); 647 SetTexdef_FaceList( get_texdef_face_list(), b_SetUndoPoint );647 SetTexdef_FaceList( get_texdef_face_list(), b_SetUndoPoint, false ); 648 648 g_bListenUpdate=TRUE; 649 649 GtkRadiant/branches/ZeroRadiant/plugins/surface_quake2/surfacedialog.cpp
r185 r195 644 644 g_bListenUpdate=FALSE; 645 645 SetChangeInFlags_Face_Quake2 ( get_texdef_face_list() ); 646 SetTexdef_FaceList( get_texdef_face_list(), b_SetUndoPoint );646 SetTexdef_FaceList( get_texdef_face_list(), b_SetUndoPoint, false ); 647 647 g_bListenUpdate=TRUE; 648 648 GtkRadiant/branches/ZeroRadiant/plugins/textool/StdAfx.cpp
r185 r195 23 23 // stdafx.obj will contain the pre-compiled type information 24 24 25 #include " stdafx.h"25 #include "StdAfx.h" 26 26 27 27 // TODO: reference any additional headers you need in STDAFX.H GtkRadiant/branches/ZeroRadiant/radiant/camwindow.h
r183 r195 92 92 rectangle_t m_rectangle; 93 93 94 GtkWidget* m_widget; 94 95 GdkGC* m_gc; 95 GtkWidget* m_widget;96 96 }; 97 97 GtkRadiant/branches/ZeroRadiant/radiant/ui.h
r183 r195 32 32 { 33 33 public: 34 virtual ~CXYWndWrapper() {} 34 35 void SnapToGrid( int x1, int y1, vec3_t pt ); 35 36 VIEWTYPE GetViewType( void ); GtkRadiant/branches/ZeroRadiant/radiant/xmlstuff.h
r191 r195 45 45 { 46 46 public: 47 virtual ~ISAXHandler() { } 47 48 virtual void saxStartElement( struct message_info_s *ctx, const xmlChar *name, const xmlChar **attrs ) = 0; 48 49 virtual void saxEndElement( struct message_info_s *ctx, const xmlChar *name ) = 0;
