Re: [Freeciv-Dev] explorers can pillage. a bug?

2009-01-12 Thread Brandon Van Every
On Mon, Jan 12, 2009 at 12:09 AM, Madeline Book madeline.b...@gmail.com wrote:
 On 1/10/09, Brandon Van Every bvanev...@gmail.com wrote:
 I could understand if a worker can pillage, but not an explorer.

 This is just how the game rules have always been, and I don't
 particularly mind. Maybe a ruleset setting could be made that
 controls whether non-worker civilian units can pillage.

Whether explorers can pillage or not, pillaging inside another
player's territory during cease-fire, armistice, or peace should be a
treaty violation.  During alliance it's debatable, as there may be a
tactical reason to do it.


Cheers,
Brandon Van Every

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] explorers can pillage. a bug?

2009-01-10 Thread Brandon Van Every
I learned that in the default rules an explorer can pillage.  This
strikes me as a bug.  Why should a non-military unit, able to move
through a peaceful border, be allowed to pillage?  Or does peace
itself prevent pillaging?  Anyways, seems like an awfully tough
explorer.  Big work crew following him?  I could understand if a
worker can pillage, but not an explorer.


Cheers,
Brandon Van Every

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] compilers that aren't C99

2009-01-04 Thread Brandon Van Every
On Sun, Jan 4, 2009 at 5:52 PM, Vasco Alexandre da Silva Costa
vasco.co...@gmail.com wrote:
 On Fri, Jan 2, 2009 at 8:55 PM, Brandon Van Every bvanev...@gmail.com wrote:

 One could argue that GNU is C centric, being obsessed with the ability
 to bring up programs on all systems, no matter how obscure.  Also,
 most advanced languages that are not C++, like Scheme or Lisp or
 OCaml or whatnot, have a much easier time talking to C.

 Actually, GCC usually supports C++ features before they are
 implemented in Visual Studio.

By GNU I meant the Free Software Foundation.  I think they are C
centric, due to the tools they are trying to advance.  Disagree?


Cheers,
Brandon Van Every

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] debugging with Eclipse on Windows

2009-01-02 Thread Brandon Van Every
On Fri, Jan 2, 2009 at 12:06 AM, Brandon Van Every bvanev...@gmail.com wrote:

 SPECLIST has still got me stuck.

Blah VC9 C requires __inline

Cheers,
Brandon Van Every

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] compilers that aren't C99

2009-01-02 Thread Brandon Van Every
I've got some of a Microsoft Visual Studio 2008 build of Freeciv
working.  I've run into an impediment, however: VC9 does not support
variable length arrays.
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=333273
 VLAs are part of the C99 standard, so you can say Microsoft is the
bad guy here.  My question is whether you're willing to support the
bad guy's compiler.  Or, put another way, compilers that aren't GCC
and aren't C99.  I could make all the needed changes, but there would
be little point if they won't ever be accepted.


Cheers,
Brandon Van Every

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] compilers that aren't C99

2009-01-02 Thread Brandon Van Every
On Fri, Jan 2, 2009 at 3:08 PM, Marko Lindqvist cazf...@gmail.com wrote:

  I have been told that VisualStudio lacks several C99 features (and
 has incompatible implementation for some, I believe) simply because
 it's not even meant to be C compiler. It's an C++ compiler.

I don't think meant to be is quite the right turn of phrase, since
it is a C compiler.  Rather, as noted in that wontfix notice,
Microsoft feels that its customers are C++ centric.  So they put their
development resources into that, and not C99.

I must admit, C++ having far more users than C is an argument with
some weight.  Especially in the game industry: C is done for some
things, but C++ is the primary resume skill.  You may not care about
resume skills around here, but a lot of people feel that kind of
justification is important for what projects they work on.  I have
wondered how Freeciv is strictly C might impede developer retention.

One could argue that GNU is C centric, being obsessed with the ability
to bring up programs on all systems, no matter how obscure.  Also,
most advanced languages that are not C++, like Scheme or Lisp or
OCaml or whatnot, have a much easier time talking to C.


Cheers,
Brandon Van Every

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] debugging with Eclipse on Windows

2009-01-01 Thread Brandon Van Every
Anyone knowledgeable on how to debug Freeciv using Eclipse?  I'm using
Cygwin on Vista.  I had to dump MinGW because MSYS Make 3.81 is
defective for Windows paths with colons in them, i.e. C:\blah.  It
makes Eclipse and other JDK toolchains barf.  Cygwin Make 3.81 is also
defective, but I was able to find a patched version at
http://www.cmake.org/files/cygwin/ .  I have been able to build
Freeciv inside Eclipse using the Autotools plugin.  I installed the
end result, and it does run under an X terminal outside of Eclipse.
Now I'm trying to figure out how to debug the darned thing.  I
installed civclient.exe into the Cygwin file system and have
successfully imported it into an Eclipse debug configuration.
However, all I can achieve at this point is an app that doesn't know
where an X terminal is.  Perhaps I am making progress and it's only a
matter of time before I bang this out, but I thought I'd ask if anyone
here knows the ropes.  Client, Server, X terminal, Cygwin Unix layer,
all quite a mess.


Cheers,
Brandon Van Every

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] debugging with Eclipse on Windows

2009-01-01 Thread Brandon Van Every
On Thu, Jan 1, 2009 at 10:29 AM, Brandon Van Every bvanev...@gmail.com wrote:
 However, all I can achieve at this point is an app that doesn't know
 where an X terminal is.  Perhaps I am making progress and it's only a
 matter of time before I bang this out, but I thought I'd ask if anyone
 here knows the ropes.  Client, Server, X terminal, Cygwin Unix layer,
 all quite a mess.

I got farther by starting a Cygwin shell, starting X within the Cygwin
shell, then starting Eclipse within X.  Now I've got a civclient that
can't seem to conjure a civserver.  More pathnames perhaps...

Cheers,
Brandon Van Every

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] debugging with Eclipse on Windows

2009-01-01 Thread Brandon Van Every
On Thu, Jan 1, 2009 at 11:05 AM, Brandon Van Every bvanev...@gmail.com wrote:

 I got farther by starting a Cygwin shell, starting X within the Cygwin
 shell, then starting Eclipse within X.  Now I've got a civclient that
 can't seem to conjure a civserver.  More pathnames perhaps...

I tried MSYS again, starting Eclipse from inside MSYS.  The Eclipse
Autotools plugin simply doesn't work properly with it.  It calls out
to sh using ordinary Windows pathnames.  The \ are eliminated as the
arguments are passed, resulting in errors.  Bottom line is the Eclipse
Autotools plugin is not ready for prime time with MSYS.  I'm going to
try building Freeciv outside of Eclipse, then just debugging the final
installed civclient.exe.  At this point I'm really only trying to
trace Freeciv to see how it works.

Running config.status

sh C:\Users\bvanevery\workspace\freemsys\build\config.status
C:\Users\bvanevery\workspace\freemsys\build\config.status: line 890:
cd: C:Usersbvaneveryworkspacefreemsys: No such file or directory
C:\Users\bvanevery\workspace\freemsys\build\config.status: line 891:
cd: C:Usersbvaneveryworkspacefreemsys: No such file or directory
config.status: creating Makefile
config.status: error: cannot find input file: Makefile.in

Configuration failed with error


Cheers,
Brandon Van Every

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] music

2009-01-01 Thread Brandon Van Every
I was made aware of various FTP resources.  I noticed there's a
ftp://ftp.freeciv.org/freeciv/contrib/audio/music/ directory with a
lot of tunes that I've never heard in a Freeciv game.  Were these
intended to get into the game somehow?  What happened?  Is only SDL
client capable of it and the client isn't mature enough?  Are there
licensing issues with the music?  Did someone just fall asleep?
People are too picky about the tunes?  They sound good enough to me.


Cheers,
Brandon Van Every

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] freeciv 2.1.8

2008-12-30 Thread Brandon Van Every
On Tue, Dec 30, 2008 at 7:41 AM, Per Inge Mathisen
per.mathi...@gmail.com wrote:
 On Tue, Dec 30, 2008 at 4:06 AM, Auel Neider auelneide...@gmail.com wrote:
 hi, im very like with your game. but unfortunately, freeciv 2.1.8 made my
 system crashed. im using mandriva 2009.0

 It seems rather unlikely that Freeciv would have anything to do with
 such a crash. The window system and the kernel would not permit
 Freeciv to take down the rest of the system in the event of a failure
 inside Freeciv itself. The only issue could be if you play in
 fullscreen mode, and somehow it gets stuck in that state in the event
 of an error, but I do not know much about that since I never play in
 fullscreen mode.

I disagree.  Freeciv 2.1.8 windowed GTK client froze me out of my
Windows Vista system the other day, while playing multiplayer.  Mouse
pointer simply stopped responding.  I was shocked.  I had to hard
reboot.  I have no other history of freezes on my system.  Could it be
some kind of GTK deadlock?

Other thing that happens in GTK, with 100% predictability, is after
it's been running a long time the GUI windows start painting garbage.
About 10 seconds later the app freezes.  Vista terminates this just
fine, it's pretty much gotten to be a routine.  I have no exact
reproducer for the problem though, so I haven't filed a bug report.
Something is definitely unhealthy in GTK land though.  Some kind of
resource leak.


Cheers,
Brandon Van Every

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] Windows Installer source code

2008-12-29 Thread Brandon Van Every
I am looking for the source code to produce the Windows Installer.
Specifically with the GTK2 client.  I look through the source tarball
I downloaded and I don't find it.  I was able to successfully build
Freeciv in a MSYS environment, but the installation is stuck in that
environment, dependent on the user running MSYS.  I want all the .dlls
to get installed in the app directory so that it's standalone, so that
I can test how it would behave for a Windows end user.  I figure
someone has already got those sources / scripts somewhere, they are
just not in source control?

It would be nice to have them publically available so that other
people can reproduce and test the build.  I know you Unixen are used
to having every single imaginable library as a readily installed
package and centrally shared for all apps, but Windows culture is
exactly the opposite.  No packages for open source libraries, no
sharing, every app replicates its own libraries and doesn't trust
anyone else to provide versions of them.  Sure there is Cygwin but
that's not Windows.  I did get a MinGW/MSYS build system together,
with a fair amount of manual labor installing libraries.  Actually I
updated the Install-Windows wiki page a bit, if anyone noticed.
http://freeciv.wikia.com/wiki/Install-Windows  Mostly, life is easier
if you grab the all-in-one GTK+ stack.


Cheers,
Brandon Van Every

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev