diff --git a/compiler/libpc300/memfile.c b/compiler/libpc300/memfile.c index 39044ec9..51db9ea9 100644 --- a/compiler/libpc300/memfile.c +++ b/compiler/libpc300/memfile.c @@ -1,119 +1,119 @@ -// vim: set ts=4 sw=4 tw=99 noet: -// -// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). -// Copyright (C) The AMX Mod X Development Team. -// -// This software is licensed under the GNU General Public License, version 3 or higher. -// Additional exceptions apply. For full license details, see LICENSE.txt or visit: -// https://alliedmods.net/amxmodx-license - -#include "memfile.h" -#include -#include "osdefs.h" - -memfile_t *memfile_creat(const char *name, size_t init) -{ - memfile_t mf; - memfile_t *pmf; - - mf.size = init; - mf.base = (char *)malloc(init); - mf.usedoffs = 0; - mf.name = NULL; - if (!mf.base) - { - return NULL; - } - - mf.offs = 0; - mf._static = 0; - - pmf = (memfile_t *)malloc(sizeof(memfile_t)); - memcpy(pmf, &mf, sizeof(memfile_t)); - - #if defined _MSC_VER - pmf->name = _strdup(name); - #else - pmf->name = strdup(name); - #endif - - return pmf; -} - -void memfile_destroy(memfile_t *mf) -{ - if (!mf->_static) - { - free(mf->name); - free(mf->base); - free(mf); - } -} - -void memfile_seek(memfile_t *mf, long seek) -{ - mf->offs = seek; -} - -long memfile_tell(memfile_t *mf) -{ - return mf->offs; -} - -size_t memfile_read(memfile_t *mf, void *buffer, size_t maxsize) -{ - if (!maxsize || mf->offs >= mf->usedoffs) - { - return 0; - } - - if (mf->usedoffs - mf->offs < (long)maxsize) - { - maxsize = mf->usedoffs - mf->offs; - if (!maxsize) - { - return 0; - } - } - - memcpy(buffer, mf->base + mf->offs, maxsize); - - mf->offs += maxsize; - - return maxsize; -} - -int memfile_write(memfile_t *mf, void *buffer, size_t size) -{ - if (mf->offs + size > mf->size) - { - size_t newsize = (mf->size + size) * 2; - if (mf->_static) - { - char *oldbase = mf->base; - mf->base = (char *)malloc(newsize); - if (!mf->base) - { - return 0; - } - memcpy(mf->base, oldbase, mf->size); - } else { - mf->base = (char *)realloc(mf->base, newsize); - if (!mf->base) - { - return 0; - } - } - mf->_static = 0; - mf->size = newsize; - } - memcpy(mf->base + mf->offs, buffer, size); - mf->offs += size; - - if (mf->offs > mf->usedoffs) - { - mf->usedoffs = mf->offs; - } - - return 1; -} +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +#include "memfile.h" +#include +#include "osdefs.h" + +memfile_t *memfile_creat(const char *name, size_t init) +{ + memfile_t mf; + memfile_t *pmf; + + mf.size = init; + mf.base = (char *)malloc(init); + mf.usedoffs = 0; + mf.name = NULL; + if (!mf.base) + { + return NULL; + } + + mf.offs = 0; + mf._static = 0; + + pmf = (memfile_t *)malloc(sizeof(memfile_t)); + memcpy(pmf, &mf, sizeof(memfile_t)); + + #if defined _MSC_VER + pmf->name = _strdup(name); + #else + pmf->name = strdup(name); + #endif + + return pmf; +} + +void memfile_destroy(memfile_t *mf) +{ + if (!mf->_static) + { + free(mf->name); + free(mf->base); + free(mf); + } +} + +void memfile_seek(memfile_t *mf, long seek) +{ + mf->offs = seek; +} + +long memfile_tell(memfile_t *mf) +{ + return mf->offs; +} + +size_t memfile_read(memfile_t *mf, void *buffer, size_t maxsize) +{ + if (!maxsize || mf->offs >= mf->usedoffs) + { + return 0; + } + + if (mf->usedoffs - mf->offs < (long)maxsize) + { + maxsize = mf->usedoffs - mf->offs; + if (!maxsize) + { + return 0; + } + } + + memcpy(buffer, mf->base + mf->offs, maxsize); + + mf->offs += maxsize; + + return maxsize; +} + +int memfile_write(memfile_t *mf, void *buffer, size_t size) +{ + if (mf->offs + size > mf->size) + { + size_t newsize = (mf->size + size) * 2; + if (mf->_static) + { + char *oldbase = mf->base; + mf->base = (char *)malloc(newsize); + if (!mf->base) + { + return 0; + } + memcpy(mf->base, oldbase, mf->size); + } else { + mf->base = (char *)realloc(mf->base, newsize); + if (!mf->base) + { + return 0; + } + } + mf->_static = 0; + mf->size = newsize; + } + memcpy(mf->base + mf->offs, buffer, size); + mf->offs += size; + + if (mf->offs > mf->usedoffs) + { + mf->usedoffs = mf->offs; + } + + return 1; +} diff --git a/compiler/libpc300/memfile.h b/compiler/libpc300/memfile.h index c03a10ab..c673a540 100644 --- a/compiler/libpc300/memfile.h +++ b/compiler/libpc300/memfile.h @@ -1,40 +1,40 @@ -// vim: set ts=4 sw=4 tw=99 noet: -// -// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). -// Copyright (C) The AMX Mod X Development Team. -// -// This software is licensed under the GNU General Public License, version 3 or higher. -// Additional exceptions apply. For full license details, see LICENSE.txt or visit: -// https://alliedmods.net/amxmodx-license - -#ifndef _INCLUDE_MEMFILE_H -#define _INCLUDE_MEMFILE_H - -#ifdef _MSC_VER - // MSVC8 - replace POSIX functions with ISO C++ conformant ones as they are deprecated - #if _MSC_VER >= 1400 - #define strdup _strdup - #pragma warning(disable : 4996) - #endif -#endif - -#include - -typedef struct memfile_s -{ - char *name; - char *base; - long offs; - long usedoffs; - size_t size; - int _static; -} memfile_t; - -memfile_t *memfile_creat(const char *name, size_t init); -void memfile_destroy(memfile_t *mf); -void memfile_seek(memfile_t *mf, long seek); -int memfile_write(memfile_t *mf, void *buffer, size_t size); -size_t memfile_read(memfile_t *mf, void *buffer, size_t maxsize); -long memfile_tell(memfile_t *mf); - -#endif //_INCLUDE_MEMFILE_H +// vim: set ts=4 sw=4 tw=99 noet: +// +// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO"). +// Copyright (C) The AMX Mod X Development Team. +// +// This software is licensed under the GNU General Public License, version 3 or higher. +// Additional exceptions apply. For full license details, see LICENSE.txt or visit: +// https://alliedmods.net/amxmodx-license + +#ifndef _INCLUDE_MEMFILE_H +#define _INCLUDE_MEMFILE_H + +#ifdef _MSC_VER + // MSVC8 - replace POSIX functions with ISO C++ conformant ones as they are deprecated + #if _MSC_VER >= 1400 + #define strdup _strdup + #pragma warning(disable : 4996) + #endif +#endif + +#include + +typedef struct memfile_s +{ + char *name; + char *base; + long offs; + long usedoffs; + size_t size; + int _static; +} memfile_t; + +memfile_t *memfile_creat(const char *name, size_t init); +void memfile_destroy(memfile_t *mf); +void memfile_seek(memfile_t *mf, long seek); +int memfile_write(memfile_t *mf, void *buffer, size_t size); +size_t memfile_read(memfile_t *mf, void *buffer, size_t maxsize); +long memfile_tell(memfile_t *mf); + +#endif //_INCLUDE_MEMFILE_H diff --git a/configs/miscstats.ini b/configs/miscstats.ini index 5d5e4d29..460cab89 100644 --- a/configs/miscstats.ini +++ b/configs/miscstats.ini @@ -1,26 +1,26 @@ -; To disable a sound, disable it from amxmodmenu (stats settings) or from command amx_statscfgmenu -; Sound name length mustn't exceed 54 characters (without sound/ and without .wav extension) -; Otherwise plugin won't take it in account because fast download wouldn't be supported - -FirstBloodSound misc/firstblood -LastManVsOthersSound misc/oneandonly -LastManDuelSound misc/maytheforce -HeadShotKillSoundKiller misc/headshot -HeadShotKillSoundVictim fvox/flatline -KnifeKillSound misc/humiliation -DoubleKillSound misc/doublekill -RoundCounterSound misc/prepare -GrenadeKillSound djeyl/grenade -GrenadeSuicideSound djeyl/witch -BombPlantedSound djeyl/c4powa -BombDefusedSound djeyl/laugh -BombFailedSound djeyl/witch - -; KillingStreak and MultiKill Sounds -MultiKillSound misc/multikill -UltraKillSound misc/ultrakill -KillingSpreeSound misc/killingspree -RampageSound misc/rampage -UnstopableSound misc/unstoppable -MonsterKillSound misc/monsterkill -GodLike misc/godlike +; To disable a sound, disable it from amxmodmenu (stats settings) or from command amx_statscfgmenu +; Sound name length mustn't exceed 54 characters (without sound/ and without .wav extension) +; Otherwise plugin won't take it in account because fast download wouldn't be supported + +FirstBloodSound misc/firstblood +LastManVsOthersSound misc/oneandonly +LastManDuelSound misc/maytheforce +HeadShotKillSoundKiller misc/headshot +HeadShotKillSoundVictim fvox/flatline +KnifeKillSound misc/humiliation +DoubleKillSound misc/doublekill +RoundCounterSound misc/prepare +GrenadeKillSound djeyl/grenade +GrenadeSuicideSound djeyl/witch +BombPlantedSound djeyl/c4powa +BombDefusedSound djeyl/laugh +BombFailedSound djeyl/witch + +; KillingStreak and MultiKill Sounds +MultiKillSound misc/multikill +UltraKillSound misc/ultrakill +KillingSpreeSound misc/killingspree +RampageSound misc/rampage +UnstopableSound misc/unstoppable +MonsterKillSound misc/monsterkill +GodLike misc/godlike diff --git a/editor/studio/config/ACList.cfg b/editor/studio/config/ACList.cfg index 1caeac19..b5f9a4c4 100644 --- a/editor/studio/config/ACList.cfg +++ b/editor/studio/config/ACList.cfg @@ -1,581 +1,581 @@ -object Autocomplete_List: TmxJsCollection - items = < - item - Name = 'access' - Items.Strings = ( - '' - 'ADMIN_*') - end - item - Name = 'create_entity' - Items.Strings = ( - - 'ambient_generic; ammo_338magnum; ammo_357sig; ammo_45acp; ammo_5' + - '0ae; ammo_556nato; ammo_556natobox; ammo_57mm; ammo_762nato; amm' + - 'o_9mm; ammo_buckshot; armoury_entity; beam; bodyque; button_targ' + - 'et; cycler; cycler_prdroid; cycler_sprite; cycler_weapon; cycler' + - '_wreckage; env_beam; env_beverage; env_blood; env_bombglow; env_' + - 'bubbles; env_debris; env_explosion; env_fade; env_fog; env_funne' + - 'l; env_global; env_glow; env_laser; env_lightning; env_message; ' + - 'env_rain; env_render; env_shake; env_shooter; env_snow; env_soun' + - 'd; env_spark; env_sprite; fireanddie; func_bomb_target; func_bre' + - 'akable; func_button; func_buyzone; func_conveyor; func_door; fun' + - 'c_door_rotating; func_escapezone; func_friction; func_grencatch;' + - ' func_guntarget; func_healthcharger; func_hostage_rescue; func_i' + - 'llusionary; func_ladder; func_monsterclip; func_mortar_field; fu' + - 'nc_pendulum; func_plat; func_platrot; func_pushable; func_rain; ' + - 'func_recharge; func_rot_button; func_rotating; func_snow; func_t' + - 'ank; func_tankcontrols; func_tanklaser; func_tankmortar; func_ta' + - 'nkrocket; func_trackautochange; func_trackchange; func_tracktrai' + - 'n; func_train; func_traincontrols; func_vehicle; func_vehiclecon' + - 'trols; func_vip_safetyzone; func_wall; func_wall_toggle; func_wa' + - 'ter; func_weaponcheck; g_flTimeLimit; game_counter; game_counter' + - '_set; game_end; game_player_equip; game_player_hurt; game_player' + - '_team; game_score; game_team_master; game_team_set; game_text; g' + - 'ame_zone_player; gibshooter; grenade; hostage_entity; info_bomb_' + - 'target; info_hostage_rescue; info_intermission; info_landmark; i' + - 'nfo_map_parameters; info_null; info_player_deathmatch; info_play' + - 'er_start; info_target; info_teleport_destination; info_vip_start' + - '; infodecal; item_airtank; item_antidote; item_assaultsuit; item' + - '_battery; item_healthkit; item_kevlar; item_longjump; item_secur' + - 'ity; item_sodacan; item_suit; item_thighpack; light; light_envir' + - 'onment; light_spot; momentary_door; momentary_rot_button; monste' + - 'r_hevsuit_dead; monster_mortar; monster_scientist; multi_manager' + - '; multisource; path_corner; path_track; player; player_loadsaved' + - '; player_weaponstrip; soundent; spark_shower; speaker; target_cd' + - 'audio; test_effect; trigger; trigger_auto; trigger_autosave; tri' + - 'gger_camera; trigger_cdaudio; trigger_changelevel; trigger_chang' + - 'etarget; trigger_counter; trigger_endsection; trigger_gravity; t' + - 'rigger_hurt; trigger_monsterjump; trigger_multiple; trigger_once' + - '; trigger_push; trigger_relay; trigger_teleport; trigger_transit' + - 'ion; weapon_ak47; weapon_aug; weapon_awp; weapon_c4; weapon_deag' + - 'le; weapon_elite; weapon_famas; weapon_fiveseven; weapon_flashba' + - 'ng; weapon_g3sg1; weapon_galil; weapon_glock18; weapon_hegrenade' + - '; weapon_knife; weapon_m249; weapon_m3; weapon_m4a1; weapon_mac1' + - '0; weapon_mp5navy; weapon_p228; weapon_p90; weapon_scout; weapon' + - '_sg550; weapon_sg552; weapon_shield; weapon_smokegrenade; weapon' + - '_tmp; weapon_ump45; weapon_usp; weapon_xm1014; weaponbox; world_' + - 'items; worldspawn') - end - item - Name = 'cs_get_user_bpammo' - Items.Strings = ( - '' - 'CSW_*') - end - item - Name = 'cs_set_user_bpammo' - Items.Strings = ( - '' - 'CSW_*' - '') - end - item - Name = 'cs_set_user_team' - Items.Strings = ( - '' - 'CS_TEAM_*' - 'CS_DONTCHANGE; CS_CT_*; CS_T_*') - end - item - Name = 'engfunc' - Items.Strings = ( - 'EngFunc_*') - end - item - Name = 'dllfunc' - Items.Strings = ( - 'DLLFunc_*; MetaFunc_*') - end - item - Name = 'dod_set_fuse' - Items.Strings = ( - '' - 'FUSE_*' - '' - 'FT_*') - end - item - Name = 'dod_set_stamina' - Items.Strings = ( - '' - 'STAMINA_*' - '' - '') - end - item - Name = 'dod_set_user_ammo' - Items.Strings = ( - '' - 'DODW_*' - '') - end - item - Name = 'dod_set_user_class' - Items.Strings = ( - '' - 'DODC_*') - end - item - Name = 'dod_set_user_team' - Items.Strings = ( - '' - 'ALLIES; AXIS' - '') - end - item - Name = 'emit_sound' - Items.Strings = ( - '' - 'CHAN_*' - '' - 'VOL_*' - 'ATTN_*' - '' - 'PITCH_*') - end - item - Name = 'entity_get_byte' - Items.Strings = ( - '' - 'EV_BYTE_*') - end - item - Name = 'entity_get_edict' - Items.Strings = ( - '' - 'EV_ENT_*') - end - item - Name = 'entity_get_float' - Items.Strings = ( - '' - 'EV_FL_*') - end - item - Name = 'entity_get_int' - Items.Strings = ( - '' - 'EV_INT_*') - end - item - Name = 'entity_get_string' - Items.Strings = ( - '' - 'EV_SZ_*') - end - item - Name = 'entity_get_vector' - Items.Strings = ( - '' - 'EV_VEC_*' - '') - end - item - Name = 'entity_set_byte' - Items.Strings = ( - '' - 'EV_BYTE_*' - '') - end - item - Name = 'entity_set_edict' - Items.Strings = ( - '' - - 'EV_ENT_chain; EV_ENT_dmg_inflictor; EV_ENT_enemy; EV_ENT_aiment;' + - ' EV_ENT_owner; EV_ENT_groundentity; EV_ENT_pContainingEntity; EV' + - '_ENT_euser1; EV_ENT_euser2; EV_ENT_euser3; EV_ENT_euser4' - '') - end - item - Name = 'entity_set_float' - Items.Strings = ( - '' - 'EV_FL_*' - '') - end - item - Name = 'entity_set_int' - Items.Strings = ( - '' - 'EV_INT_*' - '') - end - item - Name = 'entity_set_string' - Items.Strings = ( - '' - 'EV_SZ_*' - '') - end - item - Name = 'entity_set_vector' - Items.Strings = ( - '' - 'EV_VEC_*' - '') - end - item - Name = 'esf_explosion' - Items.Strings = ( - '' - '' - 'Explosion_*') - end - item - Name = 'fakedamage' - Items.Strings = ( - '' - '' - '' - 'DMG_*') - end - item - Name = 'floatsin' - Items.Strings = ( - '' - 'radian; degrees; grades') - end - item - Name = 'floatcos' - Items.Strings = ( - 'radian; degrees; grades') - end - item - Name = 'floatround' - Items.Strings = ( - '' - 'floatround_*') - end - item - Name = 'floattan' - Items.Strings = ( - '' - 'radian; degrees; grades') - end - item - Name = 'force_unmodified' - Items.Strings = ( - - 'force_exactfile; force_model_samebounds; force_model_specifyboun' + - 'ds' - '' - '' - '') - end - item - Name = 'forward_return' - Items.Strings = ( - 'FMV_*' - '') - end - item - Name = 'fseek' - Items.Strings = ( - '' - '' - 'SEEK_*') - end - item - Name = 'get_global_edict' - Items.Strings = ( - 'GL_trace_ent') - end - item - Name = 'get_global_float' - Items.Strings = ( - - 'GL_coop; GL_deathmatch; GL_force_retouch; GL_found_secrets; GL_f' + - 'rametime; GL_serverflags; GL_teamplay; GL_time; GL_trace_allsoli' + - 'd; GL_trace_fraction; GL_trace_inopen; GL_trace_inwater; GL_trac' + - 'e_plane_dist; GL_trace_startsolid') - end - item - Name = 'get_global_int' - Items.Strings = ( - - 'GL_cdAudioTrack; GL_maxClients; GL_maxEntities; GL_msg_entity; G' + - 'L_trace_flags; GL_trace_hitgroup') - end - item - Name = 'get_global_string' - Items.Strings = ( - 'GL_pStringBase; GL_mapname; GL_startspot' - '' - '') - end - item - Name = 'get_global_vector' - Items.Strings = ( - - 'GL_trace_endpos; GL_trace_plane_normal; GL_v_forward; GL_v_right' + - '; GL_v_up; GL_vecLandmarkOffset' - '') - end - item - Name = 'get_tr' - Items.Strings = ( - 'TR_*' - '') - end - item - Name = 'give_item' - Items.Strings = ( - '' - - 'ambient_generic; ammo_338magnum; ammo_357sig; ammo_45acp; ammo_5' + - '0ae; ammo_556nato; ammo_556natobox; ammo_57mm; ammo_762nato; amm' + - 'o_9mm; ammo_buckshot; armoury_entity; beam; bodyque; button_targ' + - 'et; cycler; cycler_prdroid; cycler_sprite; cycler_weapon; cycler' + - '_wreckage; env_beam; env_beverage; env_blood; env_bombglow; env_' + - 'bubbles; env_debris; env_explosion; env_fade; env_fog; env_funne' + - 'l; env_global; env_glow; env_laser; env_lightning; env_message; ' + - 'env_rain; env_render; env_shake; env_shooter; env_snow; env_soun' + - 'd; env_spark; env_sprite; fireanddie; func_bomb_target; func_bre' + - 'akable; func_button; func_buyzone; func_conveyor; func_door; fun' + - 'c_door_rotating; func_escapezone; func_friction; func_grencatch;' + - ' func_guntarget; func_healthcharger; func_hostage_rescue; func_i' + - 'llusionary; func_ladder; func_monsterclip; func_mortar_field; fu' + - 'nc_pendulum; func_plat; func_platrot; func_pushable; func_rain; ' + - 'func_recharge; func_rot_button; func_rotating; func_snow; func_t' + - 'ank; func_tankcontrols; func_tanklaser; func_tankmortar; func_ta' + - 'nkrocket; func_trackautochange; func_trackchange; func_tracktrai' + - 'n; func_train; func_traincontrols; func_vehicle; func_vehiclecon' + - 'trols; func_vip_safetyzone; func_wall; func_wall_toggle; func_wa' + - 'ter; func_weaponcheck; g_flTimeLimit; game_counter; game_counter' + - '_set; game_end; game_player_equip; game_player_hurt; game_player' + - '_team; game_score; game_team_master; game_team_set; game_text; g' + - 'ame_zone_player; gibshooter; grenade; hostage_entity; info_bomb_' + - 'target; info_hostage_rescue; info_intermission; info_landmark; i' + - 'nfo_map_parameters; info_null; info_player_deathmatch; info_play' + - 'er_start; info_target; info_teleport_destination; info_vip_start' + - '; infodecal; item_airtank; item_antidote; item_assaultsuit; item' + - '_battery; item_healthkit; item_kevlar; item_longjump; item_secur' + - 'ity; item_sodacan; item_suit; item_thighpack; light; light_envir' + - 'onment; light_spot; momentary_door; momentary_rot_button; monste' + - 'r_hevsuit_dead; monster_mortar; monster_scientist; multi_manager' + - '; multisource; path_corner; path_track; player; player_loadsaved' + - '; player_weaponstrip; soundent; spark_shower; speaker; target_cd' + - 'audio; test_effect; trigger; trigger_auto; trigger_autosave; tri' + - 'gger_camera; trigger_cdaudio; trigger_changelevel; trigger_chang' + - 'etarget; trigger_counter; trigger_endsection; trigger_gravity; t' + - 'rigger_hurt; trigger_monsterjump; trigger_multiple; trigger_once' + - '; trigger_push; trigger_relay; trigger_teleport; trigger_transit' + - 'ion; weapon_ak47; weapon_aug; weapon_awp; weapon_c4; weapon_deag' + - 'le; weapon_elite; weapon_famas; weapon_fiveseven; weapon_flashba' + - 'ng; weapon_g3sg1; weapon_galil; weapon_glock18; weapon_hegrenade' + - '; weapon_knife; weapon_m249; weapon_m3; weapon_m4a1; weapon_mac1' + - '0; weapon_mp5navy; weapon_p228; weapon_p90; weapon_scout; weapon' + - '_sg550; weapon_sg552; weapon_shield; weapon_smokegrenade; weapon' + - '_tmp; weapon_ump45; weapon_usp; weapon_xm1014; weaponbox; world_' + - 'items; worldspawn') - end - item - Name = 'grenade_throw' - Items.Strings = ( - '' - '' - 'DODW_*') - end - item - Name = 'menu_additem' - Items.Strings = ( - '' - '' - '' - 'ADMIN_*' - '') - end - item - Name = 'message_begin' - Items.Strings = ( - 'MSG_*' - 'SVC_*' - '' - '') - end - item - Name = 'ns_get_weap_reserve' - Items.Strings = ( - '' - 'WEAPON_*') - end - item - Name = 'ns_set_weap_reserve' - Items.Strings = ( - '' - 'WEAPON_*' - '') - end - item - Name = 'pev' - Items.Strings = ( - '' - 'pev_*' - '') - end - item - Name = 'register_clcmd' - Items.Strings = ( - '' - '' - 'ADMIN_*' - '') - end - item - Name = 'register_concmd' - Items.Strings = ( - '' - '' - 'ADMIN_*' - '') - end - item - Name = 'register_cvar' - Items.Strings = ( - '' - '' - 'FCVAR_*' - '') - end - item - Name = 'register_forward' - Items.Strings = ( - 'FM_*' - '' - '') - end - item - Name = 'set_msg_block' - Items.Strings = ( - '' - 'BLOCK_*') - end - item - Name = 'set_pev' - Items.Strings = ( - '' - 'pev_*' - '') - end - item - Name = 'set_rendering' - Items.Strings = ( - '' - 'kRenderFx*' - '' - '' - '' - - 'kRenderNorma; kRenderTransColor; kRenderTransTexture; kRenderGlo' + - 'w; kRenderTransAlpha; kRenderTransAdd') - end - item - Name = 'set_speak' - Items.Strings = ( - '' - 'SPEAK_*') - end - item - Name = 'set_tr' - Items.Strings = ( - 'TR_*' - '') - end - item - Name = 'set_user_rendering' - Items.Strings = ( - '' - 'kRenderFx*' - '' - '' - '' - - 'kRenderNorma; kRenderTransColor; kRenderTransTexture; kRenderGlo' + - 'w; kRenderTransAlpha; kRenderTransAdd') - end - item - Name = 'set_view' - Items.Strings = ( - '' - 'CAMERA_*') - end - item - Name = 'socket_open' - Items.Strings = ( - '' - '' - 'SOCKET_*' - '') - end - item - Name = 'tfc_getbammo' - Items.Strings = ( - '' - 'TFC_AMMO_*') - end - item - Name = 'tfc_getweaponbammo' - Items.Strings = ( - '' - 'TFC_AMMO_*') - end - item - Name = 'tfc_setbammo' - Items.Strings = ( - '' - 'TFC_AMMO_*' - '') - end - item - Name = 'tfc_setweaponbammo' - Items.Strings = ( - '' - 'TFC_WPN_*' - '') - end - item - Name = 'traceresult' - Items.Strings = ( - 'TR_*' - '') - end - item - Name = 'ts_giveweapon' - Items.Strings = ( - '' - 'TSW_*' - '' - '') - end - item - Name = 'zdod_set_fuse' - Items.Strings = ( - '' - 'FUSE_*' - '' - 'FT_*') - end - item - Name = 'zdod_set_stamina' - Items.Strings = ( - '' - 'STAMINA_*' - '' - '') - end - item - Name = 'zdod_set_user_class' - Items.Strings = ( - '' - 'DODC_*') - end - item - Name = 'zdod_set_user_team' - Items.Strings = ( - '' - 'ALLIES; AXIS' - '') - end> -end +object Autocomplete_List: TmxJsCollection + items = < + item + Name = 'access' + Items.Strings = ( + '' + 'ADMIN_*') + end + item + Name = 'create_entity' + Items.Strings = ( + + 'ambient_generic; ammo_338magnum; ammo_357sig; ammo_45acp; ammo_5' + + '0ae; ammo_556nato; ammo_556natobox; ammo_57mm; ammo_762nato; amm' + + 'o_9mm; ammo_buckshot; armoury_entity; beam; bodyque; button_targ' + + 'et; cycler; cycler_prdroid; cycler_sprite; cycler_weapon; cycler' + + '_wreckage; env_beam; env_beverage; env_blood; env_bombglow; env_' + + 'bubbles; env_debris; env_explosion; env_fade; env_fog; env_funne' + + 'l; env_global; env_glow; env_laser; env_lightning; env_message; ' + + 'env_rain; env_render; env_shake; env_shooter; env_snow; env_soun' + + 'd; env_spark; env_sprite; fireanddie; func_bomb_target; func_bre' + + 'akable; func_button; func_buyzone; func_conveyor; func_door; fun' + + 'c_door_rotating; func_escapezone; func_friction; func_grencatch;' + + ' func_guntarget; func_healthcharger; func_hostage_rescue; func_i' + + 'llusionary; func_ladder; func_monsterclip; func_mortar_field; fu' + + 'nc_pendulum; func_plat; func_platrot; func_pushable; func_rain; ' + + 'func_recharge; func_rot_button; func_rotating; func_snow; func_t' + + 'ank; func_tankcontrols; func_tanklaser; func_tankmortar; func_ta' + + 'nkrocket; func_trackautochange; func_trackchange; func_tracktrai' + + 'n; func_train; func_traincontrols; func_vehicle; func_vehiclecon' + + 'trols; func_vip_safetyzone; func_wall; func_wall_toggle; func_wa' + + 'ter; func_weaponcheck; g_flTimeLimit; game_counter; game_counter' + + '_set; game_end; game_player_equip; game_player_hurt; game_player' + + '_team; game_score; game_team_master; game_team_set; game_text; g' + + 'ame_zone_player; gibshooter; grenade; hostage_entity; info_bomb_' + + 'target; info_hostage_rescue; info_intermission; info_landmark; i' + + 'nfo_map_parameters; info_null; info_player_deathmatch; info_play' + + 'er_start; info_target; info_teleport_destination; info_vip_start' + + '; infodecal; item_airtank; item_antidote; item_assaultsuit; item' + + '_battery; item_healthkit; item_kevlar; item_longjump; item_secur' + + 'ity; item_sodacan; item_suit; item_thighpack; light; light_envir' + + 'onment; light_spot; momentary_door; momentary_rot_button; monste' + + 'r_hevsuit_dead; monster_mortar; monster_scientist; multi_manager' + + '; multisource; path_corner; path_track; player; player_loadsaved' + + '; player_weaponstrip; soundent; spark_shower; speaker; target_cd' + + 'audio; test_effect; trigger; trigger_auto; trigger_autosave; tri' + + 'gger_camera; trigger_cdaudio; trigger_changelevel; trigger_chang' + + 'etarget; trigger_counter; trigger_endsection; trigger_gravity; t' + + 'rigger_hurt; trigger_monsterjump; trigger_multiple; trigger_once' + + '; trigger_push; trigger_relay; trigger_teleport; trigger_transit' + + 'ion; weapon_ak47; weapon_aug; weapon_awp; weapon_c4; weapon_deag' + + 'le; weapon_elite; weapon_famas; weapon_fiveseven; weapon_flashba' + + 'ng; weapon_g3sg1; weapon_galil; weapon_glock18; weapon_hegrenade' + + '; weapon_knife; weapon_m249; weapon_m3; weapon_m4a1; weapon_mac1' + + '0; weapon_mp5navy; weapon_p228; weapon_p90; weapon_scout; weapon' + + '_sg550; weapon_sg552; weapon_shield; weapon_smokegrenade; weapon' + + '_tmp; weapon_ump45; weapon_usp; weapon_xm1014; weaponbox; world_' + + 'items; worldspawn') + end + item + Name = 'cs_get_user_bpammo' + Items.Strings = ( + '' + 'CSW_*') + end + item + Name = 'cs_set_user_bpammo' + Items.Strings = ( + '' + 'CSW_*' + '') + end + item + Name = 'cs_set_user_team' + Items.Strings = ( + '' + 'CS_TEAM_*' + 'CS_DONTCHANGE; CS_CT_*; CS_T_*') + end + item + Name = 'engfunc' + Items.Strings = ( + 'EngFunc_*') + end + item + Name = 'dllfunc' + Items.Strings = ( + 'DLLFunc_*; MetaFunc_*') + end + item + Name = 'dod_set_fuse' + Items.Strings = ( + '' + 'FUSE_*' + '' + 'FT_*') + end + item + Name = 'dod_set_stamina' + Items.Strings = ( + '' + 'STAMINA_*' + '' + '') + end + item + Name = 'dod_set_user_ammo' + Items.Strings = ( + '' + 'DODW_*' + '') + end + item + Name = 'dod_set_user_class' + Items.Strings = ( + '' + 'DODC_*') + end + item + Name = 'dod_set_user_team' + Items.Strings = ( + '' + 'ALLIES; AXIS' + '') + end + item + Name = 'emit_sound' + Items.Strings = ( + '' + 'CHAN_*' + '' + 'VOL_*' + 'ATTN_*' + '' + 'PITCH_*') + end + item + Name = 'entity_get_byte' + Items.Strings = ( + '' + 'EV_BYTE_*') + end + item + Name = 'entity_get_edict' + Items.Strings = ( + '' + 'EV_ENT_*') + end + item + Name = 'entity_get_float' + Items.Strings = ( + '' + 'EV_FL_*') + end + item + Name = 'entity_get_int' + Items.Strings = ( + '' + 'EV_INT_*') + end + item + Name = 'entity_get_string' + Items.Strings = ( + '' + 'EV_SZ_*') + end + item + Name = 'entity_get_vector' + Items.Strings = ( + '' + 'EV_VEC_*' + '') + end + item + Name = 'entity_set_byte' + Items.Strings = ( + '' + 'EV_BYTE_*' + '') + end + item + Name = 'entity_set_edict' + Items.Strings = ( + '' + + 'EV_ENT_chain; EV_ENT_dmg_inflictor; EV_ENT_enemy; EV_ENT_aiment;' + + ' EV_ENT_owner; EV_ENT_groundentity; EV_ENT_pContainingEntity; EV' + + '_ENT_euser1; EV_ENT_euser2; EV_ENT_euser3; EV_ENT_euser4' + '') + end + item + Name = 'entity_set_float' + Items.Strings = ( + '' + 'EV_FL_*' + '') + end + item + Name = 'entity_set_int' + Items.Strings = ( + '' + 'EV_INT_*' + '') + end + item + Name = 'entity_set_string' + Items.Strings = ( + '' + 'EV_SZ_*' + '') + end + item + Name = 'entity_set_vector' + Items.Strings = ( + '' + 'EV_VEC_*' + '') + end + item + Name = 'esf_explosion' + Items.Strings = ( + '' + '' + 'Explosion_*') + end + item + Name = 'fakedamage' + Items.Strings = ( + '' + '' + '' + 'DMG_*') + end + item + Name = 'floatsin' + Items.Strings = ( + '' + 'radian; degrees; grades') + end + item + Name = 'floatcos' + Items.Strings = ( + 'radian; degrees; grades') + end + item + Name = 'floatround' + Items.Strings = ( + '' + 'floatround_*') + end + item + Name = 'floattan' + Items.Strings = ( + '' + 'radian; degrees; grades') + end + item + Name = 'force_unmodified' + Items.Strings = ( + + 'force_exactfile; force_model_samebounds; force_model_specifyboun' + + 'ds' + '' + '' + '') + end + item + Name = 'forward_return' + Items.Strings = ( + 'FMV_*' + '') + end + item + Name = 'fseek' + Items.Strings = ( + '' + '' + 'SEEK_*') + end + item + Name = 'get_global_edict' + Items.Strings = ( + 'GL_trace_ent') + end + item + Name = 'get_global_float' + Items.Strings = ( + + 'GL_coop; GL_deathmatch; GL_force_retouch; GL_found_secrets; GL_f' + + 'rametime; GL_serverflags; GL_teamplay; GL_time; GL_trace_allsoli' + + 'd; GL_trace_fraction; GL_trace_inopen; GL_trace_inwater; GL_trac' + + 'e_plane_dist; GL_trace_startsolid') + end + item + Name = 'get_global_int' + Items.Strings = ( + + 'GL_cdAudioTrack; GL_maxClients; GL_maxEntities; GL_msg_entity; G' + + 'L_trace_flags; GL_trace_hitgroup') + end + item + Name = 'get_global_string' + Items.Strings = ( + 'GL_pStringBase; GL_mapname; GL_startspot' + '' + '') + end + item + Name = 'get_global_vector' + Items.Strings = ( + + 'GL_trace_endpos; GL_trace_plane_normal; GL_v_forward; GL_v_right' + + '; GL_v_up; GL_vecLandmarkOffset' + '') + end + item + Name = 'get_tr' + Items.Strings = ( + 'TR_*' + '') + end + item + Name = 'give_item' + Items.Strings = ( + '' + + 'ambient_generic; ammo_338magnum; ammo_357sig; ammo_45acp; ammo_5' + + '0ae; ammo_556nato; ammo_556natobox; ammo_57mm; ammo_762nato; amm' + + 'o_9mm; ammo_buckshot; armoury_entity; beam; bodyque; button_targ' + + 'et; cycler; cycler_prdroid; cycler_sprite; cycler_weapon; cycler' + + '_wreckage; env_beam; env_beverage; env_blood; env_bombglow; env_' + + 'bubbles; env_debris; env_explosion; env_fade; env_fog; env_funne' + + 'l; env_global; env_glow; env_laser; env_lightning; env_message; ' + + 'env_rain; env_render; env_shake; env_shooter; env_snow; env_soun' + + 'd; env_spark; env_sprite; fireanddie; func_bomb_target; func_bre' + + 'akable; func_button; func_buyzone; func_conveyor; func_door; fun' + + 'c_door_rotating; func_escapezone; func_friction; func_grencatch;' + + ' func_guntarget; func_healthcharger; func_hostage_rescue; func_i' + + 'llusionary; func_ladder; func_monsterclip; func_mortar_field; fu' + + 'nc_pendulum; func_plat; func_platrot; func_pushable; func_rain; ' + + 'func_recharge; func_rot_button; func_rotating; func_snow; func_t' + + 'ank; func_tankcontrols; func_tanklaser; func_tankmortar; func_ta' + + 'nkrocket; func_trackautochange; func_trackchange; func_tracktrai' + + 'n; func_train; func_traincontrols; func_vehicle; func_vehiclecon' + + 'trols; func_vip_safetyzone; func_wall; func_wall_toggle; func_wa' + + 'ter; func_weaponcheck; g_flTimeLimit; game_counter; game_counter' + + '_set; game_end; game_player_equip; game_player_hurt; game_player' + + '_team; game_score; game_team_master; game_team_set; game_text; g' + + 'ame_zone_player; gibshooter; grenade; hostage_entity; info_bomb_' + + 'target; info_hostage_rescue; info_intermission; info_landmark; i' + + 'nfo_map_parameters; info_null; info_player_deathmatch; info_play' + + 'er_start; info_target; info_teleport_destination; info_vip_start' + + '; infodecal; item_airtank; item_antidote; item_assaultsuit; item' + + '_battery; item_healthkit; item_kevlar; item_longjump; item_secur' + + 'ity; item_sodacan; item_suit; item_thighpack; light; light_envir' + + 'onment; light_spot; momentary_door; momentary_rot_button; monste' + + 'r_hevsuit_dead; monster_mortar; monster_scientist; multi_manager' + + '; multisource; path_corner; path_track; player; player_loadsaved' + + '; player_weaponstrip; soundent; spark_shower; speaker; target_cd' + + 'audio; test_effect; trigger; trigger_auto; trigger_autosave; tri' + + 'gger_camera; trigger_cdaudio; trigger_changelevel; trigger_chang' + + 'etarget; trigger_counter; trigger_endsection; trigger_gravity; t' + + 'rigger_hurt; trigger_monsterjump; trigger_multiple; trigger_once' + + '; trigger_push; trigger_relay; trigger_teleport; trigger_transit' + + 'ion; weapon_ak47; weapon_aug; weapon_awp; weapon_c4; weapon_deag' + + 'le; weapon_elite; weapon_famas; weapon_fiveseven; weapon_flashba' + + 'ng; weapon_g3sg1; weapon_galil; weapon_glock18; weapon_hegrenade' + + '; weapon_knife; weapon_m249; weapon_m3; weapon_m4a1; weapon_mac1' + + '0; weapon_mp5navy; weapon_p228; weapon_p90; weapon_scout; weapon' + + '_sg550; weapon_sg552; weapon_shield; weapon_smokegrenade; weapon' + + '_tmp; weapon_ump45; weapon_usp; weapon_xm1014; weaponbox; world_' + + 'items; worldspawn') + end + item + Name = 'grenade_throw' + Items.Strings = ( + '' + '' + 'DODW_*') + end + item + Name = 'menu_additem' + Items.Strings = ( + '' + '' + '' + 'ADMIN_*' + '') + end + item + Name = 'message_begin' + Items.Strings = ( + 'MSG_*' + 'SVC_*' + '' + '') + end + item + Name = 'ns_get_weap_reserve' + Items.Strings = ( + '' + 'WEAPON_*') + end + item + Name = 'ns_set_weap_reserve' + Items.Strings = ( + '' + 'WEAPON_*' + '') + end + item + Name = 'pev' + Items.Strings = ( + '' + 'pev_*' + '') + end + item + Name = 'register_clcmd' + Items.Strings = ( + '' + '' + 'ADMIN_*' + '') + end + item + Name = 'register_concmd' + Items.Strings = ( + '' + '' + 'ADMIN_*' + '') + end + item + Name = 'register_cvar' + Items.Strings = ( + '' + '' + 'FCVAR_*' + '') + end + item + Name = 'register_forward' + Items.Strings = ( + 'FM_*' + '' + '') + end + item + Name = 'set_msg_block' + Items.Strings = ( + '' + 'BLOCK_*') + end + item + Name = 'set_pev' + Items.Strings = ( + '' + 'pev_*' + '') + end + item + Name = 'set_rendering' + Items.Strings = ( + '' + 'kRenderFx*' + '' + '' + '' + + 'kRenderNorma; kRenderTransColor; kRenderTransTexture; kRenderGlo' + + 'w; kRenderTransAlpha; kRenderTransAdd') + end + item + Name = 'set_speak' + Items.Strings = ( + '' + 'SPEAK_*') + end + item + Name = 'set_tr' + Items.Strings = ( + 'TR_*' + '') + end + item + Name = 'set_user_rendering' + Items.Strings = ( + '' + 'kRenderFx*' + '' + '' + '' + + 'kRenderNorma; kRenderTransColor; kRenderTransTexture; kRenderGlo' + + 'w; kRenderTransAlpha; kRenderTransAdd') + end + item + Name = 'set_view' + Items.Strings = ( + '' + 'CAMERA_*') + end + item + Name = 'socket_open' + Items.Strings = ( + '' + '' + 'SOCKET_*' + '') + end + item + Name = 'tfc_getbammo' + Items.Strings = ( + '' + 'TFC_AMMO_*') + end + item + Name = 'tfc_getweaponbammo' + Items.Strings = ( + '' + 'TFC_AMMO_*') + end + item + Name = 'tfc_setbammo' + Items.Strings = ( + '' + 'TFC_AMMO_*' + '') + end + item + Name = 'tfc_setweaponbammo' + Items.Strings = ( + '' + 'TFC_WPN_*' + '') + end + item + Name = 'traceresult' + Items.Strings = ( + 'TR_*' + '') + end + item + Name = 'ts_giveweapon' + Items.Strings = ( + '' + 'TSW_*' + '' + '') + end + item + Name = 'zdod_set_fuse' + Items.Strings = ( + '' + 'FUSE_*' + '' + 'FT_*') + end + item + Name = 'zdod_set_stamina' + Items.Strings = ( + '' + 'STAMINA_*' + '' + '') + end + item + Name = 'zdod_set_user_class' + Items.Strings = ( + '' + 'DODC_*') + end + item + Name = 'zdod_set_user_team' + Items.Strings = ( + '' + 'ALLIES; AXIS' + '') + end> +end diff --git a/editor/studio/config/Editor.sci b/editor/studio/config/Editor.sci index fc2982cf..fdce2546 100644 --- a/editor/studio/config/Editor.sci +++ b/editor/studio/config/Editor.sci @@ -1,448 +1,448 @@ -[default] -style=fore:clBlack,back:clWhite,size:8,font:Courier,notbold,notitalics,notunderlined,visible,noteolfilled,changeable,nothotspot -WordWrap=0 -WordChars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 -ClearUndoAfterSave=False -EOLMode=0 -LineNumbers=False -Gutter=True -CaretPeriod=1024 -CaretWidth=1 -CaretLineVisible=True -CaretFore=clNone -CaretBack=#E6E6FF -CaretAlpha=0 -SelectForeColor=clHighlightText -SelectBackColor=clHighlight -SelectAlpha=256 -MarkerForeColor=clWhite -MarkerBackColor=clBtnShadow -FoldMarginHighlightColor=clWhite -FoldMarginColor=clBtnFace -WhitespaceForeColor=clDefault -WhitespaceBackColor=clDefault -ActiveHotspotForeColor=clBlue -ActiveHotspotBackColor=#A8A8FF -ActiveHotspotUnderlined=True -ActiveHotspotSingleLine=False -FoldMarkerType=1 -MarkerBookmark=markertype:sciMFullRect,Alpha:256,fore:clWhite,back:clGray -EdgeColumn=100 -EdgeMode=1 -EdgeColor=clSilver -CodeFolding=True -BraceHighlight=True - -[extension] - - -[null] -lexer=null - -style.33=name:LineNumbers,font:Arial -style.34=name:Ok Braces,fore:clYellow,bold -style.35=name:Bad Braces,fore:clRed,bold -style.36=name:Control Chars,back:clSilver -style.37=name:Indent Guide,fore:clGray - -CommentBoxStart=/* -CommentBoxEnd=*/ -CommentBoxMiddle=* -CommentBlock=// -CommentStreamStart=/* -CommentStreamEnd=*/ -AssignmentOperator== -EndOfStatementOperator=; -[XML] -lexer=xml -NumStyleBits=7 -keywords.0=name:Keywords:: - -keywords.5=name:SGML Keywords::ELEMENT DOCTYPE ATTLIST ENTITY NOTATION - -style.33=name:LineNumbers -style.34=name:Ok Braces,fore:clYellow,bold -style.35=name:Bad Braces,fore:clRed,bold -style.36=name:Control Chars,back:clSilver -style.37=name:Indent Guide,fore:clGray -style.0=name:Default -style.1=name:Tags,fore:#00D0D0 -style.2=name:Unknown Tags,fore:#00D0D0 -style.3=name:Attributes,fore:#A0A0C0 -style.4=name:Unknown Attributes,fore:#A0A0C0 -style.5=name:Numbers,fore:#E00000 -style.6=name:Double quoted strings,fore:clLime -style.7=name:Single quoted strings,fore:clLime -style.8=name:Other inside tag,fore:#A000A0 -style.9=name:Comment,fore:#909090 -style.10=name:Entities,bold -style.11=name:XML short tag end,fore:#A000A0 -style.12=name:XML identifier start,fore:#A000A0,bold -style.13=name:XML identifier end,fore:#A000A0,bold -style.17=name:CDATA,fore:clMaroon,back:#FFF0F0,eolfilled -style.18=name:XML Question,fore:#A00000 -style.19=name:Unquoted values,fore:clFuchsia -style.21=name:SGML tags ,fore:#00D0D0 -style.22=name:SGML command,fore:#00A0A0,bold -style.23=name:SGML 1st param,fore:#0FFFF0 -style.24=name:SGML double string,fore:clLime -style.25=name:SGML single string,fore:clLime -style.26=name:SGML error,fore:clRed -style.27=name:SGML special,fore:#3366FF -style.28=name:SGML entity,bold -style.29=name:SGML comment,fore:#909090 -style.31=name:SGML block,fore:#000066,back:#CCCCE0 - -CommentBoxStart= -CommentBoxMiddle= -CommentBlock=// -CommentStreamStart= -AssignmentOperator== -EndOfStatementOperator=; -[HTML] -lexer=hypertext -NumStyleBits=7 -keywords.0=name:HyperText::a abbr acronym address applet area b base basefont bdo big blockquote body br button caption center\ -cite code col colgroup dd del dfn dir div dl dt em fieldset font form frame frameset\ -h1 h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex kbd label\ -legend li link map menu meta noframes noscript object ol optgroup option p param pre q s\ -samp script select small span strike strong style sub sup table tbody td textarea tfoot th thead\ -title tr tt u ul var xml xmlns abbr accept-charset accept accesskey action align alink alt archive\ -axis background bgcolor border cellpadding cellspacing char charoff charset checked cite class classid clear codebase codetype color\ -cols colspan compact content coords data datafld dataformatas datapagesize datasrc datetime declare defer dir disabled enctype event\ -face for frame frameborder headers height href hreflang hspace http-equiv id ismap label lang language leftmargin link\ -longdesc marginwidth marginheight maxlength media method multiple name nohref noresize noshade nowrap object onblur onchange onclick ondblclick\ -onfocus onkeydown onkeypress onkeyup onload onmousedown onmousemove onmouseover onmouseout onmouseup onreset onselect onsubmit onunload profile prompt readonly\ -rel rev rows rowspan rules scheme scope selected shape size span src standby start style summary tabindex\ -target text title topmargin type usemap valign value valuetype version vlink vspace width text password checkbox radio\ -submit reset file hidden image framespacing scrolling allowtransparency bordercolor - -keywords.1=name:JavaScript::abstract boolean break byte case catch char class const continue debugger default delete do double else enum\ -export extends final finally float for function goto if implements import in instanceof int interface long native\ -new package private protected public return short static super switch synchronized this throw throws transient try typeof\ -var void volatile while with - -keywords.2=name:VBScript::and begin case call class continue do each else elseif end erase error event exit false for\ -function get gosub goto if implement in load loop lset me mid new next not nothing on\ -or property raiseevent rem resume return rset select set stop sub then to true unload until wend\ -while with withevents attribute alias as boolean byref byte byval const compare currency date declare dim double\ -enum explicit friend global integer let lib long module object option optional preserve private public redim single\ -static string type variant - -keywords.3=name:Python::and assert break class continue def del elif else except exec finally for from global if import\ -in is lambda None not or pass print raise return try while yield - -keywords.4=name:PHP::and argv as argc break case cfunction class continue declare default do die echo else elseif empty\ -enddeclare endfor endforeach endif endswitch endwhile e_all e_parse e_error e_warning eval exit extends false for foreach function\ -global http_cookie_vars http_get_vars http_post_vars http_post_files http_env_vars http_server_vars if include include_once list new not null old_function or parent\ -php_os php_self php_version print require require_once return static switch stdclass this true var xor virtual while __file__\ -__line__ __sleep __wakeup - -keywords.5=name:DTD Keywords::ELEMENT DOCTYPE ATTLIST ENTITY NOTATION - -style.33=name:LineNumbers -style.34=name:Ok Braces,fore:clBlue,bold -style.35=name:Bad Braces,fore:clRed,bold -style.36=name:Control Chars,back:clSilver -style.37=name:Indent Guide,fore:clGray -style.0=name:Text -style.1=name:Tags,bold -style.2=name:Unknown Tags,fore:clOlive -style.3=name:Attributes,fore:#A0A0C0 -style.4=name:Unknown Attributes,fore:clRed -style.5=name:Numbers,fore:clBlue -style.6=name:Double quoted strings,fore:#AA9900 -style.7=name:Single quoted strings,fore:clLime -style.8=name:Other inside tag -style.9=name:Comment,fore:#FF8000 -style.10=name:Entities,fore:#A0A0A0,font:Times New Roman,bold -style.11=name:XML short tag end,fore:#00C0C0 -style.12=name:XML identifier start,fore:#A000A0 -style.13=name:XML identifier end,fore:#A000A0 -style.14=name:SCRIPT,fore:#000A0A -style.15=name:ASP <% ... %>,fore:clYellow -style.16=name:ASP <% ... %>,fore:clYellow -style.17=name:CDATA,fore:#FFDF00 -style.18=name:PHP,fore:#FF8951 -style.19=name:Unquoted values,fore:clFuchsia -style.20=name:XC Comment -style.21=name:SGML tags ,fore:#00D0D0 -style.22=name:SGML command,fore:#00A0A0,bold -style.23=name:SGML 1st param,fore:#0FFFF0 -style.24=name:SGML double string,fore:clLime -style.25=name:SGML single string,fore:clLime -style.26=name:SGML error,fore:clRed -style.27=name:SGML special,fore:#3366FF -style.28=name:SGML entity -style.29=name:SGML comment,fore:#909090 -style.31=name:SGML block,fore:clBlue -style.40=name:JS Start,fore:#7F7F00 -style.41=name:JS Default,bold,eolfilled -style.42=name:JS Comment,fore:#909090,eolfilled -style.43=name:JS Line Comment,fore:#909090 -style.44=name:JS Doc Comment,fore:#909090,bold,eolfilled -style.45=name:JS Number,fore:#E00000 -style.46=name:JS Word,fore:#00CCCC -style.47=name:JS Keyword,fore:clOlive,bold -style.48=name:JS Double quoted string,fore:clLime -style.49=name:JS Single quoted string,fore:clLime -style.50=name:JS Symbols -style.51=name:JS EOL,fore:clWhite,back:#202020,eolfilled -style.52=name:JS Regex,fore:#C032FF -style.55=name:ASP JS Start,fore:#7F7F00 -style.56=name:ASP JS Default,bold,eolfilled -style.57=name:ASP JS Comment,fore:#909090,eolfilled -style.58=name:ASP JS Line Comment,fore:#909090 -style.59=name:ASP JS Doc Comment,fore:#909090,bold,eolfilled -style.60=name:ASP JS Number,fore:#E00000 -style.61=name:ASP JS Word,fore:#E0E0E0 -style.62=name:ASP JS Keyword,fore:clOlive,bold -style.63=name:ASP JS Double quoted string,fore:clLime -style.64=name:ASP JS Single quoted string,fore:clLime -style.65=name:ASP JS Symbols -style.66=name:ASP JS EOL,fore:clWhite,back:#202020,eolfilled -style.67=name:ASP JS Regex,fore:#C032FF -style.71=name:VBS Default,eolfilled -style.72=name:VBS Comment,fore:#909090,eolfilled -style.73=name:VBS Number,fore:#E00000,eolfilled -style.74=name:VBS KeyWord,fore:clOlive,bold,eolfilled -style.75=name:VBS String,fore:clLime,eolfilled -style.76=name:VBS Identifier,fore:clSilver,eolfilled -style.77=name:VBS Unterminated string,fore:clWhite,back:#202020,eolfilled -style.81=name:ASP Default,eolfilled -style.82=name:ASP Comment,fore:#909090,eolfilled -style.83=name:ASP Number,fore:#E00000,eolfilled -style.84=name:ASP KeyWord,fore:clOlive,bold,eolfilled -style.85=name:ASP String,fore:clLime,eolfilled -style.86=name:ASP Identifier,fore:clSilver,eolfilled -style.87=name:ASP Unterminated string,fore:clWhite,back:#202020,eolfilled -style.90=name:Python Start,fore:clGray -style.91=name:Python Default,fore:clGray,eolfilled -style.92=name:Python Comment,fore:#909090,eolfilled -style.93=name:Python Number,fore:#E00000,eolfilled -style.94=name:Python String,fore:clLime,eolfilled -style.95=name:Python Single quoted string,fore:clLime,font:Courier New,eolfilled -style.96=name:Python Keyword,fore:clOlive,bold,eolfilled -style.97=name:Python Triple quotes,fore:#7F0000,back:#EFFFEF,eolfilled -style.98=name:Python Triple double quotes,fore:#7F0000,back:#EFFFEF,eolfilled -style.99=name:Python Class name definition,fore:clBlue,back:#EFFFEF,bold,eolfilled -style.100=name:Python function or method name definition,fore:#007F7F,back:#EFFFEF,bold,eolfilled -style.101=name:Python function or method name definition,back:#EFFFEF,bold,eolfilled -style.102=name:Python Identifiers,back:#EFFFEF,eolfilled -style.104=name:PHP Complex Variable,fore:#00A0A0,italics -style.105=name:ASP Python Start,fore:clGray -style.106=name:ASP Python Default,fore:clGray,eolfilled -style.107=name:ASP Python Comment,fore:#909090,eolfilled -style.108=name:ASP Python Number,fore:#E00000,eolfilled -style.109=name:ASP Python String,fore:clLime,font:Courier New,eolfilled -style.110=name:ASP Python Single quoted string,fore:clLime,eolfilled -style.111=name:ASP Python Keyword,fore:clOlive,bold,eolfilled -style.112=name:ASP Python Triple quotes,fore:#7F0000,back:#CFEFCF,eolfilled -style.113=name:ASP Python Triple double quotes,fore:#7F0000,back:#CFEFCF,eolfilled -style.114=name:ASP Python Class name definition,fore:clBlue,back:#CFEFCF,bold,eolfilled -style.115=name:ASP Python function or method name definition,fore:#007F7F,back:#EFFFEF,bold,eolfilled -style.116=name:ASP Python function or method name definition,back:#CFEFCF,bold,eolfilled -style.117=name:ASP Python Identifiers,fore:clSilver,back:#CFEFCF,eolfilled -style.118=name:PHP Default,eolfilled -style.119=name:PHP Double quoted string,fore:clLime -style.120=name:PHP Single quoted string,fore:clLime -style.121=name:PHP Keyword,fore:clOlive,bold -style.122=name:PHP Number,fore:#E00000 -style.123=name:PHP Variable,fore:#00A0A0,italics -style.124=name:PHP Comment,fore:#909090 -style.125=name:PHP One line Comment,fore:#909090 -style.126=name:PHP Variable in double quoted string,fore:#00A0A0,italics -style.127=name:PHP operator,fore:clSilver - -CommentBoxStart= -CommentBoxMiddle= -CommentBlock=// -CommentStreamStart= -AssignmentOperator== -EndOfStatementOperator=; -[C++] -lexer=cpp -keywords.0=name:Primary keywords and identifiers::__asm _asm asm auto __automated bool break case catch __cdecl _cdecl cdecl char class __classid __closure const\ -const_cast continue __declspec default delete __dispid do double dynamic_cast else enum __except explicit __export export extern false\ -__fastcall _fastcall __finally float for friend goto if __import _import __inline inline int __int16 __int32 __int64 __int8\ -long __msfastcall __msreturn mutable namespace new __pascal _pascal pascal private __property protected public __published register reinterpret_cast return\ -__rtti short signed sizeof static_cast static __stdcall _stdcall struct switch template this __thread throw true __try try\ -typedef typeid typename union unsigned using virtual void volatile wchar_t while dllexport dllimport naked noreturn nothrow novtable\ -property selectany thread uuid - -keywords.1=name:Secondary keywords and identifiers::TStream TFileStream TMemoryStream TBlobStream TOleStream TStrings TStringList AnsiString String WideString cout cin cerr endl fstream ostream istream\ -wstring string deque list vector set multiset bitset map multimap stack queue priority_queue - -keywords.2=name:Doc Comments::a addindex addtogroup anchor arg attention author b brief bug c class code date def defgroup deprecated\ -dontinclude e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception f$ f[ f] file fn\ -hideinitializer htmlinclude htmlonly if image include ingroup internal invariant interface latexonly li line link mainpage name namespace\ -nosubgrouping note overload p page par param post pre ref relates remarks return retval sa section see\ -showinitializer since skip skipline struct subsection test throw todo typedef union until var verbatim verbinclude version warning\ -weakgroup $ @ < > \ & # { } - -keywords.3=name:Unused:: - -keywords.4=name:Global classes and typedefs::LOL - -style.33=name:LineNumbers -style.34=name:Ok Braces,fore:#0000BB -style.35=name:Bad Braces,fore:clRed -style.36=name:Control Chars,fore:clGray -style.37=name:Indent Guide,fore:clGray -style.0=name:White space,fore:#0000BB,font:Courier New -style.1=name:Comment,fore:#FF8040 -style.2=name:Line Comment,fore:#FF8040 -style.3=name:Doc Comment,fore:#FF8040 -style.4=name:Number,fore:clNavy -style.5=name:Keyword,fore:#007700 -style.6=name:Double quoted string,fore:clRed -style.7=name:Single quoted string,fore:clRed -style.8=name:Symbols/UUID,fore:clRed -style.9=name:Preprocessor,fore:#FF8000 -style.10=name:Operators,fore:#007700 -style.11=name:Identifier,fore:clNavy -style.12=name:EOL if string is not closed,fore:clRed,eolfilled -style.13=name:Verbatim strings for C#,fore:clLime -style.14=name:Regular expressions,fore:clHotLight -style.15=name:Doc Comment Line,fore:#FF8040 -style.16=name:User-defined keywords,fore:clRed -style.17=name:Comment keyword,fore:#FF8000 -style.18=name:Comment keyword error,fore:clRed -style.19=name:Global classes and typedefs,fore:clGreen - -CommentBoxStart=/* -CommentBoxEnd=*/ -CommentBoxMiddle=* -CommentBlock=// -CommentStreamStart=/* -CommentStreamEnd=*/ -AssignmentOperator== -EndOfStatementOperator=; -[SQL] -lexer=mssql -keywords.0=name:Statements:: - -keywords.1=name:Data Types:: - -keywords.2=name:System tables:: - -keywords.3=name:Global variables:: - -keywords.4=name:Functions:: - -keywords.5=name:System Stored Procedures:: - -keywords.6=name:Operators:: - -style.33=name:LineNumbers,font:Arial -style.34=name:Ok Braces,fore:clYellow,bold -style.35=name:Bad Braces,fore:clRed,bold -style.36=name:Control Chars,back:clSilver -style.37=name:Indent Guide,fore:clGray -style.0=name:Default,fore:clSilver -style.1=name:Comment,fore:#909090 -style.2=name:Line Comment,fore:#909090 -style.3=name:Number,fore:#E00000 -style.4=name:String,fore:clLime -style.5=name:Operator,fore:clSilver -style.6=name:Identifier,fore:clSilver -style.7=name:Variable -style.8=name:Column Name -style.9=name:Statement -style.10=name:Data Type -style.11=name:System Table -style.12=name:Global Variable -style.13=name:Function -style.14=name:Stored Procedure -style.15=name:Default Pref Datatype -style.16=name:Column Name 2 - -CommentBoxStart=/* -CommentBoxEnd=*/ -CommentBoxMiddle=* -CommentBlock=# -CommentStreamStart=/* -CommentStreamEnd=*/ -AssignmentOperator== -EndOfStatementOperator=; -[Pawn] -lexer=cpp -keywords.0=name:Primary keywords and identifiers::assert char #assert const break de ned #de ne enum case sizeof #else forward continue tagof #emit\ -native default #endif new do #endinput operator else #endscript public exit #error static for # le stock\ -goto #if if #include return #line sleep #pragma state #section switch #tryinclude while #undef Float - -keywords.1=name:Secondary keywords and identifiers:: heapspace funcidx numargs getarg setarg strlen tolower toupper swapchars random min max clamp power sqroot time\ -date tickcount abs float floatstr floatmul floatdiv floatadd floatsub floatfract floatround floatcmp floatsqroot floatpower floatlog floatsin floatcos\ -floattan floatsinh floatcosh floattanh floatabs floatatan floatacos floatasin floatatan2 contain containi replace add format formatex vformat vdformat\ -format_args num_to_str str_to_num float_to_str str_to_float equal equali copy copyc setc parse strtok strbreak trim strtolower strtoupper ucfirst\ -isdigit isalpha isspace isalnum strcat strfind strcmp is_str_num split remove_filepath replace_all read_dir read_file write_file delete_file file_exists rename_file\ -dir_exists file_size fopen fclose fread fread_blocks fread_raw fwrite fwrite_blocks fwrite_raw feof fgets fputs fprintf fseek ftell fgetc\ -fputc fungetc filesize rmdir unlink open_dir next_file close_dir get_vaultdata set_vaultdata remove_vaultdata vaultdata_exists get_langsnum get_lang register_dictionary lang_exists CreateLangKey\ -GetLangTransKey AddTranslation message_begin message_end write_byte write_char write_short write_long write_entity write_angle write_coord write_string emessage_begin emessage_end ewrite_byte ewrite_char ewrite_short\ -ewrite_long ewrite_entity ewrite_angle ewrite_coord ewrite_string set_msg_block get_msg_block register_message get_msg_args get_msg_argtype get_msg_arg_int get_msg_arg_float get_msg_arg_string set_msg_arg_int set_msg_arg_float set_msg_arg_string get_msg_origin\ -get_distance get_distance_f velocity_by_aim vector_to_angle angle_vector vector_length vector_distance IVecFVec FVecIVec SortIntegers SortFloats SortStrings SortCustom1D SortCustom2D plugin_init plugin_pause plugin_unpause\ -server_changelevel plugin_cfg plugin_end plugin_log plugin_precache client_infochanged client_connect client_authorized client_disconnect client_command client_putinserver register_plugin precache_model precache_sound precache_generic set_user_info get_user_info\ -set_localinfo get_localinfo show_motd client_print engclient_print console_print console_cmd register_event register_logevent set_hudmessage show_hudmessage show_menu read_data read_datanum read_logdata read_logargc read_logargv\ -parse_loguser server_print is_map_valid is_user_bot is_user_hltv is_user_connected is_user_connecting is_user_alive is_dedicated_server is_linux_server is_jit_enabled get_amxx_verstring get_user_attacker get_user_aiming get_user_frags get_user_armor get_user_deaths\ -get_user_health get_user_index get_user_ip user_has_weapon get_user_weapon get_user_ammo num_to_word get_user_team get_user_time get_user_ping get_user_origin get_user_weapons get_weaponname get_user_name get_user_authid get_user_userid user_slap\ -user_kill log_amx log_message log_to_file get_playersnum get_players read_argv read_args read_argc read_flags get_flags find_player remove_quotes client_cmd engclient_cmd server_cmd set_cvar_string\ -cvar_exists remove_cvar_flags set_cvar_flags get_cvar_flags set_cvar_float get_cvar_float get_cvar_num set_cvar_num get_cvar_string get_mapname get_timeleft get_gametime get_maxplayers get_modname get_time format_time get_systime\ -parse_time set_task remove_task change_task task_exists set_user_flags get_user_flags remove_user_flags register_clcmd register_concmd register_srvcmd get_clcmd get_clcmdsnum get_srvcmd get_srvcmdsnum get_concmd get_concmd_plid\ -get_concmdsnum get_plugins_cvarsnum get_plugins_cvar register_menuid register_menucmd get_user_menu server_exec emit_sound register_cvar random_float random_num get_user_msgid get_user_msgname xvar_exists get_xvar_id get_xvar_num get_xvar_float\ -set_xvar_num set_xvar_float is_module_loaded get_module get_modulesnum is_plugin_loaded get_plugin get_pluginsnum pause unpause callfunc_begin callfunc_begin_i get_func_id callfunc_push_int callfunc_push_float callfunc_push_intrf callfunc_push_floatrf\ -callfunc_push_str callfunc_push_array callfunc_end inconsistent_file force_unmodified md5 md5_file plugin_flags plugin_modules require_module is_amd64_server mkdir find_plugin_byfile plugin_natives register_native register_library log_error\ -param_convert get_string set_string get_param get_param_f get_param_byref get_float_byref set_param_byref set_float_byref get_array get_array_f set_array set_array_f menu_create menu_makecallback menu_additem menu_pages\ -menu_items menu_display menu_find_id menu_item_getinfo menu_item_setname menu_item_setcmd menu_item_setcall menu_destroy player_menu_info menu_addblank menu_setprop menu_cancel query_client_cvar set_error_filter dbg_trace_begin dbg_trace_next dbg_trace_info\ -dbg_fmt_error set_native_filter set_module_filter abort module_exists LibraryExists next_hudchannel CreateHudSyncObj ShowSyncHudMsg ClearSyncHud int3 set_fail_state get_var_addr get_addr_val set_addr_val CreateMultiForward CreateOneForward\ -PrepareArray ExecuteForward DestroyForward get_cvar_pointer get_pcvar_flags set_pcvar_flags get_pcvar_num set_pcvar_num get_pcvar_float set_pcvar_float get_pcvar_string arrayset get_weaponid dod_make_deathmsg user_silentkill make_deathmsg is_user_admin\ -cmd_access access cmd_target show_activity colored_menus cstrike_running is_running get_basedir get_configsdir get_datadir register_menu get_customdir AddMenuItem AddClientMenuItem AddMenuItem_call constraint_offset - -keywords.2=name:Doc Comments::a addindex addtogroup anchor arg attention author b brief bug c class code date def defgroup deprecated\ -dontinclude e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception f$ f[ f] file fn\ -hideinitializer htmlinclude htmlonly if image include ingroup internal invariant interface latexonly li line link mainpage name namespace\ -nosubgrouping note overload p page par param post pre ref relates remarks return retval sa section see\ -showinitializer since skip skipline struct subsection test throw todo typedef union until var verbatim verbinclude version warning\ -weakgroup $ @ < > \ & # { } - -keywords.3=name:Unused:: - -style.33=name:LineNumbers -style.34=name:Ok Braces,fore:#0000BB -style.35=name:Bad Braces,fore:clRed -style.36=name:Control Chars,fore:clGray -style.37=name:Indent Guide,fore:clGray -style.0=name:White space,fore:#0000BB,font:Courier New -style.1=name:Comment,fore:#FF8040 -style.2=name:Line Comment,fore:#FF8040 -style.3=name:Doc Comment,fore:#FF8040 -style.4=name:Number,fore:clNavy -style.5=name:Keyword,fore:#007700 -style.6=name:Double quoted string,fore:clRed -style.7=name:Single quoted string,fore:clRed -style.8=name:Symbols/UUID,fore:clRed -style.9=name:Preprocessor,fore:#FF8000 -style.10=name:Operators,fore:#007700 -style.11=name:Identifier,fore:clNavy -style.12=name:EOL if string is not closed,fore:clRed,eolfilled -style.13=name:Verbatim strings for C#,fore:clLime -style.14=name:Regular expressions,fore:clHotLight -style.15=name:Doc Comment Line,fore:#FF8040 -style.16=name:User-defined keywords,fore:clRed - -CommentBoxStart=/* -CommentBoxEnd=*/ -CommentBoxMiddle=* -CommentBlock=// -CommentStreamStart=/* -CommentStreamEnd=*/ -AssignmentOperator== -EndOfStatementOperator=; -[other] -BookMarkBackColor=clGray -BookMarkForeColor=clWhite -BookMarkPixmapFile= -Unicode=False +[default] +style=fore:clBlack,back:clWhite,size:8,font:Courier,notbold,notitalics,notunderlined,visible,noteolfilled,changeable,nothotspot +WordWrap=0 +WordChars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 +ClearUndoAfterSave=False +EOLMode=0 +LineNumbers=False +Gutter=True +CaretPeriod=1024 +CaretWidth=1 +CaretLineVisible=True +CaretFore=clNone +CaretBack=#E6E6FF +CaretAlpha=0 +SelectForeColor=clHighlightText +SelectBackColor=clHighlight +SelectAlpha=256 +MarkerForeColor=clWhite +MarkerBackColor=clBtnShadow +FoldMarginHighlightColor=clWhite +FoldMarginColor=clBtnFace +WhitespaceForeColor=clDefault +WhitespaceBackColor=clDefault +ActiveHotspotForeColor=clBlue +ActiveHotspotBackColor=#A8A8FF +ActiveHotspotUnderlined=True +ActiveHotspotSingleLine=False +FoldMarkerType=1 +MarkerBookmark=markertype:sciMFullRect,Alpha:256,fore:clWhite,back:clGray +EdgeColumn=100 +EdgeMode=1 +EdgeColor=clSilver +CodeFolding=True +BraceHighlight=True + +[extension] + + +[null] +lexer=null + +style.33=name:LineNumbers,font:Arial +style.34=name:Ok Braces,fore:clYellow,bold +style.35=name:Bad Braces,fore:clRed,bold +style.36=name:Control Chars,back:clSilver +style.37=name:Indent Guide,fore:clGray + +CommentBoxStart=/* +CommentBoxEnd=*/ +CommentBoxMiddle=* +CommentBlock=// +CommentStreamStart=/* +CommentStreamEnd=*/ +AssignmentOperator== +EndOfStatementOperator=; +[XML] +lexer=xml +NumStyleBits=7 +keywords.0=name:Keywords:: + +keywords.5=name:SGML Keywords::ELEMENT DOCTYPE ATTLIST ENTITY NOTATION + +style.33=name:LineNumbers +style.34=name:Ok Braces,fore:clYellow,bold +style.35=name:Bad Braces,fore:clRed,bold +style.36=name:Control Chars,back:clSilver +style.37=name:Indent Guide,fore:clGray +style.0=name:Default +style.1=name:Tags,fore:#00D0D0 +style.2=name:Unknown Tags,fore:#00D0D0 +style.3=name:Attributes,fore:#A0A0C0 +style.4=name:Unknown Attributes,fore:#A0A0C0 +style.5=name:Numbers,fore:#E00000 +style.6=name:Double quoted strings,fore:clLime +style.7=name:Single quoted strings,fore:clLime +style.8=name:Other inside tag,fore:#A000A0 +style.9=name:Comment,fore:#909090 +style.10=name:Entities,bold +style.11=name:XML short tag end,fore:#A000A0 +style.12=name:XML identifier start,fore:#A000A0,bold +style.13=name:XML identifier end,fore:#A000A0,bold +style.17=name:CDATA,fore:clMaroon,back:#FFF0F0,eolfilled +style.18=name:XML Question,fore:#A00000 +style.19=name:Unquoted values,fore:clFuchsia +style.21=name:SGML tags ,fore:#00D0D0 +style.22=name:SGML command,fore:#00A0A0,bold +style.23=name:SGML 1st param,fore:#0FFFF0 +style.24=name:SGML double string,fore:clLime +style.25=name:SGML single string,fore:clLime +style.26=name:SGML error,fore:clRed +style.27=name:SGML special,fore:#3366FF +style.28=name:SGML entity,bold +style.29=name:SGML comment,fore:#909090 +style.31=name:SGML block,fore:#000066,back:#CCCCE0 + +CommentBoxStart= +CommentBoxMiddle= +CommentBlock=// +CommentStreamStart= +AssignmentOperator== +EndOfStatementOperator=; +[HTML] +lexer=hypertext +NumStyleBits=7 +keywords.0=name:HyperText::a abbr acronym address applet area b base basefont bdo big blockquote body br button caption center\ +cite code col colgroup dd del dfn dir div dl dt em fieldset font form frame frameset\ +h1 h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex kbd label\ +legend li link map menu meta noframes noscript object ol optgroup option p param pre q s\ +samp script select small span strike strong style sub sup table tbody td textarea tfoot th thead\ +title tr tt u ul var xml xmlns abbr accept-charset accept accesskey action align alink alt archive\ +axis background bgcolor border cellpadding cellspacing char charoff charset checked cite class classid clear codebase codetype color\ +cols colspan compact content coords data datafld dataformatas datapagesize datasrc datetime declare defer dir disabled enctype event\ +face for frame frameborder headers height href hreflang hspace http-equiv id ismap label lang language leftmargin link\ +longdesc marginwidth marginheight maxlength media method multiple name nohref noresize noshade nowrap object onblur onchange onclick ondblclick\ +onfocus onkeydown onkeypress onkeyup onload onmousedown onmousemove onmouseover onmouseout onmouseup onreset onselect onsubmit onunload profile prompt readonly\ +rel rev rows rowspan rules scheme scope selected shape size span src standby start style summary tabindex\ +target text title topmargin type usemap valign value valuetype version vlink vspace width text password checkbox radio\ +submit reset file hidden image framespacing scrolling allowtransparency bordercolor + +keywords.1=name:JavaScript::abstract boolean break byte case catch char class const continue debugger default delete do double else enum\ +export extends final finally float for function goto if implements import in instanceof int interface long native\ +new package private protected public return short static super switch synchronized this throw throws transient try typeof\ +var void volatile while with + +keywords.2=name:VBScript::and begin case call class continue do each else elseif end erase error event exit false for\ +function get gosub goto if implement in load loop lset me mid new next not nothing on\ +or property raiseevent rem resume return rset select set stop sub then to true unload until wend\ +while with withevents attribute alias as boolean byref byte byval const compare currency date declare dim double\ +enum explicit friend global integer let lib long module object option optional preserve private public redim single\ +static string type variant + +keywords.3=name:Python::and assert break class continue def del elif else except exec finally for from global if import\ +in is lambda None not or pass print raise return try while yield + +keywords.4=name:PHP::and argv as argc break case cfunction class continue declare default do die echo else elseif empty\ +enddeclare endfor endforeach endif endswitch endwhile e_all e_parse e_error e_warning eval exit extends false for foreach function\ +global http_cookie_vars http_get_vars http_post_vars http_post_files http_env_vars http_server_vars if include include_once list new not null old_function or parent\ +php_os php_self php_version print require require_once return static switch stdclass this true var xor virtual while __file__\ +__line__ __sleep __wakeup + +keywords.5=name:DTD Keywords::ELEMENT DOCTYPE ATTLIST ENTITY NOTATION + +style.33=name:LineNumbers +style.34=name:Ok Braces,fore:clBlue,bold +style.35=name:Bad Braces,fore:clRed,bold +style.36=name:Control Chars,back:clSilver +style.37=name:Indent Guide,fore:clGray +style.0=name:Text +style.1=name:Tags,bold +style.2=name:Unknown Tags,fore:clOlive +style.3=name:Attributes,fore:#A0A0C0 +style.4=name:Unknown Attributes,fore:clRed +style.5=name:Numbers,fore:clBlue +style.6=name:Double quoted strings,fore:#AA9900 +style.7=name:Single quoted strings,fore:clLime +style.8=name:Other inside tag +style.9=name:Comment,fore:#FF8000 +style.10=name:Entities,fore:#A0A0A0,font:Times New Roman,bold +style.11=name:XML short tag end,fore:#00C0C0 +style.12=name:XML identifier start,fore:#A000A0 +style.13=name:XML identifier end,fore:#A000A0 +style.14=name:SCRIPT,fore:#000A0A +style.15=name:ASP <% ... %>,fore:clYellow +style.16=name:ASP <% ... %>,fore:clYellow +style.17=name:CDATA,fore:#FFDF00 +style.18=name:PHP,fore:#FF8951 +style.19=name:Unquoted values,fore:clFuchsia +style.20=name:XC Comment +style.21=name:SGML tags ,fore:#00D0D0 +style.22=name:SGML command,fore:#00A0A0,bold +style.23=name:SGML 1st param,fore:#0FFFF0 +style.24=name:SGML double string,fore:clLime +style.25=name:SGML single string,fore:clLime +style.26=name:SGML error,fore:clRed +style.27=name:SGML special,fore:#3366FF +style.28=name:SGML entity +style.29=name:SGML comment,fore:#909090 +style.31=name:SGML block,fore:clBlue +style.40=name:JS Start,fore:#7F7F00 +style.41=name:JS Default,bold,eolfilled +style.42=name:JS Comment,fore:#909090,eolfilled +style.43=name:JS Line Comment,fore:#909090 +style.44=name:JS Doc Comment,fore:#909090,bold,eolfilled +style.45=name:JS Number,fore:#E00000 +style.46=name:JS Word,fore:#00CCCC +style.47=name:JS Keyword,fore:clOlive,bold +style.48=name:JS Double quoted string,fore:clLime +style.49=name:JS Single quoted string,fore:clLime +style.50=name:JS Symbols +style.51=name:JS EOL,fore:clWhite,back:#202020,eolfilled +style.52=name:JS Regex,fore:#C032FF +style.55=name:ASP JS Start,fore:#7F7F00 +style.56=name:ASP JS Default,bold,eolfilled +style.57=name:ASP JS Comment,fore:#909090,eolfilled +style.58=name:ASP JS Line Comment,fore:#909090 +style.59=name:ASP JS Doc Comment,fore:#909090,bold,eolfilled +style.60=name:ASP JS Number,fore:#E00000 +style.61=name:ASP JS Word,fore:#E0E0E0 +style.62=name:ASP JS Keyword,fore:clOlive,bold +style.63=name:ASP JS Double quoted string,fore:clLime +style.64=name:ASP JS Single quoted string,fore:clLime +style.65=name:ASP JS Symbols +style.66=name:ASP JS EOL,fore:clWhite,back:#202020,eolfilled +style.67=name:ASP JS Regex,fore:#C032FF +style.71=name:VBS Default,eolfilled +style.72=name:VBS Comment,fore:#909090,eolfilled +style.73=name:VBS Number,fore:#E00000,eolfilled +style.74=name:VBS KeyWord,fore:clOlive,bold,eolfilled +style.75=name:VBS String,fore:clLime,eolfilled +style.76=name:VBS Identifier,fore:clSilver,eolfilled +style.77=name:VBS Unterminated string,fore:clWhite,back:#202020,eolfilled +style.81=name:ASP Default,eolfilled +style.82=name:ASP Comment,fore:#909090,eolfilled +style.83=name:ASP Number,fore:#E00000,eolfilled +style.84=name:ASP KeyWord,fore:clOlive,bold,eolfilled +style.85=name:ASP String,fore:clLime,eolfilled +style.86=name:ASP Identifier,fore:clSilver,eolfilled +style.87=name:ASP Unterminated string,fore:clWhite,back:#202020,eolfilled +style.90=name:Python Start,fore:clGray +style.91=name:Python Default,fore:clGray,eolfilled +style.92=name:Python Comment,fore:#909090,eolfilled +style.93=name:Python Number,fore:#E00000,eolfilled +style.94=name:Python String,fore:clLime,eolfilled +style.95=name:Python Single quoted string,fore:clLime,font:Courier New,eolfilled +style.96=name:Python Keyword,fore:clOlive,bold,eolfilled +style.97=name:Python Triple quotes,fore:#7F0000,back:#EFFFEF,eolfilled +style.98=name:Python Triple double quotes,fore:#7F0000,back:#EFFFEF,eolfilled +style.99=name:Python Class name definition,fore:clBlue,back:#EFFFEF,bold,eolfilled +style.100=name:Python function or method name definition,fore:#007F7F,back:#EFFFEF,bold,eolfilled +style.101=name:Python function or method name definition,back:#EFFFEF,bold,eolfilled +style.102=name:Python Identifiers,back:#EFFFEF,eolfilled +style.104=name:PHP Complex Variable,fore:#00A0A0,italics +style.105=name:ASP Python Start,fore:clGray +style.106=name:ASP Python Default,fore:clGray,eolfilled +style.107=name:ASP Python Comment,fore:#909090,eolfilled +style.108=name:ASP Python Number,fore:#E00000,eolfilled +style.109=name:ASP Python String,fore:clLime,font:Courier New,eolfilled +style.110=name:ASP Python Single quoted string,fore:clLime,eolfilled +style.111=name:ASP Python Keyword,fore:clOlive,bold,eolfilled +style.112=name:ASP Python Triple quotes,fore:#7F0000,back:#CFEFCF,eolfilled +style.113=name:ASP Python Triple double quotes,fore:#7F0000,back:#CFEFCF,eolfilled +style.114=name:ASP Python Class name definition,fore:clBlue,back:#CFEFCF,bold,eolfilled +style.115=name:ASP Python function or method name definition,fore:#007F7F,back:#EFFFEF,bold,eolfilled +style.116=name:ASP Python function or method name definition,back:#CFEFCF,bold,eolfilled +style.117=name:ASP Python Identifiers,fore:clSilver,back:#CFEFCF,eolfilled +style.118=name:PHP Default,eolfilled +style.119=name:PHP Double quoted string,fore:clLime +style.120=name:PHP Single quoted string,fore:clLime +style.121=name:PHP Keyword,fore:clOlive,bold +style.122=name:PHP Number,fore:#E00000 +style.123=name:PHP Variable,fore:#00A0A0,italics +style.124=name:PHP Comment,fore:#909090 +style.125=name:PHP One line Comment,fore:#909090 +style.126=name:PHP Variable in double quoted string,fore:#00A0A0,italics +style.127=name:PHP operator,fore:clSilver + +CommentBoxStart= +CommentBoxMiddle= +CommentBlock=// +CommentStreamStart= +AssignmentOperator== +EndOfStatementOperator=; +[C++] +lexer=cpp +keywords.0=name:Primary keywords and identifiers::__asm _asm asm auto __automated bool break case catch __cdecl _cdecl cdecl char class __classid __closure const\ +const_cast continue __declspec default delete __dispid do double dynamic_cast else enum __except explicit __export export extern false\ +__fastcall _fastcall __finally float for friend goto if __import _import __inline inline int __int16 __int32 __int64 __int8\ +long __msfastcall __msreturn mutable namespace new __pascal _pascal pascal private __property protected public __published register reinterpret_cast return\ +__rtti short signed sizeof static_cast static __stdcall _stdcall struct switch template this __thread throw true __try try\ +typedef typeid typename union unsigned using virtual void volatile wchar_t while dllexport dllimport naked noreturn nothrow novtable\ +property selectany thread uuid + +keywords.1=name:Secondary keywords and identifiers::TStream TFileStream TMemoryStream TBlobStream TOleStream TStrings TStringList AnsiString String WideString cout cin cerr endl fstream ostream istream\ +wstring string deque list vector set multiset bitset map multimap stack queue priority_queue + +keywords.2=name:Doc Comments::a addindex addtogroup anchor arg attention author b brief bug c class code date def defgroup deprecated\ +dontinclude e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception f$ f[ f] file fn\ +hideinitializer htmlinclude htmlonly if image include ingroup internal invariant interface latexonly li line link mainpage name namespace\ +nosubgrouping note overload p page par param post pre ref relates remarks return retval sa section see\ +showinitializer since skip skipline struct subsection test throw todo typedef union until var verbatim verbinclude version warning\ +weakgroup $ @ < > \ & # { } + +keywords.3=name:Unused:: + +keywords.4=name:Global classes and typedefs::LOL + +style.33=name:LineNumbers +style.34=name:Ok Braces,fore:#0000BB +style.35=name:Bad Braces,fore:clRed +style.36=name:Control Chars,fore:clGray +style.37=name:Indent Guide,fore:clGray +style.0=name:White space,fore:#0000BB,font:Courier New +style.1=name:Comment,fore:#FF8040 +style.2=name:Line Comment,fore:#FF8040 +style.3=name:Doc Comment,fore:#FF8040 +style.4=name:Number,fore:clNavy +style.5=name:Keyword,fore:#007700 +style.6=name:Double quoted string,fore:clRed +style.7=name:Single quoted string,fore:clRed +style.8=name:Symbols/UUID,fore:clRed +style.9=name:Preprocessor,fore:#FF8000 +style.10=name:Operators,fore:#007700 +style.11=name:Identifier,fore:clNavy +style.12=name:EOL if string is not closed,fore:clRed,eolfilled +style.13=name:Verbatim strings for C#,fore:clLime +style.14=name:Regular expressions,fore:clHotLight +style.15=name:Doc Comment Line,fore:#FF8040 +style.16=name:User-defined keywords,fore:clRed +style.17=name:Comment keyword,fore:#FF8000 +style.18=name:Comment keyword error,fore:clRed +style.19=name:Global classes and typedefs,fore:clGreen + +CommentBoxStart=/* +CommentBoxEnd=*/ +CommentBoxMiddle=* +CommentBlock=// +CommentStreamStart=/* +CommentStreamEnd=*/ +AssignmentOperator== +EndOfStatementOperator=; +[SQL] +lexer=mssql +keywords.0=name:Statements:: + +keywords.1=name:Data Types:: + +keywords.2=name:System tables:: + +keywords.3=name:Global variables:: + +keywords.4=name:Functions:: + +keywords.5=name:System Stored Procedures:: + +keywords.6=name:Operators:: + +style.33=name:LineNumbers,font:Arial +style.34=name:Ok Braces,fore:clYellow,bold +style.35=name:Bad Braces,fore:clRed,bold +style.36=name:Control Chars,back:clSilver +style.37=name:Indent Guide,fore:clGray +style.0=name:Default,fore:clSilver +style.1=name:Comment,fore:#909090 +style.2=name:Line Comment,fore:#909090 +style.3=name:Number,fore:#E00000 +style.4=name:String,fore:clLime +style.5=name:Operator,fore:clSilver +style.6=name:Identifier,fore:clSilver +style.7=name:Variable +style.8=name:Column Name +style.9=name:Statement +style.10=name:Data Type +style.11=name:System Table +style.12=name:Global Variable +style.13=name:Function +style.14=name:Stored Procedure +style.15=name:Default Pref Datatype +style.16=name:Column Name 2 + +CommentBoxStart=/* +CommentBoxEnd=*/ +CommentBoxMiddle=* +CommentBlock=# +CommentStreamStart=/* +CommentStreamEnd=*/ +AssignmentOperator== +EndOfStatementOperator=; +[Pawn] +lexer=cpp +keywords.0=name:Primary keywords and identifiers::assert char #assert const break de ned #de ne enum case sizeof #else forward continue tagof #emit\ +native default #endif new do #endinput operator else #endscript public exit #error static for # le stock\ +goto #if if #include return #line sleep #pragma state #section switch #tryinclude while #undef Float + +keywords.1=name:Secondary keywords and identifiers:: heapspace funcidx numargs getarg setarg strlen tolower toupper swapchars random min max clamp power sqroot time\ +date tickcount abs float floatstr floatmul floatdiv floatadd floatsub floatfract floatround floatcmp floatsqroot floatpower floatlog floatsin floatcos\ +floattan floatsinh floatcosh floattanh floatabs floatatan floatacos floatasin floatatan2 contain containi replace add format formatex vformat vdformat\ +format_args num_to_str str_to_num float_to_str str_to_float equal equali copy copyc setc parse strtok strbreak trim strtolower strtoupper ucfirst\ +isdigit isalpha isspace isalnum strcat strfind strcmp is_str_num split remove_filepath replace_all read_dir read_file write_file delete_file file_exists rename_file\ +dir_exists file_size fopen fclose fread fread_blocks fread_raw fwrite fwrite_blocks fwrite_raw feof fgets fputs fprintf fseek ftell fgetc\ +fputc fungetc filesize rmdir unlink open_dir next_file close_dir get_vaultdata set_vaultdata remove_vaultdata vaultdata_exists get_langsnum get_lang register_dictionary lang_exists CreateLangKey\ +GetLangTransKey AddTranslation message_begin message_end write_byte write_char write_short write_long write_entity write_angle write_coord write_string emessage_begin emessage_end ewrite_byte ewrite_char ewrite_short\ +ewrite_long ewrite_entity ewrite_angle ewrite_coord ewrite_string set_msg_block get_msg_block register_message get_msg_args get_msg_argtype get_msg_arg_int get_msg_arg_float get_msg_arg_string set_msg_arg_int set_msg_arg_float set_msg_arg_string get_msg_origin\ +get_distance get_distance_f velocity_by_aim vector_to_angle angle_vector vector_length vector_distance IVecFVec FVecIVec SortIntegers SortFloats SortStrings SortCustom1D SortCustom2D plugin_init plugin_pause plugin_unpause\ +server_changelevel plugin_cfg plugin_end plugin_log plugin_precache client_infochanged client_connect client_authorized client_disconnect client_command client_putinserver register_plugin precache_model precache_sound precache_generic set_user_info get_user_info\ +set_localinfo get_localinfo show_motd client_print engclient_print console_print console_cmd register_event register_logevent set_hudmessage show_hudmessage show_menu read_data read_datanum read_logdata read_logargc read_logargv\ +parse_loguser server_print is_map_valid is_user_bot is_user_hltv is_user_connected is_user_connecting is_user_alive is_dedicated_server is_linux_server is_jit_enabled get_amxx_verstring get_user_attacker get_user_aiming get_user_frags get_user_armor get_user_deaths\ +get_user_health get_user_index get_user_ip user_has_weapon get_user_weapon get_user_ammo num_to_word get_user_team get_user_time get_user_ping get_user_origin get_user_weapons get_weaponname get_user_name get_user_authid get_user_userid user_slap\ +user_kill log_amx log_message log_to_file get_playersnum get_players read_argv read_args read_argc read_flags get_flags find_player remove_quotes client_cmd engclient_cmd server_cmd set_cvar_string\ +cvar_exists remove_cvar_flags set_cvar_flags get_cvar_flags set_cvar_float get_cvar_float get_cvar_num set_cvar_num get_cvar_string get_mapname get_timeleft get_gametime get_maxplayers get_modname get_time format_time get_systime\ +parse_time set_task remove_task change_task task_exists set_user_flags get_user_flags remove_user_flags register_clcmd register_concmd register_srvcmd get_clcmd get_clcmdsnum get_srvcmd get_srvcmdsnum get_concmd get_concmd_plid\ +get_concmdsnum get_plugins_cvarsnum get_plugins_cvar register_menuid register_menucmd get_user_menu server_exec emit_sound register_cvar random_float random_num get_user_msgid get_user_msgname xvar_exists get_xvar_id get_xvar_num get_xvar_float\ +set_xvar_num set_xvar_float is_module_loaded get_module get_modulesnum is_plugin_loaded get_plugin get_pluginsnum pause unpause callfunc_begin callfunc_begin_i get_func_id callfunc_push_int callfunc_push_float callfunc_push_intrf callfunc_push_floatrf\ +callfunc_push_str callfunc_push_array callfunc_end inconsistent_file force_unmodified md5 md5_file plugin_flags plugin_modules require_module is_amd64_server mkdir find_plugin_byfile plugin_natives register_native register_library log_error\ +param_convert get_string set_string get_param get_param_f get_param_byref get_float_byref set_param_byref set_float_byref get_array get_array_f set_array set_array_f menu_create menu_makecallback menu_additem menu_pages\ +menu_items menu_display menu_find_id menu_item_getinfo menu_item_setname menu_item_setcmd menu_item_setcall menu_destroy player_menu_info menu_addblank menu_setprop menu_cancel query_client_cvar set_error_filter dbg_trace_begin dbg_trace_next dbg_trace_info\ +dbg_fmt_error set_native_filter set_module_filter abort module_exists LibraryExists next_hudchannel CreateHudSyncObj ShowSyncHudMsg ClearSyncHud int3 set_fail_state get_var_addr get_addr_val set_addr_val CreateMultiForward CreateOneForward\ +PrepareArray ExecuteForward DestroyForward get_cvar_pointer get_pcvar_flags set_pcvar_flags get_pcvar_num set_pcvar_num get_pcvar_float set_pcvar_float get_pcvar_string arrayset get_weaponid dod_make_deathmsg user_silentkill make_deathmsg is_user_admin\ +cmd_access access cmd_target show_activity colored_menus cstrike_running is_running get_basedir get_configsdir get_datadir register_menu get_customdir AddMenuItem AddClientMenuItem AddMenuItem_call constraint_offset + +keywords.2=name:Doc Comments::a addindex addtogroup anchor arg attention author b brief bug c class code date def defgroup deprecated\ +dontinclude e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception f$ f[ f] file fn\ +hideinitializer htmlinclude htmlonly if image include ingroup internal invariant interface latexonly li line link mainpage name namespace\ +nosubgrouping note overload p page par param post pre ref relates remarks return retval sa section see\ +showinitializer since skip skipline struct subsection test throw todo typedef union until var verbatim verbinclude version warning\ +weakgroup $ @ < > \ & # { } + +keywords.3=name:Unused:: + +style.33=name:LineNumbers +style.34=name:Ok Braces,fore:#0000BB +style.35=name:Bad Braces,fore:clRed +style.36=name:Control Chars,fore:clGray +style.37=name:Indent Guide,fore:clGray +style.0=name:White space,fore:#0000BB,font:Courier New +style.1=name:Comment,fore:#FF8040 +style.2=name:Line Comment,fore:#FF8040 +style.3=name:Doc Comment,fore:#FF8040 +style.4=name:Number,fore:clNavy +style.5=name:Keyword,fore:#007700 +style.6=name:Double quoted string,fore:clRed +style.7=name:Single quoted string,fore:clRed +style.8=name:Symbols/UUID,fore:clRed +style.9=name:Preprocessor,fore:#FF8000 +style.10=name:Operators,fore:#007700 +style.11=name:Identifier,fore:clNavy +style.12=name:EOL if string is not closed,fore:clRed,eolfilled +style.13=name:Verbatim strings for C#,fore:clLime +style.14=name:Regular expressions,fore:clHotLight +style.15=name:Doc Comment Line,fore:#FF8040 +style.16=name:User-defined keywords,fore:clRed + +CommentBoxStart=/* +CommentBoxEnd=*/ +CommentBoxMiddle=* +CommentBlock=// +CommentStreamStart=/* +CommentStreamEnd=*/ +AssignmentOperator== +EndOfStatementOperator=; +[other] +BookMarkBackColor=clGray +BookMarkForeColor=clWhite +BookMarkPixmapFile= +Unicode=False diff --git a/editor/studio/config/Settings.ini b/editor/studio/config/Settings.ini index 67eb3d77..88d45d22 100644 --- a/editor/studio/config/Settings.ini +++ b/editor/studio/config/Settings.ini @@ -1,42 +1,42 @@ -[Editor] -MakeBaks=1 -DontLoadFilesTwice=1 -Auto-Indent=1 -UnindentClosingBrace=1 -UnindentEmptyLine=0 -Disable_AC=0 -Disable_CT=0 -AutoDisable=1500 -AutoHideCT=1 -[Pawn-Compiler] -Path= -Args= -DefaultOutput= -[CPP-Compiler] -Path= -Args= -DefaultOutput= -[Half-Life] -Filename= -Params= -AMXXListen= -[FTP] -Host= -Port=21 -Username= -Password= -[Proxy] -ProxyType=0 -Host= -Port=8080 -Username= -Password= -[Misc] -DefaultPluginName=New Plug-In -DefaultPluginVersion=1.0 -DefaultPluginAuthor=author -SaveNotesTo=0 -CPUSpeed=5 -LangDir= -ShowStatusbar=1 -WindowState=0 +[Editor] +MakeBaks=1 +DontLoadFilesTwice=1 +Auto-Indent=1 +UnindentClosingBrace=1 +UnindentEmptyLine=0 +Disable_AC=0 +Disable_CT=0 +AutoDisable=1500 +AutoHideCT=1 +[Pawn-Compiler] +Path= +Args= +DefaultOutput= +[CPP-Compiler] +Path= +Args= +DefaultOutput= +[Half-Life] +Filename= +Params= +AMXXListen= +[FTP] +Host= +Port=21 +Username= +Password= +[Proxy] +ProxyType=0 +Host= +Port=8080 +Username= +Password= +[Misc] +DefaultPluginName=New Plug-In +DefaultPluginVersion=1.0 +DefaultPluginAuthor=author +SaveNotesTo=0 +CPUSpeed=5 +LangDir= +ShowStatusbar=1 +WindowState=0 diff --git a/editor/studio/config/plugins.cfg b/editor/studio/config/plugins.cfg index 9660d09a..234fc339 100644 --- a/editor/studio/config/plugins.cfg +++ b/editor/studio/config/plugins.cfg @@ -1,2 +1,2 @@ -UNLOADED Hello World - CPP.dll -UNLOADED Hello World - Delphi.dll +UNLOADED Hello World - CPP.dll +UNLOADED Hello World - Delphi.dll diff --git a/installer/installer/AMXInstaller.cfg b/installer/installer/AMXInstaller.cfg index ee1c4401..2a3e13c1 100755 --- a/installer/installer/AMXInstaller.cfg +++ b/installer/installer/AMXInstaller.cfg @@ -1,40 +1,40 @@ --$A8 --$B- --$C+ --$D+ --$E- --$F- --$G+ --$H+ --$I+ --$J- --$K- --$L+ --$M- --$N+ --$O+ --$P+ --$Q- --$R- --$S- --$T- --$U- --$V+ --$W- --$X+ --$YD --$Z1 --GD --cg --AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; --H+ --W+ --M --$M16384,1048576 --K$00400000 --LE"c:\program files (x86)\delphi7se\Projects\Bpl" --LN"c:\program files (x86)\delphi7se\Projects\Bpl" --DmadExcept --w-UNSAFE_TYPE --w-UNSAFE_CODE --w-UNSAFE_CAST +-$A8 +-$B- +-$C+ +-$D+ +-$E- +-$F- +-$G+ +-$H+ +-$I+ +-$J- +-$K- +-$L+ +-$M- +-$N+ +-$O+ +-$P+ +-$Q- +-$R- +-$S- +-$T- +-$U- +-$V+ +-$W- +-$X+ +-$YD +-$Z1 +-GD +-cg +-AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; +-H+ +-W+ +-M +-$M16384,1048576 +-K$00400000 +-LE"c:\program files (x86)\delphi7se\Projects\Bpl" +-LN"c:\program files (x86)\delphi7se\Projects\Bpl" +-DmadExcept +-w-UNSAFE_TYPE +-w-UNSAFE_CODE +-w-UNSAFE_CAST diff --git a/installer/installer/AMXInstaller.dof b/installer/installer/AMXInstaller.dof index 5dec6b07..1558ddd5 100755 --- a/installer/installer/AMXInstaller.dof +++ b/installer/installer/AMXInstaller.dof @@ -1,132 +1,132 @@ -[FileVersion] -Version=7.0 -[Compiler] -A=8 -B=0 -C=1 -D=1 -E=0 -F=0 -G=1 -H=1 -I=1 -J=0 -K=0 -L=1 -M=0 -N=1 -O=1 -P=1 -Q=0 -R=0 -S=0 -T=0 -U=0 -V=1 -W=0 -X=1 -Y=1 -Z=1 -ShowHints=1 -ShowWarnings=1 -UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; -NamespacePrefix= -SymbolDeprecated=1 -SymbolLibrary=1 -SymbolPlatform=1 -UnitLibrary=1 -UnitPlatform=1 -UnitDeprecated=1 -HResultCompat=1 -HidingMember=1 -HiddenVirtual=1 -Garbage=1 -BoundsError=1 -ZeroNilCompat=1 -StringConstTruncated=1 -ForLoopVarVarPar=1 -TypedConstVarPar=1 -AsgToTypedConst=1 -CaseLabelRange=1 -ForVariable=1 -ConstructingAbstract=1 -ComparisonFalse=1 -ComparisonTrue=1 -ComparingSignedUnsigned=1 -CombiningSignedUnsigned=1 -UnsupportedConstruct=1 -FileOpen=1 -FileOpenUnitSrc=1 -BadGlobalSymbol=1 -DuplicateConstructorDestructor=1 -InvalidDirective=1 -PackageNoLink=1 -PackageThreadVar=1 -ImplicitImport=1 -HPPEMITIgnored=1 -NoRetVal=1 -UseBeforeDef=1 -ForLoopVarUndef=1 -UnitNameMismatch=1 -NoCFGFileFound=1 -MessageDirective=1 -ImplicitVariants=1 -UnicodeToLocale=1 -LocaleToUnicode=1 -ImagebaseMultiple=1 -SuspiciousTypecast=1 -PrivatePropAccessor=1 -UnsafeType=0 -UnsafeCode=0 -UnsafeCast=0 -[Linker] -MapFile=3 -OutputObjs=0 -ConsoleApp=1 -DebugInfo=0 -RemoteSymbols=0 -MinStackSize=16384 -MaxStackSize=1048576 -ImageBase=4194304 -ExeDescription= -[Directories] -OutputDir= -UnitOutputDir= -PackageDLLOutputDir= -PackageDCPOutputDir= -SearchPath= -Packages=vcl;rtl;vclx;vclie;xmlrtl;inetdbbde;inet;inetdbxpress;VclSmp;dbrtl;dbexpress;vcldb;dsnap;dbxcds;inetdb;bdertl;vcldbx;adortl;teeui;teedb;tee;ibxpress;visualclx;visualdbclx;vclactnband;vclshlctrls;IntrawebDB_50_70;Intraweb_50_70;Rave50CLX;Rave50VCL;dclOffice2k;JvStdCtrlsD7R;JvAppFrmD7R;JvCoreD7R;JvBandsD7R;JvBDED7R;JvDBD7R;JvDlgsD7R;JvCmpD7R;JvCryptD7R;JvCtrlsD7R;JvCustomD7R;JvDockingD7R;JvDotNetCtrlsD7R;JvEDID7R;qrpt;JvGlobusD7R;JvHMID7R;JvInspectorD7R;JvInterpreterD7R;JvJansD7R;JvManagedThreadsD7R;JvMMD7R;JvNetD7R;JvPageCompsD7R;JvPluginD7R;JvPrintPreviewD7R;JvSystemD7R;JvTimeFrameworkD7R;JvUIBD7R;JvValidatorsD7R;JvWizardD7R;JvXPCtrlsD7R;DelphiX_for7;Indy70;DJcl;tb2k_d7;FlatStyle_D5;scited7;mxFlatPack_D7;mbXPLib -Conditionals=madExcept -DebugSourceDirs= -UsePackages=0 -[Parameters] -RunParams=-debug -HostApplication= -Launcher= -UseLauncher=0 -DebugCWD= -[Version Info] -IncludeVerInfo=0 -AutoIncBuild=0 -MajorVer=1 -MinorVer=0 -Release=0 -Build=0 -Debug=0 -PreRelease=0 -Special=0 -Private=0 -DLL=0 -Locale=1031 -CodePage=1252 -[Version Info Keys] -CompanyName= -FileDescription= -FileVersion=1.0.0.0 -InternalName= -LegalCopyright= -LegalTrademarks= -OriginalFilename= -ProductName= -ProductVersion=1.0.0.0 -Comments= +[FileVersion] +Version=7.0 +[Compiler] +A=8 +B=0 +C=1 +D=1 +E=0 +F=0 +G=1 +H=1 +I=1 +J=0 +K=0 +L=1 +M=0 +N=1 +O=1 +P=1 +Q=0 +R=0 +S=0 +T=0 +U=0 +V=1 +W=0 +X=1 +Y=1 +Z=1 +ShowHints=1 +ShowWarnings=1 +UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE; +NamespacePrefix= +SymbolDeprecated=1 +SymbolLibrary=1 +SymbolPlatform=1 +UnitLibrary=1 +UnitPlatform=1 +UnitDeprecated=1 +HResultCompat=1 +HidingMember=1 +HiddenVirtual=1 +Garbage=1 +BoundsError=1 +ZeroNilCompat=1 +StringConstTruncated=1 +ForLoopVarVarPar=1 +TypedConstVarPar=1 +AsgToTypedConst=1 +CaseLabelRange=1 +ForVariable=1 +ConstructingAbstract=1 +ComparisonFalse=1 +ComparisonTrue=1 +ComparingSignedUnsigned=1 +CombiningSignedUnsigned=1 +UnsupportedConstruct=1 +FileOpen=1 +FileOpenUnitSrc=1 +BadGlobalSymbol=1 +DuplicateConstructorDestructor=1 +InvalidDirective=1 +PackageNoLink=1 +PackageThreadVar=1 +ImplicitImport=1 +HPPEMITIgnored=1 +NoRetVal=1 +UseBeforeDef=1 +ForLoopVarUndef=1 +UnitNameMismatch=1 +NoCFGFileFound=1 +MessageDirective=1 +ImplicitVariants=1 +UnicodeToLocale=1 +LocaleToUnicode=1 +ImagebaseMultiple=1 +SuspiciousTypecast=1 +PrivatePropAccessor=1 +UnsafeType=0 +UnsafeCode=0 +UnsafeCast=0 +[Linker] +MapFile=3 +OutputObjs=0 +ConsoleApp=1 +DebugInfo=0 +RemoteSymbols=0 +MinStackSize=16384 +MaxStackSize=1048576 +ImageBase=4194304 +ExeDescription= +[Directories] +OutputDir= +UnitOutputDir= +PackageDLLOutputDir= +PackageDCPOutputDir= +SearchPath= +Packages=vcl;rtl;vclx;vclie;xmlrtl;inetdbbde;inet;inetdbxpress;VclSmp;dbrtl;dbexpress;vcldb;dsnap;dbxcds;inetdb;bdertl;vcldbx;adortl;teeui;teedb;tee;ibxpress;visualclx;visualdbclx;vclactnband;vclshlctrls;IntrawebDB_50_70;Intraweb_50_70;Rave50CLX;Rave50VCL;dclOffice2k;JvStdCtrlsD7R;JvAppFrmD7R;JvCoreD7R;JvBandsD7R;JvBDED7R;JvDBD7R;JvDlgsD7R;JvCmpD7R;JvCryptD7R;JvCtrlsD7R;JvCustomD7R;JvDockingD7R;JvDotNetCtrlsD7R;JvEDID7R;qrpt;JvGlobusD7R;JvHMID7R;JvInspectorD7R;JvInterpreterD7R;JvJansD7R;JvManagedThreadsD7R;JvMMD7R;JvNetD7R;JvPageCompsD7R;JvPluginD7R;JvPrintPreviewD7R;JvSystemD7R;JvTimeFrameworkD7R;JvUIBD7R;JvValidatorsD7R;JvWizardD7R;JvXPCtrlsD7R;DelphiX_for7;Indy70;DJcl;tb2k_d7;FlatStyle_D5;scited7;mxFlatPack_D7;mbXPLib +Conditionals=madExcept +DebugSourceDirs= +UsePackages=0 +[Parameters] +RunParams=-debug +HostApplication= +Launcher= +UseLauncher=0 +DebugCWD= +[Version Info] +IncludeVerInfo=0 +AutoIncBuild=0 +MajorVer=1 +MinorVer=0 +Release=0 +Build=0 +Debug=0 +PreRelease=0 +Special=0 +Private=0 +DLL=0 +Locale=1031 +CodePage=1252 +[Version Info Keys] +CompanyName= +FileDescription= +FileVersion=1.0.0.0 +InternalName= +LegalCopyright= +LegalTrademarks= +OriginalFilename= +ProductName= +ProductVersion=1.0.0.0 +Comments= diff --git a/installer/installer/deps/readme.txt b/installer/installer/deps/readme.txt index b35f06f6..be4f1ba9 100644 --- a/installer/installer/deps/readme.txt +++ b/installer/installer/deps/readme.txt @@ -1,63 +1,63 @@ -In deps.zip are the dependencies needed to build the AMXX installer project in Delphi 7 on Windows. - -For getting the dependencies, see https://wiki.alliedmods.net/Building_AMX_Mod_X - -Follow the directions below in order to install these: - -1) Make sure the Delphi IDE has been run at least once. Then make sure that the Delphi IDE is - closed before trying to install anything. - -2) Decompress the zip file and make sure the following are available: - - flatstyle\ - indy9\ - jcl\ - jvcl\ - mxFlatPack\ - madCollection.exe - -3) Run the madCollection.exe installer and make sure to click on "madExcept4" before clicking the - Install button. After Install has been clicked, accept the license agreement and click Continue - Type "yes" in the textbox that appears next and click Continue. Finally, click the Install - button. After installation is complete, the components should appear in Delphi. - -4) Open the jcl folder and run Install.bat. Click the MPL 1.1 License tab and make sure to accept - the license. Then click the Install button and click Yes for any questions that are asked. - This will compile and install the JCL library which will appear when the Delphi IDE is next - opened. - -5) Open the jvcl folder and run install.bat. Click the Next button a number of times until it - changes into the Install button. The default settings will suffice, so now click the Install - button. This will install the JVCL library which will appear when the Delphi IDE is next - opened. - -6) Open the mxFlatPack folder and the Component subfolder. Open mxFlatPack_D7.dpk. This should - open the Delphi IDE. An error about not finding a resource file may appear, but this can be - ignored. Click the Install button in the Package window. - -7) When this is complete, go to Tools -> Environment Options on the menu and click the Library tab. - Click the ... button next to where it says "Library path". On the next window, click the ... - button. Locate the mxFlatPack\Component folder in the Browse window and click OK. Click the Add - button followed by the OK button. Click OK one more time and close the Delphi IDE. - -8) Open the indy9 folder. Open dclIndy70.dpk. This should open the Delphi IDE. An error about not - finding a resource file may appear, but this can be ignored. Click the Install button in the - Package window. An error about a package that can't be installed will appear, but this can be - ignored. Click OK on the error message and click the Install button a second time. - -9) When this is complete, go to Tools -> Environment Options on the menu and click the Library tab. - Click the ... button next to where it says "Library path". On the next window, click the ... - button. Locate the indy9 folder in the Browse window and click OK. Click the Add button - followed by the OK button. Click OK one more time and close the Delphi IDE. - -10) Open the flatstyle folder and open the Packages subfolder. Open FlatStyle_D6.dpk. This should - open the Delphi IDE. Close the FlatStyle_D6.dpk document window. Click the Install button in - the Package window. - -11) When this is complete, go to Tools -> Environment Options on the menu and click the Library tab. - Click the ... button next to where it says "Library path". On the next window, click the ... - button. Locate the flatstyle\Source folder in the Browse window and click OK. Click the Add - button followed by the OK button. Click OK one more time and close the Delphi IDE. - -At this point, all the dependent components should be installed and the AMXX installer project, -AMXInstaller.dpr, can now be built. +In deps.zip are the dependencies needed to build the AMXX installer project in Delphi 7 on Windows. + +For getting the dependencies, see https://wiki.alliedmods.net/Building_AMX_Mod_X + +Follow the directions below in order to install these: + +1) Make sure the Delphi IDE has been run at least once. Then make sure that the Delphi IDE is + closed before trying to install anything. + +2) Decompress the zip file and make sure the following are available: + + flatstyle\ + indy9\ + jcl\ + jvcl\ + mxFlatPack\ + madCollection.exe + +3) Run the madCollection.exe installer and make sure to click on "madExcept4" before clicking the + Install button. After Install has been clicked, accept the license agreement and click Continue + Type "yes" in the textbox that appears next and click Continue. Finally, click the Install + button. After installation is complete, the components should appear in Delphi. + +4) Open the jcl folder and run Install.bat. Click the MPL 1.1 License tab and make sure to accept + the license. Then click the Install button and click Yes for any questions that are asked. + This will compile and install the JCL library which will appear when the Delphi IDE is next + opened. + +5) Open the jvcl folder and run install.bat. Click the Next button a number of times until it + changes into the Install button. The default settings will suffice, so now click the Install + button. This will install the JVCL library which will appear when the Delphi IDE is next + opened. + +6) Open the mxFlatPack folder and the Component subfolder. Open mxFlatPack_D7.dpk. This should + open the Delphi IDE. An error about not finding a resource file may appear, but this can be + ignored. Click the Install button in the Package window. + +7) When this is complete, go to Tools -> Environment Options on the menu and click the Library tab. + Click the ... button next to where it says "Library path". On the next window, click the ... + button. Locate the mxFlatPack\Component folder in the Browse window and click OK. Click the Add + button followed by the OK button. Click OK one more time and close the Delphi IDE. + +8) Open the indy9 folder. Open dclIndy70.dpk. This should open the Delphi IDE. An error about not + finding a resource file may appear, but this can be ignored. Click the Install button in the + Package window. An error about a package that can't be installed will appear, but this can be + ignored. Click OK on the error message and click the Install button a second time. + +9) When this is complete, go to Tools -> Environment Options on the menu and click the Library tab. + Click the ... button next to where it says "Library path". On the next window, click the ... + button. Locate the indy9 folder in the Browse window and click OK. Click the Add button + followed by the OK button. Click OK one more time and close the Delphi IDE. + +10) Open the flatstyle folder and open the Packages subfolder. Open FlatStyle_D6.dpk. This should + open the Delphi IDE. Close the FlatStyle_D6.dpk document window. Click the Install button in + the Package window. + +11) When this is complete, go to Tools -> Environment Options on the menu and click the Library tab. + Click the ... button next to where it says "Library path". On the next window, click the ... + button. Locate the flatstyle\Source folder in the Browse window and click OK. Click the Add + button followed by the OK button. Click OK one more time and close the Delphi IDE. + +At this point, all the dependent components should be installed and the AMXX installer project, +AMXInstaller.dpr, can now be built. diff --git a/installer/installtool/App.xaml b/installer/installtool/App.xaml index 5da82941..434c28c4 100644 --- a/installer/installtool/App.xaml +++ b/installer/installtool/App.xaml @@ -1,8 +1,8 @@ - - - - - + + + + + diff --git a/installer/installtool/App.xaml.cs b/installer/installtool/App.xaml.cs index afd7add9..1d8180e4 100644 --- a/installer/installtool/App.xaml.cs +++ b/installer/installtool/App.xaml.cs @@ -1,16 +1,16 @@ -using System; -using System.Collections.Generic; -using System.Configuration; -using System.Data; -using System.Linq; -using System.Windows; - -namespace installtool -{ - /// - /// Interaction logic for App.xaml - /// - public partial class App : Application - { - } -} +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Windows; + +namespace installtool +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/installer/installtool/LicenseAccept.xaml b/installer/installtool/LicenseAccept.xaml index 674ba5ff..c7ac0ff0 100644 --- a/installer/installtool/LicenseAccept.xaml +++ b/installer/installtool/LicenseAccept.xaml @@ -1,305 +1,305 @@ - - - - - - - Please review the following license terms before installing AMX Mod X. - - - - - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Library General Public License instead.) You can apply it to -your programs, too. - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - The precise terms and conditions for copying, distribution and -modification follow. - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - NO WARRANTY - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS - How to Apply These Terms to Your New Programs - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - <one line to give the program's name and a brief idea of what it does.> - Copyright (C) <year> <name of author> - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -Also add information on how to contact you by electronic and paper mail. -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - <signature of Ty Coon>, 1 April 1989 - Ty Coon, President of Vice -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Library General -Public License instead of this License. - - - - - - + + + + + + + Please review the following license terms before installing AMX Mod X. + + + + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + The precise terms and conditions for copying, distribution and +modification follow. + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + NO WARRANTY + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + END OF TERMS AND CONDITIONS + How to Apply These Terms to Your New Programs + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +Also add information on how to contact you by electronic and paper mail. +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. + + + + + + diff --git a/installer/installtool/LicenseAccept.xaml.cs b/installer/installtool/LicenseAccept.xaml.cs index a5980eca..a94ac0b2 100644 --- a/installer/installtool/LicenseAccept.xaml.cs +++ b/installer/installtool/LicenseAccept.xaml.cs @@ -1,56 +1,56 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace installtool -{ - /// - /// Interaction logic for LicenseAccept.xaml - /// - public partial class LicenseAccept : UserControl - { - public bool Accepted { get; private set; } - - public static readonly RoutedEvent AgreementStateChangedEvent = - EventManager.RegisterRoutedEvent("AgreementStateChanged", - RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(LicenseAccept)); - - public LicenseAccept() - { - InitializeComponent(); - license_.Text = license_.Text.Replace(" ", ""); - } - - public event RoutedEventHandler AgreementStateChanged - { - add { AddHandler(AgreementStateChangedEvent, value); } - remove { RemoveHandler(AgreementStateChangedEvent, value); } - } - - private void agreeOption_Checked(object sender, RoutedEventArgs e) - { - RoutedEventArgs args = new RoutedEventArgs(AgreementStateChangedEvent); - - Accepted = true; - RaiseEvent(args); - } - - private void disagreeOption_Checked(object sender, RoutedEventArgs e) - { - RoutedEventArgs args = new RoutedEventArgs(AgreementStateChangedEvent); - - Accepted = false; - RaiseEvent(args); - } - } -} +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; + +namespace installtool +{ + /// + /// Interaction logic for LicenseAccept.xaml + /// + public partial class LicenseAccept : UserControl + { + public bool Accepted { get; private set; } + + public static readonly RoutedEvent AgreementStateChangedEvent = + EventManager.RegisterRoutedEvent("AgreementStateChanged", + RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(LicenseAccept)); + + public LicenseAccept() + { + InitializeComponent(); + license_.Text = license_.Text.Replace(" ", ""); + } + + public event RoutedEventHandler AgreementStateChanged + { + add { AddHandler(AgreementStateChangedEvent, value); } + remove { RemoveHandler(AgreementStateChangedEvent, value); } + } + + private void agreeOption_Checked(object sender, RoutedEventArgs e) + { + RoutedEventArgs args = new RoutedEventArgs(AgreementStateChangedEvent); + + Accepted = true; + RaiseEvent(args); + } + + private void disagreeOption_Checked(object sender, RoutedEventArgs e) + { + RoutedEventArgs args = new RoutedEventArgs(AgreementStateChangedEvent); + + Accepted = false; + RaiseEvent(args); + } + } +} diff --git a/installer/installtool/MainWindow.xaml b/installer/installtool/MainWindow.xaml index 9dd405b9..7dba2ca2 100644 --- a/installer/installtool/MainWindow.xaml +++ b/installer/installtool/MainWindow.xaml @@ -1,18 +1,18 @@ - - - - - - Welcome to the AMX Mod X {Version} Setup Wizard - - - - -