I have recently updated my local copy of the freeciv trunk. I have
noticed that the following:
GAME_DEFAULT_GOLD_UPKEEP_STYLE
GAME_MAX_GOLD_UPKEEP_STYLE
GAME_MIN_GOLD_UPKEEP_STYLE
Are used in ruleset.c but not #defined anywhere.
I suspect someone commited ruelset.c but failed to commit ruleset.h?
I removed game.h and then did svn up again and now it is working. I
guess I should have double checked before posting here... sorry for
the confusion.
Thank you for your time,
James Steven Supancic III
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
I'm working on a GUI for freeciv.
In my main loop I call
input_from_server
to allow the main client code to receive data from the server and
update the game state data accordingly. How can I determine when the
data has changed? Can I set callbacks for this? Should I switch() on
the incoming
In resource_name_translation, in terrain.c you are altering the value
of a const parameter.
This is not allowed, and gcc 4.1 tells us this with:
terrain.c: In function 'resource_name_translation':
terrain.c:244: error: assignment of read-only location
I'm not sure how this should be fixed? Maybe
Even with -fpermissive g++ rejects it. I moved the enum typedef from
fc_types.h to unit.h (after the enum declaration) and did 'make clean
make' and everything builds fine.
It looks like the attached patch does what I need (as far as I know at
this point). Basically I use an #ifdef __cplusplus
I'm working on a C++ GUI for freeciv. I need to make some calls into
the C component of client. The problem I'm running into is that the
freeciv header files are neither standard C or C++ compatible.
For example:
typedef enum a b;
enum a { A, B };
When this is compiled with g++ or 'gcc
I am thinking about working on an Ogre3D GUI for freeciv. I've been
looking over the code in freeciv/freeciv/client/gui-* and think I
might be able to develop something nice.
My question is, if I develop it, will it be accepted? I noted that
freeciv has been written in mostly pure C. This is no
URL: http://bugs.freeciv.org/Ticket/Display.html?id=38363
Version: freeciv-2.0.9.
Output:
1: Error calling Mix_OpenAudio
1: Plugin sdl found but can't be initialized.
1: Plugin esd found but can't be initialized.
1: Plugin alsa found but can't be initialized.
1: No real audio subsystem managed