#include "studio.h"#include "servemsg.h"#include "exult_constants.h"#include "utils.h"#include "shapeinf.h"#include "monstinf.h"#include "u7drag.h"#include "shapefile.h"#include "shapedraw.h"Include dependency graph for shapeedit.cc:

Go to the source code of this file.
Classes | |
| struct | Equip_row_widgets |
Functions | |
| void | on_equip_okay_clicked (GtkButton *btn, gpointer user_data) |
| void | on_equip_apply_clicked (GtkButton *btn, gpointer user_data) |
| void | on_equip_cancel_clicked (GtkButton *btn, gpointer user_data) |
| gboolean | on_equip_window_delete_event (GtkWidget *widget, GdkEvent *event, gpointer user_data) |
| gboolean | on_equip_recnum_changed (GtkWidget *widget, gpointer user_data) |
| gboolean | on_equip_draw_expose_event (GtkWidget *widget, GdkEventExpose *event, gpointer data) |
| gboolean | on_equip_shape_changed (GtkWidget *widget, gpointer data) |
| static void | Equip_shape_dropped (int file, int shape, int frame, void *udata) |
| static void | Setup_equip (GtkTable *table, Vga_file *vgafile, unsigned char *palbuf, Equip_row_widgets rows[10]) |
| void | on_shinfo_okay_clicked (GtkButton *btn, gpointer user_data) |
| void | on_shinfo_apply_clicked (GtkButton *btn, gpointer user_data) |
| void | on_shinfo_cancel_clicked (GtkButton *btn, gpointer user_data) |
| gboolean | on_shape_window_delete_event (GtkWidget *widget, GdkEvent *event, gpointer user_data) |
| gboolean | on_shinfo_draw_expose_event (GtkWidget *widget, GdkEventExpose *event, gpointer data) |
| void | on_open_equip_button_clicked (GtkButton *btn, gpointer user_data) |
| void | on_shinfo_frame_changed (GtkSpinButton *button, gpointer user_data) |
| void | on_shinfo_weapon_check_toggled (GtkToggleButton *btn, gpointer user_data) |
| void | on_shinfo_ammo_check_toggled (GtkToggleButton *btn, gpointer user_data) |
| void | on_shinfo_armor_check_toggled (GtkToggleButton *btn, gpointer user_data) |
| void | on_shinfo_monster_check_toggled (GtkToggleButton *btn, gpointer user_data) |
Variables | |
| static Equip_row_widgets | equip_rows [10] = {0} |
| static void Equip_shape_dropped | ( | int | file, | |
| int | shape, | |||
| int | frame, | |||
| void * | udata | |||
| ) | [static] |
Definition at line 154 of file shapeedit.cc.
References Equip_row_widgets::shape, and U7_SHAPE_SHAPES.
Referenced by Setup_equip().
| void on_equip_apply_clicked | ( | GtkButton * | btn, | |
| gpointer | user_data | |||
| ) |
Definition at line 66 of file shapeedit.cc.
References ExultStudio::get_instance(), and ExultStudio::save_equip_window().
Here is the call graph for this function:

| void on_equip_cancel_clicked | ( | GtkButton * | btn, | |
| gpointer | user_data | |||
| ) |
Definition at line 78 of file shapeedit.cc.
References ExultStudio::close_equip_window(), and ExultStudio::get_instance().
Here is the call graph for this function:

| gboolean on_equip_draw_expose_event | ( | GtkWidget * | widget, | |
| GdkEventExpose * | event, | |||
| gpointer | data | |||
| ) |
Definition at line 118 of file shapeedit.cc.
References ExultStudio::get_instance(), and ExultStudio::show_equip_shape().
Referenced by Setup_equip().
Here is the call graph for this function:

| void on_equip_okay_clicked | ( | GtkButton * | btn, | |
| gpointer | user_data | |||
| ) |
Definition at line 57 of file shapeedit.cc.
References ExultStudio::close_equip_window(), ExultStudio::get_instance(), and ExultStudio::save_equip_window().
Here is the call graph for this function:

| gboolean on_equip_recnum_changed | ( | GtkWidget * | widget, | |
| gpointer | user_data | |||
| ) |
Definition at line 104 of file shapeedit.cc.
References ExultStudio::get_instance(), and ExultStudio::init_equip_window().
Here is the call graph for this function:

| gboolean on_equip_shape_changed | ( | GtkWidget * | widget, | |
| gpointer | data | |||
| ) |
Definition at line 134 of file shapeedit.cc.
References ExultStudio::get_instance(), ExultStudio::get_shape_name(), Equip_row_widgets::name, Equip_row_widgets::shape, and ExultStudio::show_equip_shape().
Referenced by Setup_equip().
Here is the call graph for this function:

| gboolean on_equip_window_delete_event | ( | GtkWidget * | widget, | |
| GdkEvent * | event, | |||
| gpointer | user_data | |||
| ) |
Definition at line 90 of file shapeedit.cc.
References ExultStudio::close_equip_window(), and ExultStudio::get_instance().
Here is the call graph for this function:

| void on_open_equip_button_clicked | ( | GtkButton * | btn, | |
| gpointer | user_data | |||
| ) |
Definition at line 465 of file shapeedit.cc.
References ExultStudio::get_instance(), and s.
Here is the call graph for this function:

| gboolean on_shape_window_delete_event | ( | GtkWidget * | widget, | |
| GdkEvent * | event, | |||
| gpointer | user_data | |||
| ) |
Definition at line 435 of file shapeedit.cc.
References ExultStudio::close_shape_window(), and ExultStudio::get_instance().
Here is the call graph for this function:

| void on_shinfo_ammo_check_toggled | ( | GtkToggleButton * | btn, | |
| gpointer | user_data | |||
| ) |
Definition at line 504 of file shapeedit.cc.
References ExultStudio::get_instance(), and ExultStudio::set_visible().
Here is the call graph for this function:

| void on_shinfo_apply_clicked | ( | GtkButton * | btn, | |
| gpointer | user_data | |||
| ) |
Definition at line 411 of file shapeedit.cc.
References ExultStudio::get_instance(), and ExultStudio::save_shape_window().
Here is the call graph for this function:

| void on_shinfo_armor_check_toggled | ( | GtkToggleButton * | btn, | |
| gpointer | user_data | |||
| ) |
Definition at line 513 of file shapeedit.cc.
References ExultStudio::get_instance(), and ExultStudio::set_visible().
Here is the call graph for this function:

| void on_shinfo_cancel_clicked | ( | GtkButton * | btn, | |
| gpointer | user_data | |||
| ) |
Definition at line 423 of file shapeedit.cc.
References ExultStudio::close_shape_window(), and ExultStudio::get_instance().
Here is the call graph for this function:

| gboolean on_shinfo_draw_expose_event | ( | GtkWidget * | widget, | |
| GdkEventExpose * | event, | |||
| gpointer | data | |||
| ) |
Definition at line 449 of file shapeedit.cc.
References ExultStudio::get_instance(), and ExultStudio::show_shinfo_shape().
Here is the call graph for this function:

| void on_shinfo_frame_changed | ( | GtkSpinButton * | button, | |
| gpointer | user_data | |||
| ) |
Definition at line 478 of file shapeedit.cc.
References ExultStudio::get_instance(), and s.
Here is the call graph for this function:

| void on_shinfo_monster_check_toggled | ( | GtkToggleButton * | btn, | |
| gpointer | user_data | |||
| ) |
Definition at line 522 of file shapeedit.cc.
References ExultStudio::get_instance(), and ExultStudio::set_visible().
Here is the call graph for this function:

| void on_shinfo_okay_clicked | ( | GtkButton * | btn, | |
| gpointer | user_data | |||
| ) |
Definition at line 402 of file shapeedit.cc.
References ExultStudio::close_shape_window(), ExultStudio::get_instance(), and ExultStudio::save_shape_window().
Here is the call graph for this function:

| void on_shinfo_weapon_check_toggled | ( | GtkToggleButton * | btn, | |
| gpointer | user_data | |||
| ) |
Definition at line 495 of file shapeedit.cc.
References ExultStudio::get_instance(), and ExultStudio::set_visible().
Here is the call graph for this function:

| static void Setup_equip | ( | GtkTable * | table, | |
| Vga_file * | vgafile, | |||
| unsigned char * | palbuf, | |||
| Equip_row_widgets | rows[10] | |||
| ) | [static] |
Definition at line 174 of file shapeedit.cc.
References Equip_row_widgets::chance, Equip_row_widgets::count, Equip_row_widgets::draw, Shape_draw::enable_drop(), Equip_shape_dropped(), Equip_row_widgets::name, on_equip_draw_expose_event(), on_equip_shape_changed(), and Equip_row_widgets::shape.
Referenced by ExultStudio::open_equip_window().
Here is the call graph for this function:

Equip_row_widgets equip_rows[10] = {0} [static] |
Definition at line 51 of file shapeedit.cc.
Referenced by ExultStudio::init_equip_window(), ExultStudio::open_equip_window(), and ExultStudio::save_equip_window().
1.5.1