Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Busses

Pages: [1]
1
Curses / Time Served
« on: December 15, 2008, 05:12:16 pm »
Hi all, I was playing around in the game a little today and I ended up "Doing Time" quite a few times and I thought it'd be cool to have a readout on a characters profile saying how long they've spent inside the corrupt conservative prisons. It'd be even cooler if it took into account whether a character broke out of prison before their sentence was up, I don't see that bit being a problem as we can check how long characters have remaining of their sentence.

Any feedback of this idea would be great.

Thanks.

2
Curses / Could Use Some Help Compiling
« on: September 13, 2008, 06:37:31 pm »
Hello everyone, I've decided to poke around the source code seeing as I'd like to go into programming next year (final year at college) but I've had some problems compiling. I'm new to C++ but I've got a small amount of experience with programming. I'm using Dev-C++ as my editor and compiler (which I'm also new to) and I'm a little confused as to the compiling process, I keep getting errors, I managed to clear some of these up by actually downloading the correct files from the SVN, but I'm still getting a few problems.

A fresh extraction of the SVN files comes up with this in the compile log:

Code: [Select]
Compiler: Default compiler
Building Makefile: "E:\Misc\Downloads\lsc source code\31104branch\31104branch\workspaces\Makefile.win"
Executing  make...
make.exe -f "E:\Misc\Downloads\lsc source code\31104branch\31104branch\workspaces\Makefile.win" all
g++.exe -c ../src/compat.cpp -o ../src/compat.o -I"E:/Applications/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"E:/Applications/Dev-Cpp/include/c++/3.4.2/backward"  -I"E:/Applications/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"E:/Applications/Dev-Cpp/include/c++/3.4.2"  -I"E:/Applications/Dev-Cpp/include"  -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_CONSOLE -D_MBCS

g++.exe -c ../src/cursesgraphics.cpp -o ../src/cursesgraphics.o -I"E:/Applications/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"E:/Applications/Dev-Cpp/include/c++/3.4.2/backward"  -I"E:/Applications/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"E:/Applications/Dev-Cpp/include/c++/3.4.2"  -I"E:/Applications/Dev-Cpp/include"  -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_CONSOLE -D_MBCS

../src/cursesgraphics.cpp:69:22: includes.h: No such file or directory
../src/cursesgraphics.cpp: In function `int translateGraphicsChar(int)':
../src/cursesgraphics.cpp:90: error: `gchar' undeclared (first use this function)
../src/cursesgraphics.cpp:90: error: (Each undeclared identifier is reported only once for each function it appears in.)

make.exe: *** [../src/cursesgraphics.o] Error 1

Execution terminated

When I get back to using my main computer I'll try with Visual C++ but if anyone has any ideas or tips I'd be very grateful to hear them.

Pages: [1]