///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // CONFIG.CPP (c) YoY'00 WEB: www.aestesis.org // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include <math.h> #include "config.h" #include "main.h" ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ACI Aconfig::CI=ACI("Aconfig", GUID(0x11111111,0x00000110), &Aobject::CI, 0, NULL); ACI Apass::CI=ACI("Apass", GUID(0x11111111,0x00000115), &Aobject::CI, 0, NULL); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Aconfig::Aconfig(char *name, Aobject *father) : Aobject(name, father, (father->pos.w-400)>>1, (father->pos.h-400)>>1, 400, 400) { //zorder(zorderTOP); MYwindow *w=(MYwindow *)getWindow(); setTooltips("properties dialog"); close=new Abutton("close", this, pos.w-100, pos.h-30, 90, 20, "CLOSE"); close->setTooltips("close the properties dialog");
menu_item_cache::menu_item_cache() { service_enum_t<mainmenu_commands> e; service_ptr_t<mainmenu_commands> ptr; unsigned p_item_index = 0, p_service_item_index; while (e.next(ptr)) { //if (ptr->get_type() == menu_item::TYPE_MAIN) { unsigned p_service_item_count = ptr->get_command_count(); for (p_service_item_index = 0; p_service_item_index < p_service_item_count; p_service_item_index++) { menu_item_info info; info.m_command = ptr->get_command(p_service_item_index); pfc::string8 name, full; ptr->get_name(p_service_item_index, name); { pfc::list_t<pfc::string8> levels; GUID parent = ptr->get_parent(); while (parent != pfc::guid_null) { pfc::string8 parentname; if (menu_helpers::maingroupname_from_guid(GUID(parent), parentname, parent)) levels.insert_item(parentname, 0); } unsigned i, count = levels.get_count(); for (i = 0; i < count; i++) { full.add_string(levels[i]); full.add_byte('/'); } } full.add_string(name); /*if (p_node.is_valid() && p_node->get_type() == menu_item_node::TYPE_POPUP) { unsigned child, child_count = p_node->get_children_count(); for (child=0;child<child_count;child++) { menu_item_node * p_child = p_node->get_child(child); if (p_child->get_type() == menu_item_node::TYPE_COMMAND) { pfc::string8 subfull = full,subname; unsigned dummy; p_child->get_display_data(subname, dummy, metadb_handle_list(), pfc::guid_null); subfull.add_byte('/'); subfull.add_string(subname); menu_item_info * p_info = new(std::nothrow) menu_item_info (info); p_info->m_subcommand = p_child->get_guid(); p_child->get_description(p_info->m_desc); p_info->m_name = subfull; m_data.add_item(p_info); } } } else*/ { menu_item_info * p_info = new menu_item_info(info); ptr->get_description(p_service_item_index, p_info->m_desc); p_info->m_name = full; m_data.add_item(p_info); } } } } }
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include "export.h" ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // FTP.CPP (c) YoY'05 WEB: www.aestesis.org // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include <winsock2.h> #include <stdio.h> #include "ftp.h" ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ADLL ACI AftpClient::CI=ACI("AftpClient", GUID(0xAE57E515,0x00000430), &Anode::CI, 0, NULL); // countof(properties), properties); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// class AftpSocket { public: SOCKET control; SOCKET data; AftpSocket() { control=INVALID_SOCKET; data=INVALID_SOCKET; }
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include <stdio.h> #include <math.h> #include <assert.h> #include "paddle.h" #include "interface.h" #include "../alib/resource.h" #include "effect.h" #include "resource.h" ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// EDLL ACI Apaddle::CI=ACI("Apaddle", GUID(0xE4EC7600,0x00010050), &AcontrolObj::CI, 0, NULL); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// EDLL Apaddle::Apaddle(QIID qiid, char *name, Aobject *L, int x, int y, int w, int h, Aresobj *o, int ow, int oh, int mode) : AcontrolObj(name, L, x, y, w, h) { control=new Acontrol(qiid, name, Aeffect::getEffect(L), this, (mode==paddleXY)?Acontrol::CONTROLER_02:Acontrol::CONTROLER_01); this->mode=mode; bmp=new Abitmap(o); xx=0.5f; yy=0.5f; set(0.f, 0.f); defxx=-1.f; defyy=-1.f; test=FALSE;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // FFRAME.CPP (c) YoY'03 WEB: www.aestesis.org // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include <io.h> #include <assert.h> #include "resource.h" #include "fframe.h" #include "FreeFrame.h" ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ACI AfframeInfo::CI = ACI("AfframeInfo", GUID(0x11111112,0x00000390), &AeffectInfo::CI, 0, NULL); ACI Afframe::CI = ACI("Afframe", GUID(0x11111112,0x00000391), &Aeffect::CI, 0, NULL); ACI AfframeFront::CI = ACI("AfframeFront", GUID(0x11111112,0x00000392), &AeffectFront::CI, 0, NULL); ACI AfframeBack::CI = ACI("AfframeBack", GUID(0x11111112,0x00000393), &AeffectBack::CI, 0, NULL); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// typedef __declspec(dllimport) plugMainUnion (__stdcall *FFA_Main_FuncPtr)(DWORD,LPVOID,void *);
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // ef3f-morph2.CPP (c) YoY'03 WEB: www.aestesis.org // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include "ef3d-morph2.h" #include "resource.h" #include <math.h> #include <d3d9.h> #include <D3dx9mesh.h> #include <assert.h> ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ACI Aef3dmorph2Info::CI = ACI("Aef3dmorph2Info", GUID(0x11111112,0xB0000050), &Aeffect3dInfo::CI, 0, NULL); ACI Aef3dmorph2::CI = ACI("Aef3dmorph2", GUID(0x11111112,0xB0000051), &Aeffect3d::CI, 0, NULL); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// struct CUSTOMVERTEX { FLOAT x, y, z, rhw; DWORD color; float u,v; }; /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#include "export.h" ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // EDIT.CPP (c) YoY'01 WEB: www.aestesis.org // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #include <stdio.h> #include "edit.h" #include "interface.h" #include "resource.h" ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ACI Aedit::CI=ACI("Aedit", GUID(0xAE57E515,0x00001090), &Aobject::CI, 0, NULL); ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #define ALLOCBLOC 128 ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ADLL Aedit::Aedit(char *name, Aobject *L, int x, int y, int w, int h) : Aobject(name, L, x, y, w, h) { colorBackground=0xffc0c0c0; colorBorder=0xff000000; colorText=0xff000000; colorCursor=0xffffff00;