Search found 197 matches

by Enigma
Thu Jul 16, 2009 1:38 am
Forum: Plug-in Development
Topic: TeamWeapons - just started
Replies: 19
Views: 4668

Re: TeamWeapons - just started

This is the current source code right now. I added a command to change the shot types while the plug-in is loaded. The command works as follows: /tw <action> <param_1> <param_2> ... <param_N> There are two actions as of posting this: set and info. The info action takes no parameters, and set require...
by Enigma
Wed Jul 15, 2009 1:22 am
Forum: Help: Source Code / Compiling / Development
Topic: c-ares config test broken
Replies: 2
Views: 1115

Re: c-ares config test broken

The freetype libraries are in /opt/local/lib. The freetype-config script is in /opt/local/bin, which is in my PATH. The freetype.h header is in /opt/local/include/freetype2/freetype/.
by Enigma
Mon Jul 13, 2009 3:51 am
Forum: Development
Topic: BZW TestLauncher Mac
Replies: 3
Views: 1284

Re: BZW TestLauncher Mac

Wait, what is this? What does it do?
by Enigma
Mon Jul 13, 2009 3:26 am
Forum: Help: Source Code / Compiling / Development
Topic: c-ares config test broken
Replies: 2
Views: 1115

c-ares config test broken

I have c-ares on my system, and the configure script always fails to find it. After looking in config.log, I found the c-ares test in configure.ac fails because "NULL has not been defined." I just replaced NULL with 0. Maybe this is trying to compile a C program? Does C define NULL? I went straight ...
by Enigma
Fri Jul 10, 2009 8:50 am
Forum: Plug-in Development
Topic: TeamWeapons - just started
Replies: 19
Views: 4668

Re: TeamWeapons - just started

Actually the there isn't a genocide shot type:

Code: Select all

typedef enum {
  eNoShot = 0,
  eStandardShot,
  eGMShot,
  eLaserShot,
  eThiefShot,
  eSuperShot,
  ePhantomShot,
  eShockWaveShot,
  eRicoShot,
  eMachineGunShot,
  eInvisibleShot,
  eCloakedShot,
  eRapidFireShot,
  eLastShotType
} bz_eShotType;
by Enigma
Sat Jun 06, 2009 8:26 am
Forum: Plug-in Development
Topic: TeamWeapons - just started
Replies: 19
Views: 4668

TeamWeapons - just started

Requirements: Development BZFlag from svn at revision 19878. This is a simple plug-in I started last night. The plug-in changes the shot types for specific teams. I believe at one point there was a plug-in that assigned flags to teams, where one team would always get laser, another would get guided...
by Enigma
Sat Jun 06, 2009 2:40 am
Forum: Plug-in Releases
Topic: "Tag! your it!!!" plug-in
Replies: 13
Views: 3442

Re: "Tag! your it!!!" plug-in

Here is an example of how it could work. This is sort of off the top of my head, so I'm sure it is incomplete. There is a little bit of example code, but I pretty much just wrote comments describing how it could work. // All flags with non-standard shot types. // These are the possible shot types th...
by Enigma
Sat Jun 06, 2009 1:50 am
Forum: Plug-in Releases
Topic: "Tag! your it!!!" plug-in
Replies: 13
Views: 3442

Re: "Tag! your it!!!" plug-in

I'm new to programming, this is my first plug-in that I have ever made. Sorry, I didn't mean to act like a jerk. I tend to notice things that are wrong, rather than those that are right. I apologize for that. Creating a plug-in when you are new to programming is actually quite good, in my opinion. ...
by Enigma
Sun May 31, 2009 4:54 am
Forum: Plug-in Releases
Topic: "Tag! your it!!!" plug-in
Replies: 13
Views: 3442

Re: "Tag! your it!!!" plug-in

bool spawnpos[256]={0}; bool shield=0; float outspawns[5][5]={{0}}; What are these variables for? When I see a variable named 'spawnpos', I assume it would contain Cartesian coordinates in either R2 or R3. You have an array of 256 boolean values that you never use. Actually you don't use any of tho...
by Enigma
Thu May 28, 2009 2:23 am
Forum: Plug-in Releases
Topic: End shot SW
Replies: 8
Views: 2276

Re: End shot SW

This is actually what I was trying to do when I wrote the mine plug-in. When I found out I couldn't do it, I switched to mines.
by Enigma
Sun Apr 12, 2009 1:23 am
Forum: Players
Topic: AliceD (AKA Happy Alice)
Replies: 41
Views: 7499

Re: AliceD (AKA Happy Alice)

Man... I just can't imagine... The best part of BZF was always sitting around on Two Tanks with Alice and Temp etc, talking more than playing... she will be missed dearly. That she was always so positive, never letting on that she had a fatal disease... If only everyone could be so kind and strong ...
by Enigma
Sun Apr 12, 2009 12:42 am
Forum: Players
Topic: This is me
Replies: 10
Views: 2791

This is me

So a while back there were photos of a bunch of BZFlag players and developers. This is me.

http://www.facebook.com/album.php?aid=- ... f43d32e4de
by Enigma
Sat Apr 11, 2009 2:19 am
Forum: Help: Source Code / Compiling / Development
Topic: How to add a Admin tab?
Replies: 26
Views: 12585

Re: How to add a Admin tab?

There is a problem with an admin tab though. The problem is the admin tab conflicts with the other tabs. That is, they are not logically separated; you have an "admin" tab and a "chat" tab, both of which include chat. In addition, what about the server messages that are sent on the admin channel. Sh...
by Enigma
Sat Apr 11, 2009 2:08 am
Forum: Help: Source Code / Compiling / Development
Topic: How to add a Admin tab?
Replies: 26
Views: 12585

Re: How to add a Admin tab?

It's his client... I'm not concerned.
by Enigma
Fri Apr 10, 2009 3:00 am
Forum: Help: Source Code / Compiling / Development
Topic: How to add a Admin tab?
Replies: 26
Views: 12585

Re: How to add a Admin tab?

OK...... Enumerations are just named integers. You can either use the enumeration name or an integer constant instead. If you have an enumeration, then it is better to use enumeration names instead of integers, as it expresses intent. For instance, addMessage(NULL, fullMsg, ControlPanel::MessageServ...
by Enigma
Wed Apr 08, 2009 11:31 pm
Forum: Help: Source Code / Compiling / Development
Topic: How to add a Admin tab?
Replies: 26
Views: 12585

Re: How to add a Admin tab?

You broke it. That is, you have syntax errors. All I did was change if (fromServer) { addMessage(NULL, fullMsg, ControlPanel::MessageServer, false, oldcolor.c_str()); } else { addMessage(NULL, fullMsg, ControlPanel::MessageChat, false, oldcolor.c_str()); } to if (fromServer) { addMessage(NULL, fullM...
by Enigma
Tue Apr 07, 2009 3:36 am
Forum: Help: Source Code / Compiling / Development
Topic: How to add a Admin tab?
Replies: 26
Views: 12585

Re: How to add a Admin tab?

Yeah, I did this once. I won't be able to walk you through every step, mostly because I am very busy right now, with the semester coming to a close and all. I can help a little it though. It looks like you just need to map some keys to the tabs. There are like five source files you need to edit. If ...
by Enigma
Mon Mar 30, 2009 2:04 am
Forum: Help: Source Code / Compiling / Development
Topic: mac ox x 10.4.11 xcodebuild fails because:
Replies: 10
Views: 2047

Re: mac ox x 10.4.11 xcodebuild fails because:

Mac OS X frameworks do not have an sdl-config. checking for SDL framework... no checking for sdl-config... no checking for SDL - version >= 1.2.5... no So, configure tries to find the framework first, then it tries sdl-config. If it finds the framework, does configure still try to find sdl-config? I...
by Enigma
Sat Mar 14, 2009 8:33 pm
Forum: Help: Tactics and Playstyles
Topic: trouble telling what height the shot coming at you is.
Replies: 14
Views: 3141

Re: trouble telling what height the shot coming at you is.

First off, don't camp. :p Now, there is a setting that can help judge the shot height better. It's located in Options -> GUI Settings -> Colored shots on radar -> ON (it's the 8th setting from the top). Home that helps. How would this help determine the height of the shots? Aren't all shots rendere...
by Enigma
Mon Feb 16, 2009 9:20 am
Forum: Help: Source Code / Compiling / Development
Topic: Old macintosh compile discussion
Replies: 20
Views: 11732

Re: I wish somebody would un-sticky this post.

It's good enough, and there is some useful information here, I think. We are all learning. Anyways, I'm not sure if this still happens when compiling 2.0.10, but configure always used to fail with the ld error shown below. You have to look in configure.log to find it. It used to cause a lot of confi...
by Enigma
Sat Jan 10, 2009 8:55 pm
Forum: General Discussion
Topic: Fullscreen on mac... how do you get out?
Replies: 10
Views: 2051

Re: Fullscreen on mac... how do you get out?

F1 toggles full screen. To switch to another application, use command+tab, since BZFlag will "grab" your mouse.
by Enigma
Sun Jan 04, 2009 4:44 am
Forum: Plug-in Releases
Topic: ProximityMine - What UselessMine should have been
Replies: 20
Views: 9982

Re: need help

I can't get it to work for me. I says "error: exception handling disabled, use -fexceptions to enable" Were do i use -fexceptions? Assuming you really have to enable exceptions, you would have to pass -fexceptions to configure. I suppose you could just do ./configure CXXFLAGS="$CXXFLAGS -fexception...
by Enigma
Sun Jan 04, 2009 4:39 am
Forum: Plug-in Releases
Topic: ProximityMine - What UselessMine should have been
Replies: 20
Views: 9982

Re: ProximityMine - What UselessMine should have been

Yassen, maybe just try running make clean on the plug-in and rebuilding it. Also, make sure you used the included Makefile.am, since there are multiple source files; the default Makefile.am file will not work. If you can elaborate on the problems you are having, rather than "it is not working," I co...
by Enigma
Sat Jan 03, 2009 3:40 am
Forum: Plug-in Releases
Topic: ProximityMine - What UselessMine should have been
Replies: 20
Views: 9982

Re: ProximityMine - What UselessMine should have been

EDIT: I've been trying it on my server...but it doesn't work? Well that sucks. I suppose I could make this a weekend project before classes start. There are a few things that have been keeping me from even looking at this plug-in though. One is BZFlag itself. At first I stopped writing plug-ins for...