Primary tabs

Comments by User

Wednesday, August 8, 2012 - 02:47

Buch, can't you fix those ? While your entry would be of 1st - 2nd Aug, you can always fix it. That's why you have git repo. so you could fix things. 

Wednesday, August 8, 2012 - 02:36

nice one, looks good.

Monday, August 6, 2012 - 19:02

nice one :)

Monday, August 6, 2012 - 18:59

actually tried that command

g++ -o ToG test.cpp -w -lSDLmain -lSDL -lSDL_image -lSDL_ttf -lSDL_gfx

while I have all the libraries as told above, there is no mention of the libraries in the README.md. Please fix that.

I had a runaway black rectangular box with nothing to show and eating my memory when I ran ./ToG ,

I had to kill the process in order to use the desktop.

 

Monday, August 6, 2012 - 18:56

I do have number of suggestions, the first being a short tutorial.  I don't know if you have played AOE or AOM (Age of Empires, Age of Mythology). While those are AAA games there is no reason we couldn't have simple tutorials that make the user know what he has to do and then once he knows something then add concepts to it.

You could look at the tutorial made in the game Hale. See https://sourceforge.net/projects/hale/ for more info. Better yet download either the stable version in downloads or the bleeding edge via subversion and play it to have a feel/know.

 

Sunday, August 5, 2012 - 03:56

instead of imgur could you use some other host for screenshots, photobucket comes to mind as well as imageshack.us both of which are good. With imgur I am never able to see the screenies.

Sunday, August 5, 2012 - 03:45

umm.... maybe I've missed something or the other but now the bats kill me and I can't kill them, right once I enter the cave, either the balancing has taken the fun out or I've forgotten the controls or something.

If I'm not wrong the controls are lmb (left mouse button) once you have the basic sword in your inventory and in main hand.

Also a point to note, there is no documentation either about the controls or when you get your talismans or keys either in the README or README.md . Look forward to the answers.

Saturday, August 4, 2012 - 15:25

umm.... I'm on Debian wheezy and it doesn't compile at least not in that straightway as given.I chmodded

$ ./make.sh
./make.sh: line 10: syntax error near unexpected token `fi'
./make.sh: line 10: `fi'

I looked at the make.sh script and out of the four packages, one package is not there. Instead of libsdl-ttf-1.2-dev I have libsdl-ttf2.0-dev

$ apt-show-versions -a libsdl-ttf2.0-dev
libsdl-ttf2.0-dev 2.0.11-2 install ok installed
libsdl-ttf2.0-dev 2.0.9-1  stable  ftp.debian.org
libsdl-ttf2.0-dev 2.0.11-2 testing ftp.debian.org
libsdl-ttf2.0-dev 2.0.11-2 wheezy  ftp.debian.org
libsdl-ttf2.0-dev/testing uptodate 2.0.11-2

Apparently in Debian people have moved on from libsdl-ttf-1.2-dev to libsdl-ttf-2.0-dev.All the others are at 1.2 yet though.

Looking forward to answer.

Saturday, August 4, 2012 - 15:13

I tried using cmake-gui . This is my cmake -version.

$ cmake --version
cmake version 2.8.9-rc1

$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for x86_64-pc-linux-gnu

This is a 64-bit debian system (Debian wheezy).

I was able to generate the makefile needed but not able to make. See :-

$ make
Scanning dependencies of target Villages
[  1%] Building CXX object CMakeFiles/Villages.dir/src/main.cpp.o
In file included from /home/shirish/games/villages/includes/sdl/SDL_config.h:42:0,
                 from /home/shirish/games/villages/includes/sdl/SDL_stdinc.h:30,
                 from /home/shirish/games/villages/includes/sdl/SDL_main.h:26,
                 from /home/shirish/games/villages/includes/sdl/SDL.h:30,
                 from /home/shirish/games/villages/src/main.cpp:4:
/home/shirish/games/villages/includes/sdl/SDL_config_minimal.h:38:22: error: conflicting declaration ‘typedef unsigned int size_t’
In file included from /usr/include/wchar.h:52:0,
                 from /usr/include/c++/4.7/cwchar:46,
                 from /usr/include/c++/4.7/bits/postypes.h:42,
                 from /usr/include/c++/4.7/iosfwd:42,
                 from /usr/include/c++/4.7/ios:39,
                 from /usr/include/c++/4.7/ostream:40,
                 from /usr/include/c++/4.7/iostream:40,
                 from /home/shirish/games/villages/src/main.cpp:1:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stddef.h:213:23: error: ‘size_t’ has a previous declaration as ‘typedef long unsigned int size_t’
make[2]: *** [CMakeFiles/Villages.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Villages.dir/all] Error 2
make: *** [all] Error 2

After asking the developer did the change in ~/games/villages/includes/sdl/SDL_config_minimal.h

so it now reads :-

/* This is the minimal configuration that can be used to build SDL */

#include <stdarg.h>

typedef signed char int8_t;
typedef unsigned char uint8_t;
typedef signed short int16_t;
typedef unsigned short uint16_t;
typedef signed int int32_t;
typedef unsigned int uint32_t;
#typedef unsigned int size_t;
typedef unsigned long uintptr_t;

and still have the error compiling.

 

$ make
Scanning dependencies of target Villages
[  1%] Building CXX object CMakeFiles/Villages.dir/src/main.cpp.o
In file included from /home/shirish/games/villages/includes/sdl/SDL_config.h:42:0,
                 from /home/shirish/games/villages/includes/sdl/SDL_stdinc.h:30,
                 from /home/shirish/games/villages/includes/sdl/SDL_main.h:26,
                 from /home/shirish/games/villages/includes/sdl/SDL.h:30,
                 from /home/shirish/games/villages/src/main.cpp:4:
/home/shirish/games/villages/includes/sdl/SDL_config_minimal.h:38:2: error: invalid preprocessing directive #typedef
make[2]: *** [CMakeFiles/Villages.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Villages.dir/all] Error 2
make: *** [all] Error 2

 

Something is wrong somewhere hence sharing on the fora. Maybe somebody else can share some info. which might help or some info. which is missing here.

 

 

 

 

 

Saturday, August 4, 2012 - 01:18

umm... this is how it looks at my end.

~/games/Tales-of-Gydia$ ls
AUTHORS.txt       COPYING.txt  error.h  GPL 3.0.txt  locale.h           README.md  ui.h
cache.h           data         expr.h   image.h      make.sh            script.h
CC-BY-SA 3.0.txt  editor.cpp   game.h   imgCFG.cpp   README_editor.txt  test.cpp~/games

/Tales-of-Gydia$ ll -h make.sh
-rw-r--r-- 1 shirish shirish 1.1K 2012-08-04 10:39 make.sh

~/games/Tales-of-Gydia$ ./make.sh
bash: ./make.sh: Permission denied

I could change permissions locally but it would be better if this was done in the repo. itself.  I don't want to use chmod so that the next time I sync I would have to chmod again.

 

 

Pages