From 7598d90e90447c77e5162296c4495b1baabfa1c6 Mon Sep 17 00:00:00 2001 From: sfb Date: Thu, 13 Sep 2012 08:39:36 -0500 Subject: [PATCH] merge from default --- code/CMakeModules/nel.cmake | 2 +- .../opengl/driver_opengl_vertex_program.cpp | 13 +- .../src/translations/object_viewer_qt_fr.ts | 116 +++--- code/ryzom/client/client_default.cfg | 8 +- .../data/gamedev/interfaces_v3/actions.xml | 3 +- .../data/gamedev/interfaces_v3/commands.xml | 8 + .../data/gamedev/interfaces_v3/config.xml | 10 + .../gamedev/interfaces_v3/game_config.xml | 32 +- .../data/gamedev/interfaces_v3/guild.xml | 4 +- .../gamedev/interfaces_v3/info_player.xml | 12 +- .../data/gamedev/interfaces_v3/inventory.xml | 61 ++- .../data/gamedev/interfaces_v3/login_main.xml | 22 +- .../gamedev/interfaces_v3/out_v2_select.xml | 6 +- .../data/gamedev/interfaces_v3/reset.xml | 2 + .../data/gamedev/interfaces_v3/taskbar.xml | 49 ++- .../data/gamedev/interfaces_v3/widgets.xml | 256 ++++++------ code/ryzom/client/src/character_cl.cpp | 3 +- code/ryzom/client/src/client.cpp | 5 +- code/ryzom/client/src/client_cfg.cpp | 2 +- code/ryzom/client/src/client_chat_manager.cpp | 16 + code/ryzom/client/src/connection.cpp | 38 +- code/ryzom/client/src/entity_cl.cpp | 35 +- code/ryzom/client/src/entity_cl.h | 4 +- code/ryzom/client/src/far_tp.cpp | 1 - code/ryzom/client/src/http_client_curl.cpp | 2 +- .../src/interface_v3/action_handler_game.cpp | 38 +- .../src/interface_v3/action_handler_help.cpp | 2 +- .../src/interface_v3/action_handler_misc.cpp | 14 +- .../interface_v3/action_handler_phrase.cpp | 31 +- .../src/interface_v3/action_handler_ui.cpp | 2 +- .../interface_v3/bot_chat_page_mission.cpp | 4 +- .../src/interface_v3/chat_text_manager.cpp | 26 +- .../src/interface_v3/chat_text_manager.h | 3 + .../client/src/interface_v3/dbctrl_sheet.cpp | 6 +- .../client/src/interface_v3/group_html.cpp | 4 - .../src/interface_v3/group_html_webig.cpp | 2 +- .../interface_v3/group_in_scene_bubble.cpp | 4 +- .../interface_v3/group_in_scene_user_info.cpp | 126 +++--- .../src/interface_v3/interface_manager.cpp | 12 + .../src/interface_v3/interface_manager.h | 2 + .../src/interface_v3/sphrase_manager.cpp | 37 +- .../client/src/interface_v3/sphrase_manager.h | 4 +- code/ryzom/client/src/login.cpp | 16 +- code/ryzom/client/src/login.h | 17 + .../client/src/login_progress_post_thread.h | 2 +- code/ryzom/client/src/net_manager.cpp | 2 +- code/ryzom/client/src/player_cl.cpp | 2 +- code/ryzom/client/src/release.cpp | 2 +- .../client/src/string_manager_client.cpp | 22 +- code/ryzom/client/src/string_manager_client.h | 4 +- .../src/game_share}/http_client.cpp | 32 +- .../src/game_share}/http_client.h | 23 +- .../time_weather_season/time_and_season.h | 2 +- .../data_shard/client_commands_privileges.txt | 311 +++++++-------- code/ryzom/server/src/ai_service/ai_bot.cpp | 19 + code/ryzom/server/src/ai_service/ai_bot.h | 6 +- .../server/src/ai_service/ai_bot_npc.cpp | 2 + .../server/src/ai_service/ai_grp_npc.cpp | 23 ++ code/ryzom/server/src/ai_service/ai_grp_npc.h | 1 + .../server/src/ai_service/ai_outpost.cpp | 21 +- code/ryzom/server/src/ai_service/nf_grp.cpp | 13 +- .../server/src/ai_service/nf_grp_npc.cpp | 46 +++ .../src/ai_service/npc_description_msg.cpp | 7 +- .../src/backup_service/backup_file_access.cpp | 9 + .../src/entities_game_service/admin.cpp | 246 ++++++++++-- .../server/src/entities_game_service/admin.h | 1 + .../building_manager/building_physical.cpp | 7 + .../building_manager/destination.cpp | 7 + .../entities_game_service/client_messages.cpp | 19 +- .../creature_manager/creature.cpp | 6 +- .../creature_manager/creature_manager.cpp | 2 +- .../entity_manager/entity_callbacks.cpp | 23 +- .../game_item_manager/player_inv_xchg.cpp | 7 + .../guild_manager/guild.cpp | 8 + .../mission_manager/mission_step_talk.cpp | 21 +- .../phrase_manager/aura_effect.cpp | 11 + .../phrase_manager/bounce_effect.cpp | 22 +- .../phrase_manager/bounce_effect.h | 4 +- .../phrase_manager/combat_phrase.cpp | 2 +- .../phrase_manager/damage_aura_effect.cpp | 18 +- .../phrase_manager/damage_aura_effect.h | 2 +- .../phrase_manager/magic_action_attack.cpp | 2 +- .../phrase_utilities_functions.cpp | 23 +- .../phrase_manager/special_power_taunt.cpp | 13 +- .../player_manager/character.cpp | 363 ++++++++++++------ .../player_manager/character.h | 48 ++- .../player_manager/character_inlines.h | 6 + .../character_inventory_manipulation.cpp | 23 +- .../player_manager/persistent_player_data.cpp | 1 + .../player_manager/player_manager.cpp | 1 + .../progression/progression_pvp.cpp | 2 +- .../entities_game_service/pvp_manager/pvp.cpp | 2 +- .../pvp_manager/pvp_manager_2.cpp | 26 +- .../rs_remote_saves.h | 2 +- .../src/patchman_service/patchman_tester.h | 2 +- .../server/src/server_share/mysql_wrapper.cpp | 7 +- 96 files changed, 1669 insertions(+), 867 deletions(-) rename code/ryzom/{client/src => common/src/game_share}/http_client.cpp (91%) rename code/ryzom/{client/src => common/src/game_share}/http_client.h (83%) diff --git a/code/CMakeModules/nel.cmake b/code/CMakeModules/nel.cmake index 84b817752..624d47ab9 100644 --- a/code/CMakeModules/nel.cmake +++ b/code/CMakeModules/nel.cmake @@ -533,7 +533,7 @@ MACRO(NL_SETUP_BUILD) ENDIF(APPLE) IF(APPLE AND XCODE) - SET(CMAKE_OSX_SYSROOT "macosx" CACHE PATH "" FORCE) +# SET(CMAKE_OSX_SYSROOT "macosx" CACHE PATH "" FORCE) ELSEIF(APPLE AND NOT XCODE) IF(NOT CMAKE_OSX_DEPLOYMENT_TARGET) SET(CMAKE_OSX_DEPLOYMENT_TARGET "10.6") diff --git a/code/nel/src/3d/driver/opengl/driver_opengl_vertex_program.cpp b/code/nel/src/3d/driver/opengl/driver_opengl_vertex_program.cpp index ae47ac7ec..dc2a4243a 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl_vertex_program.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl_vertex_program.cpp @@ -43,7 +43,8 @@ namespace NLDRIVERGL { // *************************************************************************** CVertexProgamDrvInfosGL::CVertexProgamDrvInfosGL (CDriverGL *drv, ItVtxPrgDrvInfoPtrList it) : IVertexProgramDrvInfos (drv, it) { - H_AUTO_OGL(CVertexProgamDrvInfosGL_CVertexProgamDrvInfosGL) + H_AUTO_OGL(CVertexProgamDrvInfosGL_CVertexProgamDrvInfosGL); + // Extension must exist nlassert (drv->_Extensions.NVVertexProgram || drv->_Extensions.EXTVertexShader @@ -87,7 +88,7 @@ bool CDriverGL::isVertexProgramEmulated () const // *************************************************************************** bool CDriverGL::activeNVVertexProgram (CVertexProgram *program) { - H_AUTO_OGL(CVertexProgamDrvInfosGL_activeNVVertexProgram) + H_AUTO_OGL(CVertexProgamDrvInfosGL_activeNVVertexProgram); #ifndef USE_OPENGLES // Setup or unsetup ? @@ -209,7 +210,8 @@ bool CDriverGL::activeNVVertexProgram (CVertexProgram *program) static inline GLenum convSwizzleToGLFormat(CVPSwizzle::EComp comp, bool negate) { - H_AUTO_OGL(convSwizzleToGLFormat) + H_AUTO_OGL(convSwizzleToGLFormat); + if (!negate) { switch(comp) @@ -1348,12 +1350,10 @@ static void ARBVertexProgramDumpInstr(const CVPInstruction &instr, std::string & } - - // *************************************************************************** bool CDriverGL::setupARBVertexProgram (const CVPParser::TProgram &inParsedProgram, GLuint id, bool &specularWritten) { - H_AUTO_OGL(CDriverGL_setupARBVertexProgram) + H_AUTO_OGL(CDriverGL_setupARBVertexProgram); #ifndef USE_OPENGLES // tmp @@ -1571,7 +1571,6 @@ bool CDriverGL::activeARBVertexProgram (CVertexProgram *program) #endif } - // *************************************************************************** bool CDriverGL::activeEXTVertexShader (CVertexProgram *program) { diff --git a/code/nel/tools/3d/object_viewer_qt/src/translations/object_viewer_qt_fr.ts b/code/nel/tools/3d/object_viewer_qt/src/translations/object_viewer_qt_fr.ts index d980a0914..f5c0c68af 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/translations/object_viewer_qt_fr.ts +++ b/code/nel/tools/3d/object_viewer_qt/src/translations/object_viewer_qt_fr.ts @@ -6,17 +6,17 @@ Failed to load Core plugin: %1 - + Impossible de charger le plugin principal: %1 Object Viewer Qt - Plugin loader messages - + Object Viewer Qt - Messages du chargeur de plugins Could not find ovqt_plugin_core in %1 - + Impossible de trouver ovqt_plugin_core dans %1 @@ -24,42 +24,42 @@ Animation control - + Contrôle de l'animation Loop - + En boucle In place - + En place Increment pos - + Incrémenter la position Use the PlayList - + Utiliser la liste de lecture Use the Mixer - + Utilisateur le Mélangeur Play/Pause - + Lecture/Pause Stop - + Stop @@ -67,57 +67,57 @@ Animation set manager - + Gestionnaire d'ensemble d'animations Edited object: - + Objet en cours d'édition : Animations: - + Animations : Add anim - + Ajouter animation Skeleton weight template: - + Modèle de poids de squelette : Add swt - + Ajouter swt Animations playlist: - + Liste de lecture d'animations : Unload all anim and swt files - + Décharger toutes les animations et les fichiers swt Add anim in PlayList - + Ajouter une animation dans la liste de lecture Delete anim from PlayList - + Supprimer une animation de la liste de lecture Set duration of time in Animation control - + Définir la durée dans le contrôle de l'animation @@ -130,7 +130,7 @@ Constant - + Constante @@ -160,12 +160,12 @@ Date - + Date Position - + Position @@ -175,12 +175,12 @@ Speed - + Vitesse Random - + Aléatoire @@ -2593,7 +2593,7 @@ Power: - + Puissance : @@ -2603,17 +2603,17 @@ Frequency - + Fréquence Ambient color - + Couleur ambiante Diffuse color - + Couleur diffuse @@ -3119,67 +3119,67 @@ Reason: %3 OpenGL - + OpenGL Direct3D - + Direct3D Qt Style - + Style Qt Style - + Style Use style's standard palette - + Utiliser la palette standard du style Font - + Police ... - + ... Graphics settings - + Options graphiques Driver - + Pilote Bloom effect - + Bloom Bloom density - + Densité du bloom Square bloom - + Bloom carré Enable bloom effect - + Activer le bloom @@ -3188,17 +3188,17 @@ Reason: %3 Open NeL anim file - + Ouvrir une animation NeL NeL anim files (*.anim);; - + Animations NeL (*.anim);; NeL Skeleton Weight Template files (*.swt);; - + NeL Skeleton Weight Template (*.swt);; @@ -3336,7 +3336,7 @@ Reason: %3 Set user param - + Définir un paramètre utilisateur @@ -3344,7 +3344,7 @@ Reason: %3 Bin operator - + Opérateur binaire @@ -3556,7 +3556,7 @@ Reason: %3 Num samples: - + Nombre d'échantillons : @@ -3801,17 +3801,17 @@ Reason: %3 Num particles: - + Nombre de particules : Num wanted faces: - + Nombre de faces souhaitées : System time: - + Temps système : @@ -3819,7 +3819,7 @@ Reason: %3 Are you sure? - + Etes-vous sûr ? @@ -4077,7 +4077,7 @@ Reason: %3 Skeleton scale editor - + Editeur de l'échelle du squelette @@ -4121,12 +4121,12 @@ Reason: %3 Failed to save file! - + Impossible d'enregistrer le fichier ! Failed to load file! - + Impossible de charger le fichier ! @@ -4142,7 +4142,7 @@ Reason: %3 empty - + vide diff --git a/code/ryzom/client/client_default.cfg b/code/ryzom/client/client_default.cfg index 311b7cddd..f95a5c2b6 100644 --- a/code/ryzom/client/client_default.cfg +++ b/code/ryzom/client/client_default.cfg @@ -476,7 +476,7 @@ XMLR2EDInterfaceFiles = { "r2ed.xml", "r2_triggers.xml", - "r2_logic_entities.xml", + "r2_logic_entities.xml", "r2ed_acts.xml", "r2ed_scenario.xml", "r2ed_connect.xml" @@ -560,11 +560,11 @@ HelpPages = "de=http://forums.ryzom.com/forum/showthread.php?t=29131" }; -WebIgMainDomain = "atys.ryzom.com"; +WebIgMainDomain = "app.ryzom.com"; WebIgTrustedDomains = { - "atys.ryzom.com" + "api.ryzom.com", "app.ryzom.com" }; -PatchletUrl = "http://atys.ryzom.com/start/app_patchlet.php?patch=preload"; +PatchletUrl = "http://app.ryzom.com/app_patchlet/index.php?patch=preload"; SelectedSlot = 0; diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/actions.xml b/code/ryzom/client/data/gamedev/interfaces_v3/actions.xml index 4596702eb..3486e0298 100644 --- a/code/ryzom/client/data/gamedev/interfaces_v3/actions.xml +++ b/code/ryzom/client/data/gamedev/interfaces_v3/actions.xml @@ -39,7 +39,8 @@ - + + diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/commands.xml b/code/ryzom/client/data/gamedev/interfaces_v3/commands.xml index 821225a03..6fdb5d32a 100644 --- a/code/ryzom/client/data/gamedev/interfaces_v3/commands.xml +++ b/code/ryzom/client/data/gamedev/interfaces_v3/commands.xml @@ -63,6 +63,9 @@ + + + @@ -88,6 +91,11 @@ + + + + + diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/config.xml b/code/ryzom/client/data/gamedev/interfaces_v3/config.xml index c2fa6a71f..630ecd4c6 100644 --- a/code/ryzom/client/data/gamedev/interfaces_v3/config.xml +++ b/code/ryzom/client/data/gamedev/interfaces_v3/config.xml @@ -318,6 +318,12 @@ + + @@ -3389,6 +3395,10 @@ This MUST follow the Enum MISSION_DESC::TIconId + + diff --git a/code/ryzom/client/data/gamedev/interfaces_v3/game_config.xml b/code/ryzom/client/data/gamedev/interfaces_v3/game_config.xml index 560d471ff..0a5c3c085 100644 --- a/code/ryzom/client/data/gamedev/interfaces_v3/game_config.xml +++ b/code/ryzom/client/data/gamedev/interfaces_v3/game_config.xml @@ -18,7 +18,7 @@ color="255 255 255 255" fontsize="14" shadow="true" - case_mode="%case_first_string_letter_up" /> + case_mode="%case_normal" />