Back to Evolution Project page


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Header Files   Sources   Compound Members   File Members  

main.c

00001 /*
00002  * Initial main.c file generated by Glade. Edit as required.
00003  * Glade will not overwrite this file.
00004  */
00005 
00006 #ifdef HAVE_CONFIG_H
00007 #  include <config.h>
00008 #endif
00009 
00010 #include <gnome.h>
00011 
00012 #include "interface.h"
00013 #include "support.h"
00014 #include <unistd.h>
00015 #include "auxiliar.h"
00016 
00017 int
00018 main (int argc, char *argv[])
00019 {
00020 
00021 #ifdef ENABLE_NLS
00022   bindtextdomain (PACKAGE, PACKAGE_LOCALE_DIR);
00023   textdomain (PACKAGE);
00024 #endif
00025 
00026   gnome_init ("leveleditor", VERSION, argc, argv);
00027   
00028   /*
00029    * The following code was added by Glade to create one of each component
00030    * (except popup menus), just so that you see something after building
00031    * the project. Delete any components that you don't want shown initially.
00032    */
00033   frmSplash = create_frmSplash ();
00034   gtk_widget_show (frmSplash);
00035   Main = create_Main ();
00036 
00037   //Inicializations
00038   init_variables();
00039   level_changed = FALSE;
00040   sp_sel = NULL;
00041   grid_left = grid_top =0;
00042   back_pixmap = NULL;
00043 
00044   old_x = old_y = -1; 
00045   current_x = current_y = -1;
00046 
00047   view_grid = 1;
00048   view_sprites=1;
00049 
00050   defgc=GcXOR=NULL;
00051 
00052   clicked = 0;
00053   strcpy(current_filename, "");
00054   current_fileoperation = FILE_OPERATION_NONE;
00056 
00057   gtk_widget_show (Main);
00058 
00059   gtk_main ();
00060   return 0;
00061 }
00062 

Generated at Mon Nov 6 22:47:05 2000 for TheGameofEvolution by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999