Merge with develop

This commit is contained in:
kervala 2015-04-05 16:45:34 +02:00
parent 47118d7a6d
commit bebc738064
148 changed files with 7366 additions and 38 deletions

View file

@ -54,11 +54,13 @@ public:
/** generate and return a bitmap /** generate and return a bitmap
* \param c the unicode char * \param c the unicode char
* \param size size of the generated font in ??? format * \param size size of the generated font in ??? format
* \param embolden set embolden style (bold)
* \param oblique set oblique style (slanted, italic)
* \param width width of the generated bitmap, this value is set by this function * \param width width of the generated bitmap, this value is set by this function
* \param height height of the generated bitmap, this value is set by this function * \param height height of the generated bitmap, this value is set by this function
* \param pitch pitch of the generated bitmap (+ or - the number of bytes per row), this value is set by this function * \param pitch pitch of the generated bitmap (+ or - the number of bytes per row), this value is set by this function
*/ */
uint8 *getBitmap (ucchar c, uint32 size, uint32 &width, uint32 &height, uint32 &pitch, sint32 &left, sint32 &top, sint32 &advx, uint32 &glyphIndex); uint8 *getBitmap (ucchar c, uint32 size, bool embolden, bool oblique, uint32 &width, uint32 &height, uint32 &pitch, sint32 &left, sint32 &top, sint32 &advx, uint32 &glyphIndex);
/** returns the width and height of a character using a specific size and /** returns the width and height of a character using a specific size and
* *

View file

@ -102,6 +102,8 @@ public:
* \param fontGen font generator * \param fontGen font generator
* \param color primitive blocks color * \param color primitive blocks color
* \param fontSize font size * \param fontSize font size
* \param embolden font style bold
* \param oblique font style slanted (italic)
* \param desc display descriptor (screen size, font ratio) * \param desc display descriptor (screen size, font ratio)
* \param output computed string * \param output computed string
* \param keep800x600Ratio true if you want that CFontManager look at Driver window size, and resize fontSize so it keeps same size... * \param keep800x600Ratio true if you want that CFontManager look at Driver window size, and resize fontSize so it keeps same size...
@ -110,6 +112,8 @@ public:
CFontGenerator *fontGen, CFontGenerator *fontGen,
const NLMISC::CRGBA &color, const NLMISC::CRGBA &color,
uint32 fontSize, uint32 fontSize,
bool embolden,
bool oblique,
IDriver *driver, IDriver *driver,
CComputedString& output, CComputedString& output,
bool keep800x600Ratio= true); bool keep800x600Ratio= true);
@ -121,6 +125,8 @@ public:
CFontGenerator *fontGen, CFontGenerator *fontGen,
const NLMISC::CRGBA &color, const NLMISC::CRGBA &color,
uint32 fontSize, uint32 fontSize,
bool embolden,
bool oblique,
IDriver *driver, IDriver *driver,
CComputedString &output, CComputedString &output,
bool keep800x600Ratio= true); bool keep800x600Ratio= true);
@ -132,6 +138,8 @@ public:
CFontGenerator *fontGen, CFontGenerator *fontGen,
const NLMISC::CRGBA &color, const NLMISC::CRGBA &color,
uint32 fontSize, uint32 fontSize,
bool embolden,
bool oblique,
IDriver *driver, IDriver *driver,
CComputedString &output, CComputedString &output,
bool keep800x600Ratio= true); bool keep800x600Ratio= true);

View file

@ -74,6 +74,10 @@ public:
void setFontSize (uint32 fontSize) { _FontSize = fontSize; } void setFontSize (uint32 fontSize) { _FontSize = fontSize; }
void setEmbolden (bool b) { _Embolden = b; }
void setOblique (bool b) { _Oblique = b; }
void setHotSpot (CComputedString::THotSpot hotSpot) { _HotSpot = hotSpot; } void setHotSpot (CComputedString::THotSpot hotSpot) { _HotSpot = hotSpot; }
void setScaleX (float scaleX) { _ScaleX = scaleX; } void setScaleX (float scaleX) { _ScaleX = scaleX; }
@ -101,6 +105,10 @@ public:
uint32 getFontSize () const { return _FontSize; } uint32 getFontSize () const { return _FontSize; }
bool getEmbolden () const { return _Embolden; }
bool getOblique () const { return _Oblique; }
CComputedString::THotSpot getHotSpot() const { return _HotSpot; } CComputedString::THotSpot getHotSpot() const { return _HotSpot; }
float getScaleX() const { return _ScaleX; } float getScaleX() const { return _ScaleX; }
@ -240,7 +248,7 @@ public:
nlassert(_FontGen); nlassert(_FontGen);
// compute the string just one time // compute the string just one time
_FontManager->computeString (ucstr, _FontGen, _Color, _FontSize, _Driver, _TempString, _Keep800x600Ratio); _FontManager->computeString (ucstr, _FontGen, _Color, _FontSize, _Embolden, _Oblique, _Driver, _TempString, _Keep800x600Ratio);
// draw shaded // draw shaded
if (_Shaded) if (_Shaded)
@ -279,7 +287,7 @@ public:
// compute the string just one time // compute the string just one time
char *str; char *str;
NLMISC_CONVERT_VARGS (str, format, NLMISC::MaxCStringSize); NLMISC_CONVERT_VARGS (str, format, NLMISC::MaxCStringSize);
_FontManager->computeString (str, _FontGen, _Color, _FontSize, _Driver, _TempString, _Keep800x600Ratio); _FontManager->computeString (str, _FontGen, _Color, _FontSize, _Embolden, _Oblique, _Driver, _TempString, _Keep800x600Ratio);
// draw shaded // draw shaded
if (_Shaded) if (_Shaded)
@ -334,7 +342,7 @@ public:
*/ */
void computeString (const std::string& s, CComputedString& output) void computeString (const std::string& s, CComputedString& output)
{ {
_FontManager->computeString (s, _FontGen, _Color, _FontSize, _Driver, output, _Keep800x600Ratio); _FontManager->computeString (s, _FontGen, _Color, _FontSize, _Embolden, _Oblique, _Driver, output, _Keep800x600Ratio);
} }
/** /**
@ -345,12 +353,12 @@ public:
*/ */
void computeString (const ucstring& s, CComputedString& output) void computeString (const ucstring& s, CComputedString& output)
{ {
_FontManager->computeString (s, _FontGen, _Color, _FontSize, _Driver, output, _Keep800x600Ratio); _FontManager->computeString (s, _FontGen, _Color, _FontSize, _Embolden, _Oblique, _Driver, output, _Keep800x600Ratio);
} }
void computeStringInfo (const ucstring& s, CComputedString& output) void computeStringInfo (const ucstring& s, CComputedString& output)
{ {
_FontManager->computeStringInfo (s, _FontGen, _Color, _FontSize, _Driver, output, _Keep800x600Ratio); _FontManager->computeStringInfo (s, _FontGen, _Color, _FontSize, _Embolden, _Oblique, _Driver, output, _Keep800x600Ratio);
} }
/// Debug : write to the disk the texture cache /// Debug : write to the disk the texture cache
@ -381,6 +389,10 @@ private:
/// Font size; /// Font size;
uint32 _FontSize; uint32 _FontSize;
bool _Embolden;
bool _Oblique;
/// Current text color /// Current text color
NLMISC::CRGBA _Color; NLMISC::CRGBA _Color;

View file

@ -66,6 +66,10 @@ public:
void setColor(NLMISC::CRGBA color); void setColor(NLMISC::CRGBA color);
void setFontSize(uint32 fontSize); void setFontSize(uint32 fontSize);
uint32 getFontSize() const; uint32 getFontSize() const;
void setEmbolden(bool b);
bool getEmbolden() const;
void setOblique(bool b);
bool getOblique() const;
void setHotSpot(THotSpot hotSpot); void setHotSpot(THotSpot hotSpot);
THotSpot getHotSpot() const; THotSpot getHotSpot() const;
void setScaleX(float scaleX); void setScaleX(float scaleX);

View file

@ -43,6 +43,8 @@ public:
ucchar Char; ucchar Char;
CFontGenerator *FontGenerator; CFontGenerator *FontGenerator;
sint Size; sint Size;
bool Embolden;
bool Oblique;
// The less recently used infos // The less recently used infos
@ -66,6 +68,8 @@ public:
ucchar Char; ucchar Char;
CFontGenerator *FontGenerator; CFontGenerator *FontGenerator;
sint Size; sint Size;
bool Embolden;
bool Oblique;
uint32 getVal(); uint32 getVal();
//bool operator < (const SLetterKey&k) const; //bool operator < (const SLetterKey&k) const;

View file

@ -137,6 +137,24 @@ public:
* \return the font size * \return the font size
*/ */
virtual uint32 getFontSize () const = 0; virtual uint32 getFontSize () const = 0;
/**
* set embolden (bold) state
* \param embolden the embbolden state
*/
virtual void setEmbolden (bool b) = 0;
/**
* \return the embolden state
*/
virtual bool getEmbolden () const = 0;
/**
* set oblique (italic) state
* \param oblique the oblique state
*/
virtual void setOblique (bool b) = 0;
/**
* \return the oblique state
*/
virtual bool getOblique () const = 0;
/** /**
* set the hot spot * set the hot spot
* \param fonSize the font size * \param fonSize the font size

View file

@ -425,6 +425,38 @@ namespace NLGUI
return _FontSize.back(); return _FontSize.back();
} }
std::vector<uint> _FontWeight;
inline uint getFontWeight() const
{
if (_FontWeight.empty())
return 400;
return _FontWeight.back();
}
std::vector<bool> _FontOblique;
inline uint getFontOblique() const
{
if (_FontOblique.empty())
return false;
return _FontOblique.back();
}
std::vector<bool> _FontUnderlined;
inline uint getFontUnderlined() const
{
if (_FontUnderlined.empty())
return false;
return _FontUnderlined.back();
}
std::vector<bool> _FontStrikeThrough;
inline uint getFontStrikeThrough() const
{
if (_FontStrikeThrough.empty())
return false;
return _FontStrikeThrough.back();
}
// Current link // Current link
std::vector<std::string> _Link; std::vector<std::string> _Link;
inline const char *getLink() const inline const char *getLink() const
@ -544,6 +576,26 @@ namespace NLGUI
}; };
std::vector<CCellParams> _CellParams; std::vector<CCellParams> _CellParams;
class CStyleParams
{
public:
CStyleParams () : TextColor(255,255,255,255)
{
FontSize=10;
FontWeight=400;
FontOblique=false;
Underlined=false;
StrikeThrough=false;
}
uint FontSize;
uint FontWeight;
bool FontOblique;
NLMISC::CRGBA TextColor;
bool Underlined;
bool StrikeThrough;
};
// Indentation // Indentation
uint _Indent; uint _Indent;
@ -613,8 +665,10 @@ namespace NLGUI
typedef std::map<uint32, NLMISC::CRefPtr<CGroupHTML> > TGroupHtmlByUIDMap; typedef std::map<uint32, NLMISC::CRefPtr<CGroupHTML> > TGroupHtmlByUIDMap;
static TGroupHtmlByUIDMap _GroupHtmlByUID; static TGroupHtmlByUIDMap _GroupHtmlByUID;
private: // read style attribute
void getStyleParams(const std::string &styleString, CStyleParams &style, bool inherit = true);
private:
// decode all HTML entities // decode all HTML entities
static ucstring decodeHTMLEntities(const ucstring &str); static ucstring decodeHTMLEntities(const ucstring &str);

View file

@ -218,6 +218,13 @@ namespace NLGUI
HTML_ATTR(DIV,STYLE), HTML_ATTR(DIV,STYLE),
}; };
enum
{
HTML_ATTR(SPAN,CLASS) = 0,
HTML_ATTR(SPAN,ID),
HTML_ATTR(SPAN,STYLE),
};
#undef HTML_ATTR #undef HTML_ATTR

View file

@ -81,6 +81,8 @@ namespace NLGUI
void setText (const ucstring &text); void setText (const ucstring &text);
void setFontSize (sint nFontSize); void setFontSize (sint nFontSize);
void setEmbolden (bool nEmbolden);
void setOblique (bool nOblique);
void setColor (const NLMISC::CRGBA &color); void setColor (const NLMISC::CRGBA &color);
void setShadow (bool bShadow); void setShadow (bool bShadow);
void setShadowOutline (bool bShadowOutline); void setShadowOutline (bool bShadowOutline);
@ -101,6 +103,8 @@ namespace NLGUI
ucstring getText() const { return _Text; } ucstring getText() const { return _Text; }
sint getFontSize() const; sint getFontSize() const;
bool getEmbolden() { return _Embolden; }
bool getOblique() { return _Oblique; }
NLMISC::CRGBA getColor() { return _Color; } NLMISC::CRGBA getColor() { return _Color; }
bool getShadow() { return _Shadow; } bool getShadow() { return _Shadow; }
bool getShadowOutline() { return _ShadowOutline; } bool getShadowOutline() { return _ShadowOutline; }
@ -125,6 +129,8 @@ namespace NLGUI
uint getLastLineW () const; uint getLastLineW () const;
void setUnderlined (bool underlined) { _Underlined = underlined; } void setUnderlined (bool underlined) { _Underlined = underlined; }
bool getUnderlined () const { return _Underlined; } bool getUnderlined () const { return _Underlined; }
void setStrikeThrough (bool linethrough) { _StrikeThrough = linethrough; }
bool getStrikeThrough () const { return _StrikeThrough; }
// true if the viewText is a single line clamped. // true if the viewText is a single line clamped.
bool isSingleLineTextClamped() const {return _SingleLineTextClamped;} bool isSingleLineTextClamped() const {return _SingleLineTextClamped;}
@ -220,6 +226,8 @@ namespace NLGUI
NL3D::UTextContext::CStringInfo _Info; NL3D::UTextContext::CStringInfo _Info;
/// the font size /// the font size
sint _FontSize; sint _FontSize;
bool _Embolden;
bool _Oblique;
// width of the font in pixel. Just a Hint for tabing format (computed with '_') // width of the font in pixel. Just a Hint for tabing format (computed with '_')
uint _FontWidth; uint _FontWidth;
// height of the font in pixel. // height of the font in pixel.
@ -374,6 +382,7 @@ namespace NLGUI
bool _TextSelection : 1; bool _TextSelection : 1;
bool _InvalidTextContext : 1; bool _InvalidTextContext : 1;
bool _Underlined : 1; bool _Underlined : 1;
bool _StrikeThrough : 1;
bool _ContinuousUpdate : 1; bool _ContinuousUpdate : 1;
bool _Setuped : 1; bool _Setuped : 1;

View file

@ -580,7 +580,11 @@ struct CEntityIdHashMapTraits
size_t operator() (const NLMISC::CEntityId &id ) const size_t operator() (const NLMISC::CEntityId &id ) const
{ {
uint64 hash64 = id.getUniqueId(); uint64 hash64 = id.getUniqueId();
return size_t(hash64) ^ size_t( hash64 >> 32 ); #if (HAVE_X86_64)
return (size_t)hash64;
#else
return (size_t)hash64 ^ (size_t)(hash64 >> 32);
#endif
//return size_t(id.getShortId()); //return size_t(id.getShortId());
} }
bool operator() (const NLMISC::CEntityId &id1, const NLMISC::CEntityId &id2) const bool operator() (const NLMISC::CEntityId &id1, const NLMISC::CEntityId &id2) const

View file

@ -417,12 +417,12 @@ extern void operator delete[](void *p) throw();
# define CHashMap stdext::hash_map # define CHashMap stdext::hash_map
# define CHashSet stdext::hash_set # define CHashSet stdext::hash_set
# define CHashMultiMap stdext::hash_multimap # define CHashMultiMap stdext::hash_multimap
#elif defined(NL_COMP_VC) && (NL_COMP_VC_VERSION >= 120) #elif defined(NL_COMP_VC) && (NL_COMP_VC_VERSION >= 100)
# include <hash_map> # include <unordered_map>
# include <hash_set> # include <unordered_set>
# define CHashMap ::std::hash_map # define CHashMap ::std::unordered_map
# define CHashSet ::std::hash_set # define CHashSet ::std::unordered_set
# define CHashMultiMap ::std::hash_multimap # define CHashMultiMap ::std::unordered_multimap
#elif defined(NL_COMP_GCC) // GCC4 #elif defined(NL_COMP_GCC) // GCC4
# include <ext/hash_map> # include <ext/hash_map>
# include <ext/hash_set> # include <ext/hash_set>

View file

@ -363,7 +363,7 @@ struct CUCStringHashMapTraits
} }
bool operator() (const ucstring &id1, const ucstring &id2) const bool operator() (const ucstring &id1, const ucstring &id2) const
{ {
return id1.size() < id2.size(); return id1 < id2;
} }
}; };

View file

@ -0,0 +1,74 @@
// Public domain hash functions
#ifndef NLMISC_WANG_HASH_H
#define NLMISC_WANG_HASH_H
#include "types_nl.h"
namespace NLMISC {
// http://burtleburtle.net/bob/hash/integer.html
inline uint32 wangHash(uint32 a)
{
a = (a ^ 61) ^ (a >> 16);
a = a + (a << 3);
a = a ^ (a >> 4);
a = a * 0x27d4eb2d;
a = a ^ (a >> 15);
return a;
}
// http://naml.us/blog/2012/03
inline uint64 wangHash64(uint64 key)
{
key = (~key) + (key << 21); // key = (key << 21) - key - 1;
key = key ^ (key >> 24);
key = (key + (key << 3)) + (key << 8); // key * 265
key = key ^ (key >> 14);
key = (key + (key << 2)) + (key << 4); // key * 21
key = key ^ (key >> 28);
key = key + (key << 31);
return key;
}
// http://naml.us/blog/2012/03 Inverse 64-bit wang hash
inline uint64 wangHash64Inv(uint64 key)
{
uint64 tmp;
// Invert key = key + (key << 31)
tmp = key - (key << 31);
key = key - (tmp << 31);
// Invert key = key ^ (key >> 28)
tmp = key^key >> 28;
key = key^tmp >> 28;
// Invert key *= 21
key *= 14933078535860113213u;
// Invert key = key ^ (key >> 14)
tmp = key^key >> 14;
tmp = key^tmp >> 14;
tmp = key^tmp >> 14;
key = key^tmp >> 14;
// Invert key *= 265
key *= 15244667743933553977u;
// Invert key = key ^ (key >> 24)
tmp = key^key >> 24;
key = key^tmp >> 24;
// Invert key = (~key) + (key << 21)
tmp = ~key;
tmp = ~(key - (tmp << 21));
tmp = ~(key - (tmp << 21));
key = ~(key - (tmp << 21));
return key;
}
} /* namespace NLMISC */
#endif // NLMISC_WANG_HASH_H

View file

@ -71,6 +71,19 @@ struct CContextMatcher
return memcmp(JokersValues, other.JokersValues, sizeof(uint32)*NbJoker) == 0; return memcmp(JokersValues, other.JokersValues, sizeof(uint32)*NbJoker) == 0;
} }
bool operator<(const CContextMatcher &other) const
{
if (UseRandom)
if (RandomValue != other.RandomValue)
return RandomValue < other.RandomValue;
int cmp = memcmp(JokersValues, other.JokersValues, sizeof(uint32) * NbJoker);
if (cmp != 0)
return cmp < 0;
return false;
}
size_t getHashValue() const size_t getHashValue() const
{ {
return size_t(HashValue); return size_t(HashValue);
@ -89,10 +102,9 @@ struct CContextMatcher
} }
bool operator() (const CContextMatcher &patternMatcher1, const CContextMatcher &patternMatcher2) const bool operator() (const CContextMatcher &patternMatcher1, const CContextMatcher &patternMatcher2) const
{ {
return patternMatcher1.getHashValue() < patternMatcher2.getHashValue(); return patternMatcher1 < patternMatcher2;
} }
}; };
}; };

View file

@ -79,16 +79,16 @@ int main(int argc, char **argv)
// 4th is the size of the font. 5th is a pointer to the video driver. // 4th is the size of the font. 5th is a pointer to the video driver.
// 6th is the resulting computed string. // 6th is the resulting computed string.
CComputedString csRotation; CComputedString csRotation;
fontManager.computeString ("cs Rotation", tc.getFontGenerator(), CRGBA(255,255,255), 70, CNELU::Driver, csRotation); fontManager.computeString ("cs Rotation", tc.getFontGenerator(), CRGBA(255,255,255), 70, false, false, CNELU::Driver, csRotation);
CComputedString cs3d; CComputedString cs3d;
fontManager.computeString ("cs 3d", tc.getFontGenerator(), CRGBA(255,127,0), 75, CNELU::Driver, cs3d); fontManager.computeString ("cs 3d", tc.getFontGenerator(), CRGBA(255,127,0), 75, false, false, CNELU::Driver, cs3d);
// generate an Unicode string. // generate an Unicode string.
ucstring ucs("cs Unicode String"); ucstring ucs("cs Unicode String");
CComputedString csUnicode; CComputedString csUnicode;
fontManager.computeString (ucs, tc.getFontGenerator(), CRGBA(32,64,127), 75, CNELU::Driver, csUnicode); fontManager.computeString (ucs, tc.getFontGenerator(), CRGBA(32,64,127), 75, false, false, CNELU::Driver, csUnicode);
// look at event example // look at event example
CNELU::EventServer.addEmitter(CNELU::Driver->getEventEmitter()); CNELU::EventServer.addEmitter(CNELU::Driver->getEventEmitter());

View file

@ -31,6 +31,7 @@ using namespace std;
#include <ft2build.h> #include <ft2build.h>
#include FT_FREETYPE_H #include FT_FREETYPE_H
#include FT_SYNTHESIS_H
// for freetype 2.0 // for freetype 2.0
#ifdef FTERRORS_H #ifdef FTERRORS_H
@ -171,7 +172,7 @@ void CFontGenerator::getSizes (ucchar c, uint32 size, uint32 &width, uint32 &hei
height = _Face->glyph->metrics.height >> 6; height = _Face->glyph->metrics.height >> 6;
} }
uint8 *CFontGenerator::getBitmap (ucchar c, uint32 size, uint32 &width, uint32 &height, uint32 &pitch, sint32 &left, sint32 &top, sint32 &advx, uint32 &glyphIndex) uint8 *CFontGenerator::getBitmap (ucchar c, uint32 size, bool embolden, bool oblique, uint32 &width, uint32 &height, uint32 &pitch, sint32 &left, sint32 &top, sint32 &advx, uint32 &glyphIndex)
{ {
FT_Error error; FT_Error error;
@ -209,6 +210,16 @@ uint8 *CFontGenerator::getBitmap (ucchar c, uint32 size, uint32 &width, uint32 &
return NULL; return NULL;
} }
if (embolden)
{
FT_GlyphSlot_Embolden(_Face->glyph);
}
if (oblique)
{
FT_GlyphSlot_Oblique(_Face->glyph);
}
// convert to an anti-aliased bitmap // convert to an anti-aliased bitmap
error = FT_Render_Glyph (_Face->glyph, ft_render_mode_normal); error = FT_Render_Glyph (_Face->glyph, ft_render_mode_normal);
if (error) if (error)
@ -389,7 +400,7 @@ void CFontGenerator::getSizes (ucchar c, uint32 size, uint32 &width, uint32 &hei
HFONT hFont = NULL; HFONT hFont = NULL;
uint32 CurrentFontSize = 0; uint32 CurrentFontSize = 0;
uint8 *CFontGenerator::getBitmap (ucchar c, uint32 size, uint32 &width, uint32 &height, uint32 &pitch, sint32 &left, sint32 &top, sint32 &advx, uint32 &glyphIndex) uint8 *CFontGenerator::getBitmap (ucchar c, uint32 size, bool embolden, bool oblique, uint32 &width, uint32 &height, uint32 &pitch, sint32 &left, sint32 &top, sint32 &advx, uint32 &glyphIndex)
{ {
/* FT_Error error; /* FT_Error error;

View file

@ -64,6 +64,8 @@ void CFontManager::computeString (const std::string &s,
CFontGenerator *fontGen, CFontGenerator *fontGen,
const NLMISC::CRGBA &color, const NLMISC::CRGBA &color,
uint32 fontSize, uint32 fontSize,
bool embolden,
bool oblique,
IDriver *driver, IDriver *driver,
CComputedString &output, CComputedString &output,
bool keep800x600Ratio) bool keep800x600Ratio)
@ -71,7 +73,7 @@ void CFontManager::computeString (const std::string &s,
// static to avoid reallocation // static to avoid reallocation
static ucstring ucs; static ucstring ucs;
ucs= s; ucs= s;
computeString(ucs, fontGen, color, fontSize, driver, output, keep800x600Ratio); computeString(ucs, fontGen, color, fontSize, embolden, oblique, driver, output, keep800x600Ratio);
} }
@ -80,6 +82,8 @@ void CFontManager::computeString (const ucstring &s,
CFontGenerator *fontGen, CFontGenerator *fontGen,
const NLMISC::CRGBA &color, const NLMISC::CRGBA &color,
uint32 fontSize, uint32 fontSize,
bool embolden,
bool oblique,
IDriver *driver, IDriver *driver,
CComputedString &output, CComputedString &output,
bool keep800x600Ratio) bool keep800x600Ratio)
@ -147,6 +151,8 @@ void CFontManager::computeString (const ucstring &s,
k.Char = s[i]; k.Char = s[i];
k.FontGenerator = fontGen; k.FontGenerator = fontGen;
k.Size = fontSize; k.Size = fontSize;
k.Embolden = embolden;
k.Oblique = oblique;
CTextureFont::SLetterInfo *pLI = pTexFont->getLetterInfo (k); CTextureFont::SLetterInfo *pLI = pTexFont->getLetterInfo (k);
if(pLI != NULL) if(pLI != NULL)
{ {
@ -227,6 +233,8 @@ void CFontManager::computeStringInfo ( const ucstring &s,
CFontGenerator *fontGen, CFontGenerator *fontGen,
const NLMISC::CRGBA &color, const NLMISC::CRGBA &color,
uint32 fontSize, uint32 fontSize,
bool embolden,
bool oblique,
IDriver *driver, IDriver *driver,
CComputedString &output, CComputedString &output,
bool keep800x600Ratio ) bool keep800x600Ratio )
@ -259,6 +267,8 @@ void CFontManager::computeStringInfo ( const ucstring &s,
k.Char = s[i]; k.Char = s[i];
k.FontGenerator = fontGen; k.FontGenerator = fontGen;
k.Size = fontSize; k.Size = fontSize;
k.Embolden = embolden;
k.Oblique = oblique;
pLI = pTexFont->getLetterInfo (k); pLI = pTexFont->getLetterInfo (k);
if(pLI != NULL) if(pLI != NULL)
{ {

View file

@ -277,6 +277,8 @@ void CPSUtil::print(IDriver *driver, const std::string &text, CFontGenerator &fg
&fg, &fg,
col, col,
16, 16,
false,
false,
driver, driver,
cptedString); cptedString);

View file

@ -31,6 +31,8 @@ CTextContext::CTextContext()
_FontGen = NULL; _FontGen = NULL;
_FontSize = 12; _FontSize = 12;
_Embolden = false;
_Oblique = false;
_Color = NLMISC::CRGBA(0,0,0); _Color = NLMISC::CRGBA(0,0,0);
@ -81,7 +83,7 @@ uint32 CTextContext::textPush (const char *format, ...)
// compute the string. // compute the string.
uint32 index = _CacheFreePlaces[_CacheNbFreePlaces-1]; uint32 index = _CacheFreePlaces[_CacheNbFreePlaces-1];
CComputedString &strToFill = _CacheStrings[index]; CComputedString &strToFill = _CacheStrings[index];
_FontManager->computeString (str, _FontGen, _Color, _FontSize, _Driver, strToFill, _Keep800x600Ratio); _FontManager->computeString (str, _FontGen, _Color, _FontSize, _Embolden, _Oblique, _Driver, strToFill, _Keep800x600Ratio);
_CacheNbFreePlaces--; _CacheNbFreePlaces--;
@ -109,7 +111,7 @@ uint32 CTextContext::textPush (const ucstring &str)
nlassert (index < _CacheStrings.size()); nlassert (index < _CacheStrings.size());
CComputedString &strToFill = _CacheStrings[index]; CComputedString &strToFill = _CacheStrings[index];
_FontManager->computeString (str, _FontGen, _Color _FontManager->computeString (str, _FontGen, _Color
, _FontSize, _Driver, strToFill, _Keep800x600Ratio); , _FontSize, _Embolden, _Oblique, _Driver, strToFill, _Keep800x600Ratio);
_CacheNbFreePlaces--; _CacheNbFreePlaces--;

View file

@ -100,6 +100,30 @@ uint32 CTextContextUser::getFontSize() const
return _TextContext.getFontSize(); return _TextContext.getFontSize();
} }
void CTextContextUser::setEmbolden(bool b)
{
H_AUTO2;
_TextContext.setEmbolden(b);
}
bool CTextContextUser::getEmbolden() const
{
H_AUTO2;
return _TextContext.getEmbolden();
}
void CTextContextUser::setOblique(bool b)
{
H_AUTO2;
_TextContext.setOblique(b);
}
bool CTextContextUser::getOblique() const
{
H_AUTO2;
return _TextContext.getOblique();
}
void CTextContextUser::setHotSpot(THotSpot hotSpot) void CTextContextUser::setHotSpot(THotSpot hotSpot)
{ {
H_AUTO2; H_AUTO2;

View file

@ -47,11 +47,14 @@ const int NbLine[TEXTUREFONT_NBCATEGORY] = { 4, 6, 4, 1 }; // Based on textsize
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
inline uint32 CTextureFont::SLetterKey::getVal() inline uint32 CTextureFont::SLetterKey::getVal()
{ {
// this limits Size to 6bits
// Large sizes already render wrong when many
// different glyphs are used due to limited texture atlas
uint8 eb = ((uint)Embolden) + ((uint)Oblique << 1);
if (FontGenerator == NULL) if (FontGenerator == NULL)
return Char + ((Size&255)<<16); return Char + ((Size&255)<<16) + (eb << 22);
else else
return Char + ((Size&255)<<16) + ((FontGenerator->getUID()&0xFF)<<24); return Char + ((Size&255)<<16) + (eb << 22) + ((FontGenerator->getUID()&0xFF)<<24);
} }
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
@ -86,6 +89,8 @@ CTextureFont::CTextureFont()
rLetter.Char = 0xffff; rLetter.Char = 0xffff;
rLetter.FontGenerator = NULL; rLetter.FontGenerator = NULL;
rLetter.Size= 0; rLetter.Size= 0;
rLetter.Embolden = false;
rLetter.Oblique = false;
// The less recently used infos // The less recently used infos
if (j < Letters[i].size()-1) if (j < Letters[i].size()-1)
@ -164,7 +169,7 @@ void CTextureFont::rebuildLetter (sint cat, sint x, sint y)
sint posy = catTopY + y * Categories[cat]; sint posy = catTopY + y * Categories[cat];
uint32 pitch = 0; uint32 pitch = 0;
uint8 *bitmap = rLetter.FontGenerator->getBitmap ( rLetter.Char, rLetter.Size, uint8 *bitmap = rLetter.FontGenerator->getBitmap ( rLetter.Char, rLetter.Size, rLetter.Embolden, rLetter.Oblique,
rLetter.CharWidth, rLetter.CharHeight, rLetter.CharWidth, rLetter.CharHeight,
pitch, rLetter.Left, rLetter.Top, pitch, rLetter.Left, rLetter.Top,
rLetter.AdvX, rLetter.GlyphIndex ); rLetter.AdvX, rLetter.GlyphIndex );
@ -303,7 +308,7 @@ CTextureFont::SLetterInfo* CTextureFont::getLetterInfo (SLetterKey& k)
// \todo mat : Temp !!! Try to use freetype cache // \todo mat : Temp !!! Try to use freetype cache
uint32 nPitch, nGlyphIndex; uint32 nPitch, nGlyphIndex;
sint32 nLeft, nTop, nAdvX; sint32 nLeft, nTop, nAdvX;
k.FontGenerator->getBitmap (k.Char, k.Size, width, height, nPitch, nLeft, nTop, k.FontGenerator->getBitmap (k.Char, k.Size, k.Embolden, k.Oblique, width, height, nPitch, nLeft, nTop,
nAdvX, nGlyphIndex ); nAdvX, nGlyphIndex );
// Add 1 pixel space for black border to get correct category // Add 1 pixel space for black border to get correct category
@ -323,6 +328,8 @@ CTextureFont::SLetterInfo* CTextureFont::getLetterInfo (SLetterKey& k)
k2.Char = Back[cat]->Char; k2.Char = Back[cat]->Char;
k2.FontGenerator = Back[cat]->FontGenerator; k2.FontGenerator = Back[cat]->FontGenerator;
k2.Size = Back[cat]->Size; k2.Size = Back[cat]->Size;
k2.Embolden = Back[cat]->Embolden;
k2.Oblique = Back[cat]->Oblique;
itAccel = Accel.find (k2.getVal()); itAccel = Accel.find (k2.getVal());
if (itAccel != Accel.end()) if (itAccel != Accel.end())
@ -336,6 +343,8 @@ CTextureFont::SLetterInfo* CTextureFont::getLetterInfo (SLetterKey& k)
Back[cat]->Char = k.Char; Back[cat]->Char = k.Char;
Back[cat]->FontGenerator = k.FontGenerator; Back[cat]->FontGenerator = k.FontGenerator;
Back[cat]->Size = k.Size; Back[cat]->Size = k.Size;
Back[cat]->Embolden = k.Embolden;
Back[cat]->Oblique = k.Oblique;
Back[cat]->CharWidth = width; Back[cat]->CharWidth = width;
Back[cat]->CharHeight = height; Back[cat]->CharHeight = height;
Back[cat]->Top = nTop; Back[cat]->Top = nTop;

View file

@ -485,7 +485,7 @@ namespace NLGUI
string fullstyle = style[1]; string fullstyle = style[1];
for (uint j=2; j < style.size(); j++) for (uint j=2; j < style.size(); j++)
fullstyle += ":"+style[j]; fullstyle += ":"+style[j];
styles[trim(style[0])] = fullstyle; styles[trim(style[0])] = trim(fullstyle);
} }
} }
@ -894,7 +894,20 @@ namespace NLGUI
switch(element_number) switch(element_number)
{ {
case HTML_A: case HTML_A:
_TextColor.push_back(LinkColor); {
CStyleParams style;
style.FontSize = getFontSize();
style.TextColor = LinkColor;
style.Underlined = true;
style.StrikeThrough = getFontStrikeThrough();
if (present[HTML_A_STYLE] && value[HTML_A_STYLE])
getStyleParams(value[HTML_A_STYLE], style);
_FontSize.push_back(style.FontSize);
_TextColor.push_back(style.TextColor);
_FontUnderlined.push_back(style.Underlined);
_FontStrikeThrough.push_back(style.StrikeThrough);
_GlobalColor.push_back(LinkColorGlobalColor); _GlobalColor.push_back(LinkColorGlobalColor);
_A.push_back(true); _A.push_back(true);
@ -903,6 +916,7 @@ namespace NLGUI
if (present[MY_HTML_A_CLASS] && value[MY_HTML_A_CLASS]) if (present[MY_HTML_A_CLASS] && value[MY_HTML_A_CLASS])
_LinkClass.push_back(value[MY_HTML_A_CLASS]); _LinkClass.push_back(value[MY_HTML_A_CLASS]);
}
break; break;
case HTML_DIV: case HTML_DIV:
@ -1634,6 +1648,28 @@ namespace NLGUI
_Object = true; _Object = true;
break; break;
case HTML_SPAN:
{
CStyleParams style;
style.TextColor = getTextColor();
style.FontSize = getFontSize();
style.FontWeight = getFontWeight();
style.FontOblique = getFontOblique();
style.Underlined = getFontUnderlined();
style.StrikeThrough = getFontStrikeThrough();
if (present[MY_HTML_SPAN_STYLE] && value[MY_HTML_SPAN_STYLE])
getStyleParams(value[MY_HTML_SPAN_STYLE], style);
_TextColor.push_back(style.TextColor);
_FontSize.push_back(style.FontSize);
_FontWeight.push_back(style.FontWeight);
_FontOblique.push_back(style.FontOblique);
_FontUnderlined.push_back(style.Underlined);
_FontStrikeThrough.push_back(style.StrikeThrough);
}
break;
case HTML_STYLE: case HTML_STYLE:
_IgnoreText = true; _IgnoreText = true;
break; break;
@ -1655,7 +1691,10 @@ namespace NLGUI
popIfNotEmpty (_FontSize); popIfNotEmpty (_FontSize);
break; break;
case HTML_A: case HTML_A:
popIfNotEmpty (_FontSize);
popIfNotEmpty (_TextColor); popIfNotEmpty (_TextColor);
popIfNotEmpty (_FontUnderlined);
popIfNotEmpty (_FontStrikeThrough);
popIfNotEmpty (_GlobalColor); popIfNotEmpty (_GlobalColor);
popIfNotEmpty (_A); popIfNotEmpty (_A);
popIfNotEmpty (_Link); popIfNotEmpty (_Link);
@ -1763,6 +1802,14 @@ namespace NLGUI
popIfNotEmpty (_UL); popIfNotEmpty (_UL);
} }
break; break;
case HTML_SPAN:
popIfNotEmpty (_FontSize);
popIfNotEmpty (_FontWeight);
popIfNotEmpty (_FontOblique);
popIfNotEmpty (_TextColor);
popIfNotEmpty (_FontUnderlined);
popIfNotEmpty (_FontStrikeThrough);
break;
case HTML_STYLE: case HTML_STYLE:
_IgnoreText = false; _IgnoreText = false;
break; break;
@ -3077,6 +3124,7 @@ namespace NLGUI
// Text added ? // Text added ?
bool added = false; bool added = false;
bool embolden = getFontWeight() >= 700;
// Number of child in this paragraph // Number of child in this paragraph
if (_CurrentViewLink) if (_CurrentViewLink)
@ -3086,6 +3134,10 @@ namespace NLGUI
if (!skipLine && if (!skipLine &&
(getTextColor() == _CurrentViewLink->getColor()) && (getTextColor() == _CurrentViewLink->getColor()) &&
(getFontSize() == (uint)_CurrentViewLink->getFontSize()) && (getFontSize() == (uint)_CurrentViewLink->getFontSize()) &&
(getFontUnderlined() == _CurrentViewLink->getUnderlined()) &&
(getFontStrikeThrough() == _CurrentViewLink->getStrikeThrough()) &&
(embolden == _CurrentViewLink->getEmbolden()) &&
(getFontOblique() == _CurrentViewLink->getOblique()) &&
(getLink() == _CurrentViewLink->Link) && (getLink() == _CurrentViewLink->Link) &&
(getGlobalColor() == _CurrentViewLink->getModulateGlobalColor())) (getGlobalColor() == _CurrentViewLink->getModulateGlobalColor()))
{ {
@ -3141,12 +3193,15 @@ namespace NLGUI
if (!newLink->Link.empty()) if (!newLink->Link.empty())
{ {
newLink->setHTMLView (this); newLink->setHTMLView (this);
newLink->setUnderlined (true);
} }
} }
newLink->setText(tmpStr); newLink->setText(tmpStr);
newLink->setColor(getTextColor()); newLink->setColor(getTextColor());
newLink->setFontSize(getFontSize()); newLink->setFontSize(getFontSize());
newLink->setEmbolden(embolden);
newLink->setOblique(getFontOblique());
newLink->setUnderlined(getFontUnderlined());
newLink->setStrikeThrough(getFontStrikeThrough());
newLink->setMultiLineSpace((uint)((float)getFontSize()*LineSpaceFontFactor)); newLink->setMultiLineSpace((uint)((float)getFontSize()*LineSpaceFontFactor));
newLink->setMultiLine(true); newLink->setMultiLine(true);
newLink->setModulateGlobalColor(getGlobalColor()); newLink->setModulateGlobalColor(getGlobalColor());
@ -3422,6 +3477,10 @@ namespace NLGUI
_TextColor.clear(); _TextColor.clear();
_GlobalColor.clear(); _GlobalColor.clear();
_FontSize.clear(); _FontSize.clear();
_FontWeight.clear();
_FontOblique.clear();
_FontUnderlined.clear();
_FontStrikeThrough.clear();
_Indent = 0; _Indent = 0;
_LI = false; _LI = false;
_UL.clear(); _UL.clear();
@ -4590,5 +4649,84 @@ namespace NLGUI
return result; return result;
} }
// ***************************************************************************
// CGroupHTML::CStyleParams style;
// style.FontSize; // font-size: 10px;
// style.TextColor; // color: #ABCDEF;
// style.Underlined; // text-decoration: underline; text-decoration-line: underline;
// style.StrikeThrough; // text-decoration: line-through; text-decoration-line: line-through;
void CGroupHTML::getStyleParams(const std::string &styleString, CStyleParams &style, bool inherit)
{
TStyle styles = parseStyle(styleString);
TStyle::iterator it;
for (it=styles.begin(); it != styles.end(); ++it)
{
if (it->first == "font-size")
{
float tmp;
sint size = 0;
getPercentage (size, tmp, it->second.c_str());
if (size > 0)
style.FontSize = size;
}
else
if (it->first == "font-style")
{
if (it->second == "italic" || it->second == "oblique")
style.FontOblique = true;
}
else
if (it->first == "font-weight")
{
// https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight
uint weight = 400;
if (it->second == "normal")
weight = 400;
else
if (it->second == "bold")
weight = 700;
else
if (it->second == "lighter")
{
const uint lighter[] = {100, 100, 100, 100, 100, 400, 400, 700, 700};
int index = getFontWeight() / 100 - 1;
clamp(index, 1, 9);
weight = lighter[index-1];
}
else
if (it->second == "bolder")
{
const uint bolder[] = {400, 400, 400, 700, 700, 900, 900, 900, 900};
uint index = getFontWeight() / 100 + 1;
clamp(index, 1, 9);
weight = bolder[index-1];
}
else
if (fromString(it->second, weight))
{
weight = (weight / 100);
clamp(weight, 1, 9);
weight *= 100;
}
style.FontWeight = weight;
}
else
if (it->first == "color")
scanHTMLColor(it->second.c_str(), style.TextColor);
else
if (it->first == "text-decoration" || it->first == "text-decoration-line")
{
std::string prop(strlwr(it->second));
style.Underlined = (prop.find("underline") != std::string::npos);
style.StrikeThrough = (prop.find("line-through") != std::string::npos);
}
}
if (inherit)
{
style.Underlined = getFontUnderlined() || style.Underlined;
style.StrikeThrough = getFontStrikeThrough() || style.StrikeThrough;
}
}
} }

View file

@ -233,6 +233,14 @@ namespace NLGUI
{ 0 } { 0 }
}; };
HTAttr span_attr[] =
{
HTML_ATTR(SPAN,CLASS),
HTML_ATTR(SPAN,ID),
HTML_ATTR(SPAN,STYLE),
{ 0 }
};
// *************************************************************************** // ***************************************************************************
void _VerifyLibWWW(const char *function, bool ok, const char *file, int line) void _VerifyLibWWW(const char *function, bool ok, const char *file, int line)
@ -699,6 +707,8 @@ namespace NLGUI
HTML_DTD->tags[HTML_I].number_of_attributes = 0; HTML_DTD->tags[HTML_I].number_of_attributes = 0;
HTML_DTD->tags[HTML_DIV].attributes = div_attr; HTML_DTD->tags[HTML_DIV].attributes = div_attr;
HTML_DTD->tags[HTML_DIV].number_of_attributes = sizeof(div_attr) / sizeof(HTAttr) - 1; HTML_DTD->tags[HTML_DIV].number_of_attributes = sizeof(div_attr) / sizeof(HTAttr) - 1;
HTML_DTD->tags[HTML_SPAN].attributes = span_attr;
HTML_DTD->tags[HTML_SPAN].number_of_attributes = sizeof(span_attr) / sizeof(HTAttr) - 1;
// Set a request timeout // Set a request timeout
// HTHost_setEventTimeout (30000); // HTHost_setEventTimeout (30000);

View file

@ -44,6 +44,7 @@ namespace NLGUI
{ {
_CaseMode = CaseNormal; _CaseMode = CaseNormal;
_Underlined = false; _Underlined = false;
_StrikeThrough = false;
_ContinuousUpdate = false; _ContinuousUpdate = false;
_Active = true; _Active = true;
_X = 0; _X = 0;
@ -58,6 +59,8 @@ namespace NLGUI
_FontSize = 12 + _FontSize = 12 +
CWidgetManager::getInstance()->getSystemOption( CWidgetManager::OptionAddCoefFont ).getValSInt32(); CWidgetManager::getInstance()->getSystemOption( CWidgetManager::OptionAddCoefFont ).getValSInt32();
_Embolden = false;
_Oblique = false;
_Color = CRGBA(255,255,255,255); _Color = CRGBA(255,255,255,255);
_Shadow = false; _Shadow = false;
_ShadowOutline = false; _ShadowOutline = false;
@ -157,6 +160,10 @@ namespace NLGUI
_PosRef = vt._PosRef; _PosRef = vt._PosRef;
_FontSize = vt._FontSize; _FontSize = vt._FontSize;
_Embolden = vt._Embolden;
_Oblique = vt._Oblique;
_Underlined = vt._Underlined;
_StrikeThrough = vt._StrikeThrough;
_Color = vt._Color; _Color = vt._Color;
_Shadow = vt._Shadow; _Shadow = vt._Shadow;
_ShadowOutline = vt._ShadowOutline; _ShadowOutline = vt._ShadowOutline;
@ -221,6 +228,21 @@ namespace NLGUI
); );
} }
else else
if( name == "fontweight" )
{
if (_Embolden)
return "bold";
return "normal";
}
if( name == "fontstyle" )
{
if (_Oblique)
return "oblique";
return "normal";
}
else
if( name == "shadow" ) if( name == "shadow" )
{ {
return toString( _Shadow ); return toString( _Shadow );
@ -286,6 +308,11 @@ namespace NLGUI
return toString( _Underlined ); return toString( _Underlined );
} }
else else
if( name == "strikthrough" )
{
return toString( _StrikeThrough );
}
else
if( name == "case_mode" ) if( name == "case_mode" )
{ {
return toString( uint32( _CaseMode ) ); return toString( uint32( _CaseMode ) );
@ -358,6 +385,20 @@ namespace NLGUI
return true; return true;
} }
else else
if( name == "fontweight" )
{
if (value == "bold")
_Embolden = true;
return true;
}
if( name == "fontstyle" )
{
if( value == "oblique" )
_Oblique = true;
return true;
}
else
if( name == "shadow" ) if( name == "shadow" )
{ {
bool b; bool b;
@ -444,6 +485,14 @@ namespace NLGUI
return true; return true;
} }
else else
if( name == "strikethrough" )
{
bool b;
if( fromString( value, b ) )
_StrikeThrough = b;
return true;
}
else
if( name == "case_mode" ) if( name == "case_mode" )
{ {
uint32 i; uint32 i;
@ -533,6 +582,16 @@ namespace NLGUI
_FontSize - CWidgetManager::getInstance()->getSystemOption( CWidgetManager::OptionAddCoefFont ).getValSInt32() _FontSize - CWidgetManager::getInstance()->getSystemOption( CWidgetManager::OptionAddCoefFont ).getValSInt32()
).c_str() ); ).c_str() );
std::string fontweight("normal");
if (_Embolden)
fontweight = "bold";
xmlSetProp( node, BAD_CAST "fontweight", BAD_CAST fontweight.c_str() );
std::string fontstyle("normal");
if (_Oblique)
fontstyle = "oblique";
xmlSetProp( node, BAD_CAST "fontstyle", BAD_CAST fontstyle.c_str() );
xmlSetProp( node, BAD_CAST "shadow", BAD_CAST toString( _Shadow ).c_str() ); xmlSetProp( node, BAD_CAST "shadow", BAD_CAST toString( _Shadow ).c_str() );
xmlSetProp( node, BAD_CAST "shadow_outline", BAD_CAST toString( _ShadowOutline ).c_str() ); xmlSetProp( node, BAD_CAST "shadow_outline", BAD_CAST toString( _ShadowOutline ).c_str() );
xmlSetProp( node, BAD_CAST "shadow_color", BAD_CAST toString( _ShadowColor ).c_str() ); xmlSetProp( node, BAD_CAST "shadow_color", BAD_CAST toString( _ShadowColor ).c_str() );
@ -561,6 +620,7 @@ namespace NLGUI
xmlSetProp( node, BAD_CAST "multi_line_maxw_only", BAD_CAST toString( _MultiLineMaxWOnly ).c_str() ); xmlSetProp( node, BAD_CAST "multi_line_maxw_only", BAD_CAST toString( _MultiLineMaxWOnly ).c_str() );
xmlSetProp( node, BAD_CAST "multi_max_line", BAD_CAST toString( _MultiMaxLine ).c_str() ); xmlSetProp( node, BAD_CAST "multi_max_line", BAD_CAST toString( _MultiMaxLine ).c_str() );
xmlSetProp( node, BAD_CAST "underlined", BAD_CAST toString( _Underlined ).c_str() ); xmlSetProp( node, BAD_CAST "underlined", BAD_CAST toString( _Underlined ).c_str() );
xmlSetProp( node, BAD_CAST "strikethrough", BAD_CAST toString( _StrikeThrough ).c_str() );
xmlSetProp( node, BAD_CAST "case_mode", BAD_CAST toString( uint32( _CaseMode ) ).c_str() ); xmlSetProp( node, BAD_CAST "case_mode", BAD_CAST toString( uint32( _CaseMode ) ).c_str() );
xmlSetProp( node, BAD_CAST "over_extend_view_text", BAD_CAST toString( _OverExtendViewText ).c_str() ); xmlSetProp( node, BAD_CAST "over_extend_view_text", BAD_CAST toString( _OverExtendViewText ).c_str() );
xmlSetProp( node, BAD_CAST "over_extend_parent_rect", xmlSetProp( node, BAD_CAST "over_extend_parent_rect",
@ -614,6 +674,22 @@ namespace NLGUI
_FontSize += CWidgetManager::getInstance()->getSystemOption( CWidgetManager::OptionAddCoefFont).getValSInt32(); _FontSize += CWidgetManager::getInstance()->getSystemOption( CWidgetManager::OptionAddCoefFont).getValSInt32();
} }
prop = (char*) xmlGetProp( cur, (xmlChar*)"fontweight" );
_Embolden = false;
if (prop)
{
if (nlstricmp("bold", (const char*)prop) == 0) _Embolden = true;
else nlwarning("<CViewText::parse> bad fontweight '%s'", (const char *)prop);
}
prop = (char*) xmlGetProp( cur, (xmlChar*)"fontstyle" );
_Oblique = false;
if (prop)
{
if (nlstricmp("oblique", (const char *) prop) == 0) _Oblique = true;
else nlwarning("<CViewText::parse> bad fontstyle '%s'", (const char *)prop);
}
prop = (char*) xmlGetProp( cur, (xmlChar*)"shadow" ); prop = (char*) xmlGetProp( cur, (xmlChar*)"shadow" );
_Shadow = false; _Shadow = false;
if (prop) if (prop)
@ -668,6 +744,11 @@ namespace NLGUI
if (prop) if (prop)
_Underlined = convertBool(prop); _Underlined = convertBool(prop);
prop = (char*) xmlGetProp( cur, (xmlChar*)"strikethrough" );
_StrikeThrough = false;
if (prop)
_StrikeThrough = convertBool(prop);
prop = (char*) xmlGetProp( cur, (xmlChar*)"case_mode" ); prop = (char*) xmlGetProp( cur, (xmlChar*)"case_mode" );
_CaseMode = CaseNormal; _CaseMode = CaseNormal;
if (prop) if (prop)
@ -887,6 +968,8 @@ namespace NLGUI
TextContext->setShadeOutline (_ShadowOutline); TextContext->setShadeOutline (_ShadowOutline);
TextContext->setShadeColor (shcol); TextContext->setShadeColor (shcol);
TextContext->setFontSize (_FontSize); TextContext->setFontSize (_FontSize);
TextContext->setEmbolden (_Embolden);
TextContext->setOblique (_Oblique);
float y = (float)(_YReal) * ooh; // y is expressed in scree, coordinates [0..1] float y = (float)(_YReal) * ooh; // y is expressed in scree, coordinates [0..1]
//y += _LinesInfos[_LinesInfos.size()-1].StringLine / h; //y += _LinesInfos[_LinesInfos.size()-1].StringLine / h;
@ -953,7 +1036,7 @@ namespace NLGUI
// skip spaces before current word // skip spaces before current word
float firstSpace = currWord.NumSpaces * currLine.getSpaceWidth(); float firstSpace = currWord.NumSpaces * currLine.getSpaceWidth();
sint line_width = 0; sint line_width = 0;
if (_Underlined) if (_Underlined || _StrikeThrough)
{ {
line_width = (sint)floorf(currLine.getWidthWithoutSpaces() + currLine.getSpaceWidth()); line_width = (sint)floorf(currLine.getWidthWithoutSpaces() + currLine.getSpaceWidth());
line_width -= (sint)floorf(firstSpace); line_width -= (sint)floorf(firstSpace);
@ -971,6 +1054,9 @@ namespace NLGUI
if (_Underlined) if (_Underlined)
rVR.drawRotFlipBitmap (_RenderLayer, (sint)floorf(px), y_line, line_width, 1, 0, false, rVR.getBlankTextureId(), col); rVR.drawRotFlipBitmap (_RenderLayer, (sint)floorf(px), y_line, line_width, 1, 0, false, rVR.getBlankTextureId(), col);
if (_StrikeThrough)
rVR.drawRotFlipBitmap (_RenderLayer, (sint)floorf(px), y_line + (_FontHeight / 2), line_width, 1, 0, false, rVR.getBlankTextureId(), col);
// skip word // skip word
px += currWord.Info.StringWidth; px += currWord.Info.StringWidth;
} }
@ -1002,6 +1088,8 @@ namespace NLGUI
TextContext->setShadeOutline (_ShadowOutline); TextContext->setShadeOutline (_ShadowOutline);
TextContext->setShadeColor (shcol); TextContext->setShadeColor (shcol);
TextContext->setFontSize (_FontSize); TextContext->setFontSize (_FontSize);
TextContext->setEmbolden (_Embolden);
TextContext->setOblique (_Oblique);
if(_LetterColors!=NULL && !TextContext->isSameLetterColors(_LetterColors, _Index)) if(_LetterColors!=NULL && !TextContext->isSameLetterColors(_LetterColors, _Index))
@ -1032,6 +1120,9 @@ namespace NLGUI
if (_Underlined) if (_Underlined)
rVR.drawRotFlipBitmap (_RenderLayer, _XReal, _YReal+_FontLegHeight-2, _WReal, 1, 0, false, rVR.getBlankTextureId(), col); rVR.drawRotFlipBitmap (_RenderLayer, _XReal, _YReal+_FontLegHeight-2, _WReal, 1, 0, false, rVR.getBlankTextureId(), col);
if (_StrikeThrough)
rVR.drawRotFlipBitmap (_RenderLayer, _XReal, _YReal+(_FontLegHeight/2), _WReal, 1, 0, false, rVR.getBlankTextureId(), col);
// reset selection // reset selection
if(_TextSelection) if(_TextSelection)
TextContext->resetStringSelection(_Index); TextContext->resetStringSelection(_Index);
@ -1154,6 +1245,22 @@ namespace NLGUI
return _FontSize - CWidgetManager::getInstance()->getSystemOption( CWidgetManager::OptionAddCoefFont).getValSInt32(); return _FontSize - CWidgetManager::getInstance()->getSystemOption( CWidgetManager::OptionAddCoefFont).getValSInt32();
} }
// ***************************************************************************
void CViewText::setEmbolden (bool embolden)
{
_Embolden = embolden;
computeFontSize ();
invalidateContent();
}
// ***************************************************************************
void CViewText::setOblique (bool oblique)
{
_Oblique = oblique;
computeFontSize ();
invalidateContent();
}
// *************************************************************************** // ***************************************************************************
void CViewText::setColor(const NLMISC::CRGBA & color) void CViewText::setColor(const NLMISC::CRGBA & color)
{ {
@ -1679,6 +1786,8 @@ namespace NLGUI
TextContext->setShaded (_Shadow); TextContext->setShaded (_Shadow);
TextContext->setShadeOutline (_ShadowOutline); TextContext->setShadeOutline (_ShadowOutline);
TextContext->setFontSize (_FontSize); TextContext->setFontSize (_FontSize);
TextContext->setEmbolden (_Embolden);
TextContext->setOblique (_Oblique);
// default state // default state
_SingleLineTextClamped= false; _SingleLineTextClamped= false;
@ -2000,6 +2109,8 @@ namespace NLGUI
TextContext->setShaded (_Shadow); TextContext->setShaded (_Shadow);
TextContext->setShadeOutline (_ShadowOutline); TextContext->setShadeOutline (_ShadowOutline);
TextContext->setFontSize (_FontSize); TextContext->setFontSize (_FontSize);
TextContext->setEmbolden (_Embolden);
TextContext->setOblique (_Oblique);
// CViewRenderer &rVR = *CViewRenderer::getInstance(); // CViewRenderer &rVR = *CViewRenderer::getInstance();
height = getFontHeight(); height = getFontHeight();
// //
@ -2132,6 +2243,8 @@ namespace NLGUI
TextContext->setShaded (_Shadow); TextContext->setShaded (_Shadow);
TextContext->setShadeOutline (_ShadowOutline); TextContext->setShadeOutline (_ShadowOutline);
TextContext->setFontSize (_FontSize); TextContext->setFontSize (_FontSize);
TextContext->setEmbolden (_Embolden);
TextContext->setOblique (_Oblique);
// find the line where the character is // find the line where the character is
// CViewRenderer &rVR = *CViewRenderer::getInstance(); // CViewRenderer &rVR = *CViewRenderer::getInstance();
uint charPos = 0; uint charPos = 0;
@ -2407,6 +2520,8 @@ namespace NLGUI
TextContext->setShaded (_Shadow); TextContext->setShaded (_Shadow);
TextContext->setShadeOutline (_ShadowOutline); TextContext->setShadeOutline (_ShadowOutline);
TextContext->setFontSize (_FontSize); TextContext->setFontSize (_FontSize);
TextContext->setEmbolden (_Embolden);
TextContext->setOblique (_Oblique);
TCharPos linePos = 0; TCharPos linePos = 0;
while (linePos < _Text.length()) while (linePos < _Text.length())
@ -2492,6 +2607,8 @@ namespace NLGUI
TextContext->setShaded (_Shadow); TextContext->setShaded (_Shadow);
TextContext->setShadeOutline (_ShadowOutline); TextContext->setShadeOutline (_ShadowOutline);
TextContext->setFontSize (_FontSize); TextContext->setFontSize (_FontSize);
TextContext->setEmbolden (_Embolden);
TextContext->setOblique (_Oblique);
// Current position in text // Current position in text
TCharPos currPos = 0; TCharPos currPos = 0;
@ -2544,6 +2661,8 @@ namespace NLGUI
TextContext->setShaded (_Shadow); TextContext->setShaded (_Shadow);
TextContext->setShadeOutline (_ShadowOutline); TextContext->setShadeOutline (_ShadowOutline);
TextContext->setFontSize (_FontSize); TextContext->setFontSize (_FontSize);
TextContext->setEmbolden (_Embolden);
TextContext->setOblique (_Oblique);
// Letter size // Letter size
UTextContext::CStringInfo si = TextContext->getStringInfo(ucstring("|")); // for now we can't now that directly from UTextContext UTextContext::CStringInfo si = TextContext->getStringInfo(ucstring("|")); // for now we can't now that directly from UTextContext

View file

@ -359,6 +359,27 @@ void dividSize (CBitmap &bitmap)
} }
} }
const int bayerDiv8R[4][4] = {
7, 3, 6, 2,
1, 5, 0, 4,
6, 2, 7, 3,
0, 4, 1, 5,
};
const int bayerDiv8G[4][4] = {
0, 4, 1, 5,
6, 2, 7, 3,
1, 5, 0, 4,
7, 3, 6, 2,
};
const int bayerDiv8B[4][4] = {
5, 1, 4, 0,
3, 7, 2, 6,
4, 0, 5, 1,
2, 6, 3, 7,
};
// *************************************************************************** // ***************************************************************************
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
@ -601,6 +622,26 @@ int main(int argc, char **argv)
Reduce--; Reduce--;
} }
if (algo == TGA16)
{
// Apply bayer dither
CObjectVector<uint8> &rgba = picSrc.getPixels(0);
const uint32 w = picSrc.getWidth(0);
uint32 x = 0;
uint32 y = 0;
for (uint32 i = 0; i < rgba.size(); i += 4)
{
NLMISC::CRGBA &c = reinterpret_cast<NLMISC::CRGBA &>(rgba[i]);
c.R = (uint8)std::min(255, (int)c.R + bayerDiv8R[x % 4][y % 4]);
c.G = (uint8)std::min(255, (int)c.G + bayerDiv8G[x % 4][y % 4]);
c.B = (uint8)std::min(255, (int)c.B + bayerDiv8B[x % 4][y % 4]);
++x;
x %= w;
if (x == 0)
++y;
}
}
// 8 or 16 bits TGA or PNG ? // 8 or 16 bits TGA or PNG ?
if ((algo == TGA16) || (algo == TGA8) || (algo == PNG16) || (algo == PNG8)) if ((algo == TGA16) || (algo == TGA8) || (algo == PNG16) || (algo == PNG8))
{ {

View file

@ -242,7 +242,7 @@ public:
size_t operator () ( const TDataSetRow &index ) const { return index.getHashCode(); } size_t operator () ( const TDataSetRow &index ) const { return index.getHashCode(); }
bool operator() (const TDataSetRow &index1, const TDataSetRow &index2) const { return index1.getHashCode() < index2.getHashCode(); } bool operator() (const TDataSetRow &index1, const TDataSetRow &index2) const { return index1 < index2; }
}; };
/// Warning: method to avoid (use it only when using rows as a static array) /// Warning: method to avoid (use it only when using rows as a static array)

View file

@ -17,6 +17,7 @@
#include "stdpch.h" #include "stdpch.h"
#include <functional>
#include "fg_prospection_phrase.h" #include "fg_prospection_phrase.h"
#include "nel/misc/common.h" #include "nel/misc/common.h"
#include "nel/misc/fast_floor.h" #include "nel/misc/fast_floor.h"

View file

@ -8028,7 +8028,7 @@ void CCharacter::setStartStatistics( const CCreateCharMsg& createCharMsg )
} }
// create character start skills, skill point and money // create character start skills, skill point and money
string s = CreateCharacterStartSkillsValue; string s = CreateCharacterStartSkillsValue.get();
if( s.size() > 0 ) if( s.size() > 0 )
{ {
CSString skillValue = s; CSString skillValue = s;

View file

@ -48,6 +48,15 @@ class CDBStringUpdater : public NLMISC::CSingleton<CDBStringUpdater>
{ {
return ClientDB == other.ClientDB && Node == other.Node; return ClientDB == other.ClientDB && Node == other.Node;
} }
bool operator <(const TBDStringLeaf &other) const
{
if (ClientDB != other.ClientDB)
return ClientDB < other.ClientDB;
if (Node != other.Node)
return Node < other.Node;
return false;
}
}; };
// hasher for the identifier // hasher for the identifier
@ -58,6 +67,10 @@ class CDBStringUpdater : public NLMISC::CSingleton<CDBStringUpdater>
{ {
return ((size_t)stringLeaf.ClientDB>>4) ^ ((size_t)stringLeaf.Node>>4); return ((size_t)stringLeaf.ClientDB>>4) ^ ((size_t)stringLeaf.Node>>4);
} }
bool operator()(const TBDStringLeaf &left, const TBDStringLeaf &right) const
{
return left < right;
}
}; };
// info for each string leaf // info for each string leaf

View file

@ -52,6 +52,7 @@ struct CServiceIdHash
{ {
enum { bucket_size = 4, min_buckets = 8, }; enum { bucket_size = 4, min_buckets = 8, };
size_t operator () ( const NLNET::TServiceId &sid ) const { return sid.get(); } size_t operator () ( const NLNET::TServiceId &sid ) const { return sid.get(); }
bool operator()(const NLNET::TServiceId &left, const NLNET::TServiceId &right) const { return left < right; }
}; };
class CCharIdReplaced class CCharIdReplaced

View file

@ -44,7 +44,8 @@ public:
struct CUint32Hash struct CUint32Hash
{ {
enum { bucket_size = 4, min_buckets = 8, }; enum { bucket_size = 4, min_buckets = 8, };
size_t operator () ( const uint32 &i ) const { return i; } size_t operator () (const uint32 &i) const { return i; }
bool operator()(const uint32 left, const uint32 right) const { return left < right; }
}; };
typedef uint32 TUserId; typedef uint32 TUserId;

View file

@ -785,7 +785,7 @@ NLNET::CMessage& CDbManager::addTask(const std::string& msg, ITaskEventListener*
// add listener to task listeners // add listener to task listeners
if (listener != NULL) if (listener != NULL)
_TaskListeners[id] = std::make_pair<ITaskEventListener*, void*>(listener, arg); _TaskListeners[id] = std::pair<ITaskEventListener*, void*>(listener, arg);
return *msgrbs; return *msgrbs;
} }

414
dist/debian/precise/debian/changelog vendored Normal file
View file

@ -0,0 +1,414 @@
ryzom-core (0.8.2802~precise1) precise; urgency=low
* New upstream release (revision 2802)
-- Cédric OCHS <kervala@gmail.com> Sun, 09 Dec 2012 14:19:29 +0100
ryzom-core (0.8.2801~precise1) precise; urgency=low
* New upstream release (revision 2801)
-- Cédric OCHS <kervala@gmail.com> Sat, 08 Dec 2012 14:08:35 +0100
ryzom-core (0.8.2786~precise1) precise; urgency=low
* New upstream release (revision 2786)
-- Cédric OCHS <kervala@gmail.com> Fri, 07 Dec 2012 17:18:02 +0100
ryzom-core (0.8.2691~precise1) precise; urgency=low
* New upstream release (revision 2691)
-- Cédric OCHS <kervala@gmail.com> Sun, 07 Oct 2012 10:00:31 +0200
ryzom-core (0.8.2683~precise2) precise; urgency=low
* New upstream release (revision 2683)
-- Cédric OCHS <kervala@gmail.com> Thu, 04 Oct 2012 10:11:23 +0200
ryzom-core (0.8.2683~precise1) precise; urgency=low
* New upstream release (revision 2683)
-- Cédric OCHS <kervala@gmail.com> Wed, 03 Oct 2012 22:37:14 +0200
ryzom-core (0.8.2682~precise1) precise; urgency=low
* New upstream release (revision 2682)
-- Cédric OCHS <kervala@gmail.com> Wed, 03 Oct 2012 19:02:23 +0200
ryzom-core (0.8.2681~precise2) precise; urgency=low
* New upstream release (revision 2681)
-- Cédric OCHS <kervala@gmail.com> Tue, 02 Oct 2012 23:06:36 +0200
ryzom-core (0.8.2681~precise1) precise; urgency=low
* New upstream release (revision 2681)
-- Cédric OCHS <kervala@gmail.com> Tue, 02 Oct 2012 17:19:25 +0200
ryzom-core (0.8.2025~precise1) precise; urgency=low
* New upstream release (revision 2025)
-- Cédric OCHS <kervala@gmail.com> Sat, 10 Mar 2012 22:23:49 +0100
ryzom-core (0.8.2024~precise1) precise; urgency=low
* New upstream release (revision 2024)
-- Cédric OCHS <kervala@gmail.com> Sat, 10 Mar 2012 11:16:08 +0100
ryzom-core (0.8.1847~natty1) natty; urgency=low
* New upstream release (revision 1847)
-- Cédric OCHS <kervala@gmail.com> Mon, 17 Oct 2011 09:33:45 +0200
ryzom-core (0.8.1847~natty0) natty; urgency=low
* New upstream release (revision 1847)
-- Cédric OCHS <kervala@gmail.com> Sun, 16 Oct 2011 18:45:27 +0200
ryzom-core (0.8.1758~natty0) natty; urgency=low
* New upstream release (revision 1758)
-- Cédric OCHS <kervala@gmail.com> Tue, 16 Aug 2011 09:02:55 +0200
ryzom-core (0.8.1752~natty0) natty; urgency=low
* New upstream release (revision 1752)
-- Cédric OCHS <kervala@gmail.com> Sun, 14 Aug 2011 16:07:29 +0200
ryzom-core (0.8.1751~natty0) natty; urgency=low
* New upstream release (revision 1751)
-- Cédric OCHS <kervala@gmail.com> Sun, 14 Aug 2011 14:16:24 +0200
ryzom-core (0.8.1750~natty0) natty; urgency=low
* New upstream release (revision 1750)
-- Cédric OCHS <kervala@gmail.com> Sun, 14 Aug 2011 12:30:18 +0200
ryzom-core (0.8.1744~natty0) natty; urgency=low
* New upstream release (revision 1744)
-- Cédric OCHS <kervala@gmail.com> Sat, 13 Aug 2011 20:24:49 +0200
ryzom-core (0.8.1742~natty0) natty; urgency=low
* New upstream release (revision 1742)
-- Cédric OCHS <kervala@gmail.com> Fri, 12 Aug 2011 18:11:07 +0200
ryzom-core (0.8.1628~natty0) natty; urgency=low
* New upstream release (revision 1628)
-- Cédric OCHS <kervala@gmail.com> Fri, 17 Jun 2011 12:56:17 +0200
ryzom-core (0.8.1627~natty0) natty; urgency=low
* New upstream release (revision 1627)
-- Cédric OCHS <kervala@gmail.com> Tue, 14 Jun 2011 20:37:05 +0200
ryzom-core (0.8.1611~natty0) natty; urgency=low
* New upstream release (revision 1611)
-- Cédric OCHS <kervala@gmail.com> Wed, 08 Jun 2011 19:53:44 +0200
ryzom-core (0.8.1596~natty1) natty; urgency=low
* New upstream release (revision 1596)
-- Cédric OCHS <kervala@gmail.com> Sat, 04 Jun 2011 18:11:45 +0200
ryzom-core (0.7.1406~natty0) natty; urgency=low
* New upstream release (revision 1406)
-- Kervala <kervala@gmail.com> Sun, 13 Mar 2011 19:07:44 +0100
ryzom-core (0.7.1404~karmic0) karmic; urgency=low
* New upstream release (revision 1404)
-- Kervala <kervala@gmail.com> Thu, 10 Mar 2011 20:13:35 +0100
ryzom-core (0.7.1122~karmic0) karmic; urgency=low
* New upstream release (revision 1122)
-- Kervala <kervala@gmail.com> Thu, 25 Nov 2010 13:18:41 +0100
ryzom-core (0.7.992~karmic0) karmic; urgency=low
* New upstream release (revision 992)
-- Kervala <kervala@gmail.com> Tue, 19 Oct 2010 13:44:23 +0200
ryzom-core (0.7.941~karmic0) karmic; urgency=low
* New upstream release (revision 941)
-- Kervala <kervala@gmail.com> Sat, 16 Oct 2010 14:59:36 +0200
ryzom-core (0.7.933~karmic0) karmic; urgency=low
* New upstream release (revision 933)
-- Kervala <kervala@gmail.com> Fri, 15 Oct 2010 22:29:44 +0200
ryzom-core (0.7.932~karmic0) karmic; urgency=low
* New upstream release (revision 932)
-- Kervala <kervala@gmail.com> Fri, 15 Oct 2010 19:53:47 +0200
ryzom-core (0.7.666~karmic0) karmic; urgency=low
* New upstream release (revision 666)
-- Kervala <kervala@gmail.com> Sun, 29 Aug 2010 17:56:06 +0200
ryzom-core (0.7.631~karmic0) karmic; urgency=low
* New upstream release (revision 631)
-- Kervala <kervala@gmail.com> Thu, 12 Aug 2010 16:57:30 +0200
ryzom-core (0.7.614~lucid1) lucid; urgency=low
* Fixed dependencies
-- Kervala <kervala@gmail.com> Sun, 08 Aug 2010 22:42:50 +0200
ryzom-core (0.7.614~lucid0) lucid; urgency=low
* New upstream release (revision 614)
-- Kervala <kervala@gmail.com> Sun, 08 Aug 2010 21:53:00 +0200
ryzom-core (0.7.583~lucid1) lucid; urgency=low
* Added dependency on libogg and libvorbis
-- Kervala <kervala@gmail.com> Sun, 01 Aug 2010 15:38:40 +0200
ryzom-core (0.7.583~lucid0) lucid; urgency=low
* New upstream release (revision 583)
-- Kervala <kervala@gmail.com> Sun, 01 Aug 2010 14:43:28 +0200
ryzom-core (0.7.530~lucid0) lucid; urgency=low
* New upstream release (revision 530)
-- Kervala <kervala@gmail.com> Sun, 25 Jul 2010 16:50:57 +0200
ryzom-core (0.7.519~lucid0) lucid; urgency=low
* New upstream release (revision 519)
-- Kervala <kervala@gmail.com> Mon, 19 Jul 2010 22:24:05 +0200
ryzom-core (0.7.507~lucid0) lucid; urgency=low
* New upstream release (revision 507)
-- Kervala <kervala@gmail.com> Sat, 17 Jul 2010 19:56:35 +0200
ryzom-core (0.7.474~lucid0) lucid; urgency=low
* New upstream release (revision 474)
-- Kervala <kervala@gmail.com> Tue, 13 Jul 2010 08:56:24 +0200
ryzom-core (0.7.473~lucid1) lucid; urgency=low
* Some fixes
-- Kervala <kervala@gmail.com> Mon, 12 Jul 2010 22:46:16 +0200
ryzom-core (0.7.473~lucid0) lucid; urgency=low
* New upstream release (revision 473)
-- Kervala <kervala@gmail.com> Mon, 12 Jul 2010 22:04:30 +0200
ryzom-core (0.7.437~lucid1) lucid; urgency=low
* Fixed drivers installation
-- Kervala <kervala@gmail.com> Thu, 08 Jul 2010 08:54:02 +0200
ryzom-core (0.7.437~lucid0) lucid; urgency=low
* New upstream release (revision 437)
-- Kervala <kervala@gmail.com> Thu, 01 Jul 2010 20:07:14 +0200
ryzom-core (0.7.419~lucid0) lucid; urgency=low
* New upstream release (revision 419)
-- Kervala <kervala@gmail.com> Sat, 26 Jun 2010 18:58:36 +0200
ryzom-core (0.7.411~lucid0) lucid; urgency=low
* New upstream release (revision 411)
-- Kervala <kervala@gmail.com> Sat, 26 Jun 2010 11:00:47 +0200
ryzom-core (0.7.404~lucid1) lucid; urgency=low
* Fix OpenAL driver
-- Kervala <kervala@gmail.com> Thu, 24 Jun 2010 23:06:51 +0200
ryzom-core (0.7.404~lucid0) lucid; urgency=low
* New upstream release (revision 404)
-- Kervala <kervala@gmail.com> Thu, 24 Jun 2010 22:17:36 +0200
ryzom-core (0.7.394~lucid0) lucid; urgency=low
* New upstream release (revision 394)
-- Kervala <kervala@gmail.com> Tue, 22 Jun 2010 06:53:15 +0200
ryzom-core (0.7.375~lucid0) lucid; urgency=low
* New upstream release (revision 375)
-- Kervala <kervala@gmail.com> Wed, 16 Jun 2010 12:46:51 +0200
ryzom-core (0.7.371~lucid0) lucid; urgency=low
* New upstream release (revision 371)
-- Kervala <kervala@gmail.com> Mon, 14 Jun 2010 22:48:27 +0200
ryzom-core (0.7.359~lucid0) lucid; urgency=low
* New upstream release (revision 359)
-- Kervala <kervala@gmail.com> Sun, 13 Jun 2010 21:31:29 +0200
ryzom-core (0.7.350~lucid1) lucid; urgency=low
* Fixes problem with "copy" files
-- Kervala <kervala@gmail.com> Sun, 13 Jun 2010 10:36:30 +0200
ryzom-core (0.7.350~lucid0) lucid; urgency=low
* New upstream release (revision 350)
-- Kervala <kervala@gmail.com> Sun, 13 Jun 2010 09:55:38 +0200
ryzom-core (0.7.332~lucid0) lucid; urgency=low
* New upstream release (revision 332)
-- Kervala <kervala@gmail.com> Sat, 12 Jun 2010 09:09:21 +0200
ryzom-core (0.7.317~lucid0) lucid; urgency=low
* New upstream release (revision 317)
-- Kervala <kervala@gmail.com> Thu, 10 Jun 2010 13:11:28 +0200
ryzom-core (0.7.315~lucid0) lucid; urgency=low
* Fixed pkg-config installation again
-- Kervala <kervala@gmail.com> Thu, 10 Jun 2010 08:19:44 +0200
ryzom-core (0.7.311~lucid2) lucid; urgency=low
* Fixed pkg-config files
-- Kervala <kervala@gmail.com> Wed, 09 Jun 2010 22:58:15 +0200
ryzom-core (0.7.311~lucid1) lucid; urgency=low
* Fixed dependencies versions
-- Kervala <kervala@gmail.com> Wed, 09 Jun 2010 22:27:00 +0200
ryzom-core (0.7.311~lucid0) lucid; urgency=low
* New upstream version (revision 311).
-- Kervala <kervala@gmail.com> Wed, 09 Jun 2010 21:15:42 +0200
ryzom-core (0.7.304~lucid0) lucid; urgency=low
* New upstream version (revision 304).
-- Kervala <kervala@gmail.com> Wed, 09 Jun 2010 08:34:10 +0200
ryzom-core (0.7.0-1) unstable; urgency=low
[ Gürkan Sengün ]
* New upstream version. (Closes: #553248)
* Updated build dependencies.
[ Michal Čihař ]
* Convert to dh with cmake support.
* Bump standards to 3.8.4.
[ Luboš Novák ]
* Change maintainer to 'Debian Games Team'
* ftbfs_gcc_4.5.path: Fix build with g++-4.5. (Closes: #565104)
* Converted direct changes in source to patches.
* Enable building CEGUI renderer.
* Add package libnel-doc with documentation.
* debian/control
+ Changed priority of libnel-dbg to extra.
+ Remove duplicate Section in libnel0.
+ Update short descriptions.
+ Replace obsolete package xlibmesa-gl-dev with libgl1-mesa-dev
in build-depends.
+ Add libpng-dev to build-depends.
+ Remove libalut-dev from build-depends.
+ New homepage.
+ Supported architectures are i386 and amd64.
* debian/libnel-dev.dirs
+ Remove empty dir usr/lib/nel.
* debian/copyright
+ Update redistribution licence from GPL to GPL-2.
* debian/rules
+ Disable building unit test, samples and tools.
-- Luboš Novák <alvinx12@centrum.cz> Tue, 30 Mar 2010 10:29:23 +0100
ryzom-core (0.5.0-1.1) unstable; urgency=low
* Non-maintainer upload.
* Change Build-Depends: libstlport5.2-dev. (Closes: #521762)
-- Torsten Werner <twerner@debian.org> Sun, 28 Jun 2009 11:54:05 +0200
ryzom-core (0.5.0-1) unstable; urgency=low
* Initial release. (Closes: #448067)
-- Gürkan Sengün <gurkan@linuks.mine.nu> Tue, 23 Oct 2007 12:56:45 +0200

View file

@ -0,0 +1,567 @@
//////////////////////////
//////////////////////////
/// CLIENT CONFIG FILE ///
//////////////////////////
//////////////////////////
// If you set this variable to 1, your client.cfg will be overwritten when you quit the client.
// You will loose all the comments and identation in this file.
SaveConfig = 1;
///////////////////
// WINDOW CONFIG //
///////////////////
Driver3D="Auto"; // Valid values are "Auto" or "0", "OpengGL" or "1" & "Direct3D" or "2"
// "Auto" will choose the best suited driver depending on hardware
FullScreen = 0;
Width = 1024;
Height = 768;
PositionX = 0;
PositionY = 0;
Frequency = 60;
Depth = 32;
Sleep = -1;
ProcessPriority = 0; // -2 = idle, -1 = below normal, 0 = normal, 1 = above normal, 2 = high, 3 = real time
Contrast = 0.0; // -1.0 ~ 1.0
Luminosity = 0.0; // -1.0 ~ 1.0
Gamma = 0.0; // -1.0 ~ 1.0
Contrast_min = -1.0;
Luminosity_min = -1.0;
Gamma_min = -1.0;
Contrast_max = 1.0;
Luminosity_max = 1.0;
Gamma_max = 1.0;
/////////////
// NETWORK //
/////////////
Application = { "ryzom_live", "./client_ryzom_r.exe", "./" };
BackgroundDownloader = 0;
PatchServer = "http://dl.ryzom.com/patch_live";
SignUpURL = "http://www.ryzom.com/subscribe";
StartupHost = "shard.ryzom.com:40916";
StartupPage = "/login/r2_login.php";
InstallStatsUrl = "http://shard.ryzom.com:50000/stats/stats.php";
CreateAccountURL = "https://secure.ryzom.com/signup/from_client.php";
InstallWebPage = "http://dl.ryzom.com/installer/";
////////////////
// INTERFACES //
////////////////
// the language to use as in ISO 639-2
LanguageCode = "en"; // english
XMLInputFile = "input_config_v3.xml";
XMLLoginInterfaceFiles = {
"login_config.xml",
"login_widgets.xml",
"login_main.xml",
"login_keys.xml",
};
XMLOutGameInterfaceFiles = {
"out_v2_config.xml",
"out_v2_widgets.xml",
"out_v2_connect.xml",
"out_v2_intro.xml",
"out_v2_select.xml",
"out_v2_appear.xml",
"out_v2_location.xml",
"out_v2_crash.xml",
"out_v2_hierarchy.xml",
"out_v2_keys.xml",
};
// The ligo primitive class file
LigoPrimitiveClass = "world_editor_classes.xml";
VerboseLog = 1;
///////////
// MOUSE //
///////////
HardwareCursor = 1;
CursorSpeed = 1.0; // In pixels per mickey
CursorSpeed_min = 0.5;
CursorSpeed_max = 2.0;
CursorAcceleration = 40; // Threshold in mickey
CursorAcceleration_min = 20;
CursorAcceleration_max = 80;
FreeLookSpeed = 0.004; // In radian per mickey
FreeLookSpeed_min = 0.0001;
FreeLookSpeed_max = 0.01;
FreeLookAcceleration = 40; // Threshold in mickey
FreeLookAcceleration_min = 20;
FreeLookAcceleration_max = 80;
FreeLookInverted = 0;
AutomaticCamera = 0;
DblClickMode = 1;
AutoEquipTool = 1;
///////////////////
// RENDER CONFIG //
///////////////////
// NB: thoses variables configure also the InGameConfigurator:
// _min and _max define the bounds
// _step defines the step (NB: take care of _min and _max!!)
// _ps0 is the LOW preset, _ps1 is the MEDIUM preset, _ps2 is the NORMAL Preset, and _ps3 is the HIGH one
// *** LANDSCAPE
LandscapeTileNear = 150.000000;
LandscapeTileNear_min = 20.000000;
LandscapeTileNear_max = 250.000000;
LandscapeTileNear_step = 10.0;
LandscapeTileNear_ps0 = 20.0;
LandscapeTileNear_ps1 = 100.0;
LandscapeTileNear_ps2 = 150.0;
LandscapeTileNear_ps3 = 200.0;
// NB: threshold is inverted ULandscape::setThreshold(), to be more intelligible
LandscapeThreshold = 2000.0;
LandscapeThreshold_min = 100.0; // Low quality => 0.01 threshold
LandscapeThreshold_max = 4000.0; // High quality => 0.0005 threshold
LandscapeThreshold_step = 100.0;
LandscapeThreshold_ps0 = 100.0;
LandscapeThreshold_ps1 = 1000.0;
LandscapeThreshold_ps2 = 2000.0;
LandscapeThreshold_ps3 = 3000.0;
Vision = 500.000000;
Vision_min = 200.000000;
Vision_max = 800.000000;
Vision_step = 100.000000;
Vision_ps0 = 200.0;
Vision_ps1 = 400.0;
Vision_ps2 = 500.0;
Vision_ps3 = 800.0;
MicroVeget = 1; // Enable/Disable MicroVeget.
MicroVeget_ps0 = 0;
MicroVeget_ps1 = 1;
MicroVeget_ps2 = 1;
MicroVeget_ps3 = 1;
MicroVegetDensity = 80.0;
MicroVegetDensity_min = 10.0;
MicroVegetDensity_max = 100.0;
MicroVegetDensity_step = 10.0;
MicroVegetDensity_ps0 = 10.0; // not used since disabled!
MicroVegetDensity_ps1 = 30.0;
MicroVegetDensity_ps2 = 80.0;
MicroVegetDensity_ps3 = 100.0;
// *** FX
FxNbMaxPoly = 20000;
FxNbMaxPoly_min = 2000;
FxNbMaxPoly_max = 50000;
FxNbMaxPoly_step= 2000;
FxNbMaxPoly_ps0 = 2000;
FxNbMaxPoly_ps1 = 10000;
FxNbMaxPoly_ps2 = 20000;
FxNbMaxPoly_ps3 = 50000;
Cloud = 1;
Cloud_ps0 = 0 ;
Cloud_ps1 = 1 ;
Cloud_ps2 = 1 ;
Cloud_ps3 = 1 ;
CloudQuality = 160.0;
CloudQuality_min = 80.0;
CloudQuality_max = 320.0;
CloudQuality_step = 20.0;
CloudQuality_ps0 = 80.0; // not used since disabled!
CloudQuality_ps1 = 80.0;
CloudQuality_ps2 = 160.0;
CloudQuality_ps3 = 320.0;
CloudUpdate = 1;
CloudUpdate_min = 1;
CloudUpdate_max = 8;
CloudUpdate_step= 1;
CloudUpdate_ps0 = 1; // not used since disabled!
CloudUpdate_ps1 = 1;
CloudUpdate_ps2 = 1;
CloudUpdate_ps3 = 3;
Shadows = 1;
Shadows_ps0 = 0;
Shadows_ps1 = 1;
Shadows_ps2 = 1;
Shadows_ps3 = 1;
Bloom = 0;
Bloom_ps0 = 0;
Bloom_ps1 = 1;
Bloom_ps2 = 1;
Bloom_ps3 = 1;
SquareBloom = 1;
SquareBloom_ps0 = 0;
SquareBloom_ps1 = 1;
SquareBloom_ps2 = 1;
SquareBloom_ps3 = 1;
DensityBloom = 255.0;
DensityBloom_min = 0.0;
DensityBloom_max = 255.0;
DensityBloom_step = 1.0;
DensityBloom_ps0 = 255.0;
DensityBloom_ps1 = 255.0;
DensityBloom_ps2 = 255.0;
DensityBloom_ps3 = 255.0;
// *** CHARACTERS
SkinNbMaxPoly = 100000;
SkinNbMaxPoly_min = 5000;
SkinNbMaxPoly_max = 250000;
SkinNbMaxPoly_step = 5000;
SkinNbMaxPoly_ps0 = 10000;
SkinNbMaxPoly_ps1 = 70000;
SkinNbMaxPoly_ps2 = 100000;
SkinNbMaxPoly_ps3 = 200000;
NbMaxSkeletonNotCLod = 125;
NbMaxSkeletonNotCLod_min = 5;
NbMaxSkeletonNotCLod_max = 255;
NbMaxSkeletonNotCLod_step = 5;
NbMaxSkeletonNotCLod_ps0 = 10;
NbMaxSkeletonNotCLod_ps1 = 50;
NbMaxSkeletonNotCLod_ps2 = 125;
NbMaxSkeletonNotCLod_ps3 = 255;
CharacterFarClip = 200.0;
CharacterFarClip_min = 50.0;
CharacterFarClip_max = 500.0;
CharacterFarClip_step = 10.0;
CharacterFarClip_ps0 = 50.0;
CharacterFarClip_ps1 = 100.0;
CharacterFarClip_ps2 = 200.0;
CharacterFarClip_ps3 = 500.0;
EnableRacialAnimation = 1;
// *** MISC
// This is the actual aspect ratio of your screen (no relation with the resolution!!). Set 1.7777 if you got a 16/9 screen for instance
ScreenAspectRatio = 0.0;
ForceDXTC = 1; // Enable/Disable DXTC.
DivideTextureSizeBy2= 0; // Divide texture size
DisableVtxProgram = 0; // Disable Hardware Vertex Program.
DisableVtxAGP = 0; // Disable Hardware Vertex AGP.
DisableTextureShdr = 0; // Disable Hardware Texture Shader.
HDEntityTexture = 0;
HDTextureInstalled = 1;
WaitVBL = 0; // 0 or 1 to wait Vertical Sync.
//////////////////
// GAME OPTIONS //
//////////////////
SelectWithRClick = 1;
DisplayWeapons = 1;
RotKeySpeedMax = 2.0;
RotKeySpeedMax_min = 1.0;
RotKeySpeedMax_max = 4.0;
RotKeySpeedMin = 1.0;
RotKeySpeedMin_min = 0.5;
RotKeySpeedMin_max = 2.0;
RotAccel = 3.0;
FollowOnAtk = 0;
AtkOnSelect = 0;
ZCPacsPrim = "gen_bt_col_ext.pacs_prim";
/////////////////
// PREFERENCES //
/////////////////
FPV = 0; // FPV(First Person View) : default is false (Third Person View).
CameraHeight = 2.2; // Camera Height (in meter) from the ground (for the Third Person View).
CameraDistance = 3.0; // Camera Distance(in meter) from the user (for the Third Person View).
CameraDistStep = 1.0;
CameraDistMin = 1.0;
CameraDistMax = 25.0;
CameraAccel = 5.0;
CameraSpeedMin = 2.0;
CameraSpeedMax = 100.0;
CameraResetSpeed = 10.0; // Speed in radian/s
//////////////////
// SOUND CONFIG //
//////////////////
SoundForceSoftwareBuffer= 1;
SoundOn = 1;
UseEax = 0;
MaxTrack = 32;
MaxTrack_min = 4;
MaxTrack_max = 32;
MaxTrack_step = 4;
// This is the volume for "InGame" sound FXs
SoundSFXVolume = 1.0;
SoundSFXVolume_min = 0.0;
SoundSFXVolume_max = 1.0;
SoundSFXVolume_step = 0.001;
// This is volume for "InGame" music. Does not affect the MP3 player
SoundGameMusicVolume = 0.5;
SoundGameMusicVolume_min = 0.0;
SoundGameMusicVolume_max = 1.0;
SoundGameMusicVolume_step = 0.001;
// MISC
PreDataPath = { "user", "patch", "examples", "data/fonts", "data/gamedev.bnp" };
DataPath = { "data" };
NeedComputeVS = 0;
NegFiltersDebug = {"Update DB", "Reading:", "Read Value :", "impulseCallBack", "CLIMPD:", "LNET" };
NegFiltersInfo = { "CLIMPD:", "CPath::lookup" , "LNET" };
NegFiltersWarning = { "'basics.Equipment Slot'.", "_usercolor.tga", "PACS" };
// Big screen shot
ScreenShotWidth = 0;
ScreenShotHeight = 0;
ScreenShotFullDetail = 1; // 1 to switch full detail mode for characters (both standard & big screenshots)
// Read : "ID", "R G B A MODE [FX]"
SystemInfoColors =
{
// OLD STUFF Here for compatibility
"RG", "0 0 0 255 normal", // Black to see when there is an error
"BC", "0 0 0 255 normal", // Black to see when there is an error
"JA", "0 0 0 255 normal", // Black to see when there is an error
"BL", "0 0 0 255 normal", // Black to see when there is an error
"VE", "0 0 0 255 normal", // Black to see when there is an error
"VI", "0 0 0 255 normal", // Black to see when there is an error
// NEW System Info Categories
"SYS", "255 255 255 255 normal", // Default system messages
"BC", "255 255 255 255 centeraround", // Broadcast messages
"TAGBC", "255 255 255 255 centeraround", // Taged broadcast messages : color should remain white as some word are tagged
"XP", "255 255 64 255 over", // XP Gain
"SP", "255 255 64 255 over", // SP Gain
"TTL", "255 255 64 255 over", // Title
"TSK", "255 255 255 255 over", // Task
"ZON", "255 255 255 255 center", // Zone
"DG", "255 0 0 255 normal", // Damage to me
"DMG", "255 0 0 255 normal", // Damage to me
"DGP", "200 0 0 255 normal", // Damage to me from player
"DGM", "255 128 64 255 normal", // Damage from me
"MIS", "150 150 150 255 normal", // The opponent misses
"MISM", "255 255 255 255 normal", // I miss
"ITM", "0 200 0 255 over", // Item
"ITMO", "170 170 255 255 overonly", // Item other in group
"ITMF", "220 0 220 255 over", // Item failed
"SPL", "50 50 250 255 normal", // Spell to me
"SPLM", "50 150 250 255 normal", // Spell from me
"EMT", "255 150 150 255 normal", // Emote
"MTD", "255 255 0 255 over", // Message Of The Day
"FORLD","64 255 64 255 overonly", // Forage Locate Deposit
"CHK", "255 120 60 255 center", // Tous ce qui ne remplit pas une condition
"CHKCB","255 255 0 255 center", // Tous ce qui ne remplit pas une condition en combat (trop loin, cible invalide, pas assez de mana, etc.)
"PVPTM","255 120 60 255 overonly", // PVP timer
"THM", "255 255 64 255 over misc_levelup.ps", // Thema finished
"AMB", "255 255 64 255 center", // Ambiance
"ISE", "192 208 255 255 normal", // Item special effect
"ISE2", "192 208 255 255 center", // Item special effect with center text (for effects without flying text)
"OSM", "128 160 255 255 center", // Outpost state message
"AROUND","255 255 0 255 around", // Only in around channel
"R2_INVITE","0 255 0 255 around", // Ring invitation
};
PrintfCommands = {
"52", "15", "55 55 0 255", "28", "uiChapterV", "624",
"428", "0 0 0 255", "18", "", "624", "378",
"0 0 0 255", "14", "", "644", "278", "0 0 0 255",
"18", "", "52", "17", "255 255 255 255", "28",
"uiChapterV", "622", "430", "255 255 255 255", "18", "",
"622", "380", "255 255 255 255", "14", "", "642",
"280", "255 255 255 255", "18", ""
};
PrintfCommandsFreeTrial = {
"52", "15", "55 55 0 255", "28", "uiChapterV", "624",
"428", "0 0 0 255", "18", "", "624", "378",
"0 0 0 255", "14", "", "644", "278", "0 0 0 255",
"18", "", "52", "17", "255 255 255 255", "28",
"uiChapterV", "622", "430", "255 255 255 255", "18", "",
"622", "380", "255 255 255 255", "14", "", "642",
"280", "255 255 255 255", "18", ""
};
DisplayMissingAnimFile = 0;
LoadingStringCount = 54;
// Some R2 parameters ...
R2Mode = 1;
R2EDEnabled = 1;
R2EDExtendedDebug = 0;
R2EDLightPalette = 0;
R2ClientGw = "r2linux01";
LoadLuaDebugger = 0;
CheckR2ScenarioMD5 = 1;
LevelDesignEnabled = 0;
DmCameraDistMax = 25;
DmRun = 20;
DmWalk = 6;
R2EDReloadFiles = {
"r2ed.xml",
"r2_basic_bricks.lua",
"r2_components.lua",
"r2_core.lua",
"r2_features_default.lua",
"r2_features_fauna.lua",
"r2_features_npc_groups.lua",
"r2_palette.lua",
"r2_scenario.lua",
"r2_ui.lua"
};
XMLInterfaceFiles = {
"config.xml",
"widgets.xml",
"webig_widgets.xml",
"player.xml",
"inventory.xml",
"interaction.xml",
"phrase.xml",
"harvest.xml",
"macros.xml",
"info_player.xml",
"outpost.xml",
"guild.xml",
"taskbar.xml",
"game_config.xml",
"game_context_menu.xml",
"player_trade.xml",
"bot_chat_v4.xml",
"compass.xml",
"map.xml",
"hierarchy.xml",
"reset.xml",
"actions.xml",
"help.xml",
"encyclopedia.xml",
"commands.xml",
"commands2.xml",
"ring_access_point_filter.xml",
"ring_window.xml",
"bg_downloader.xml"
};
XMLR2EDInterfaceFiles =
{
"r2ed.xml",
"r2_triggers.xml",
"r2_logic_entities.xml",
"r2ed_acts.xml",
"r2ed_scenario.xml",
"r2ed_connect.xml"
};
FogDistAndDepthLookupBias = 20; // bias for lookup of fog distance and depth
// Hardware cursor textures
// These will be extracted from the corresponding packed ui .tga files when they are loaded
// *
// * individual .tga files for hardware cursor bitmap not looked for, and not supported yet
HardwareCursors =
{
"curs_can_pan.tga",
"curs_can_pan_dup.tga",
"curs_create.tga",
"curs_create_multi.tga",
"curs_create_vertex_invalid.tga",
"curs_default.tga",
"curs_dup.tga",
"curs_L.tga",
"curs_M.tga",
"curs_pan.tga",
"curs_pan_dup.tga",
"curs_pick.tga",
"curs_pick_dup.tga",
"curs_R.tga",
"curs_resize_BL_TR.tga",
"curs_resize_BR_TL.tga",
"curs_resize_LR.tga",
"curs_resize_TB.tga",
"curs_rotate.tga",
"curs_scale.tga",
"curs_stop.tga",
"text_cursor.tga",
"r2_hand_can_pan.tga",
"r2_hand_pan.tga",
"r2ed_tool_can_pick.tga",
"r2ed_tool_can_rotate.tga",
"r2ed_tool_pick.tga",
"r2ed_tool_rotate.tga",
"r2ed_tool_rotating.tga"
};
Loading_BG = "new_loading_bg.tga"; // Default name for the loading background file.
Launch_BG = "new_launcher_bg.tga"; // Default name for the launch background file.
TeleportKami_BG = "new_teleport_kami_bg.tga";
TeleportKaravan_BG = "new_teleport_caravan_bg.tga";
Elevator_BG = "new_elevator_bg.tga"; // Default name for the loading background file.
ResurectKami_BG = "new_resurect_kami_bg.tga";
ResurectKaravan_BG = "new_resurect_caravane_bg.tga";
End_BG = "end_bg.tga"; // Default name for the last background file.
ScenarioSavePath = "./my_scenarios/";
// list ofpredefined keyset
// name will be looked up in the translation file by searching 'uiCP_KeysetName_" + id
// tooltip will be looked up in the translation file by searching 'uiCP_KeysetTooltip_" + id
// 'bi.' stands for built-in
// note : we add a dot in the name to be sure that there cannot be a conflict with character keyset name
BuiltInKeySets =
{
"", // default ryzom keyboard layout
"bi.zqsd", // european keyboard fps displacement style (NB : don't change this layout name, ryzom will automatically select it if keyboard is french or belgian)
"bi.wasd", // english keyboard fps displacement style (NB : don't change this layout name, ryzom will automatically select it if keyboard is not french nor belgian)
"bi.wow_alike" // 'world of warcraft' like keyboard style. (NB : not available for ring)
};
// "Newbie Training", "Story Telling", "Mistery", "Hack & Slash", "Guild Training", "Other"
ScenarioTypes = {"so_newbie_training","so_story_telling","so_mistery","so_hack_slash","so_guild_training","so_other"};
ScenarioLanguages = {"fr","de","en","other_lang"};
// Map each language to a forum help page
HelpPages =
{
"fr=http://forums.ryzom.com/forum/showthread.php?t=29130",
"en=http://forums.ryzom.com/forum/showthread.php?t=29129",
"wk=http://forums.ryzom.com/forum/showthread.php?t=29129",
"de=http://forums.ryzom.com/forum/showthread.php?t=29131"
};
WebIgMainDomain = "app.ryzom.com";
WebIgTrustedDomains = {
"api.ryzom.com", "app.ryzom.com"
};
PatchletUrl = "http://app.ryzom.com/app_patchlet/index.php?patch=preload";
SelectedSlot = 0;
BuildName = "RELEASE_HEAD";

1
dist/debian/precise/debian/compat vendored Normal file
View file

@ -0,0 +1 @@
9

212
dist/debian/precise/debian/control vendored Normal file
View file

@ -0,0 +1,212 @@
Source: ryzom-core
Priority: extra
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Uploaders: Luboš Novák <alvinx12@centrum.cz>, Cédric OCHS <kervala@gmail.com>
Build-Depends: debhelper (>= 9), cmake(>= 2.6), libxml2-dev,
libgl1-mesa-dev, libjpeg8-dev | libjpeg62-dev, libpng12-dev, libopenal-dev,
libfreetype6-dev, libxxf86vm-dev, libxrandr-dev, libxrender-dev,
libvorbis-dev, libsquish-dev, libcurl4-openssl-dev, libluabind-dev,
libboost-dev, libwww-dev, libmysqlclient-dev,
libcpptest-dev, libqt4-dev, libqt4-opengl-dev
Standards-Version: 3.9.3
Section: games
Bugs: http://dev.ryzom.com/projects/ryzom/issues
Homepage: http://dev.ryzom.com
Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/nel/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/nel/?op=log
Package: libnel0
Section: libdevel
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Massive multi-user 3D game environments library (shared library)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the shared library.
Package: libnel-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, libnel0 (= ${binary:Version})
Description: Massive multi-user 3D game environments library (development files)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the headers.
Package: libnel0-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, libnel0 (= ${binary:Version})
Description: Massive multi-user 3D game environments library (debugging symbols)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the debugging symbols.
Package: nel-tools
Section: devel
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}, libnel0 (= ${binary:Version})
Description: Massive multi-user 3D game environments library (tools)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the tools.
Package: nel-tools-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, nel-tools (= ${binary:Version})
Description: Massive multi-user 3D game environments library (tools debugging symbols)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the tools debugging symbols.
Package: libryzom-sevenzip0
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Ryzom science-fantasy MMORPG (decompression library)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the decompression shared library.
Package: libryzom-sevenzip0-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, libryzom-sevenzip0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (decompression library debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the decompression shared library debugging symbols.
Package: libryzom-gameshare0
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}, libnel0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (common shared library)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the game common shared library.
Package: libryzom-gameshare0-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, libryzom-gameshare0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (common debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the game common debugging symbols.
Package: libryzom-clientsheets0
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}, libryzom-gameshare0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (client sheets shared library)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the client sheets shared library.
Package: libryzom-clientsheets0-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, libryzom-clientsheets0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (client sheets debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the client sheets debugging symbols.
Package: ryzom-client
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, libryzom-gameshare0 (= ${binary:Version}),
libryzom-clientsheets0 (= ${binary:Version}),
ryzom-client-config (>= ${source:Version}), rsync, wget, p7zip-full
Description: Ryzom science-fantasy MMORPG (client)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the game client.
Package: ryzom-client-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, ryzom-client (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (client debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the client debugging symbols.
Package: ryzom-tools
Section: devel
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}, libryzom-gameshare0 (= ${binary:Version}),
libryzom-clientsheets0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (tools)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the tools.
Package: ryzom-tools-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, ryzom-tools (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (tools debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the tools debugging symbols.
Package: ryzom-client-config
Architecture: all
Depends: ${misc:Depends}
Description: Ryzom science-fantasy MMORPG (client configuration)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the client configuration.

53
dist/debian/precise/debian/copyright vendored Normal file
View file

@ -0,0 +1,53 @@
This package was debianized by Gürkan Sengün <gurkan@phys.ethz.ch> on
Tue, 23 Oct 2007 12:56:45 +0200.
It was downloaded from <http://dev.ryzom.com>
Upstream Authors:
Olivier Cado <cado@nevrax.com>
Bertram Felgenhauer <int-e@gmx.de>
Krzysztof Kotlenga <piernik@gmail.com>
Henri Kuuste <al-rtsan@totl.net>
Vianney Lecroart <acemtp@gmail.com>
Namine
Cédric Ochs <kervala@gmail.com>
Guillaume Puzin
Matt Raykowski <matt.raykowski@gmail.com>
Robert Timm <mail@rtti.de>
Titegus
Ulukyn
Robert Wetzel <spexius@gmx.de>
Zorglor
TODO: take names from Ryzom credits
Copyright:
Copyright (C) 2003-2009 Vianney Lecroart
Copyright (C) 2003-2009 Matt Raykowski
Copyright (C) 2000-2006 Nevrax Ltd.
Copyright (C) 2006-2007 Gameforge France
Copyright (C) 2008-2010 Winch Gate Property Limited
License:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
The Debian packaging is:
Copyright (C) 2007 Gürkan Sengün <gurkan@phys.ethz.ch>
and is licensed under the GPL version 2,
see `/usr/share/common-licenses/GPL-2'.

2
dist/debian/precise/debian/docs vendored Normal file
View file

@ -0,0 +1,2 @@
changelog
README

View file

@ -0,0 +1,2 @@
README

View file

@ -0,0 +1,3 @@
usr/include/*
usr/lib/*/libnel*.so
usr/lib/*/pkgconfig/*

View file

@ -0,0 +1 @@
debian/nel-config.1

View file

@ -0,0 +1,9 @@
Document: nel
Title: NeL Reference Manual
Author: Nevrax
Abstract: This is a software platform for creating and running massively multi-user entertainment in a 3D environment over the Internet.
Section: Programming/C
Format: HTML
Index: /usr/share/doc/libnel-doc/html/index.html
Files: /usr/share/doc/libnel-doc/html/*.html

View file

@ -0,0 +1 @@
usr/share/doc/libnel-doc/html/*

View file

@ -0,0 +1,3 @@
usr/lib/*/libnel*.so.*
usr/lib/*/nel/libnel_drv_openal.so
usr/lib/*/nel/libnel_drv_opengl.so

View file

@ -0,0 +1,2 @@
usr/lib/*/libryzom_clientsheets.so.*

View file

@ -0,0 +1,2 @@
usr/lib/*/libryzom_gameshare.so.*

View file

@ -0,0 +1,2 @@
usr/lib/*/libryzom_sevenzip.so.*

37
dist/debian/precise/debian/nel-config.1 vendored Normal file
View file

@ -0,0 +1,37 @@
.TH nel-config 1 "26 Oct 2007"
.SH NAME
nel-config \- Get information about a libnel installation
.SH SYNOPSIS
.B nel-config [options]
.SH DESCRIPTION
.B nel-config
displays information about a libnel installation.
.SH OPTIONS
.IP "--cflags"
Set of compiler options (CFLAGS) to use when compiling files that use
libnel. Currently that is only thw include path to the nel include files.
.IP "--libs"
Shows the complete set of libs and other linker options you will need in order
to link your application with libnel.
.IP "--prefix"
This is the prefix used when libnel was installed. libnel is then installed
in $prefix/lib and its header files are installed in $prefix/include and so
on. The prefix is set with "configure \-\-prefix".
.IP "--version"
Outputs version information about the installed libnel.
.SH "EXAMPLES"
What linker options do I need when I link with libnel?
$ nel-config \-\-libs
What compiler options do I need when I compile using libnel functions?
$ nel-config \-\-cflags
What's the installed libnel version?
$ nel-config \-\-version
.SH AUTHOR
.PP
This manual page was written by G\[:u]rkan Seng\[:u]n
<gurkan@linuks.mine.nu>,for the Debian project (but may be used by others).

View file

@ -0,0 +1,87 @@
etc/nel/build_ig_boxes.cfg
etc/nel/build_indoor_rbank.cfg
etc/nel/build_rbank.cfg
etc/nel/make_sheet_id.cfg
etc/nel/words_dic.cfg
etc/nel/zviewer.cfg
usr/bin/animation_set_builder
usr/bin/anim_builder
usr/bin/bnp_make
usr/bin/build_clod_bank
usr/bin/build_clodtex
usr/bin/build_coarse_mesh
usr/bin/build_far_bank
usr/bin/build_ig_boxes
usr/bin/build_indoor_rbank
usr/bin/build_interface
usr/bin/build_rbank
usr/bin/build_samplebank
usr/bin/build_shadow_skin
usr/bin/build_smallbank
usr/bin/build_sound
usr/bin/build_soundbank
usr/bin/cluster_viewer
usr/bin/disp_sheet_id
usr/bin/extract_filename
usr/bin/file_info
usr/bin/georges2csv
usr/bin/get_neighbors
usr/bin/hls_bank_maker
usr/bin/ig_add
usr/bin/ig_info
usr/bin/ig_lighter
usr/bin/lock
usr/bin/make_sheet_id
usr/bin/memlog
usr/bin/message_box_qt
usr/bin/nl_probe_timers
usr/bin/nl_sample_chatclient
usr/bin/nl_sample_chatserver
usr/bin/nl_sample_clusterview
usr/bin/nl_sample_command
usr/bin/nl_sample_configfile
usr/bin/nl_sample_ct_ai_service
usr/bin/nl_sample_ct_gd_service
usr/bin/nl_sample_debug
usr/bin/nl_sample_font
usr/bin/nl_sample_georges
usr/bin/nl_sample_i18n
usr/bin/nl_sample_log
usr/bin/nl_sample_ls_client
usr/bin/nl_sample_ls_fes
usr/bin/nl_sample_pacs
usr/bin/nl_sample_shapeview
usr/bin/nl_sample_sound_sources
usr/bin/nl_sample_stream_file
usr/bin/nl_sample_stream_ogg_vorbis
usr/bin/nl_sample_strings
usr/bin/nl_sample_udpclient
usr/bin/nl_sample_udpserver
usr/bin/panoply_maker
usr/bin/shapes_exporter
usr/bin/tga2dds
usr/bin/tga_cut
usr/bin/tga_resize
usr/bin/tile_edit_qt
usr/bin/words_dic_qt
usr/bin/xml_packer
usr/bin/zone_check_bind
usr/bin/zone_dependencies
usr/bin/zone_dump
usr/bin/zone_ig_lighter
usr/bin/zone_lighter
usr/bin/zone_welder
usr/bin/zviewer
usr/lib/*/libs3tc_compressor.so.*
usr/share/nel/nl_sample_chat
usr/share/nel/nl_sample_class_transport
usr/share/nel/nl_sample_clusterview
usr/share/nel/nl_sample_configfile
usr/share/nel/nl_sample_font
usr/share/nel/nl_sample_georges
usr/share/nel/nl_sample_i18n
usr/share/nel/nl_sample_login_system
usr/share/nel/nl_sample_pacs
usr/share/nel/nl_sample_sound
usr/share/nel/nl_sample_udp
usr/share/nel/zviewer

19
dist/debian/precise/debian/rules vendored Executable file
View file

@ -0,0 +1,19 @@
#!/usr/bin/make -f
%:
dh $@ --buildsystem=cmake --parallel
override_dh_strip:
dh_strip -plibnel0 --dbg-package=libnel0-dbg
dh_strip -pnel-tools --dbg-package=nel-tools-dbg
dh_strip -plibryzom-sevenzip0 --dbg-package=libryzom-sevenzip0-dbg
dh_strip -plibryzom-gameshare0 --dbg-package=libryzom-gameshare0-dbg
dh_strip -plibryzom-clientsheets0 --dbg-package=libryzom-clientsheets0-dbg
dh_strip -pryzom-client --dbg-package=ryzom-client-dbg
dh_strip -pryzom-tools --dbg-package=ryzom-tools-dbg
override_dh_auto_configure:
dh_auto_configure -- -DLIBRARY_ARCHITECTURE=$(DEB_HOST_MULTIARCH) -DTARGET_CPU=$(DEB_HOST_GNU_CPU) -DWITH_SYMBOLS=ON -DNL_ETC_PREFIX=/etc/nel -DRYZOM_ETC_PREFIX=/etc/ryzom -DRYZOM_SHARE_PREFIX=/usr/share/games/ryzom -DRYZOM_BIN_PREFIX=/usr/bin -DRYZOM_GAMES_PREFIX=/usr/games -DWITH_RYZOM_SERVER=OFF -DWITH_NEL_TESTS=OFF -DWITH_LIBWWW_STATIC=ON -DWITH_QT=ON
override_dh_install:
dh_install
install -m755 debian/ryzom debian/ryzom-client/usr/games/ryzom

116
dist/debian/precise/debian/ryzom vendored Executable file
View file

@ -0,0 +1,116 @@
#!/bin/sh
P7ZIP=/usr/bin/7z
RSYNC=/usr/bin/rsync
WGET=/usr/bin/wget
RYZOM_CLIENT=/usr/games/ryzom_client
RYZOM_CONFIG_DEFAULT=/etc/ryzom/client_default.cfg
RYZOM_CONFIG=~/.ryzom/client.cfg
RYZOM_DIR=~/.ryzom
DATA_DIR=$RYZOM_DIR/data
mkdir -p $RYZOM_DIR
if [ ! -d "$DATA_DIR" ]
then
# symlink user's data dir to ryzom data cache
ln -s /var/cache/ryzom/data $DATA_DIR
fi
# Check if a directory contains Ryzom data
ryzom_data_found()
{
# Check for directory, gamedev.bnp and ryzom.ttf
COUNT=0
if [ -d $1 ]
then
# If there are a least 220 bnp files, we could use this directory
# There are 226 bnp files in last version
COUNT=$(find -L $1 -name *.bnp | wc -l)
fi
echo $COUNT
}
COUNT=$(ryzom_data_found $DATA_DIR)
echo "Found $COUNT BNP files in $DATA_DIR"
if [ $COUNT -lt 220 ] && [ -f $WGET ] && [ -f $P7ZIP ]
then
mkdir -p "$DATA_DIR/tmp"
# Check free diskspace
echo "Checking for free disk space..."
DISKSPACE=$(df "$DATA_DIR/tmp" | grep "/dev" | awk '{print $4}')
if [ $? -ne 0 ]
then
exit 1
fi
if [ "$DISKSPACE" -lt "8000000" ]
then
echo "You don't have enough free space to download and uncompress Ryzom client data."
exit 1
fi
# Download
echo "Downloading ryzom_client.7z from sourceforge..."
# wget
$WGET -c http://sourceforge.net/projects/ryzom/files/ryzom_client.7z -O "$DATA_DIR/tmp/ryzom_client.7z"
if [ $? -ne 0 ]
then
exit 1
fi
# Extract data
echo "Extracting data from ryzom_client.7z..."
cd "$DATA_DIR/tmp"
# 7z
$P7ZIP x ryzom_client.7z
if [ $? -ne 0 ]
then
exit 1
fi
cd ..
mv -uf tmp/ryzom/data/* .
# Delete temporary downloaded files
rm -rf tmp
fi
if [ -f $RYZOM_CONFIG ]
then
echo "Updating $RYZOM_CONFIG..."
# Escape path for sed using bash find and replace
RYZOM_CONFIG_DEFAULT_ESCAPED=$(echo $RYZOM_CONFIG_DEFAULT | sed 's/\//\\\//g')
# Update RootConfigFilename to be sure it's using the right default config
sed -i 's/RootConfigFilename.*/RootConfigFilename = \"'$RYZOM_CONFIG_DEFAULT_ESCAPED'\"/g' $RYZOM_CONFIG
fi
if [ -f $RSYNC ]
then
echo "Patching Ryzom data..."
# Rsync
$RSYNC -rOtzv --progress --stats www.ryzom.com::ryzom/data/ $DATA_DIR
if [ $? -ne 0 ]
then
exit 1
fi
fi
# Launch Ryzom client if it exists
if [ -f $RYZOM_CLIENT ]
then
echo "Launching Ryzom..."
nohup $RYZOM_CLIENT $1 $2 $3 2> /dev/null &
fi
# Wait until all previous commands are executed and displayed before exiting
sync
exit 0

View file

@ -0,0 +1 @@
debian/client_default.cfg etc/ryzom

View file

@ -0,0 +1,4 @@
usr/games
usr/share/applications
usr/share/pixmaps
var/cache/ryzom/data

View file

@ -0,0 +1,4 @@
usr/games/ryzom_client
usr/share/icons
usr/share/pixmaps
debian/ryzom_client.desktop usr/share/applications

View file

@ -0,0 +1,6 @@
?package(ryzom-client): \
needs="x11" \
section="Games/Adventure" \
icon="/usr/share/pixmaps/ryzom.xpm" \
title="Ryzom" \
command="/usr/games/ryzom"

View file

@ -0,0 +1,10 @@
#!/bin/sh
if ! getent group ryzom ; then
addgroup --system ryzom
fi
chgrp -R ryzom /var/cache/ryzom/data
chmod -R g+wrxs /var/cache/ryzom/data
#DEBHELPER#

View file

@ -0,0 +1,49 @@
#! /bin/sh
# postrm script for ryzom-client
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see /usr/share/doc/packaging-manual/
case "$1" in
purge)
FILES=/home/*
for f in $FILES
do
FOLDER="$f/.ryzom/data"
if [ -d $FOLDER ]
then
rm -rf $FOLDER
echo "Deleting $FOLDER..."
fi
done
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
esac
#DEBHELPER#
exit 0

View file

@ -0,0 +1,26 @@
usr/bin/7zDec
usr/bin/alias_synchronizer
usr/bin/assoc_mem
usr/bin/csv_transform
usr/bin/georges_editor_qt
usr/bin/icon_search
usr/bin/make_alias_file
usr/bin/make_anim_by_race
usr/bin/make_anim_melee_impact
usr/bin/mp_generator
usr/bin/named2csv
usr/bin/patch_gen
usr/bin/patch_gen_service
usr/bin/pd_parser
usr/bin/pdr_util
usr/bin/prim_export
usr/bin/ryzom_mission_compiler
usr/bin/sheets_packer
usr/bin/skill_extractor
usr/bin/stats_scan
usr/bin/translation_tools
usr/bin/uni_conv
usr/games/ryzom_client_patcher
usr/lib/*/libryzom_mission_compiler_lib.so.*
usr/share/games/ryzom/data_leveldesign
usr/share/games/ryzom/georges_editor_qt

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Name=Ryzom
Name[ru]=Ризом
Type=Application
GenericName=ryzom_client
Exec=/usr/games/ryzom
Icon=ryzom_client
Terminal=true
Hidden=false
Categories=Game;RolePlaying;

View file

@ -0,0 +1,2 @@
1.0

4
dist/debian/readme.txt vendored Normal file
View file

@ -0,0 +1,4 @@
To create a official Ryzom Core package, you have to do:
- launch ./update.sh to update Ryzom Core to last version and create the .orig directory
- launch ./update_debian.sh <distrib> to update packaging stuff for <distrib>, create the final directory and upload source package

37
dist/debian/ryzomcore_version.sh vendored Executable file
View file

@ -0,0 +1,37 @@
#!/bin/sh
CODEROOT=../../code
VERSION_FILE=$CODEROOT/CMakeLists.txt
if [ ! -f $VERSION_FILE ]
then
echo "Unable to find $VERSION_FILE"
exit 1
fi
parse_version()
{
FILE=$1
VAR=$2
V=$(grep -o -P "NL_$VAR [0-9]+" $FILE | awk '{print $2}' | head -n 1)
if [ -z "$V" ]
then
echo "Can't parse $VAR from $FILE, aborting..."
exit 1
fi
export $VAR=$V
}
parse_version $VERSION_FILE VERSION_MAJOR
parse_version $VERSION_FILE VERSION_MINOR
parse_version $VERSION_FILE VERSION_PATCH
VERSION=$VERSION_MAJOR.$VERSION_MINOR.$VERSION_PATCH
echo $VERSION
exit 0

408
dist/debian/trusty/debian/changelog vendored Normal file
View file

@ -0,0 +1,408 @@
ryzom-core (0.8.2802~raring1) raring; urgency=low
* New upstream release (revision 2802)
-- Cédric OCHS <kervala@gmail.com> Mon, 10 Dec 2012 11:12:17 +0100
ryzom-core (0.8.2786~raring1) raring; urgency=low
* New upstream release (revision 2786)
-- Cédric OCHS <kervala@gmail.com> Fri, 07 Dec 2012 16:33:15 +0100
ryzom-core (0.8.2691~quantal1) quantal; urgency=low
* New upstream release (revision 2691)
-- Cédric OCHS <kervala@gmail.com> Sun, 07 Oct 2012 09:46:56 +0200
ryzom-core (0.8.2682~quantal1) quantal; urgency=low
* New upstream release (revision 2682)
-- Cédric OCHS <kervala@gmail.com> Wed, 03 Oct 2012 15:59:54 +0200
ryzom-core (0.8.2681~quantal2) quantal; urgency=low
* New upstream release (revision 2681)
-- Cédric OCHS <kervala@gmail.com> Tue, 02 Oct 2012 17:42:23 +0200
ryzom-core (0.8.2681~quantal1) quantal; urgency=low
* New upstream release (revision 2681)
-- Cédric OCHS <kervala@gmail.com> Tue, 02 Oct 2012 17:13:57 +0200
ryzom-core (0.8.2650~quantal2) quantal; urgency=low
* New upstream release (revision 2650)
-- Cédric OCHS <kervala@gmail.com> Mon, 24 Sep 2012 22:06:37 +0200
ryzom-core (0.8.2650~quantal1) quantal; urgency=low
* New upstream release (revision 2650)
-- Cédric OCHS <kervala@gmail.com> Mon, 24 Sep 2012 20:55:19 +0200
ryzom-core (0.8.2025~precise1) precise; urgency=low
* New upstream release (revision 2025)
-- Cédric OCHS <kervala@gmail.com> Sat, 10 Mar 2012 22:23:49 +0100
ryzom-core (0.8.2024~precise1) precise; urgency=low
* New upstream release (revision 2024)
-- Cédric OCHS <kervala@gmail.com> Sat, 10 Mar 2012 11:16:08 +0100
ryzom-core (0.8.1847~natty1) natty; urgency=low
* New upstream release (revision 1847)
-- Cédric OCHS <kervala@gmail.com> Mon, 17 Oct 2011 09:33:45 +0200
ryzom-core (0.8.1847~natty0) natty; urgency=low
* New upstream release (revision 1847)
-- Cédric OCHS <kervala@gmail.com> Sun, 16 Oct 2011 18:45:27 +0200
ryzom-core (0.8.1758~natty0) natty; urgency=low
* New upstream release (revision 1758)
-- Cédric OCHS <kervala@gmail.com> Tue, 16 Aug 2011 09:02:55 +0200
ryzom-core (0.8.1752~natty0) natty; urgency=low
* New upstream release (revision 1752)
-- Cédric OCHS <kervala@gmail.com> Sun, 14 Aug 2011 16:07:29 +0200
ryzom-core (0.8.1751~natty0) natty; urgency=low
* New upstream release (revision 1751)
-- Cédric OCHS <kervala@gmail.com> Sun, 14 Aug 2011 14:16:24 +0200
ryzom-core (0.8.1750~natty0) natty; urgency=low
* New upstream release (revision 1750)
-- Cédric OCHS <kervala@gmail.com> Sun, 14 Aug 2011 12:30:18 +0200
ryzom-core (0.8.1744~natty0) natty; urgency=low
* New upstream release (revision 1744)
-- Cédric OCHS <kervala@gmail.com> Sat, 13 Aug 2011 20:24:49 +0200
ryzom-core (0.8.1742~natty0) natty; urgency=low
* New upstream release (revision 1742)
-- Cédric OCHS <kervala@gmail.com> Fri, 12 Aug 2011 18:11:07 +0200
ryzom-core (0.8.1628~natty0) natty; urgency=low
* New upstream release (revision 1628)
-- Cédric OCHS <kervala@gmail.com> Fri, 17 Jun 2011 12:56:17 +0200
ryzom-core (0.8.1627~natty0) natty; urgency=low
* New upstream release (revision 1627)
-- Cédric OCHS <kervala@gmail.com> Tue, 14 Jun 2011 20:37:05 +0200
ryzom-core (0.8.1611~natty0) natty; urgency=low
* New upstream release (revision 1611)
-- Cédric OCHS <kervala@gmail.com> Wed, 08 Jun 2011 19:53:44 +0200
ryzom-core (0.8.1596~natty1) natty; urgency=low
* New upstream release (revision 1596)
-- Cédric OCHS <kervala@gmail.com> Sat, 04 Jun 2011 18:11:45 +0200
ryzom-core (0.7.1406~natty0) natty; urgency=low
* New upstream release (revision 1406)
-- Kervala <kervala@gmail.com> Sun, 13 Mar 2011 19:07:44 +0100
ryzom-core (0.7.1404~karmic0) karmic; urgency=low
* New upstream release (revision 1404)
-- Kervala <kervala@gmail.com> Thu, 10 Mar 2011 20:13:35 +0100
ryzom-core (0.7.1122~karmic0) karmic; urgency=low
* New upstream release (revision 1122)
-- Kervala <kervala@gmail.com> Thu, 25 Nov 2010 13:18:41 +0100
ryzom-core (0.7.992~karmic0) karmic; urgency=low
* New upstream release (revision 992)
-- Kervala <kervala@gmail.com> Tue, 19 Oct 2010 13:44:23 +0200
ryzom-core (0.7.941~karmic0) karmic; urgency=low
* New upstream release (revision 941)
-- Kervala <kervala@gmail.com> Sat, 16 Oct 2010 14:59:36 +0200
ryzom-core (0.7.933~karmic0) karmic; urgency=low
* New upstream release (revision 933)
-- Kervala <kervala@gmail.com> Fri, 15 Oct 2010 22:29:44 +0200
ryzom-core (0.7.932~karmic0) karmic; urgency=low
* New upstream release (revision 932)
-- Kervala <kervala@gmail.com> Fri, 15 Oct 2010 19:53:47 +0200
ryzom-core (0.7.666~karmic0) karmic; urgency=low
* New upstream release (revision 666)
-- Kervala <kervala@gmail.com> Sun, 29 Aug 2010 17:56:06 +0200
ryzom-core (0.7.631~karmic0) karmic; urgency=low
* New upstream release (revision 631)
-- Kervala <kervala@gmail.com> Thu, 12 Aug 2010 16:57:30 +0200
ryzom-core (0.7.614~lucid1) lucid; urgency=low
* Fixed dependencies
-- Kervala <kervala@gmail.com> Sun, 08 Aug 2010 22:42:50 +0200
ryzom-core (0.7.614~lucid0) lucid; urgency=low
* New upstream release (revision 614)
-- Kervala <kervala@gmail.com> Sun, 08 Aug 2010 21:53:00 +0200
ryzom-core (0.7.583~lucid1) lucid; urgency=low
* Added dependency on libogg and libvorbis
-- Kervala <kervala@gmail.com> Sun, 01 Aug 2010 15:38:40 +0200
ryzom-core (0.7.583~lucid0) lucid; urgency=low
* New upstream release (revision 583)
-- Kervala <kervala@gmail.com> Sun, 01 Aug 2010 14:43:28 +0200
ryzom-core (0.7.530~lucid0) lucid; urgency=low
* New upstream release (revision 530)
-- Kervala <kervala@gmail.com> Sun, 25 Jul 2010 16:50:57 +0200
ryzom-core (0.7.519~lucid0) lucid; urgency=low
* New upstream release (revision 519)
-- Kervala <kervala@gmail.com> Mon, 19 Jul 2010 22:24:05 +0200
ryzom-core (0.7.507~lucid0) lucid; urgency=low
* New upstream release (revision 507)
-- Kervala <kervala@gmail.com> Sat, 17 Jul 2010 19:56:35 +0200
ryzom-core (0.7.474~lucid0) lucid; urgency=low
* New upstream release (revision 474)
-- Kervala <kervala@gmail.com> Tue, 13 Jul 2010 08:56:24 +0200
ryzom-core (0.7.473~lucid1) lucid; urgency=low
* Some fixes
-- Kervala <kervala@gmail.com> Mon, 12 Jul 2010 22:46:16 +0200
ryzom-core (0.7.473~lucid0) lucid; urgency=low
* New upstream release (revision 473)
-- Kervala <kervala@gmail.com> Mon, 12 Jul 2010 22:04:30 +0200
ryzom-core (0.7.437~lucid1) lucid; urgency=low
* Fixed drivers installation
-- Kervala <kervala@gmail.com> Thu, 08 Jul 2010 08:54:02 +0200
ryzom-core (0.7.437~lucid0) lucid; urgency=low
* New upstream release (revision 437)
-- Kervala <kervala@gmail.com> Thu, 01 Jul 2010 20:07:14 +0200
ryzom-core (0.7.419~lucid0) lucid; urgency=low
* New upstream release (revision 419)
-- Kervala <kervala@gmail.com> Sat, 26 Jun 2010 18:58:36 +0200
ryzom-core (0.7.411~lucid0) lucid; urgency=low
* New upstream release (revision 411)
-- Kervala <kervala@gmail.com> Sat, 26 Jun 2010 11:00:47 +0200
ryzom-core (0.7.404~lucid1) lucid; urgency=low
* Fix OpenAL driver
-- Kervala <kervala@gmail.com> Thu, 24 Jun 2010 23:06:51 +0200
ryzom-core (0.7.404~lucid0) lucid; urgency=low
* New upstream release (revision 404)
-- Kervala <kervala@gmail.com> Thu, 24 Jun 2010 22:17:36 +0200
ryzom-core (0.7.394~lucid0) lucid; urgency=low
* New upstream release (revision 394)
-- Kervala <kervala@gmail.com> Tue, 22 Jun 2010 06:53:15 +0200
ryzom-core (0.7.375~lucid0) lucid; urgency=low
* New upstream release (revision 375)
-- Kervala <kervala@gmail.com> Wed, 16 Jun 2010 12:46:51 +0200
ryzom-core (0.7.371~lucid0) lucid; urgency=low
* New upstream release (revision 371)
-- Kervala <kervala@gmail.com> Mon, 14 Jun 2010 22:48:27 +0200
ryzom-core (0.7.359~lucid0) lucid; urgency=low
* New upstream release (revision 359)
-- Kervala <kervala@gmail.com> Sun, 13 Jun 2010 21:31:29 +0200
ryzom-core (0.7.350~lucid1) lucid; urgency=low
* Fixes problem with "copy" files
-- Kervala <kervala@gmail.com> Sun, 13 Jun 2010 10:36:30 +0200
ryzom-core (0.7.350~lucid0) lucid; urgency=low
* New upstream release (revision 350)
-- Kervala <kervala@gmail.com> Sun, 13 Jun 2010 09:55:38 +0200
ryzom-core (0.7.332~lucid0) lucid; urgency=low
* New upstream release (revision 332)
-- Kervala <kervala@gmail.com> Sat, 12 Jun 2010 09:09:21 +0200
ryzom-core (0.7.317~lucid0) lucid; urgency=low
* New upstream release (revision 317)
-- Kervala <kervala@gmail.com> Thu, 10 Jun 2010 13:11:28 +0200
ryzom-core (0.7.315~lucid0) lucid; urgency=low
* Fixed pkg-config installation again
-- Kervala <kervala@gmail.com> Thu, 10 Jun 2010 08:19:44 +0200
ryzom-core (0.7.311~lucid2) lucid; urgency=low
* Fixed pkg-config files
-- Kervala <kervala@gmail.com> Wed, 09 Jun 2010 22:58:15 +0200
ryzom-core (0.7.311~lucid1) lucid; urgency=low
* Fixed dependencies versions
-- Kervala <kervala@gmail.com> Wed, 09 Jun 2010 22:27:00 +0200
ryzom-core (0.7.311~lucid0) lucid; urgency=low
* New upstream version (revision 311).
-- Kervala <kervala@gmail.com> Wed, 09 Jun 2010 21:15:42 +0200
ryzom-core (0.7.304~lucid0) lucid; urgency=low
* New upstream version (revision 304).
-- Kervala <kervala@gmail.com> Wed, 09 Jun 2010 08:34:10 +0200
ryzom-core (0.7.0-1) unstable; urgency=low
[ Gürkan Sengün ]
* New upstream version. (Closes: #553248)
* Updated build dependencies.
[ Michal Čihař ]
* Convert to dh with cmake support.
* Bump standards to 3.8.4.
[ Luboš Novák ]
* Change maintainer to 'Debian Games Team'
* ftbfs_gcc_4.5.path: Fix build with g++-4.5. (Closes: #565104)
* Converted direct changes in source to patches.
* Enable building CEGUI renderer.
* Add package libnel-doc with documentation.
* debian/control
+ Changed priority of libnel-dbg to extra.
+ Remove duplicate Section in libnel0.
+ Update short descriptions.
+ Replace obsolete package xlibmesa-gl-dev with libgl1-mesa-dev
in build-depends.
+ Add libpng-dev to build-depends.
+ Remove libalut-dev from build-depends.
+ New homepage.
+ Supported architectures are i386 and amd64.
* debian/libnel-dev.dirs
+ Remove empty dir usr/lib/nel.
* debian/copyright
+ Update redistribution licence from GPL to GPL-2.
* debian/rules
+ Disable building unit test, samples and tools.
-- Luboš Novák <alvinx12@centrum.cz> Tue, 30 Mar 2010 10:29:23 +0100
ryzom-core (0.5.0-1.1) unstable; urgency=low
* Non-maintainer upload.
* Change Build-Depends: libstlport5.2-dev. (Closes: #521762)
-- Torsten Werner <twerner@debian.org> Sun, 28 Jun 2009 11:54:05 +0200
ryzom-core (0.5.0-1) unstable; urgency=low
* Initial release. (Closes: #448067)
-- Gürkan Sengün <gurkan@linuks.mine.nu> Tue, 23 Oct 2007 12:56:45 +0200

View file

@ -0,0 +1,567 @@
//////////////////////////
//////////////////////////
/// CLIENT CONFIG FILE ///
//////////////////////////
//////////////////////////
// If you set this variable to 1, your client.cfg will be overwritten when you quit the client.
// You will loose all the comments and identation in this file.
SaveConfig = 1;
///////////////////
// WINDOW CONFIG //
///////////////////
Driver3D="Auto"; // Valid values are "Auto" or "0", "OpengGL" or "1" & "Direct3D" or "2"
// "Auto" will choose the best suited driver depending on hardware
FullScreen = 0;
Width = 1024;
Height = 768;
PositionX = 0;
PositionY = 0;
Frequency = 60;
Depth = 32;
Sleep = -1;
ProcessPriority = 0; // -2 = idle, -1 = below normal, 0 = normal, 1 = above normal, 2 = high, 3 = real time
Contrast = 0.0; // -1.0 ~ 1.0
Luminosity = 0.0; // -1.0 ~ 1.0
Gamma = 0.0; // -1.0 ~ 1.0
Contrast_min = -1.0;
Luminosity_min = -1.0;
Gamma_min = -1.0;
Contrast_max = 1.0;
Luminosity_max = 1.0;
Gamma_max = 1.0;
/////////////
// NETWORK //
/////////////
Application = { "ryzom_live", "./client_ryzom_r.exe", "./" };
BackgroundDownloader = 0;
PatchServer = "http://dl.ryzom.com/patch_live";
SignUpURL = "http://www.ryzom.com/subscribe";
StartupHost = "shard.ryzom.com:40916";
StartupPage = "/login/r2_login.php";
InstallStatsUrl = "http://shard.ryzom.com:50000/stats/stats.php";
CreateAccountURL = "https://secure.ryzom.com/signup/from_client.php";
InstallWebPage = "http://dl.ryzom.com/installer/";
////////////////
// INTERFACES //
////////////////
// the language to use as in ISO 639-2
LanguageCode = "en"; // english
XMLInputFile = "input_config_v3.xml";
XMLLoginInterfaceFiles = {
"login_config.xml",
"login_widgets.xml",
"login_main.xml",
"login_keys.xml",
};
XMLOutGameInterfaceFiles = {
"out_v2_config.xml",
"out_v2_widgets.xml",
"out_v2_connect.xml",
"out_v2_intro.xml",
"out_v2_select.xml",
"out_v2_appear.xml",
"out_v2_location.xml",
"out_v2_crash.xml",
"out_v2_hierarchy.xml",
"out_v2_keys.xml",
};
// The ligo primitive class file
LigoPrimitiveClass = "world_editor_classes.xml";
VerboseLog = 1;
///////////
// MOUSE //
///////////
HardwareCursor = 1;
CursorSpeed = 1.0; // In pixels per mickey
CursorSpeed_min = 0.5;
CursorSpeed_max = 2.0;
CursorAcceleration = 40; // Threshold in mickey
CursorAcceleration_min = 20;
CursorAcceleration_max = 80;
FreeLookSpeed = 0.004; // In radian per mickey
FreeLookSpeed_min = 0.0001;
FreeLookSpeed_max = 0.01;
FreeLookAcceleration = 40; // Threshold in mickey
FreeLookAcceleration_min = 20;
FreeLookAcceleration_max = 80;
FreeLookInverted = 0;
AutomaticCamera = 0;
DblClickMode = 1;
AutoEquipTool = 1;
///////////////////
// RENDER CONFIG //
///////////////////
// NB: thoses variables configure also the InGameConfigurator:
// _min and _max define the bounds
// _step defines the step (NB: take care of _min and _max!!)
// _ps0 is the LOW preset, _ps1 is the MEDIUM preset, _ps2 is the NORMAL Preset, and _ps3 is the HIGH one
// *** LANDSCAPE
LandscapeTileNear = 150.000000;
LandscapeTileNear_min = 20.000000;
LandscapeTileNear_max = 250.000000;
LandscapeTileNear_step = 10.0;
LandscapeTileNear_ps0 = 20.0;
LandscapeTileNear_ps1 = 100.0;
LandscapeTileNear_ps2 = 150.0;
LandscapeTileNear_ps3 = 200.0;
// NB: threshold is inverted ULandscape::setThreshold(), to be more intelligible
LandscapeThreshold = 2000.0;
LandscapeThreshold_min = 100.0; // Low quality => 0.01 threshold
LandscapeThreshold_max = 4000.0; // High quality => 0.0005 threshold
LandscapeThreshold_step = 100.0;
LandscapeThreshold_ps0 = 100.0;
LandscapeThreshold_ps1 = 1000.0;
LandscapeThreshold_ps2 = 2000.0;
LandscapeThreshold_ps3 = 3000.0;
Vision = 500.000000;
Vision_min = 200.000000;
Vision_max = 800.000000;
Vision_step = 100.000000;
Vision_ps0 = 200.0;
Vision_ps1 = 400.0;
Vision_ps2 = 500.0;
Vision_ps3 = 800.0;
MicroVeget = 1; // Enable/Disable MicroVeget.
MicroVeget_ps0 = 0;
MicroVeget_ps1 = 1;
MicroVeget_ps2 = 1;
MicroVeget_ps3 = 1;
MicroVegetDensity = 80.0;
MicroVegetDensity_min = 10.0;
MicroVegetDensity_max = 100.0;
MicroVegetDensity_step = 10.0;
MicroVegetDensity_ps0 = 10.0; // not used since disabled!
MicroVegetDensity_ps1 = 30.0;
MicroVegetDensity_ps2 = 80.0;
MicroVegetDensity_ps3 = 100.0;
// *** FX
FxNbMaxPoly = 20000;
FxNbMaxPoly_min = 2000;
FxNbMaxPoly_max = 50000;
FxNbMaxPoly_step= 2000;
FxNbMaxPoly_ps0 = 2000;
FxNbMaxPoly_ps1 = 10000;
FxNbMaxPoly_ps2 = 20000;
FxNbMaxPoly_ps3 = 50000;
Cloud = 1;
Cloud_ps0 = 0 ;
Cloud_ps1 = 1 ;
Cloud_ps2 = 1 ;
Cloud_ps3 = 1 ;
CloudQuality = 160.0;
CloudQuality_min = 80.0;
CloudQuality_max = 320.0;
CloudQuality_step = 20.0;
CloudQuality_ps0 = 80.0; // not used since disabled!
CloudQuality_ps1 = 80.0;
CloudQuality_ps2 = 160.0;
CloudQuality_ps3 = 320.0;
CloudUpdate = 1;
CloudUpdate_min = 1;
CloudUpdate_max = 8;
CloudUpdate_step= 1;
CloudUpdate_ps0 = 1; // not used since disabled!
CloudUpdate_ps1 = 1;
CloudUpdate_ps2 = 1;
CloudUpdate_ps3 = 3;
Shadows = 1;
Shadows_ps0 = 0;
Shadows_ps1 = 1;
Shadows_ps2 = 1;
Shadows_ps3 = 1;
Bloom = 0;
Bloom_ps0 = 0;
Bloom_ps1 = 1;
Bloom_ps2 = 1;
Bloom_ps3 = 1;
SquareBloom = 1;
SquareBloom_ps0 = 0;
SquareBloom_ps1 = 1;
SquareBloom_ps2 = 1;
SquareBloom_ps3 = 1;
DensityBloom = 255.0;
DensityBloom_min = 0.0;
DensityBloom_max = 255.0;
DensityBloom_step = 1.0;
DensityBloom_ps0 = 255.0;
DensityBloom_ps1 = 255.0;
DensityBloom_ps2 = 255.0;
DensityBloom_ps3 = 255.0;
// *** CHARACTERS
SkinNbMaxPoly = 100000;
SkinNbMaxPoly_min = 5000;
SkinNbMaxPoly_max = 250000;
SkinNbMaxPoly_step = 5000;
SkinNbMaxPoly_ps0 = 10000;
SkinNbMaxPoly_ps1 = 70000;
SkinNbMaxPoly_ps2 = 100000;
SkinNbMaxPoly_ps3 = 200000;
NbMaxSkeletonNotCLod = 125;
NbMaxSkeletonNotCLod_min = 5;
NbMaxSkeletonNotCLod_max = 255;
NbMaxSkeletonNotCLod_step = 5;
NbMaxSkeletonNotCLod_ps0 = 10;
NbMaxSkeletonNotCLod_ps1 = 50;
NbMaxSkeletonNotCLod_ps2 = 125;
NbMaxSkeletonNotCLod_ps3 = 255;
CharacterFarClip = 200.0;
CharacterFarClip_min = 50.0;
CharacterFarClip_max = 500.0;
CharacterFarClip_step = 10.0;
CharacterFarClip_ps0 = 50.0;
CharacterFarClip_ps1 = 100.0;
CharacterFarClip_ps2 = 200.0;
CharacterFarClip_ps3 = 500.0;
EnableRacialAnimation = 1;
// *** MISC
// This is the actual aspect ratio of your screen (no relation with the resolution!!). Set 1.7777 if you got a 16/9 screen for instance
ScreenAspectRatio = 0.0;
ForceDXTC = 1; // Enable/Disable DXTC.
DivideTextureSizeBy2= 0; // Divide texture size
DisableVtxProgram = 0; // Disable Hardware Vertex Program.
DisableVtxAGP = 0; // Disable Hardware Vertex AGP.
DisableTextureShdr = 0; // Disable Hardware Texture Shader.
HDEntityTexture = 0;
HDTextureInstalled = 1;
WaitVBL = 0; // 0 or 1 to wait Vertical Sync.
//////////////////
// GAME OPTIONS //
//////////////////
SelectWithRClick = 1;
DisplayWeapons = 1;
RotKeySpeedMax = 2.0;
RotKeySpeedMax_min = 1.0;
RotKeySpeedMax_max = 4.0;
RotKeySpeedMin = 1.0;
RotKeySpeedMin_min = 0.5;
RotKeySpeedMin_max = 2.0;
RotAccel = 3.0;
FollowOnAtk = 0;
AtkOnSelect = 0;
ZCPacsPrim = "gen_bt_col_ext.pacs_prim";
/////////////////
// PREFERENCES //
/////////////////
FPV = 0; // FPV(First Person View) : default is false (Third Person View).
CameraHeight = 2.2; // Camera Height (in meter) from the ground (for the Third Person View).
CameraDistance = 3.0; // Camera Distance(in meter) from the user (for the Third Person View).
CameraDistStep = 1.0;
CameraDistMin = 1.0;
CameraDistMax = 25.0;
CameraAccel = 5.0;
CameraSpeedMin = 2.0;
CameraSpeedMax = 100.0;
CameraResetSpeed = 10.0; // Speed in radian/s
//////////////////
// SOUND CONFIG //
//////////////////
SoundForceSoftwareBuffer= 1;
SoundOn = 1;
UseEax = 0;
MaxTrack = 32;
MaxTrack_min = 4;
MaxTrack_max = 32;
MaxTrack_step = 4;
// This is the volume for "InGame" sound FXs
SoundSFXVolume = 1.0;
SoundSFXVolume_min = 0.0;
SoundSFXVolume_max = 1.0;
SoundSFXVolume_step = 0.001;
// This is volume for "InGame" music. Does not affect the MP3 player
SoundGameMusicVolume = 0.5;
SoundGameMusicVolume_min = 0.0;
SoundGameMusicVolume_max = 1.0;
SoundGameMusicVolume_step = 0.001;
// MISC
PreDataPath = { "user", "patch", "examples", "data/fonts", "data/gamedev.bnp" };
DataPath = { "data" };
NeedComputeVS = 0;
NegFiltersDebug = {"Update DB", "Reading:", "Read Value :", "impulseCallBack", "CLIMPD:", "LNET" };
NegFiltersInfo = { "CLIMPD:", "CPath::lookup" , "LNET" };
NegFiltersWarning = { "'basics.Equipment Slot'.", "_usercolor.tga", "PACS" };
// Big screen shot
ScreenShotWidth = 0;
ScreenShotHeight = 0;
ScreenShotFullDetail = 1; // 1 to switch full detail mode for characters (both standard & big screenshots)
// Read : "ID", "R G B A MODE [FX]"
SystemInfoColors =
{
// OLD STUFF Here for compatibility
"RG", "0 0 0 255 normal", // Black to see when there is an error
"BC", "0 0 0 255 normal", // Black to see when there is an error
"JA", "0 0 0 255 normal", // Black to see when there is an error
"BL", "0 0 0 255 normal", // Black to see when there is an error
"VE", "0 0 0 255 normal", // Black to see when there is an error
"VI", "0 0 0 255 normal", // Black to see when there is an error
// NEW System Info Categories
"SYS", "255 255 255 255 normal", // Default system messages
"BC", "255 255 255 255 centeraround", // Broadcast messages
"TAGBC", "255 255 255 255 centeraround", // Taged broadcast messages : color should remain white as some word are tagged
"XP", "255 255 64 255 over", // XP Gain
"SP", "255 255 64 255 over", // SP Gain
"TTL", "255 255 64 255 over", // Title
"TSK", "255 255 255 255 over", // Task
"ZON", "255 255 255 255 center", // Zone
"DG", "255 0 0 255 normal", // Damage to me
"DMG", "255 0 0 255 normal", // Damage to me
"DGP", "200 0 0 255 normal", // Damage to me from player
"DGM", "255 128 64 255 normal", // Damage from me
"MIS", "150 150 150 255 normal", // The opponent misses
"MISM", "255 255 255 255 normal", // I miss
"ITM", "0 200 0 255 over", // Item
"ITMO", "170 170 255 255 overonly", // Item other in group
"ITMF", "220 0 220 255 over", // Item failed
"SPL", "50 50 250 255 normal", // Spell to me
"SPLM", "50 150 250 255 normal", // Spell from me
"EMT", "255 150 150 255 normal", // Emote
"MTD", "255 255 0 255 over", // Message Of The Day
"FORLD","64 255 64 255 overonly", // Forage Locate Deposit
"CHK", "255 120 60 255 center", // Tous ce qui ne remplit pas une condition
"CHKCB","255 255 0 255 center", // Tous ce qui ne remplit pas une condition en combat (trop loin, cible invalide, pas assez de mana, etc.)
"PVPTM","255 120 60 255 overonly", // PVP timer
"THM", "255 255 64 255 over misc_levelup.ps", // Thema finished
"AMB", "255 255 64 255 center", // Ambiance
"ISE", "192 208 255 255 normal", // Item special effect
"ISE2", "192 208 255 255 center", // Item special effect with center text (for effects without flying text)
"OSM", "128 160 255 255 center", // Outpost state message
"AROUND","255 255 0 255 around", // Only in around channel
"R2_INVITE","0 255 0 255 around", // Ring invitation
};
PrintfCommands = {
"52", "15", "55 55 0 255", "28", "uiChapterV", "624",
"428", "0 0 0 255", "18", "", "624", "378",
"0 0 0 255", "14", "", "644", "278", "0 0 0 255",
"18", "", "52", "17", "255 255 255 255", "28",
"uiChapterV", "622", "430", "255 255 255 255", "18", "",
"622", "380", "255 255 255 255", "14", "", "642",
"280", "255 255 255 255", "18", ""
};
PrintfCommandsFreeTrial = {
"52", "15", "55 55 0 255", "28", "uiChapterV", "624",
"428", "0 0 0 255", "18", "", "624", "378",
"0 0 0 255", "14", "", "644", "278", "0 0 0 255",
"18", "", "52", "17", "255 255 255 255", "28",
"uiChapterV", "622", "430", "255 255 255 255", "18", "",
"622", "380", "255 255 255 255", "14", "", "642",
"280", "255 255 255 255", "18", ""
};
DisplayMissingAnimFile = 0;
LoadingStringCount = 54;
// Some R2 parameters ...
R2Mode = 1;
R2EDEnabled = 1;
R2EDExtendedDebug = 0;
R2EDLightPalette = 0;
R2ClientGw = "r2linux01";
LoadLuaDebugger = 0;
CheckR2ScenarioMD5 = 1;
LevelDesignEnabled = 0;
DmCameraDistMax = 25;
DmRun = 20;
DmWalk = 6;
R2EDReloadFiles = {
"r2ed.xml",
"r2_basic_bricks.lua",
"r2_components.lua",
"r2_core.lua",
"r2_features_default.lua",
"r2_features_fauna.lua",
"r2_features_npc_groups.lua",
"r2_palette.lua",
"r2_scenario.lua",
"r2_ui.lua"
};
XMLInterfaceFiles = {
"config.xml",
"widgets.xml",
"webig_widgets.xml",
"player.xml",
"inventory.xml",
"interaction.xml",
"phrase.xml",
"harvest.xml",
"macros.xml",
"info_player.xml",
"outpost.xml",
"guild.xml",
"taskbar.xml",
"game_config.xml",
"game_context_menu.xml",
"player_trade.xml",
"bot_chat_v4.xml",
"compass.xml",
"map.xml",
"hierarchy.xml",
"reset.xml",
"actions.xml",
"help.xml",
"encyclopedia.xml",
"commands.xml",
"commands2.xml",
"ring_access_point_filter.xml",
"ring_window.xml",
"bg_downloader.xml"
};
XMLR2EDInterfaceFiles =
{
"r2ed.xml",
"r2_triggers.xml",
"r2_logic_entities.xml",
"r2ed_acts.xml",
"r2ed_scenario.xml",
"r2ed_connect.xml"
};
FogDistAndDepthLookupBias = 20; // bias for lookup of fog distance and depth
// Hardware cursor textures
// These will be extracted from the corresponding packed ui .tga files when they are loaded
// *
// * individual .tga files for hardware cursor bitmap not looked for, and not supported yet
HardwareCursors =
{
"curs_can_pan.tga",
"curs_can_pan_dup.tga",
"curs_create.tga",
"curs_create_multi.tga",
"curs_create_vertex_invalid.tga",
"curs_default.tga",
"curs_dup.tga",
"curs_L.tga",
"curs_M.tga",
"curs_pan.tga",
"curs_pan_dup.tga",
"curs_pick.tga",
"curs_pick_dup.tga",
"curs_R.tga",
"curs_resize_BL_TR.tga",
"curs_resize_BR_TL.tga",
"curs_resize_LR.tga",
"curs_resize_TB.tga",
"curs_rotate.tga",
"curs_scale.tga",
"curs_stop.tga",
"text_cursor.tga",
"r2_hand_can_pan.tga",
"r2_hand_pan.tga",
"r2ed_tool_can_pick.tga",
"r2ed_tool_can_rotate.tga",
"r2ed_tool_pick.tga",
"r2ed_tool_rotate.tga",
"r2ed_tool_rotating.tga"
};
Loading_BG = "new_loading_bg.tga"; // Default name for the loading background file.
Launch_BG = "new_launcher_bg.tga"; // Default name for the launch background file.
TeleportKami_BG = "new_teleport_kami_bg.tga";
TeleportKaravan_BG = "new_teleport_caravan_bg.tga";
Elevator_BG = "new_elevator_bg.tga"; // Default name for the loading background file.
ResurectKami_BG = "new_resurect_kami_bg.tga";
ResurectKaravan_BG = "new_resurect_caravane_bg.tga";
End_BG = "end_bg.tga"; // Default name for the last background file.
ScenarioSavePath = "./my_scenarios/";
// list ofpredefined keyset
// name will be looked up in the translation file by searching 'uiCP_KeysetName_" + id
// tooltip will be looked up in the translation file by searching 'uiCP_KeysetTooltip_" + id
// 'bi.' stands for built-in
// note : we add a dot in the name to be sure that there cannot be a conflict with character keyset name
BuiltInKeySets =
{
"", // default ryzom keyboard layout
"bi.zqsd", // european keyboard fps displacement style (NB : don't change this layout name, ryzom will automatically select it if keyboard is french or belgian)
"bi.wasd", // english keyboard fps displacement style (NB : don't change this layout name, ryzom will automatically select it if keyboard is not french nor belgian)
"bi.wow_alike" // 'world of warcraft' like keyboard style. (NB : not available for ring)
};
// "Newbie Training", "Story Telling", "Mistery", "Hack & Slash", "Guild Training", "Other"
ScenarioTypes = {"so_newbie_training","so_story_telling","so_mistery","so_hack_slash","so_guild_training","so_other"};
ScenarioLanguages = {"fr","de","en","other_lang"};
// Map each language to a forum help page
HelpPages =
{
"fr=http://forums.ryzom.com/forum/showthread.php?t=29130",
"en=http://forums.ryzom.com/forum/showthread.php?t=29129",
"wk=http://forums.ryzom.com/forum/showthread.php?t=29129",
"de=http://forums.ryzom.com/forum/showthread.php?t=29131"
};
WebIgMainDomain = "app.ryzom.com";
WebIgTrustedDomains = {
"api.ryzom.com", "app.ryzom.com"
};
PatchletUrl = "http://app.ryzom.com/app_patchlet/index.php?patch=preload";
SelectedSlot = 0;
BuildName = "RELEASE_HEAD";

1
dist/debian/trusty/debian/compat vendored Normal file
View file

@ -0,0 +1 @@
9

212
dist/debian/trusty/debian/control vendored Normal file
View file

@ -0,0 +1,212 @@
Source: ryzom-core
Priority: extra
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Uploaders: Luboš Novák <alvinx12@centrum.cz>, Cédric OCHS <kervala@gmail.com>
Build-Depends: debhelper (>= 9), cmake(>= 2.6), libxml2-dev,
libgl1-mesa-dev, libjpeg8-dev | libjpeg62-dev, libpng12-dev, libopenal-dev,
libfreetype6-dev, libxxf86vm-dev, libxrandr-dev, libxrender-dev,
libvorbis-dev, libsquish-dev, libcurl4-openssl-dev, libluabind-dev,
libboost-dev, libwww-dev, libmysqlclient-dev,
libcpptest-dev, libqt4-dev, libqt4-opengl-dev
Standards-Version: 3.9.5
Section: games
Bugs: http://dev.ryzom.com/projects/ryzom/issues
Homepage: http://dev.ryzom.com
Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/nel/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/nel/?op=log
Package: libnel0
Section: libdevel
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Massive multi-user 3D game environments library (shared library)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the shared library.
Package: libnel-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, libnel0 (= ${binary:Version})
Description: Massive multi-user 3D game environments library (development files)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the headers.
Package: libnel0-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, libnel0 (= ${binary:Version})
Description: Massive multi-user 3D game environments library (debugging symbols)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the debugging symbols.
Package: nel-tools
Section: devel
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}, libnel0 (= ${binary:Version})
Description: Massive multi-user 3D game environments library (tools)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the tools.
Package: nel-tools-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, nel-tools (= ${binary:Version})
Description: Massive multi-user 3D game environments library (tools debugging symbols)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the tools debugging symbols.
Package: libryzom-sevenzip0
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Ryzom science-fantasy MMORPG (decompression library)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the decompression shared library.
Package: libryzom-sevenzip0-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, libryzom-sevenzip0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (decompression library debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the decompression shared library debugging symbols.
Package: libryzom-gameshare0
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}, libnel0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (common shared library)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the game common shared library.
Package: libryzom-gameshare0-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, libryzom-gameshare0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (common debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the game common debugging symbols.
Package: libryzom-clientsheets0
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}, libryzom-gameshare0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (client sheets shared library)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the client sheets shared library.
Package: libryzom-clientsheets0-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, libryzom-clientsheets0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (client sheets debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the client sheets debugging symbols.
Package: ryzom-client
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, libryzom-gameshare0 (= ${binary:Version}),
libryzom-clientsheets0 (= ${binary:Version}),
ryzom-client-config (>= ${source:Version}), rsync, wget, p7zip-full
Description: Ryzom science-fantasy MMORPG (client)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the game client.
Package: ryzom-client-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, ryzom-client (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (client debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the client debugging symbols.
Package: ryzom-tools
Section: devel
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}, libryzom-gameshare0 (= ${binary:Version}),
libryzom-clientsheets0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (tools)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the tools.
Package: ryzom-tools-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, ryzom-tools (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (tools debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the tools debugging symbols.
Package: ryzom-client-config
Architecture: all
Depends: ${misc:Depends}
Description: Ryzom science-fantasy MMORPG (client configuration)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the client configuration.

53
dist/debian/trusty/debian/copyright vendored Normal file
View file

@ -0,0 +1,53 @@
This package was debianized by Gürkan Sengün <gurkan@phys.ethz.ch> on
Tue, 23 Oct 2007 12:56:45 +0200.
It was downloaded from <http://dev.ryzom.com>
Upstream Authors:
Olivier Cado <cado@nevrax.com>
Bertram Felgenhauer <int-e@gmx.de>
Krzysztof Kotlenga <piernik@gmail.com>
Henri Kuuste <al-rtsan@totl.net>
Vianney Lecroart <acemtp@gmail.com>
Namine
Cédric Ochs <kervala@gmail.com>
Guillaume Puzin
Matt Raykowski <matt.raykowski@gmail.com>
Robert Timm <mail@rtti.de>
Titegus
Ulukyn
Robert Wetzel <spexius@gmx.de>
Zorglor
TODO: take names from Ryzom credits
Copyright:
Copyright (C) 2003-2009 Vianney Lecroart
Copyright (C) 2003-2009 Matt Raykowski
Copyright (C) 2000-2006 Nevrax Ltd.
Copyright (C) 2006-2007 Gameforge France
Copyright (C) 2008-2010 Winch Gate Property Limited
License:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
The Debian packaging is:
Copyright (C) 2007 Gürkan Sengün <gurkan@phys.ethz.ch>
and is licensed under the GPL version 2,
see `/usr/share/common-licenses/GPL-2'.

2
dist/debian/trusty/debian/docs vendored Normal file
View file

@ -0,0 +1,2 @@
changelog
README

View file

@ -0,0 +1,2 @@
README

View file

@ -0,0 +1,3 @@
usr/include/*
usr/lib/*/libnel*.so
usr/lib/*/pkgconfig/*

View file

@ -0,0 +1 @@
debian/nel-config.1

View file

@ -0,0 +1,9 @@
Document: nel
Title: NeL Reference Manual
Author: Nevrax
Abstract: This is a software platform for creating and running massively multi-user entertainment in a 3D environment over the Internet.
Section: Programming/C
Format: HTML
Index: /usr/share/doc/libnel-doc/html/index.html
Files: /usr/share/doc/libnel-doc/html/*.html

View file

@ -0,0 +1 @@
usr/share/doc/libnel-doc/html/*

View file

@ -0,0 +1,3 @@
usr/lib/*/libnel*.so.*
usr/lib/*/nel/libnel_drv_openal.so
usr/lib/*/nel/libnel_drv_opengl.so

View file

@ -0,0 +1,2 @@
usr/lib/*/libryzom_clientsheets.so.*

View file

@ -0,0 +1,2 @@
usr/lib/*/libryzom_gameshare.so.*

View file

@ -0,0 +1,2 @@
usr/lib/*/libryzom_sevenzip.so.*

37
dist/debian/trusty/debian/nel-config.1 vendored Normal file
View file

@ -0,0 +1,37 @@
.TH nel-config 1 "26 Oct 2007"
.SH NAME
nel-config \- Get information about a libnel installation
.SH SYNOPSIS
.B nel-config [options]
.SH DESCRIPTION
.B nel-config
displays information about a libnel installation.
.SH OPTIONS
.IP "--cflags"
Set of compiler options (CFLAGS) to use when compiling files that use
libnel. Currently that is only thw include path to the nel include files.
.IP "--libs"
Shows the complete set of libs and other linker options you will need in order
to link your application with libnel.
.IP "--prefix"
This is the prefix used when libnel was installed. libnel is then installed
in $prefix/lib and its header files are installed in $prefix/include and so
on. The prefix is set with "configure \-\-prefix".
.IP "--version"
Outputs version information about the installed libnel.
.SH "EXAMPLES"
What linker options do I need when I link with libnel?
$ nel-config \-\-libs
What compiler options do I need when I compile using libnel functions?
$ nel-config \-\-cflags
What's the installed libnel version?
$ nel-config \-\-version
.SH AUTHOR
.PP
This manual page was written by G\[:u]rkan Seng\[:u]n
<gurkan@linuks.mine.nu>,for the Debian project (but may be used by others).

View file

@ -0,0 +1,87 @@
etc/nel/build_ig_boxes.cfg
etc/nel/build_indoor_rbank.cfg
etc/nel/build_rbank.cfg
etc/nel/make_sheet_id.cfg
etc/nel/words_dic.cfg
etc/nel/zviewer.cfg
usr/bin/animation_set_builder
usr/bin/anim_builder
usr/bin/bnp_make
usr/bin/build_clod_bank
usr/bin/build_clodtex
usr/bin/build_coarse_mesh
usr/bin/build_far_bank
usr/bin/build_ig_boxes
usr/bin/build_indoor_rbank
usr/bin/build_interface
usr/bin/build_rbank
usr/bin/build_samplebank
usr/bin/build_shadow_skin
usr/bin/build_smallbank
usr/bin/build_sound
usr/bin/build_soundbank
usr/bin/cluster_viewer
usr/bin/disp_sheet_id
usr/bin/extract_filename
usr/bin/file_info
usr/bin/georges2csv
usr/bin/get_neighbors
usr/bin/hls_bank_maker
usr/bin/ig_add
usr/bin/ig_info
usr/bin/ig_lighter
usr/bin/lock
usr/bin/make_sheet_id
usr/bin/memlog
usr/bin/message_box_qt
usr/bin/nl_probe_timers
usr/bin/nl_sample_chatclient
usr/bin/nl_sample_chatserver
usr/bin/nl_sample_clusterview
usr/bin/nl_sample_command
usr/bin/nl_sample_configfile
usr/bin/nl_sample_ct_ai_service
usr/bin/nl_sample_ct_gd_service
usr/bin/nl_sample_debug
usr/bin/nl_sample_font
usr/bin/nl_sample_georges
usr/bin/nl_sample_i18n
usr/bin/nl_sample_log
usr/bin/nl_sample_ls_client
usr/bin/nl_sample_ls_fes
usr/bin/nl_sample_pacs
usr/bin/nl_sample_shapeview
usr/bin/nl_sample_sound_sources
usr/bin/nl_sample_stream_file
usr/bin/nl_sample_stream_ogg_vorbis
usr/bin/nl_sample_strings
usr/bin/nl_sample_udpclient
usr/bin/nl_sample_udpserver
usr/bin/panoply_maker
usr/bin/shapes_exporter
usr/bin/tga2dds
usr/bin/tga_cut
usr/bin/tga_resize
usr/bin/tile_edit_qt
usr/bin/words_dic_qt
usr/bin/xml_packer
usr/bin/zone_check_bind
usr/bin/zone_dependencies
usr/bin/zone_dump
usr/bin/zone_ig_lighter
usr/bin/zone_lighter
usr/bin/zone_welder
usr/bin/zviewer
usr/lib/*/libs3tc_compressor.so.*
usr/share/nel/nl_sample_chat
usr/share/nel/nl_sample_class_transport
usr/share/nel/nl_sample_clusterview
usr/share/nel/nl_sample_configfile
usr/share/nel/nl_sample_font
usr/share/nel/nl_sample_georges
usr/share/nel/nl_sample_i18n
usr/share/nel/nl_sample_login_system
usr/share/nel/nl_sample_pacs
usr/share/nel/nl_sample_sound
usr/share/nel/nl_sample_udp
usr/share/nel/zviewer

19
dist/debian/trusty/debian/rules vendored Executable file
View file

@ -0,0 +1,19 @@
#!/usr/bin/make -f
%:
dh $@ --buildsystem=cmake --parallel
override_dh_strip:
dh_strip -plibnel0 --dbg-package=libnel0-dbg
dh_strip -pnel-tools --dbg-package=nel-tools-dbg
dh_strip -plibryzom-sevenzip0 --dbg-package=libryzom-sevenzip0-dbg
dh_strip -plibryzom-gameshare0 --dbg-package=libryzom-gameshare0-dbg
dh_strip -plibryzom-clientsheets0 --dbg-package=libryzom-clientsheets0-dbg
dh_strip -pryzom-client --dbg-package=ryzom-client-dbg
dh_strip -pryzom-tools --dbg-package=ryzom-tools-dbg
override_dh_auto_configure:
dh_auto_configure -- -DLIBRARY_ARCHITECTURE=$(DEB_HOST_MULTIARCH) -DTARGET_CPU=$(DEB_HOST_GNU_CPU) -DWITH_SYMBOLS=ON -DNL_ETC_PREFIX=/etc/nel -DRYZOM_ETC_PREFIX=/etc/ryzom -DRYZOM_SHARE_PREFIX=/usr/share/games/ryzom -DRYZOM_BIN_PREFIX=/usr/bin -DRYZOM_GAMES_PREFIX=/usr/games -DWITH_RYZOM_SERVER=OFF -DWITH_NEL_TESTS=OFF -DWITH_LIBWWW_STATIC=ON -DWITH_QT=ON
override_dh_install:
dh_install
install -m755 debian/ryzom debian/ryzom-client/usr/games/ryzom

116
dist/debian/trusty/debian/ryzom vendored Executable file
View file

@ -0,0 +1,116 @@
#!/bin/sh
P7ZIP=/usr/bin/7z
RSYNC=/usr/bin/rsync
WGET=/usr/bin/wget
RYZOM_CLIENT=/usr/games/ryzom_client
RYZOM_CONFIG_DEFAULT=/etc/ryzom/client_default.cfg
RYZOM_CONFIG=~/.ryzom/client.cfg
RYZOM_DIR=~/.ryzom
DATA_DIR=$RYZOM_DIR/data
mkdir -p $RYZOM_DIR
if [ ! -d "$DATA_DIR" ]
then
# symlink user's data dir to ryzom data cache
ln -s /var/cache/ryzom/data $DATA_DIR
fi
# Check if a directory contains Ryzom data
ryzom_data_found()
{
# Check for directory, gamedev.bnp and ryzom.ttf
COUNT=0
if [ -d $1 ]
then
# If there are a least 220 bnp files, we could use this directory
# There are 226 bnp files in last version
COUNT=$(find -L $1 -name *.bnp | wc -l)
fi
echo $COUNT
}
COUNT=$(ryzom_data_found $DATA_DIR)
echo "Found $COUNT BNP files in $DATA_DIR"
if [ $COUNT -lt 220 ] && [ -f $WGET ] && [ -f $P7ZIP ]
then
mkdir -p "$DATA_DIR/tmp"
# Check free diskspace
echo "Checking for free disk space..."
DISKSPACE=$(df "$DATA_DIR/tmp" | grep "/dev" | awk '{print $4}')
if [ $? -ne 0 ]
then
exit 1
fi
if [ "$DISKSPACE" -lt "8000000" ]
then
echo "You don't have enough free space to download and uncompress Ryzom client data."
exit 1
fi
# Download
echo "Downloading ryzom_client.7z from sourceforge..."
# wget
$WGET -c http://sourceforge.net/projects/ryzom/files/ryzom_client.7z -O "$DATA_DIR/tmp/ryzom_client.7z"
if [ $? -ne 0 ]
then
exit 1
fi
# Extract data
echo "Extracting data from ryzom_client.7z..."
cd "$DATA_DIR/tmp"
# 7z
$P7ZIP x ryzom_client.7z
if [ $? -ne 0 ]
then
exit 1
fi
cd ..
mv -uf tmp/ryzom/data/* .
# Delete temporary downloaded files
rm -rf tmp
fi
if [ -f $RYZOM_CONFIG ]
then
echo "Updating $RYZOM_CONFIG..."
# Escape path for sed using bash find and replace
RYZOM_CONFIG_DEFAULT_ESCAPED=$(echo $RYZOM_CONFIG_DEFAULT | sed 's/\//\\\//g')
# Update RootConfigFilename to be sure it's using the right default config
sed -i 's/RootConfigFilename.*/RootConfigFilename = \"'$RYZOM_CONFIG_DEFAULT_ESCAPED'\"/g' $RYZOM_CONFIG
fi
if [ -f $RSYNC ]
then
echo "Patching Ryzom data..."
# Rsync
$RSYNC -rOtzv --progress --stats www.ryzom.com::ryzom/data/ $DATA_DIR
if [ $? -ne 0 ]
then
exit 1
fi
fi
# Launch Ryzom client if it exists
if [ -f $RYZOM_CLIENT ]
then
echo "Launching Ryzom..."
nohup $RYZOM_CLIENT $1 $2 $3 2> /dev/null &
fi
# Wait until all previous commands are executed and displayed before exiting
sync
exit 0

View file

@ -0,0 +1 @@
debian/client_default.cfg etc/ryzom

View file

@ -0,0 +1,4 @@
usr/games
usr/share/applications
usr/share/pixmaps
var/cache/ryzom/data

View file

@ -0,0 +1,4 @@
usr/games/ryzom_client
usr/share/icons
usr/share/pixmaps
debian/ryzom_client.desktop usr/share/applications

View file

@ -0,0 +1,6 @@
?package(ryzom-client): \
needs="x11" \
section="Games/Adventure" \
icon="/usr/share/pixmaps/ryzom.xpm" \
title="Ryzom" \
command="/usr/games/ryzom"

View file

@ -0,0 +1,10 @@
#!/bin/sh
if ! getent group ryzom ; then
addgroup --system ryzom
fi
chgrp -R ryzom /var/cache/ryzom/data
chmod -R g+wrxs /var/cache/ryzom/data
#DEBHELPER#

View file

@ -0,0 +1,49 @@
#! /bin/sh
# postrm script for ryzom-client
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
# * <postrm> `remove'
# * <postrm> `purge'
# * <old-postrm> `upgrade' <new-version>
# * <new-postrm> `failed-upgrade' <old-version>
# * <new-postrm> `abort-install'
# * <new-postrm> `abort-install' <old-version>
# * <new-postrm> `abort-upgrade' <old-version>
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see /usr/share/doc/packaging-manual/
case "$1" in
purge)
FILES=/home/*
for f in $FILES
do
FOLDER="$f/.ryzom/data"
if [ -d $FOLDER ]
then
rm -rf $FOLDER
echo "Deleting $FOLDER..."
fi
done
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
esac
#DEBHELPER#
exit 0

View file

@ -0,0 +1,26 @@
usr/bin/7zDec
usr/bin/alias_synchronizer
usr/bin/assoc_mem
usr/bin/csv_transform
usr/bin/georges_editor_qt
usr/bin/icon_search
usr/bin/make_alias_file
usr/bin/make_anim_by_race
usr/bin/make_anim_melee_impact
usr/bin/mp_generator
usr/bin/named2csv
usr/bin/patch_gen
usr/bin/patch_gen_service
usr/bin/pd_parser
usr/bin/pdr_util
usr/bin/prim_export
usr/bin/ryzom_mission_compiler
usr/bin/sheets_packer
usr/bin/skill_extractor
usr/bin/stats_scan
usr/bin/translation_tools
usr/bin/uni_conv
usr/games/ryzom_client_patcher
usr/lib/*/libryzom_mission_compiler_lib.so.*
usr/share/games/ryzom/data_leveldesign
usr/share/games/ryzom/georges_editor_qt

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Name=Ryzom
Name[ru]=Ризом
Type=Application
GenericName=ryzom_client
Exec=/usr/games/ryzom
Icon=ryzom_client
Terminal=true
Hidden=false
Categories=Game;RolePlaying;

View file

@ -0,0 +1,2 @@
1.0

43
dist/debian/update.sh vendored Executable file
View file

@ -0,0 +1,43 @@
#!/bin/sh
HGBIN="/usr/bin/hg"
CODEROOT=../../code
echo "Generating changelogs..."
$HGBIN log -M --style $CODEROOT/changelog.template > $CODEROOT/changelog
REVISION=$($HGBIN identify -n | grep -o -P "[0-9]+")
echo "Found revision $REVISION"
REVISION_H=$CODEROOT/revision.h
# Copy revision.h template
cp $REVISION_H.in $REVISION_H
DATE=$(date "+%Y-%m-%d %H:%M:%S")
# Update revision.h with revision and build date
sed -i 's/#cmakedefine/#define/g' $REVISION_H
sed -i 's/${REVISION}/'$REVISION'/g' $REVISION_H
sed -i 's/${BUILD_DATE}/'"$DATE"'/g' $REVISION_H
VERSION=$(./ryzomcore_version.sh)
if [ -z "$VERSION" ]
then
echo "Can't parse version from $VERSION_FILE, aborting..."
exit 1
fi
DSTFOLDER=ryzom-core-$VERSION.$REVISION
# remove destination folder if present
rm -rf $DSTFOLDER.orig
# copy all files
echo "Copying files to $DSTFOLDER..."
cp -r -p $CODEROOT $DSTFOLDER.orig
echo "Removing web files, because we don't need them and they generate lintian errors..."
rm -rf $DSTFOLDER.orig/web
echo "Done. Now launch ./update_debian.sh <distrib>"

88
dist/debian/update_debian.sh vendored Executable file
View file

@ -0,0 +1,88 @@
#!/bin/sh
HGBIN="/usr/bin/hg"
DCHBIN="/usr/bin/dch"
if [ ! -e $DCHBIN ]
then
apt-get install devscripts debhelper
fi
DISTRIB=$1
MINORDISTRIB=$2
if [ -z "$DISTRIB" ]
then
echo "You must specify a distribution"
exit 1
fi
if [ -z "$MINORDISTRIB" ]
then
MINORDISTRIB=1
fi
if [ ! -d "$DISTRIB" ]
then
echo "$DISTRIB is not supported, you can create the folder or compile for another version."
exit 1
fi
echo "Targetting $DISTRIB..."
VERSION=$(./ryzomcore_version.sh)
if [ -z "$VERSION" ]
then
echo "Can't parse version from $VERSION_FILE, aborting..."
exit 1
fi
REVISION=$($HGBIN identify -n | grep -o -P "[0-9]+")
DSTFOLDER=ryzom-core-$VERSION.$REVISION
if [ ! -d "$DSTFOLDER.orig" ]
then
echo "$DSTFOLDER.orig doesn't exist, did you forget to launch ./update.sh?"
exit 1
fi
# copy files if directory doesn't exist
if [ ! -d $DSTFOLDER ]
then
# copy all files
echo "Copying files to $DSTFOLDER..."
cp -r -p $DSTFOLDER.orig $DSTFOLDER
fi
cd $DSTFOLDER
echo "Copying debian directory..."
# delete debian directory if present
rm -rf debian
# create debian folder
mkdir -p debian
# copy debian folder
cp -r -p ../$DISTRIB/debian .
# returning the line with the version
LAST_VERSION=`grep $VERSION.$REVISION debian/changelog`
FULL_VERSION=$VERSION.$REVISION-1~$DISTRIB$MINORDISTRIB
# adding the new version to changelog
if [ -z "$LAST_VERSION" ]
then
echo "Adding $FULL_VERSION to debian/changelog for $DISTRIB"
$DCHBIN --force-distribution -b -v $FULL_VERSION -D $DISTRIB "New upstream release (revision $REVISION)"
else
echo "Last version is $LAST_VERSION"
fi
echo "Creating source package..."
debuild -S
cd ..
echo "Done."
echo "If you want to upload source to your PPA, type: dput <ppa> ryzom-core_"$FULL_VERSION"_source.changes"

408
dist/debian/utopic/debian/changelog vendored Normal file
View file

@ -0,0 +1,408 @@
ryzom-core (0.8.2802~raring1) raring; urgency=low
* New upstream release (revision 2802)
-- Cédric OCHS <kervala@gmail.com> Mon, 10 Dec 2012 11:12:17 +0100
ryzom-core (0.8.2786~raring1) raring; urgency=low
* New upstream release (revision 2786)
-- Cédric OCHS <kervala@gmail.com> Fri, 07 Dec 2012 16:33:15 +0100
ryzom-core (0.8.2691~quantal1) quantal; urgency=low
* New upstream release (revision 2691)
-- Cédric OCHS <kervala@gmail.com> Sun, 07 Oct 2012 09:46:56 +0200
ryzom-core (0.8.2682~quantal1) quantal; urgency=low
* New upstream release (revision 2682)
-- Cédric OCHS <kervala@gmail.com> Wed, 03 Oct 2012 15:59:54 +0200
ryzom-core (0.8.2681~quantal2) quantal; urgency=low
* New upstream release (revision 2681)
-- Cédric OCHS <kervala@gmail.com> Tue, 02 Oct 2012 17:42:23 +0200
ryzom-core (0.8.2681~quantal1) quantal; urgency=low
* New upstream release (revision 2681)
-- Cédric OCHS <kervala@gmail.com> Tue, 02 Oct 2012 17:13:57 +0200
ryzom-core (0.8.2650~quantal2) quantal; urgency=low
* New upstream release (revision 2650)
-- Cédric OCHS <kervala@gmail.com> Mon, 24 Sep 2012 22:06:37 +0200
ryzom-core (0.8.2650~quantal1) quantal; urgency=low
* New upstream release (revision 2650)
-- Cédric OCHS <kervala@gmail.com> Mon, 24 Sep 2012 20:55:19 +0200
ryzom-core (0.8.2025~precise1) precise; urgency=low
* New upstream release (revision 2025)
-- Cédric OCHS <kervala@gmail.com> Sat, 10 Mar 2012 22:23:49 +0100
ryzom-core (0.8.2024~precise1) precise; urgency=low
* New upstream release (revision 2024)
-- Cédric OCHS <kervala@gmail.com> Sat, 10 Mar 2012 11:16:08 +0100
ryzom-core (0.8.1847~natty1) natty; urgency=low
* New upstream release (revision 1847)
-- Cédric OCHS <kervala@gmail.com> Mon, 17 Oct 2011 09:33:45 +0200
ryzom-core (0.8.1847~natty0) natty; urgency=low
* New upstream release (revision 1847)
-- Cédric OCHS <kervala@gmail.com> Sun, 16 Oct 2011 18:45:27 +0200
ryzom-core (0.8.1758~natty0) natty; urgency=low
* New upstream release (revision 1758)
-- Cédric OCHS <kervala@gmail.com> Tue, 16 Aug 2011 09:02:55 +0200
ryzom-core (0.8.1752~natty0) natty; urgency=low
* New upstream release (revision 1752)
-- Cédric OCHS <kervala@gmail.com> Sun, 14 Aug 2011 16:07:29 +0200
ryzom-core (0.8.1751~natty0) natty; urgency=low
* New upstream release (revision 1751)
-- Cédric OCHS <kervala@gmail.com> Sun, 14 Aug 2011 14:16:24 +0200
ryzom-core (0.8.1750~natty0) natty; urgency=low
* New upstream release (revision 1750)
-- Cédric OCHS <kervala@gmail.com> Sun, 14 Aug 2011 12:30:18 +0200
ryzom-core (0.8.1744~natty0) natty; urgency=low
* New upstream release (revision 1744)
-- Cédric OCHS <kervala@gmail.com> Sat, 13 Aug 2011 20:24:49 +0200
ryzom-core (0.8.1742~natty0) natty; urgency=low
* New upstream release (revision 1742)
-- Cédric OCHS <kervala@gmail.com> Fri, 12 Aug 2011 18:11:07 +0200
ryzom-core (0.8.1628~natty0) natty; urgency=low
* New upstream release (revision 1628)
-- Cédric OCHS <kervala@gmail.com> Fri, 17 Jun 2011 12:56:17 +0200
ryzom-core (0.8.1627~natty0) natty; urgency=low
* New upstream release (revision 1627)
-- Cédric OCHS <kervala@gmail.com> Tue, 14 Jun 2011 20:37:05 +0200
ryzom-core (0.8.1611~natty0) natty; urgency=low
* New upstream release (revision 1611)
-- Cédric OCHS <kervala@gmail.com> Wed, 08 Jun 2011 19:53:44 +0200
ryzom-core (0.8.1596~natty1) natty; urgency=low
* New upstream release (revision 1596)
-- Cédric OCHS <kervala@gmail.com> Sat, 04 Jun 2011 18:11:45 +0200
ryzom-core (0.7.1406~natty0) natty; urgency=low
* New upstream release (revision 1406)
-- Kervala <kervala@gmail.com> Sun, 13 Mar 2011 19:07:44 +0100
ryzom-core (0.7.1404~karmic0) karmic; urgency=low
* New upstream release (revision 1404)
-- Kervala <kervala@gmail.com> Thu, 10 Mar 2011 20:13:35 +0100
ryzom-core (0.7.1122~karmic0) karmic; urgency=low
* New upstream release (revision 1122)
-- Kervala <kervala@gmail.com> Thu, 25 Nov 2010 13:18:41 +0100
ryzom-core (0.7.992~karmic0) karmic; urgency=low
* New upstream release (revision 992)
-- Kervala <kervala@gmail.com> Tue, 19 Oct 2010 13:44:23 +0200
ryzom-core (0.7.941~karmic0) karmic; urgency=low
* New upstream release (revision 941)
-- Kervala <kervala@gmail.com> Sat, 16 Oct 2010 14:59:36 +0200
ryzom-core (0.7.933~karmic0) karmic; urgency=low
* New upstream release (revision 933)
-- Kervala <kervala@gmail.com> Fri, 15 Oct 2010 22:29:44 +0200
ryzom-core (0.7.932~karmic0) karmic; urgency=low
* New upstream release (revision 932)
-- Kervala <kervala@gmail.com> Fri, 15 Oct 2010 19:53:47 +0200
ryzom-core (0.7.666~karmic0) karmic; urgency=low
* New upstream release (revision 666)
-- Kervala <kervala@gmail.com> Sun, 29 Aug 2010 17:56:06 +0200
ryzom-core (0.7.631~karmic0) karmic; urgency=low
* New upstream release (revision 631)
-- Kervala <kervala@gmail.com> Thu, 12 Aug 2010 16:57:30 +0200
ryzom-core (0.7.614~lucid1) lucid; urgency=low
* Fixed dependencies
-- Kervala <kervala@gmail.com> Sun, 08 Aug 2010 22:42:50 +0200
ryzom-core (0.7.614~lucid0) lucid; urgency=low
* New upstream release (revision 614)
-- Kervala <kervala@gmail.com> Sun, 08 Aug 2010 21:53:00 +0200
ryzom-core (0.7.583~lucid1) lucid; urgency=low
* Added dependency on libogg and libvorbis
-- Kervala <kervala@gmail.com> Sun, 01 Aug 2010 15:38:40 +0200
ryzom-core (0.7.583~lucid0) lucid; urgency=low
* New upstream release (revision 583)
-- Kervala <kervala@gmail.com> Sun, 01 Aug 2010 14:43:28 +0200
ryzom-core (0.7.530~lucid0) lucid; urgency=low
* New upstream release (revision 530)
-- Kervala <kervala@gmail.com> Sun, 25 Jul 2010 16:50:57 +0200
ryzom-core (0.7.519~lucid0) lucid; urgency=low
* New upstream release (revision 519)
-- Kervala <kervala@gmail.com> Mon, 19 Jul 2010 22:24:05 +0200
ryzom-core (0.7.507~lucid0) lucid; urgency=low
* New upstream release (revision 507)
-- Kervala <kervala@gmail.com> Sat, 17 Jul 2010 19:56:35 +0200
ryzom-core (0.7.474~lucid0) lucid; urgency=low
* New upstream release (revision 474)
-- Kervala <kervala@gmail.com> Tue, 13 Jul 2010 08:56:24 +0200
ryzom-core (0.7.473~lucid1) lucid; urgency=low
* Some fixes
-- Kervala <kervala@gmail.com> Mon, 12 Jul 2010 22:46:16 +0200
ryzom-core (0.7.473~lucid0) lucid; urgency=low
* New upstream release (revision 473)
-- Kervala <kervala@gmail.com> Mon, 12 Jul 2010 22:04:30 +0200
ryzom-core (0.7.437~lucid1) lucid; urgency=low
* Fixed drivers installation
-- Kervala <kervala@gmail.com> Thu, 08 Jul 2010 08:54:02 +0200
ryzom-core (0.7.437~lucid0) lucid; urgency=low
* New upstream release (revision 437)
-- Kervala <kervala@gmail.com> Thu, 01 Jul 2010 20:07:14 +0200
ryzom-core (0.7.419~lucid0) lucid; urgency=low
* New upstream release (revision 419)
-- Kervala <kervala@gmail.com> Sat, 26 Jun 2010 18:58:36 +0200
ryzom-core (0.7.411~lucid0) lucid; urgency=low
* New upstream release (revision 411)
-- Kervala <kervala@gmail.com> Sat, 26 Jun 2010 11:00:47 +0200
ryzom-core (0.7.404~lucid1) lucid; urgency=low
* Fix OpenAL driver
-- Kervala <kervala@gmail.com> Thu, 24 Jun 2010 23:06:51 +0200
ryzom-core (0.7.404~lucid0) lucid; urgency=low
* New upstream release (revision 404)
-- Kervala <kervala@gmail.com> Thu, 24 Jun 2010 22:17:36 +0200
ryzom-core (0.7.394~lucid0) lucid; urgency=low
* New upstream release (revision 394)
-- Kervala <kervala@gmail.com> Tue, 22 Jun 2010 06:53:15 +0200
ryzom-core (0.7.375~lucid0) lucid; urgency=low
* New upstream release (revision 375)
-- Kervala <kervala@gmail.com> Wed, 16 Jun 2010 12:46:51 +0200
ryzom-core (0.7.371~lucid0) lucid; urgency=low
* New upstream release (revision 371)
-- Kervala <kervala@gmail.com> Mon, 14 Jun 2010 22:48:27 +0200
ryzom-core (0.7.359~lucid0) lucid; urgency=low
* New upstream release (revision 359)
-- Kervala <kervala@gmail.com> Sun, 13 Jun 2010 21:31:29 +0200
ryzom-core (0.7.350~lucid1) lucid; urgency=low
* Fixes problem with "copy" files
-- Kervala <kervala@gmail.com> Sun, 13 Jun 2010 10:36:30 +0200
ryzom-core (0.7.350~lucid0) lucid; urgency=low
* New upstream release (revision 350)
-- Kervala <kervala@gmail.com> Sun, 13 Jun 2010 09:55:38 +0200
ryzom-core (0.7.332~lucid0) lucid; urgency=low
* New upstream release (revision 332)
-- Kervala <kervala@gmail.com> Sat, 12 Jun 2010 09:09:21 +0200
ryzom-core (0.7.317~lucid0) lucid; urgency=low
* New upstream release (revision 317)
-- Kervala <kervala@gmail.com> Thu, 10 Jun 2010 13:11:28 +0200
ryzom-core (0.7.315~lucid0) lucid; urgency=low
* Fixed pkg-config installation again
-- Kervala <kervala@gmail.com> Thu, 10 Jun 2010 08:19:44 +0200
ryzom-core (0.7.311~lucid2) lucid; urgency=low
* Fixed pkg-config files
-- Kervala <kervala@gmail.com> Wed, 09 Jun 2010 22:58:15 +0200
ryzom-core (0.7.311~lucid1) lucid; urgency=low
* Fixed dependencies versions
-- Kervala <kervala@gmail.com> Wed, 09 Jun 2010 22:27:00 +0200
ryzom-core (0.7.311~lucid0) lucid; urgency=low
* New upstream version (revision 311).
-- Kervala <kervala@gmail.com> Wed, 09 Jun 2010 21:15:42 +0200
ryzom-core (0.7.304~lucid0) lucid; urgency=low
* New upstream version (revision 304).
-- Kervala <kervala@gmail.com> Wed, 09 Jun 2010 08:34:10 +0200
ryzom-core (0.7.0-1) unstable; urgency=low
[ Gürkan Sengün ]
* New upstream version. (Closes: #553248)
* Updated build dependencies.
[ Michal Čihař ]
* Convert to dh with cmake support.
* Bump standards to 3.8.4.
[ Luboš Novák ]
* Change maintainer to 'Debian Games Team'
* ftbfs_gcc_4.5.path: Fix build with g++-4.5. (Closes: #565104)
* Converted direct changes in source to patches.
* Enable building CEGUI renderer.
* Add package libnel-doc with documentation.
* debian/control
+ Changed priority of libnel-dbg to extra.
+ Remove duplicate Section in libnel0.
+ Update short descriptions.
+ Replace obsolete package xlibmesa-gl-dev with libgl1-mesa-dev
in build-depends.
+ Add libpng-dev to build-depends.
+ Remove libalut-dev from build-depends.
+ New homepage.
+ Supported architectures are i386 and amd64.
* debian/libnel-dev.dirs
+ Remove empty dir usr/lib/nel.
* debian/copyright
+ Update redistribution licence from GPL to GPL-2.
* debian/rules
+ Disable building unit test, samples and tools.
-- Luboš Novák <alvinx12@centrum.cz> Tue, 30 Mar 2010 10:29:23 +0100
ryzom-core (0.5.0-1.1) unstable; urgency=low
* Non-maintainer upload.
* Change Build-Depends: libstlport5.2-dev. (Closes: #521762)
-- Torsten Werner <twerner@debian.org> Sun, 28 Jun 2009 11:54:05 +0200
ryzom-core (0.5.0-1) unstable; urgency=low
* Initial release. (Closes: #448067)
-- Gürkan Sengün <gurkan@linuks.mine.nu> Tue, 23 Oct 2007 12:56:45 +0200

View file

@ -0,0 +1,567 @@
//////////////////////////
//////////////////////////
/// CLIENT CONFIG FILE ///
//////////////////////////
//////////////////////////
// If you set this variable to 1, your client.cfg will be overwritten when you quit the client.
// You will loose all the comments and identation in this file.
SaveConfig = 1;
///////////////////
// WINDOW CONFIG //
///////////////////
Driver3D="Auto"; // Valid values are "Auto" or "0", "OpengGL" or "1" & "Direct3D" or "2"
// "Auto" will choose the best suited driver depending on hardware
FullScreen = 0;
Width = 1024;
Height = 768;
PositionX = 0;
PositionY = 0;
Frequency = 60;
Depth = 32;
Sleep = -1;
ProcessPriority = 0; // -2 = idle, -1 = below normal, 0 = normal, 1 = above normal, 2 = high, 3 = real time
Contrast = 0.0; // -1.0 ~ 1.0
Luminosity = 0.0; // -1.0 ~ 1.0
Gamma = 0.0; // -1.0 ~ 1.0
Contrast_min = -1.0;
Luminosity_min = -1.0;
Gamma_min = -1.0;
Contrast_max = 1.0;
Luminosity_max = 1.0;
Gamma_max = 1.0;
/////////////
// NETWORK //
/////////////
Application = { "ryzom_live", "./client_ryzom_r.exe", "./" };
BackgroundDownloader = 0;
PatchServer = "http://dl.ryzom.com/patch_live";
SignUpURL = "http://www.ryzom.com/subscribe";
StartupHost = "shard.ryzom.com:40916";
StartupPage = "/login/r2_login.php";
InstallStatsUrl = "http://shard.ryzom.com:50000/stats/stats.php";
CreateAccountURL = "https://secure.ryzom.com/signup/from_client.php";
InstallWebPage = "http://dl.ryzom.com/installer/";
////////////////
// INTERFACES //
////////////////
// the language to use as in ISO 639-2
LanguageCode = "en"; // english
XMLInputFile = "input_config_v3.xml";
XMLLoginInterfaceFiles = {
"login_config.xml",
"login_widgets.xml",
"login_main.xml",
"login_keys.xml",
};
XMLOutGameInterfaceFiles = {
"out_v2_config.xml",
"out_v2_widgets.xml",
"out_v2_connect.xml",
"out_v2_intro.xml",
"out_v2_select.xml",
"out_v2_appear.xml",
"out_v2_location.xml",
"out_v2_crash.xml",
"out_v2_hierarchy.xml",
"out_v2_keys.xml",
};
// The ligo primitive class file
LigoPrimitiveClass = "world_editor_classes.xml";
VerboseLog = 1;
///////////
// MOUSE //
///////////
HardwareCursor = 1;
CursorSpeed = 1.0; // In pixels per mickey
CursorSpeed_min = 0.5;
CursorSpeed_max = 2.0;
CursorAcceleration = 40; // Threshold in mickey
CursorAcceleration_min = 20;
CursorAcceleration_max = 80;
FreeLookSpeed = 0.004; // In radian per mickey
FreeLookSpeed_min = 0.0001;
FreeLookSpeed_max = 0.01;
FreeLookAcceleration = 40; // Threshold in mickey
FreeLookAcceleration_min = 20;
FreeLookAcceleration_max = 80;
FreeLookInverted = 0;
AutomaticCamera = 0;
DblClickMode = 1;
AutoEquipTool = 1;
///////////////////
// RENDER CONFIG //
///////////////////
// NB: thoses variables configure also the InGameConfigurator:
// _min and _max define the bounds
// _step defines the step (NB: take care of _min and _max!!)
// _ps0 is the LOW preset, _ps1 is the MEDIUM preset, _ps2 is the NORMAL Preset, and _ps3 is the HIGH one
// *** LANDSCAPE
LandscapeTileNear = 150.000000;
LandscapeTileNear_min = 20.000000;
LandscapeTileNear_max = 250.000000;
LandscapeTileNear_step = 10.0;
LandscapeTileNear_ps0 = 20.0;
LandscapeTileNear_ps1 = 100.0;
LandscapeTileNear_ps2 = 150.0;
LandscapeTileNear_ps3 = 200.0;
// NB: threshold is inverted ULandscape::setThreshold(), to be more intelligible
LandscapeThreshold = 2000.0;
LandscapeThreshold_min = 100.0; // Low quality => 0.01 threshold
LandscapeThreshold_max = 4000.0; // High quality => 0.0005 threshold
LandscapeThreshold_step = 100.0;
LandscapeThreshold_ps0 = 100.0;
LandscapeThreshold_ps1 = 1000.0;
LandscapeThreshold_ps2 = 2000.0;
LandscapeThreshold_ps3 = 3000.0;
Vision = 500.000000;
Vision_min = 200.000000;
Vision_max = 800.000000;
Vision_step = 100.000000;
Vision_ps0 = 200.0;
Vision_ps1 = 400.0;
Vision_ps2 = 500.0;
Vision_ps3 = 800.0;
MicroVeget = 1; // Enable/Disable MicroVeget.
MicroVeget_ps0 = 0;
MicroVeget_ps1 = 1;
MicroVeget_ps2 = 1;
MicroVeget_ps3 = 1;
MicroVegetDensity = 80.0;
MicroVegetDensity_min = 10.0;
MicroVegetDensity_max = 100.0;
MicroVegetDensity_step = 10.0;
MicroVegetDensity_ps0 = 10.0; // not used since disabled!
MicroVegetDensity_ps1 = 30.0;
MicroVegetDensity_ps2 = 80.0;
MicroVegetDensity_ps3 = 100.0;
// *** FX
FxNbMaxPoly = 20000;
FxNbMaxPoly_min = 2000;
FxNbMaxPoly_max = 50000;
FxNbMaxPoly_step= 2000;
FxNbMaxPoly_ps0 = 2000;
FxNbMaxPoly_ps1 = 10000;
FxNbMaxPoly_ps2 = 20000;
FxNbMaxPoly_ps3 = 50000;
Cloud = 1;
Cloud_ps0 = 0 ;
Cloud_ps1 = 1 ;
Cloud_ps2 = 1 ;
Cloud_ps3 = 1 ;
CloudQuality = 160.0;
CloudQuality_min = 80.0;
CloudQuality_max = 320.0;
CloudQuality_step = 20.0;
CloudQuality_ps0 = 80.0; // not used since disabled!
CloudQuality_ps1 = 80.0;
CloudQuality_ps2 = 160.0;
CloudQuality_ps3 = 320.0;
CloudUpdate = 1;
CloudUpdate_min = 1;
CloudUpdate_max = 8;
CloudUpdate_step= 1;
CloudUpdate_ps0 = 1; // not used since disabled!
CloudUpdate_ps1 = 1;
CloudUpdate_ps2 = 1;
CloudUpdate_ps3 = 3;
Shadows = 1;
Shadows_ps0 = 0;
Shadows_ps1 = 1;
Shadows_ps2 = 1;
Shadows_ps3 = 1;
Bloom = 0;
Bloom_ps0 = 0;
Bloom_ps1 = 1;
Bloom_ps2 = 1;
Bloom_ps3 = 1;
SquareBloom = 1;
SquareBloom_ps0 = 0;
SquareBloom_ps1 = 1;
SquareBloom_ps2 = 1;
SquareBloom_ps3 = 1;
DensityBloom = 255.0;
DensityBloom_min = 0.0;
DensityBloom_max = 255.0;
DensityBloom_step = 1.0;
DensityBloom_ps0 = 255.0;
DensityBloom_ps1 = 255.0;
DensityBloom_ps2 = 255.0;
DensityBloom_ps3 = 255.0;
// *** CHARACTERS
SkinNbMaxPoly = 100000;
SkinNbMaxPoly_min = 5000;
SkinNbMaxPoly_max = 250000;
SkinNbMaxPoly_step = 5000;
SkinNbMaxPoly_ps0 = 10000;
SkinNbMaxPoly_ps1 = 70000;
SkinNbMaxPoly_ps2 = 100000;
SkinNbMaxPoly_ps3 = 200000;
NbMaxSkeletonNotCLod = 125;
NbMaxSkeletonNotCLod_min = 5;
NbMaxSkeletonNotCLod_max = 255;
NbMaxSkeletonNotCLod_step = 5;
NbMaxSkeletonNotCLod_ps0 = 10;
NbMaxSkeletonNotCLod_ps1 = 50;
NbMaxSkeletonNotCLod_ps2 = 125;
NbMaxSkeletonNotCLod_ps3 = 255;
CharacterFarClip = 200.0;
CharacterFarClip_min = 50.0;
CharacterFarClip_max = 500.0;
CharacterFarClip_step = 10.0;
CharacterFarClip_ps0 = 50.0;
CharacterFarClip_ps1 = 100.0;
CharacterFarClip_ps2 = 200.0;
CharacterFarClip_ps3 = 500.0;
EnableRacialAnimation = 1;
// *** MISC
// This is the actual aspect ratio of your screen (no relation with the resolution!!). Set 1.7777 if you got a 16/9 screen for instance
ScreenAspectRatio = 0.0;
ForceDXTC = 1; // Enable/Disable DXTC.
DivideTextureSizeBy2= 0; // Divide texture size
DisableVtxProgram = 0; // Disable Hardware Vertex Program.
DisableVtxAGP = 0; // Disable Hardware Vertex AGP.
DisableTextureShdr = 0; // Disable Hardware Texture Shader.
HDEntityTexture = 0;
HDTextureInstalled = 1;
WaitVBL = 0; // 0 or 1 to wait Vertical Sync.
//////////////////
// GAME OPTIONS //
//////////////////
SelectWithRClick = 1;
DisplayWeapons = 1;
RotKeySpeedMax = 2.0;
RotKeySpeedMax_min = 1.0;
RotKeySpeedMax_max = 4.0;
RotKeySpeedMin = 1.0;
RotKeySpeedMin_min = 0.5;
RotKeySpeedMin_max = 2.0;
RotAccel = 3.0;
FollowOnAtk = 0;
AtkOnSelect = 0;
ZCPacsPrim = "gen_bt_col_ext.pacs_prim";
/////////////////
// PREFERENCES //
/////////////////
FPV = 0; // FPV(First Person View) : default is false (Third Person View).
CameraHeight = 2.2; // Camera Height (in meter) from the ground (for the Third Person View).
CameraDistance = 3.0; // Camera Distance(in meter) from the user (for the Third Person View).
CameraDistStep = 1.0;
CameraDistMin = 1.0;
CameraDistMax = 25.0;
CameraAccel = 5.0;
CameraSpeedMin = 2.0;
CameraSpeedMax = 100.0;
CameraResetSpeed = 10.0; // Speed in radian/s
//////////////////
// SOUND CONFIG //
//////////////////
SoundForceSoftwareBuffer= 1;
SoundOn = 1;
UseEax = 0;
MaxTrack = 32;
MaxTrack_min = 4;
MaxTrack_max = 32;
MaxTrack_step = 4;
// This is the volume for "InGame" sound FXs
SoundSFXVolume = 1.0;
SoundSFXVolume_min = 0.0;
SoundSFXVolume_max = 1.0;
SoundSFXVolume_step = 0.001;
// This is volume for "InGame" music. Does not affect the MP3 player
SoundGameMusicVolume = 0.5;
SoundGameMusicVolume_min = 0.0;
SoundGameMusicVolume_max = 1.0;
SoundGameMusicVolume_step = 0.001;
// MISC
PreDataPath = { "user", "patch", "examples", "data/fonts", "data/gamedev.bnp" };
DataPath = { "data" };
NeedComputeVS = 0;
NegFiltersDebug = {"Update DB", "Reading:", "Read Value :", "impulseCallBack", "CLIMPD:", "LNET" };
NegFiltersInfo = { "CLIMPD:", "CPath::lookup" , "LNET" };
NegFiltersWarning = { "'basics.Equipment Slot'.", "_usercolor.tga", "PACS" };
// Big screen shot
ScreenShotWidth = 0;
ScreenShotHeight = 0;
ScreenShotFullDetail = 1; // 1 to switch full detail mode for characters (both standard & big screenshots)
// Read : "ID", "R G B A MODE [FX]"
SystemInfoColors =
{
// OLD STUFF Here for compatibility
"RG", "0 0 0 255 normal", // Black to see when there is an error
"BC", "0 0 0 255 normal", // Black to see when there is an error
"JA", "0 0 0 255 normal", // Black to see when there is an error
"BL", "0 0 0 255 normal", // Black to see when there is an error
"VE", "0 0 0 255 normal", // Black to see when there is an error
"VI", "0 0 0 255 normal", // Black to see when there is an error
// NEW System Info Categories
"SYS", "255 255 255 255 normal", // Default system messages
"BC", "255 255 255 255 centeraround", // Broadcast messages
"TAGBC", "255 255 255 255 centeraround", // Taged broadcast messages : color should remain white as some word are tagged
"XP", "255 255 64 255 over", // XP Gain
"SP", "255 255 64 255 over", // SP Gain
"TTL", "255 255 64 255 over", // Title
"TSK", "255 255 255 255 over", // Task
"ZON", "255 255 255 255 center", // Zone
"DG", "255 0 0 255 normal", // Damage to me
"DMG", "255 0 0 255 normal", // Damage to me
"DGP", "200 0 0 255 normal", // Damage to me from player
"DGM", "255 128 64 255 normal", // Damage from me
"MIS", "150 150 150 255 normal", // The opponent misses
"MISM", "255 255 255 255 normal", // I miss
"ITM", "0 200 0 255 over", // Item
"ITMO", "170 170 255 255 overonly", // Item other in group
"ITMF", "220 0 220 255 over", // Item failed
"SPL", "50 50 250 255 normal", // Spell to me
"SPLM", "50 150 250 255 normal", // Spell from me
"EMT", "255 150 150 255 normal", // Emote
"MTD", "255 255 0 255 over", // Message Of The Day
"FORLD","64 255 64 255 overonly", // Forage Locate Deposit
"CHK", "255 120 60 255 center", // Tous ce qui ne remplit pas une condition
"CHKCB","255 255 0 255 center", // Tous ce qui ne remplit pas une condition en combat (trop loin, cible invalide, pas assez de mana, etc.)
"PVPTM","255 120 60 255 overonly", // PVP timer
"THM", "255 255 64 255 over misc_levelup.ps", // Thema finished
"AMB", "255 255 64 255 center", // Ambiance
"ISE", "192 208 255 255 normal", // Item special effect
"ISE2", "192 208 255 255 center", // Item special effect with center text (for effects without flying text)
"OSM", "128 160 255 255 center", // Outpost state message
"AROUND","255 255 0 255 around", // Only in around channel
"R2_INVITE","0 255 0 255 around", // Ring invitation
};
PrintfCommands = {
"52", "15", "55 55 0 255", "28", "uiChapterV", "624",
"428", "0 0 0 255", "18", "", "624", "378",
"0 0 0 255", "14", "", "644", "278", "0 0 0 255",
"18", "", "52", "17", "255 255 255 255", "28",
"uiChapterV", "622", "430", "255 255 255 255", "18", "",
"622", "380", "255 255 255 255", "14", "", "642",
"280", "255 255 255 255", "18", ""
};
PrintfCommandsFreeTrial = {
"52", "15", "55 55 0 255", "28", "uiChapterV", "624",
"428", "0 0 0 255", "18", "", "624", "378",
"0 0 0 255", "14", "", "644", "278", "0 0 0 255",
"18", "", "52", "17", "255 255 255 255", "28",
"uiChapterV", "622", "430", "255 255 255 255", "18", "",
"622", "380", "255 255 255 255", "14", "", "642",
"280", "255 255 255 255", "18", ""
};
DisplayMissingAnimFile = 0;
LoadingStringCount = 54;
// Some R2 parameters ...
R2Mode = 1;
R2EDEnabled = 1;
R2EDExtendedDebug = 0;
R2EDLightPalette = 0;
R2ClientGw = "r2linux01";
LoadLuaDebugger = 0;
CheckR2ScenarioMD5 = 1;
LevelDesignEnabled = 0;
DmCameraDistMax = 25;
DmRun = 20;
DmWalk = 6;
R2EDReloadFiles = {
"r2ed.xml",
"r2_basic_bricks.lua",
"r2_components.lua",
"r2_core.lua",
"r2_features_default.lua",
"r2_features_fauna.lua",
"r2_features_npc_groups.lua",
"r2_palette.lua",
"r2_scenario.lua",
"r2_ui.lua"
};
XMLInterfaceFiles = {
"config.xml",
"widgets.xml",
"webig_widgets.xml",
"player.xml",
"inventory.xml",
"interaction.xml",
"phrase.xml",
"harvest.xml",
"macros.xml",
"info_player.xml",
"outpost.xml",
"guild.xml",
"taskbar.xml",
"game_config.xml",
"game_context_menu.xml",
"player_trade.xml",
"bot_chat_v4.xml",
"compass.xml",
"map.xml",
"hierarchy.xml",
"reset.xml",
"actions.xml",
"help.xml",
"encyclopedia.xml",
"commands.xml",
"commands2.xml",
"ring_access_point_filter.xml",
"ring_window.xml",
"bg_downloader.xml"
};
XMLR2EDInterfaceFiles =
{
"r2ed.xml",
"r2_triggers.xml",
"r2_logic_entities.xml",
"r2ed_acts.xml",
"r2ed_scenario.xml",
"r2ed_connect.xml"
};
FogDistAndDepthLookupBias = 20; // bias for lookup of fog distance and depth
// Hardware cursor textures
// These will be extracted from the corresponding packed ui .tga files when they are loaded
// *
// * individual .tga files for hardware cursor bitmap not looked for, and not supported yet
HardwareCursors =
{
"curs_can_pan.tga",
"curs_can_pan_dup.tga",
"curs_create.tga",
"curs_create_multi.tga",
"curs_create_vertex_invalid.tga",
"curs_default.tga",
"curs_dup.tga",
"curs_L.tga",
"curs_M.tga",
"curs_pan.tga",
"curs_pan_dup.tga",
"curs_pick.tga",
"curs_pick_dup.tga",
"curs_R.tga",
"curs_resize_BL_TR.tga",
"curs_resize_BR_TL.tga",
"curs_resize_LR.tga",
"curs_resize_TB.tga",
"curs_rotate.tga",
"curs_scale.tga",
"curs_stop.tga",
"text_cursor.tga",
"r2_hand_can_pan.tga",
"r2_hand_pan.tga",
"r2ed_tool_can_pick.tga",
"r2ed_tool_can_rotate.tga",
"r2ed_tool_pick.tga",
"r2ed_tool_rotate.tga",
"r2ed_tool_rotating.tga"
};
Loading_BG = "new_loading_bg.tga"; // Default name for the loading background file.
Launch_BG = "new_launcher_bg.tga"; // Default name for the launch background file.
TeleportKami_BG = "new_teleport_kami_bg.tga";
TeleportKaravan_BG = "new_teleport_caravan_bg.tga";
Elevator_BG = "new_elevator_bg.tga"; // Default name for the loading background file.
ResurectKami_BG = "new_resurect_kami_bg.tga";
ResurectKaravan_BG = "new_resurect_caravane_bg.tga";
End_BG = "end_bg.tga"; // Default name for the last background file.
ScenarioSavePath = "./my_scenarios/";
// list ofpredefined keyset
// name will be looked up in the translation file by searching 'uiCP_KeysetName_" + id
// tooltip will be looked up in the translation file by searching 'uiCP_KeysetTooltip_" + id
// 'bi.' stands for built-in
// note : we add a dot in the name to be sure that there cannot be a conflict with character keyset name
BuiltInKeySets =
{
"", // default ryzom keyboard layout
"bi.zqsd", // european keyboard fps displacement style (NB : don't change this layout name, ryzom will automatically select it if keyboard is french or belgian)
"bi.wasd", // english keyboard fps displacement style (NB : don't change this layout name, ryzom will automatically select it if keyboard is not french nor belgian)
"bi.wow_alike" // 'world of warcraft' like keyboard style. (NB : not available for ring)
};
// "Newbie Training", "Story Telling", "Mistery", "Hack & Slash", "Guild Training", "Other"
ScenarioTypes = {"so_newbie_training","so_story_telling","so_mistery","so_hack_slash","so_guild_training","so_other"};
ScenarioLanguages = {"fr","de","en","other_lang"};
// Map each language to a forum help page
HelpPages =
{
"fr=http://forums.ryzom.com/forum/showthread.php?t=29130",
"en=http://forums.ryzom.com/forum/showthread.php?t=29129",
"wk=http://forums.ryzom.com/forum/showthread.php?t=29129",
"de=http://forums.ryzom.com/forum/showthread.php?t=29131"
};
WebIgMainDomain = "app.ryzom.com";
WebIgTrustedDomains = {
"api.ryzom.com", "app.ryzom.com"
};
PatchletUrl = "http://app.ryzom.com/app_patchlet/index.php?patch=preload";
SelectedSlot = 0;
BuildName = "RELEASE_HEAD";

1
dist/debian/utopic/debian/compat vendored Normal file
View file

@ -0,0 +1 @@
9

212
dist/debian/utopic/debian/control vendored Normal file
View file

@ -0,0 +1,212 @@
Source: ryzom-core
Priority: extra
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Uploaders: Luboš Novák <alvinx12@centrum.cz>, Cédric OCHS <kervala@gmail.com>
Build-Depends: debhelper (>= 9), cmake(>= 2.6), libxml2-dev,
libgl1-mesa-dev, libjpeg8-dev | libjpeg62-dev, libpng12-dev, libopenal-dev,
libfreetype6-dev, libxxf86vm-dev, libxrandr-dev, libxrender-dev,
libvorbis-dev, libsquish-dev, libcurl4-openssl-dev, libluabind-dev,
libboost-dev, libwww-dev, libmysqlclient-dev,
libcpptest-dev, libqt4-dev, libqt4-opengl-dev
Standards-Version: 3.9.5
Section: games
Bugs: http://dev.ryzom.com/projects/ryzom/issues
Homepage: http://dev.ryzom.com
Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/nel/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/nel/?op=log
Package: libnel0
Section: libdevel
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Massive multi-user 3D game environments library (shared library)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the shared library.
Package: libnel-dev
Section: libdevel
Architecture: any
Multi-Arch: same
Depends: ${misc:Depends}, libnel0 (= ${binary:Version})
Description: Massive multi-user 3D game environments library (development files)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the headers.
Package: libnel0-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, libnel0 (= ${binary:Version})
Description: Massive multi-user 3D game environments library (debugging symbols)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the debugging symbols.
Package: nel-tools
Section: devel
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}, libnel0 (= ${binary:Version})
Description: Massive multi-user 3D game environments library (tools)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the tools.
Package: nel-tools-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, nel-tools (= ${binary:Version})
Description: Massive multi-user 3D game environments library (tools debugging symbols)
This is a software platform for creating and running massively multi-user
entertainment in a 3D environment over the Internet.
.
This library is further divided into specific modules: network, ai, 3d
and misc. If you want to use any of these, you also need to use the misc
part of the library, but ai, 3d and network are totally independent from
each other so you can use only the parts you really need in your project.
.
This package contains the tools debugging symbols.
Package: libryzom-sevenzip0
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}
Description: Ryzom science-fantasy MMORPG (decompression library)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the decompression shared library.
Package: libryzom-sevenzip0-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, libryzom-sevenzip0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (decompression library debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the decompression shared library debugging symbols.
Package: libryzom-gameshare0
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}, libnel0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (common shared library)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the game common shared library.
Package: libryzom-gameshare0-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, libryzom-gameshare0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (common debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the game common debugging symbols.
Package: libryzom-clientsheets0
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}, libryzom-gameshare0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (client sheets shared library)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the client sheets shared library.
Package: libryzom-clientsheets0-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, libryzom-clientsheets0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (client sheets debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the client sheets debugging symbols.
Package: ryzom-client
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}, libryzom-gameshare0 (= ${binary:Version}),
libryzom-clientsheets0 (= ${binary:Version}),
ryzom-client-config (>= ${source:Version}), rsync, wget, p7zip-full
Description: Ryzom science-fantasy MMORPG (client)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the game client.
Package: ryzom-client-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, ryzom-client (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (client debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the client debugging symbols.
Package: ryzom-tools
Section: devel
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}, libryzom-gameshare0 (= ${binary:Version}),
libryzom-clientsheets0 (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (tools)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the tools.
Package: ryzom-tools-dbg
Section: debug
Architecture: any
Depends: ${misc:Depends}, ryzom-tools (= ${binary:Version})
Description: Ryzom science-fantasy MMORPG (tools debugging symbols)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the tools debugging symbols.
Package: ryzom-client-config
Architecture: all
Depends: ${misc:Depends}
Description: Ryzom science-fantasy MMORPG (client configuration)
Ryzom Core provides the base technologies and a set of development
methodologies for the development of both client and server code.
.
This package contains the client configuration.

53
dist/debian/utopic/debian/copyright vendored Normal file
View file

@ -0,0 +1,53 @@
This package was debianized by Gürkan Sengün <gurkan@phys.ethz.ch> on
Tue, 23 Oct 2007 12:56:45 +0200.
It was downloaded from <http://dev.ryzom.com>
Upstream Authors:
Olivier Cado <cado@nevrax.com>
Bertram Felgenhauer <int-e@gmx.de>
Krzysztof Kotlenga <piernik@gmail.com>
Henri Kuuste <al-rtsan@totl.net>
Vianney Lecroart <acemtp@gmail.com>
Namine
Cédric Ochs <kervala@gmail.com>
Guillaume Puzin
Matt Raykowski <matt.raykowski@gmail.com>
Robert Timm <mail@rtti.de>
Titegus
Ulukyn
Robert Wetzel <spexius@gmx.de>
Zorglor
TODO: take names from Ryzom credits
Copyright:
Copyright (C) 2003-2009 Vianney Lecroart
Copyright (C) 2003-2009 Matt Raykowski
Copyright (C) 2000-2006 Nevrax Ltd.
Copyright (C) 2006-2007 Gameforge France
Copyright (C) 2008-2010 Winch Gate Property Limited
License:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
The Debian packaging is:
Copyright (C) 2007 Gürkan Sengün <gurkan@phys.ethz.ch>
and is licensed under the GPL version 2,
see `/usr/share/common-licenses/GPL-2'.

2
dist/debian/utopic/debian/docs vendored Normal file
View file

@ -0,0 +1,2 @@
changelog
README

View file

@ -0,0 +1,2 @@
README

View file

@ -0,0 +1,3 @@
usr/include/*
usr/lib/*/libnel*.so
usr/lib/*/pkgconfig/*

Some files were not shown because too many files have changed in this diff Show more