Crown and Cutlass Alpha 1.2

Started by
9 comments, last by Mr Grinch 19 years, 4 months ago
I'm a developer for Crown and Cutlass, a 3d pirate action/adventure game in the spirit of the old Pirates! game. It is written in C++, using OpenGL and SDL with an emphasis on cross-platform compatibility. We just released Alpha 1.2, so we are looking for feedback. It's still really early on, but now there is audio, trade (in a static economy), and naval battles. We also made a bunch of improvements to our menu system. Our files are available for download here. Just to save trouble, here are a few screenshots: You can see more on our screenshot page.
Advertisement
Have you seen the new Pirates released?
I picked it up the other day, and have really enjoyed the few hours I've gotten to play so far. It definitely puts our project to shame, although I guess they had a whole team of programmers working for 8+ hours a day plus a whole team of artists. We're just 2 guys working in our spare time with whatever art people feel like donating to us. Good music is especially hard to come by. Anyway, the new Pirates! also has some performance issues, although it looks great with the details turned all the way up. I'd recommend it to anyone who is looking at it. Have you tried it out? What did you think? How does our project (or maybe what our project could become) compare?
I couldn't compile it, it seems that I'm missing some header files/libraries.

src/Terrain.cpp: In destructor `Terrain::~Terrain()':src/Terrain.cpp:220: `glDeleteBuffers' undeclared (first use this function)src/Terrain.cpp:220: (Each undeclared identifier is reported only once for each   function it appears in.)src/Terrain.cpp: In member function `void Terrain::setGlArrayPointers()':src/Terrain.cpp:545: `glGenBuffers' undeclared (first use this function)src/Terrain.cpp:555: `GL_ARRAY_BUFFER_ARB' undeclared (first use this function)src/Terrain.cpp:555: `glBindBuffer' undeclared (first use this function)src/Terrain.cpp:556: `GL_STATIC_DRAW_ARB' undeclared (first use this function)src/Terrain.cpp:556: `glBufferData' undeclared (first use this function)
Ad: Ancamnia
What OS are you running? What compilier are you using? If you are in Windows, it should work as is. In linux, it should work as is with the nvidia drivers (and their provided headers). If you either don't have an nvidia card or don't want to use their proprietary drivers, then you'll have to change a few #ifdef's in extensions.h and extensions.cpp to get it to compile. Let me know about your system, and then we'll figure out what needs to change. Thanks.
Quote:Original post by Mr Grinch
What OS are you running? What compilier are you using? If you are in Windows, it should work as is. In linux, it should work as is with the nvidia drivers (and their provided headers). If you either don't have an nvidia card or don't want to use their proprietary drivers, then you'll have to change a few #ifdef's in extensions.h and extensions.cpp to get it to compile. Let me know about your system, and then we'll figure out what needs to change. Thanks.


I'm running GNU/Linux (Debian) and using gcc 3.2.3. I don't have an nVIDIA card but an ATI card (Radeon 9800 Pro if that's any help) so that must be the problem.
Ad: Ancamnia
Ok, I'm working on getting it to work on non-nvidia headers out of the box, but until then you'll have to edit extensions.h and extensions.cpp. I did this a few days ago, but don't have an easy way to try it again to make sure I got everything. If you wouldn't mind helping me figure this out, I'd appreciate it. Here's what I think needs to happen:

src/extensions.h:
- Move '#endif' on line 38 to line 31

src/extensions.cpp:
- Move '#endif' on line 40 to line 33
- Move '#endif' on line 59 to line 51

I believe that should do it. Please try it out and let me know, thanks.
Looks nice (even if the graphics are simple); will take a look at it when I get home tonight.

I think its a pity you're doing a clone of Pirates though; especially now that the "new" one has come out (haven't played it yet - will be getting it for X-mas, I expect). Particularly due to the latter, I would transpose my game, if I were you.

Possibilities include Elizabeth's Pirates (Francis Drake, John Hawkins, Walter Raleigh, etc - would probably have to be more story-driven), the Northern "Pirate Wars" (economical war in the North Sea between the Hansa and the Scandinavian crown which was mostly carried out by piracy), or what I would do myself if I were working on a similar game (but then I'm a classicist and read too much): Piracy in the Ancient World. The latter would be able to contain many of the familiar features: different eras (from bronze age to Caesarian times), men driven to piracy by poverty, corrupt governors and Kings, trade (the line between piracy and trade wasn't very distinct), treasure fleets, hostages, pirate's nests, many different ships and even scripted "super-power" wars that the player could get swept up in - but still not be quite the same, since the ship battles would be different (for one, warships would be oared galleys rather than sail-driven, and you would have the opportunity to ram in addition to boarding and shooting) and the atmosphere would (or could) thus be made quite distinct from the regular Pirates!

Just my two doubloons...

Michael A. - Software Engineer, moonlighting as a game developer
A Brief History of Rome
Pirates and Traders

Quote:Original post by Mr Grinch
Ok, I'm working on getting it to work on non-nvidia headers out of the box, but until then you'll have to edit extensions.h and extensions.cpp. I did this a few days ago, but don't have an easy way to try it again to make sure I got everything. If you wouldn't mind helping me figure this out, I'd appreciate it. Here's what I think needs to happen:

src/extensions.h:
- Move '#endif' on line 38 to line 31

src/extensions.cpp:
- Move '#endif' on line 40 to line 33
- Move '#endif' on line 59 to line 51

I believe that should do it. Please try it out and let me know, thanks.


I still get the same errors plus some syntax errors.. (Could you upload the modified extensions.h and .cpp somewhere, perhaps I'm doing something wrong..) Also I might be missing some GL* library?

g++ -ansi -Wall -Werror -g -I/usr/include/SDL -D_REENTRANT -DNO_SDL_GLEXT -DTIXML_USE_STL -o src/Terrain.o -c src/Terrain.cppIn file included from src/Terrain.cpp:10:src/extensions.h:33: syntax error before `;' tokensrc/extensions.h:34: syntax error before `;' tokensrc/extensions.h:35: syntax error before `;' tokensrc/extensions.h:36: syntax error before `;' tokensrc/Terrain.cpp: In destructor `Terrain::~Terrain()':src/Terrain.cpp:220: `glDeleteBuffers' undeclared (first use this function)src/Terrain.cpp:220: (Each undeclared identifier is reported only once for each   function it appears in.)src/Terrain.cpp: In member function `void Terrain::setGlArrayPointers()':src/Terrain.cpp:545: `glGenBuffers' undeclared (first use this function)src/Terrain.cpp:555: `GL_ARRAY_BUFFER_ARB' undeclared (first use this function)src/Terrain.cpp:555: `glBindBuffer' undeclared (first use this function)src/Terrain.cpp:556: `GL_STATIC_DRAW_ARB' undeclared (first use this function)src/Terrain.cpp:556: `glBufferData' undeclared (first use this function)make: *** [src/Terrain.o] Error 1
Ad: Ancamnia
Looks nice, good to see projects that are getting somewhere :)

Lead Coder/Game Designer for Brutal Nature: http://BrutalNature.com

This topic is closed to new replies.

Advertisement