#include "utils.h"#include "objserial.h"#include "servemsg.h"#include <iostream>Include dependency graph for objserial.cc:

Go to the source code of this file.
Functions | |
| template<class Serial> | |
| void | Common_obj_io (Serial &io, unsigned long &addr, int &tx, int &ty, int &tz, int &shape, int &frame) |
| template<class Serial> | |
| void | Object_io (Serial &io, unsigned long &addr, int &tx, int &ty, int &tz, int &shape, int &frame, int &quality, std::string &name) |
| template<class Serial> | |
| void | Egg_object_io (Serial &io, unsigned long &addr, int &tx, int &ty, int &tz, int &shape, int &frame, int &type, int &criteria, int &probability, int &distance, bool &nocturnal, bool &once, bool &hatched, bool &auto_reset, int &data1, int &data2) |
| template<class Serial> | |
| static void | Npc_actor_io (Serial &io, unsigned long &addr, int &tx, int &ty, int &tz, int &shape, int &frame, int &face, std::string &name, short &npc_num, short &ident, int &usecode, int *properties, short &attack_mode, short &alignment, unsigned long &oflags, unsigned long &siflags, unsigned long &type_flags, short &num_schedules, Serial_schedule *schedules) |
| int | Object_out (int fd, Exult_server::Msg_type id, unsigned long addr, int tx, int ty, int tz, int shape, int frame, int quality, std::string name) |
| int | Object_in (unsigned char *data, int datalen, unsigned long &addr, int &tx, int &ty, int &tz, int &shape, int &frame, int &quality, std::string &name) |
| int | Egg_object_out (int fd, unsigned long addr, int tx, int ty, int tz, int shape, int frame, int type, int criteria, int probability, int distance, bool nocturnal, bool once, bool hatched, bool auto_reset, int data1, int data2) |
| int | Egg_object_in (unsigned char *data, int datalen, unsigned long &addr, int &tx, int &ty, int &tz, int &shape, int &frame, int &type, int &criteria, int &probability, int &distance, bool &nocturnal, bool &once, bool &hatched, bool &auto_reset, int &data1, int &data2) |
| int | Npc_actor_out (int fd, unsigned long addr, int tx, int ty, int tz, int shape, int frame, int face, std::string name, short npc_num, short ident, int usecode, int properties[12], short attack_mode, short alignment, unsigned long oflags, unsigned long siflags, unsigned long type_flags, short num_schedules, Serial_schedule *schedules) |
| int | Npc_actor_in (unsigned char *data, int datalen, unsigned long &addr, int &tx, int &ty, int &tz, int &shape, int &frame, int &face, std::string &name, short &npc_num, short &ident, int &usecode, int properties[12], short &attack_mode, short &alignment, unsigned long &oflags, unsigned long &siflags, unsigned long &type_flags, short &num_schedules, Serial_schedule *schedules) |
| template<class Serial> | |
| void | Game_info_io (Serial &io, int &version, int &edit_lift, int &hide_lift, bool &map_editing, bool &tile_grid, bool &map_modified, int &edit_mode) |
| int | Game_info_out (int fd, int version, int edit_lift, int hide_lift, bool map_editing, bool tile_grid, bool map_modified, int edit_mode) |
| int | Game_info_in (unsigned char *data, int datalen, int &version, int &edit_lift, int &hide_lift, bool &map_editing, bool &tile_grid, bool &map_modified, int &edit_mode) |
| void Common_obj_io | ( | Serial & | io, | |
| unsigned long & | addr, | |||
| int & | tx, | |||
| int & | ty, | |||
| int & | tz, | |||
| int & | shape, | |||
| int & | frame | |||
| ) |
Definition at line 77 of file objserial.cc.
| int Egg_object_in | ( | unsigned char * | data, | |
| int | datalen, | |||
| unsigned long & | addr, | |||
| int & | tx, | |||
| int & | ty, | |||
| int & | tz, | |||
| int & | shape, | |||
| int & | frame, | |||
| int & | type, | |||
| int & | criteria, | |||
| int & | probability, | |||
| int & | distance, | |||
| bool & | nocturnal, | |||
| bool & | once, | |||
| bool & | hatched, | |||
| bool & | auto_reset, | |||
| int & | data1, | |||
| int & | data2 | |||
| ) |
Definition at line 265 of file objserial.cc.
References Egg_object_io().
Referenced by ExultStudio::init_egg_window(), and Egg_object::update_from_studio().
Here is the call graph for this function:

| void Egg_object_io | ( | Serial & | io, | |
| unsigned long & | addr, | |||
| int & | tx, | |||
| int & | ty, | |||
| int & | tz, | |||
| int & | shape, | |||
| int & | frame, | |||
| int & | type, | |||
| int & | criteria, | |||
| int & | probability, | |||
| int & | distance, | |||
| bool & | nocturnal, | |||
| bool & | once, | |||
| bool & | hatched, | |||
| bool & | auto_reset, | |||
| int & | data1, | |||
| int & | data2 | |||
| ) |
| int Egg_object_out | ( | int | fd, | |
| unsigned long | addr, | |||
| int | tx, | |||
| int | ty, | |||
| int | tz, | |||
| int | shape, | |||
| int | frame, | |||
| int | type, | |||
| int | criteria, | |||
| int | probability, | |||
| int | distance, | |||
| bool | nocturnal, | |||
| bool | once, | |||
| bool | hatched, | |||
| bool | auto_reset, | |||
| int | data1, | |||
| int | data2 | |||
| ) |
Definition at line 232 of file objserial.cc.
References Exult_server::egg, Egg_object_io(), Exult_server::maxlength, and Exult_server::Send_data().
Referenced by Egg_object::edit(), and ExultStudio::save_egg_window().
Here is the call graph for this function:

| int Game_info_in | ( | unsigned char * | data, | |
| int | datalen, | |||
| int & | version, | |||
| int & | edit_lift, | |||
| int & | hide_lift, | |||
| bool & | map_editing, | |||
| bool & | tile_grid, | |||
| bool & | map_modified, | |||
| int & | edit_mode | |||
| ) |
Definition at line 418 of file objserial.cc.
References Game_info_io().
Referenced by ExultStudio::info_received(), and ExultStudio::need_to_save().
Here is the call graph for this function:

| void Game_info_io | ( | Serial & | io, | |
| int & | version, | |||
| int & | edit_lift, | |||
| int & | hide_lift, | |||
| bool & | map_editing, | |||
| bool & | tile_grid, | |||
| bool & | map_modified, | |||
| int & | edit_mode | |||
| ) |
| int Game_info_out | ( | int | fd, | |
| int | version, | |||
| int | edit_lift, | |||
| int | hide_lift, | |||
| bool | map_editing, | |||
| bool | tile_grid, | |||
| bool | map_modified, | |||
| int | edit_mode | |||
| ) |
Definition at line 392 of file objserial.cc.
References Game_info_io(), Exult_server::info, Exult_server::maxlength, and Exult_server::Send_data().
Here is the call graph for this function:

| int Npc_actor_in | ( | unsigned char * | data, | |
| int | datalen, | |||
| unsigned long & | addr, | |||
| int & | tx, | |||
| int & | ty, | |||
| int & | tz, | |||
| int & | shape, | |||
| int & | frame, | |||
| int & | face, | |||
| std::string & | name, | |||
| short & | npc_num, | |||
| short & | ident, | |||
| int & | usecode, | |||
| int | properties[12], | |||
| short & | attack_mode, | |||
| short & | alignment, | |||
| unsigned long & | oflags, | |||
| unsigned long & | siflags, | |||
| unsigned long & | type_flags, | |||
| short & | num_schedules, | |||
| Serial_schedule * | schedules | |||
| ) |
Definition at line 334 of file objserial.cc.
References Npc_actor_io().
Referenced by ExultStudio::init_npc_window(), and Actor::update_from_studio().
Here is the call graph for this function:

| static void Npc_actor_io | ( | Serial & | io, | |
| unsigned long & | addr, | |||
| int & | tx, | |||
| int & | ty, | |||
| int & | tz, | |||
| int & | shape, | |||
| int & | frame, | |||
| int & | face, | |||
| std::string & | name, | |||
| short & | npc_num, | |||
| short & | ident, | |||
| int & | usecode, | |||
| int * | properties, | |||
| short & | attack_mode, | |||
| short & | alignment, | |||
| unsigned long & | oflags, | |||
| unsigned long & | siflags, | |||
| unsigned long & | type_flags, | |||
| short & | num_schedules, | |||
| Serial_schedule * | schedules | |||
| ) | [static] |
| int Npc_actor_out | ( | int | fd, | |
| unsigned long | addr, | |||
| int | tx, | |||
| int | ty, | |||
| int | tz, | |||
| int | shape, | |||
| int | frame, | |||
| int | face, | |||
| std::string | name, | |||
| short | npc_num, | |||
| short | ident, | |||
| int | usecode, | |||
| int | properties[12], | |||
| short | attack_mode, | |||
| short | alignment, | |||
| unsigned long | oflags, | |||
| unsigned long | siflags, | |||
| unsigned long | type_flags, | |||
| short | num_schedules, | |||
| Serial_schedule * | schedules | |||
| ) |
Definition at line 297 of file objserial.cc.
References Exult_server::maxlength, Exult_server::npc, Npc_actor_io(), and Exult_server::Send_data().
Referenced by Actor::edit(), and ExultStudio::save_npc_window().
Here is the call graph for this function:

| int Object_in | ( | unsigned char * | data, | |
| int | datalen, | |||
| unsigned long & | addr, | |||
| int & | tx, | |||
| int & | ty, | |||
| int & | tz, | |||
| int & | shape, | |||
| int & | frame, | |||
| int & | quality, | |||
| std::string & | name | |||
| ) |
Definition at line 208 of file objserial.cc.
References Object_io().
Referenced by Combo_editor::add(), ExultStudio::init_obj_window(), and Game_object::update_from_studio().
Here is the call graph for this function:

| void Object_io | ( | Serial & | io, | |
| unsigned long & | addr, | |||
| int & | tx, | |||
| int & | ty, | |||
| int & | tz, | |||
| int & | shape, | |||
| int & | frame, | |||
| int & | quality, | |||
| std::string & | name | |||
| ) |
| int Object_out | ( | int | fd, | |
| Exult_server::Msg_type | id, | |||
| unsigned long | addr, | |||
| int | tx, | |||
| int | ty, | |||
| int | tz, | |||
| int | shape, | |||
| int | frame, | |||
| int | quality, | |||
| std::string | name | |||
| ) |
Definition at line 183 of file objserial.cc.
References Exult_server::maxlength, Object_io(), and Exult_server::Send_data().
Referenced by Game_window::double_clicked(), Game_object::edit(), and ExultStudio::save_obj_window().
Here is the call graph for this function:

1.5.1