Difference for crossedit/App.c from version 1.11 to 1.12


version 1.11 version 1.12
Line 36
 
Line 36
 #include "Bitmaps.h"  #include "Bitmaps.h"
 #include "App.h"  #include "App.h"
 #include "debug.h"  #include "debug.h"
 #include "util.h"  
   
 #include <proto.h>  #include <proto.h>
   
Line 46
 
Line 45
 #define E_EDITABLE   (E_MONSTER | E_EXIT | E_TREASURE | E_BACKGROUND | \  #define E_EDITABLE   (E_MONSTER | E_EXIT | E_TREASURE | E_BACKGROUND | \
                      E_DOOR | E_SPECIAL | E_SHOP | E_NORMAL | E_FALSE_WALL)                       E_DOOR | E_SPECIAL | E_SHOP | E_NORMAL | E_FALSE_WALL)
   
 ArchFlagsRec archFlags[] = {  static ArchFlagsRec archFlags[] = {
     { 0, "toggle", E_EDITABLE },      { 0, "toggle", E_EDITABLE },
     { 0, "monster", E_MONSTER },      { 0, "monster", E_MONSTER },
     { 0, "exit", E_EXIT },      { 0, "exit", E_EXIT },
Line 68
 
Line 67
  * plaah: where to put these ???   * plaah: where to put these ???
  * 0.91.9 - moved to start of file - needed for ReadPixmaps function.   * 0.91.9 - moved to start of file - needed for ReadPixmaps function.
  */   */
 XColor exactcolor, discolor[13];  XColor discolor[13];
 Colormap colormap=(Colormap)NULL;  Colormap colormap=(Colormap)NULL;
   
   
Line 76
 
Line 75
  * private   * private
  **********************************************************************/   **********************************************************************/
   
   static void AppDestroy(App self);
   static Edit AppEditInsert(App self,String path,EditType type);
   static void AppEditAttach(App self,Edit edit);
   
 #if 0  #if 0
 static void AbsToCr(App self,String abs)  static void AbsToCr(App self,String abs)
 {  {
Line 820
 
Line 823
  resources, resourcesNum,    resources, resourcesNum,
  NULL, 0);   NULL, 0);
   
     /*** images & colors ***/  
     InitializeColors(XtDisplay(self->shell));  
   
     /* Default */      /* Default */
     displaymode=Dm_Png;      displaymode=Dm_Png;
     FontSize=32;      FontSize=32;
Line 855
 
Line 855
 /*  /*
  * member: vanish application   * member: vanish application
  */   */
 void AppDestroy(App self)  static void AppDestroy(App self)
 {  {
     Edit edit;      Edit edit;
     Edit temp;      Edit temp;
Line 1009
 
Line 1009
   
   
   
 void  InitializeColors (Display *dpy)  
 {  
     return; /* this function does nothing anymore */  
 }  
   
 /*  /*
  * member: add editor   * member: add editor
  */   */
 Edit AppEditInsert(App self,String path,EditType type)  static Edit AppEditInsert(App self,String path,EditType type)
 {  {
     Edit edit;      Edit edit;
     Edit editor;      Edit editor;
Line 1055
 
Line 1050
 /*  /*
  * attach Edit to App environment   * attach Edit to App environment
  */   */
 void AppEditAttach(App self,Edit edit)  static void AppEditAttach(App self,Edit edit)
 {  {
     debug1("AppEditAttach() %s\n",EditGetPath(edit));      debug1("AppEditAttach() %s\n",EditGetPath(edit));
     /*** attach edit to list ***/      /*** attach edit to list ***/


Legend:
line(s) removed in v.1.11 
line(s) changed
 line(s) added in v.1.12

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:48