Welcome to GameHourz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

libtcod 1.0.1 released

 
Goto page 1, 2
   Game Forums (Home) -> Roguelike -> Development RSS
Related Topics:
PopulationGenerator v0.4 Released - Hello all, I have nearly done my I figured I should make a release and see what people think. In this release, the program creates a new and shows some debugging info. Next it goes in to mode, this mode..

[ANN] 7drl: Happy Hunting released for Windows - It has been some months since the release of the tiny and frivolous Seven Day Roguelike which I named This doesn't fit into the scope of the seven day roguelike but I have finally produced a Windows binary. A rather sad and..

Roguelike Library for Java v0.1 Released, LOS and FOV - Hi All, The first release of Roguelike Libary for Java has been made. Please find it at: This release has the following : Field of View (Precise Cone..

7DRL: Invader - Well, I've talked myself into a game for the 7DRL :-) Invader will be a sci-fi RL where the player is the planet's only hope of stopping a dread alien invasion ship. The base of will be their docked ship. ..

7DRL: TBA! :P - I'm going to throw my hat into the 7drl arena by taking on a project I've wanted to do for ages. I think it will get me past the mental block of actually getting started. My concept is based around the remains of a post world with gang..
Next:  --Stone Soup-- Weapons of throwing?  
Author Message
jice

External


Since: Nov 08, 2007
Posts: 90



(Msg. 1) Posted: Sat Jan 19, 2008 2:32 am
Post subject: libtcod 1.0.1 released
Archived from groups: rec>games>roguelike>development (more info?)

Hi all ! libtcod or "the Doryen library" is a part of the base classes
used in the development of the roguelike "The Chronicles Of Doryen".
It is a simple, minimalist library for C / C++ roguelike developpers.

Features

* windowed or full screen console with true color support
* Mersenne twister random number generator
* Bresenham line drawing toolkit
* system utilities : keyboard handling, ...

Supported platforms

* Windows / Visual Studio 2005
* Windows / Mingw32
* Linux / g++

Changelog for 1.0.1

* added C/C++ samples
* TCODConsole::waitForKeyPress now has a bool parameter
indicating
if we flush the keyboard buffer before waiting.
* fixed a color bug when drawing text using the grey color
(196,196,196)
* fixed wrong key codes returned by wait/checkForKeyPress on some
keyboard layouts

Links

* the Doryen library homepage : http://jice.nospam.googlepages.com/thedoryenlibrary
* online documentation : http://roguecentral.free.fr/libtcod/doc/doc.php?page=index.html

--
jice

 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
Kornel Kisielewicz

External


Since: Nov 23, 2007
Posts: 39



(Msg. 2) Posted: Sat Jan 19, 2008 1:06 pm
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In a state of madness jice wrote the following :
> Hi all ! libtcod or "the Doryen library" is a part of the base classes
> used in the development of the roguelike "The Chronicles Of Doryen".
> It is a simple, minimalist library for C / C++ roguelike developpers.
>
> Features
>
> * windowed or full screen console with true color support
> * Mersenne twister random number generator
> * Bresenham line drawing toolkit
> * system utilities : keyboard handling, ...

BTW, if someone is looking for the same features in FreePascal, he can
take a look at Valkyrie Smile.

regards,
Kornel Kisielewicz

 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
dominikmarczuk

External


Since: Jan 20, 2008
Posts: 16



(Msg. 3) Posted: Sun Jan 20, 2008 7:06 am
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Does libtcod support Unicode characters?
 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
jotaf98

External


Since: Dec 17, 2007
Posts: 37



(Msg. 4) Posted: Sun Jan 20, 2008 10:28 am
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 20 Jan, 15:06, dominikmarc... DeleteThis @gmail.com wrote:
> Does libtcod support Unicode characters?

Not exactly, it uses a bitmap font to make sure characters stay
square. So you can instead replace *any* of the 256 default characters
with the tiny bitmap of your choice (including exotic-looking
characters, or icons). It is still as limited as a custom font, namely
in size and colors (foreground and background only), so it will still
have the look-and-feel of a text-based RL.

Jotaf
 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
dominikmarczuk

External


Since: Jan 20, 2008
Posts: 16



(Msg. 5) Posted: Mon Jan 21, 2008 1:36 am
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Suits me fine. It's a good point to consider rewriting in C++ what
I've already written in Java (display is slow using awt)... Thanks,
I'll give it a shot.
 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
jice

External


Since: Nov 08, 2007
Posts: 90



(Msg. 6) Posted: Mon Jan 21, 2008 1:44 am
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 21 jan, 10:36, dominikmarc....DeleteThis@gmail.com wrote:
> Suits me fine. It's a good point to consider rewriting in C++ what
> I've already written in Java (display is slow using awt)... Thanks,
> I'll give it a shot.

Note that you don't have to throw away your whole code. If you want to
keep coding in Java, you just have to create a JNI stub and use the C
interface of the library. This way, you only have to replace the
rendering part of your code.

--
Jice
 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
jotaf98

External


Since: Dec 17, 2007
Posts: 37



(Msg. 7) Posted: Mon Jan 21, 2008 8:17 am
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Jice, you could add the bitmap font to the features list, it's a nifty
feature after all Smile

Jotaf
 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
jice

External


Since: Nov 08, 2007
Posts: 90



(Msg. 8) Posted: Mon Jan 21, 2008 8:41 am
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 21 jan, 17:17, jota....RemoveThis@hotmail.com wrote:
> Jice, you could add the bitmap font to the features list, it's a nifty
> feature after all Smile
>
> Jotaf

Yes, but it's not really supported yet. You can modify terminal.bmp to
add your own characters but you may break some parts of the library
(for example if you change the space(32) character or some graphics
characters used in the frame drawing functions). You are also limited
to a 128x128 bitmap with 8x8 characters. At some point, it will be
added to the features list, but not before you are able to use any
fonts and bitmap size. Maybe in the 1.1 release... Wink

--
jice
 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
dominikmarczuk

External


Since: Jan 20, 2008
Posts: 16



(Msg. 9) Posted: Mon Jan 21, 2008 9:52 am
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> Note that you don't have to throw away your whole code. If you want to
> keep coding in Java, you just have to create a JNI stub and use the C
> interface of the library. This way, you only have to replace the
> rendering part of your code.

Haven't thought of that.

BTW, the documentation states that there's a terminal.bmp file that
comes along with the package. It isn't so.

Also, I'm having problems with linking the library (I'm using Borland
Turbo C++ 2006). I'll try it in MS VC++ and see if it works better...

Mingos.
 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
dominikmarczuk

External


Since: Jan 20, 2008
Posts: 16



(Msg. 10) Posted: Mon Jan 21, 2008 10:39 am
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Wait, the .bmp file *is* in the package containing the library, not
the source code... foolish me Smile.

Mingos.
 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
jice

External


Since: Nov 08, 2007
Posts: 90



(Msg. 11) Posted: Mon Jan 21, 2008 3:13 pm
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 21 jan, 18:52, dominikmarc... DeleteThis @gmail.com wrote:
>
> Also, I'm having problems with linking the library (I'm using Borland
> Turbo C++ 2006). I'll try it in MS VC++ and see if it works better...
>

Yeah, this sucks, but compiled C++ is not compatible from one compiler
to another (there is no standard mangling scheme). That's why there
are two binaries for windows, one for VS2005 and one for mingw32. Yet,
the linux g++ version should be compatible with intel c++ for linux.
Concerning borland c++, it has its own mangling scheme and thus can
only link with C++ compiled by itself... If I find some time, I'll try
to provide a borland c++ binary, but you'll have to wait a few weeks.

--
jice
 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
dominikmarczuk

External


Since: Jan 20, 2008
Posts: 16



(Msg. 12) Posted: Tue Jan 22, 2008 7:43 am
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> Yeah, this sucks, but compiled C++ is not compatible from one compiler
> to another (there is no standard mangling scheme). That's why there
> are two binaries for windows, one for VS2005 and one for mingw32. Yet,
> the linux g++ version should be compatible with intel c++ for linux.
> Concerning borland c++, it has its own mangling scheme and thus can
> only link with C++ compiled by itself... If I find some time, I'll try
> to provide a borland c++ binary, but you'll have to wait a few weeks.

That would be nice.
I also tried with VS2008, but when compiling I get linker errors as
well.
 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
jice

External


Since: Nov 08, 2007
Posts: 90



(Msg. 13) Posted: Wed Jan 23, 2008 12:50 am
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 22 jan, 16:43, dominikmarc....RemoveThis@gmail.com wrote:
> > Yeah, this sucks, but compiled C++ is not compatible from one compiler
> > to another (there is no standard mangling scheme). That's why there
> > are two binaries for windows, one for VS2005 and one for mingw32. Yet,
> > the linux g++ version should be compatible with intel c++ for linux.
> > Concerning borland c++, it has its own mangling scheme and thus can
> > only link with C++ compiled by itself... If I find some time, I'll try
> > to provide a borland c++ binary, but you'll have to wait a few weeks.
>
> That would be nice.
> I also tried with VS2008, but when compiling I get linker errors as
> well.

Well, finally you may not see a borland C++ or VS2008 version of
libtcod soon because there is no SDL development libraries available
for those compilers either...

--
jice
 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
jice

External


Since: Nov 08, 2007
Posts: 90



(Msg. 14) Posted: Wed Jan 23, 2008 4:32 am
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 23 jan, 09:50, jice <jice.nos... DeleteThis @gmail.com> wrote:
> On 22 jan, 16:43, dominikmarc... DeleteThis @gmail.com wrote:
>
> > > Yeah, this sucks, but compiled C++ is not compatible from one compiler
> > > to another (there is no standard mangling scheme). That's why there
> > > are two binaries for windows, one for VS2005 and one for mingw32. Yet,
> > > the linux g++ version should be compatible with intel c++ for linux.
> > > Concerning borland c++, it has its own mangling scheme and thus can
> > > only link with C++ compiled by itself... If I find some time, I'll try
> > > to provide a borland c++ binary, but you'll have to wait a few weeks.
>
> > That would be nice.
> > I also tried with VS2008, but when compiling I get linker errors as
> > well.
>
> Well, finally you may not see a borland C++ or VS2008 version of
> libtcod soon because there is no SDL development libraries available
> for those compilers either...
>

Just an idea... Did you try to use the C interface instead of the C++
one ? I'm not sure about this, but it may solve your linker issues.

--
jice
 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
dominikmarczuk

External


Since: Jan 20, 2008
Posts: 16



(Msg. 15) Posted: Wed Jan 23, 2008 11:01 am
Post subject: Re: libtcod 1.0.1 released [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yes, I've tried that as well. Nothing.
 >> Stay informed about: libtcod 1.0.1 released 
Back to top
Login to vote
Display posts from previous:   
   Game Forums (Home) -> Roguelike -> Development All times are: Ekaterinburg, Islamabad, Karachi, Tashkent (change)
Goto page 1, 2
Page 1 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]