Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-05

Game Programming in FPC

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joseph Hewitt

Hi. My name is Joseph Hewitt, and I use Free Pascal for the RPGs I've been developing. Is anyone else working on games using FPC?

-
GearHead is a roguelike mecha game. What do I mean by that? Well, it's a computer role-playing game in which you can have lots of dangerous adventures in a semi-randomly generated world. You also get to pilot giant robots. Think of it as MechFight plus Moria, with liberal dashes of Fallout, Bubblegum Crisis, and ADOM added for flavor.

WHAT IT HAS
-----------
- Over 30 mecha designs + variants
- Players are free to create their own mecha
- Campaign world with five towns, three dungeons, and four arenas
- Can be played as a tactical game or as a RPG
- Detailed NPC interaction system
- Random maps, characters, and plot events
- All items, locations, and events are stored in external text files
- Written in FreePascal; full source code is avaliable
- It's free :)

WHAT IT DOESN'T HAVE... YET
---------------------------
- Graphics. The interface currently uses plain ASCII for everything. I do plan on offering graphics some time in the future, but at the moment I feel that time spent on graphics code could be better spent on game mechanics code.
- Mecha Designer. Right now the only way to edit meks is to use a text editor. It would be nice to have a GUI designer program some day.
- Multiplayer Support

WHERE TO GET IT
---------------

You can download the DOS binaries and Pascal source code from my web page at:

http://www.geocities.com/pyrrho12/programming/gearhead/index.html

If anyone does a compile for Linux, Mac, or Amiga let me know and I'll stick those versions on the page as well. Bug reports and feature requests are of course welcome.

- Joseph Hewitt

_________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com

Vassilis Stathopoulos
to Joseph Hewitt

Hello,

is anyone aware of an existing implementation of CGI cookies management in FPC code? I am considering using cookies on a small CGI application and it would save me a lot of time if I could work on existing code.

Any help is much appreciated.

TIA,
Vassilis

Vassilis Stathopoulos
to Vassilis Stathopoulos

Again,

if someone has some code, feel free to send. To others, perhaps this is a start (using uncgi unit):

     cgi_init;
     writeln ('Set-Cookie: UID=myname; expires=Saturday, 11-May-2022
02:58:49 GMT;  domain=.mydomain.com; path=/');
     writeln ('Set-Cookie: PASS=abcdefg; expires=Saturday, 11-May-2022
02:58:49 GMT;  domain=.mydomain.com; path=/');
     Set_Content ('text/html');
     writeln('Cookie:'+getenv('HTTP_COOKIE')); // prints the cookies
delimited by semi colon ";"

Vassilis

Show quoted text 5 lines
is anyone aware of an existing implementation of CGI cookies management in FPC code? I am considering using cookies on a small CGI application and it would save me a lot of time if I could work on existing code. Any help is much appreciated.