Difference between revisions of "Talk:Cataclysm"
m |
(Review) |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
I get this error while trying to compile: | |||
/Whales-Cataclysm-76839bf$ make | |||
g++ -g -c bionics.cpp -o obj/bionics.o | |||
In file included from bionics.cpp:1: | |||
player.h:10:20: error: morale.h: No existe el archivo o directorio | |||
In file included from bionics.cpp:1: | |||
player.h:123: error: ????morale_type’ has not been declared | |||
player.h:178: error: ????morale_point’ was not declared in this scope | |||
player.h:178: error: template argument 1 is invalid | |||
player.h:178: error: template argument 2 is invalid | |||
make: *** [obj/bionics.o] Error 1 | |||
Any ideas? [[User:ChairmanPoo|ChairmanPoo]] 07:30, 17 November 2010 (UTC) | |||
Whales: Your dev blog doesn't seem to allow me to post comments (the box is there but my comment vanishes when I hit preview or post comment). I was going to reply to your vector copying post with the following: | |||
:''It could be that you need to implement a copy constructor for your point class so that std::vector can do a deep copy.'' | |||
:''Also, using the std::copy() method from <algorithm> or at least using an iterator instead of an index number to access the vector elements would likely result in much faster copying.'' | |||
--[[User:HunterZ|HunterZ]] 17:38, 17 November 2010 (UTC) | |||
ChairmanPoo, it seems you're just missing morale.h and moraledata.h, which weren't on my github for a while (sorry!). They're there now; just sync/download them and it should compile fine. | |||
HunterZ, odd, I'll look into my devblog's comment issue. My point class does have a copy constructor, so that can't be it... also, I am extremely noobish at C++, and as such didn't even know about iterators until a couple weeks ago. One day I'll do a major code refactor and use them inside of index numbers! I'm also not familiar with <algorithm> but I'll look intoo it, thank you. | |||
[[User:Whales|Whales]] 19:11, 18 November 2010 (UTC) | |||
===Review=== | |||
Despite being in the Alpha stage of development, Cataclysm boasts a user friendly, fairly attractive user interface, quality gameplay, and intense stylings. This isn't silly "mow-down-the-horde" gameplay, this is "shit-your-pants-in-fear-get-mown-down-by-the-horde" gameplay. Little touches and elements really bring home the flavour of the game. Firearms are deadly, but reloading is your enemy when you're trying to face the horde. The ability to salvage parts from traps is really handy, and adds another level of immersion. Top notch. [[User:Mort432|Mort432]] 00:59, 9 August 2012 (CEST) |
Latest revision as of 22:59, 8 August 2012
I get this error while trying to compile: /Whales-Cataclysm-76839bf$ make g++ -g -c bionics.cpp -o obj/bionics.o In file included from bionics.cpp:1: player.h:10:20: error: morale.h: No existe el archivo o directorio In file included from bionics.cpp:1: player.h:123: error: ????morale_type’ has not been declared player.h:178: error: ????morale_point’ was not declared in this scope player.h:178: error: template argument 1 is invalid player.h:178: error: template argument 2 is invalid make: *** [obj/bionics.o] Error 1
Any ideas? ChairmanPoo 07:30, 17 November 2010 (UTC)
Whales: Your dev blog doesn't seem to allow me to post comments (the box is there but my comment vanishes when I hit preview or post comment). I was going to reply to your vector copying post with the following:
- It could be that you need to implement a copy constructor for your point class so that std::vector can do a deep copy.
- Also, using the std::copy() method from <algorithm> or at least using an iterator instead of an index number to access the vector elements would likely result in much faster copying.
--HunterZ 17:38, 17 November 2010 (UTC)
ChairmanPoo, it seems you're just missing morale.h and moraledata.h, which weren't on my github for a while (sorry!). They're there now; just sync/download them and it should compile fine.
HunterZ, odd, I'll look into my devblog's comment issue. My point class does have a copy constructor, so that can't be it... also, I am extremely noobish at C++, and as such didn't even know about iterators until a couple weeks ago. One day I'll do a major code refactor and use them inside of index numbers! I'm also not familiar with <algorithm> but I'll look intoo it, thank you.
Whales 19:11, 18 November 2010 (UTC)
Review
Despite being in the Alpha stage of development, Cataclysm boasts a user friendly, fairly attractive user interface, quality gameplay, and intense stylings. This isn't silly "mow-down-the-horde" gameplay, this is "shit-your-pants-in-fear-get-mown-down-by-the-horde" gameplay. Little touches and elements really bring home the flavour of the game. Firearms are deadly, but reloading is your enemy when you're trying to face the horde. The ability to salvage parts from traps is really handy, and adds another level of immersion. Top notch. Mort432 00:59, 9 August 2012 (CEST)