• Advertisement


  • Content count

  • Joined

  • Last visited

Community Reputation

336 Neutral

About lemurion

  • Rank
  1. Getting Axiom Source

    If you you are speaking about the Axiom 3D Engine, you can get the source code here but if you want the bleeding edge sources, you'll have to download subversion here (win32 console) then extract the archive, go in the bin directory and type: svn co https://svn.sourceforge.net/svnroot/axiomengine/trunk there's also TortoiseSVN which has a pretty GUI and works well on windows. hope that helps !
  2. I'm not very familiar with display lists and you didn't show the code for the vertices, but are you specifying texture coordinates ? like glTexCoord2f() hope that helps !
  3. (C++) Having Compiling Trouble

    Are there any include files made by you that are being included ? because the cause of the problem could be a missing closing brace, parenthesis or a semicolon. if it doesn't help, would you mind posting the code of your header files and one of the cpp file that has the error ? you can put your sources between [ source ] and [ /source ] tags (without the spaces)
  4. Also, copying a file only modifies it's creation time, not it's modification time unless you copy it to a UNC path (eg: \\some_machine\some_share) and it might be the same with network mapped drive. hope that helps !
  5. Need Help with some of my code?

    If you want to allow spaces to be part of the input, use the geline() function instead of cin >> some_var #include <string> using namespace std; int main(void) { string input; cout << "Enter your first and last name: "; getline(cin, input); cout << "Your full name is: " << input << endl; return 0; } hope that helps !
  6. Installation builder for linux?

    there's Setup from Loki Games hope that helps !
  7. Auto-cast a class in c++

    first of all, if you don't use an access specifier on class members, they will be private by default which means you won't be able to access the members outside the class. I'd suggest using accessors methods or make them public like this: class ErrMsg { public: ErrType code; String info; }; Second, you can write your foo() function like this: void foo() { if( bar().code == FAILURE ) cout << "Failed!" << endl; else cout << "Success!" << endl; } but you won't be able to access the 'info' member of the ErrMsg class. So I'd suggest using: void foo() { ErrMsg err = bar(); if( err.code == FAILURE ) cout << "Failed!: " << err.info << endl; else cout << "Success!" << endl; } Hope that helps !
  8. Allegro Strings

    I assume you mean std::string. In this case, you can use the c_str() method from the std::string class which will convert your string to a char array. std::string t = "Hello World !"; textout_ex( the_bmp, the_font, t.c_str(), 10, 10, makecol( 255, 255, 255 ), -1 ); hope that helps !
  9. I think what you are looking for is the UNION ALL keyword. This allow to make multiple queries and get back only one result set as long as all your columns have the same type in each query. ex (assuming 03_forum and 04_forum are identical: select * from 03_forum where <condition> union all select * from 04_forum where <condition> only replace the <condition> to a where clause and it will work. note: the condition doesn't need to be the same on all tables. hope that helps edit: If you don't want to have duplicates between tables, don't use the ALL keyword for the union. It will only returns the rows that are different from the ones already returned.
  10. SDL installation

    as long a you don't create a managed project this should work. i don't know if some binding exists for .Net hope that helps !
  11. Do they ever?

    the quickest way to get idsoftware's source code is on their FTP server note that this is only the source code for the game engines, not the games themselves. hope that helps !
  12. Setting up a library in Linux

    if the updatedb or locate programs aren't installed on you system, you can always use the find command which comes from the findutils package and is usually installed by almost every distribution find <directory to search> -name <name of file> so if you're on the / directory and wants to find the the_file file then you'd do find . -name the_file
  13. Setting up a library in Linux

    the .tgz extension means the file is a gzip compressed tarball. for more info, please look at 'man gzip' and 'man tar' (these commands should be run from a command line prompt) from the content of the archive, i can see this is a source distribution library, which means you need to compile the library in order to use it. It also contains a configure script which is common on unix/linux. to install it, simply run (from the uncompressed archive directory) ./configure --prefix=/usr make makeinstall to explain a little bit better, the ./configure commands execute the configure script _in the current directory_ (hence the ./). the --prefix=/usr option is to tell the configure script we want to install the library to /usr/lib instead of the common location /usr/local/lib. it's not mandatory, but i found things easier when installed there. after the script execute you should have a Makefile file created in the current directory, if not, there have been an error in the script (read what it says and try to find what's missing). the make command will execute the Makefile file and compile each .c files for the library and make a .a or .so file out of it (the actual library: .a is for static libs and .so is for shared object (equivalent to windows .dll) the make install command will execute the 'install' section from the Makefile which installs the library. it will copy a bunch of files to some locations. this commands _must_ be run as root (or you wont have write access to the directories where the library will be installed). what i've discribed here is the common process to install softwares/library that uses the autoconf, automake packages to build itself. in order to be able to build the library you'll need the GNU Compilers Collection (gcc) and the -devel packages of every dependencies the thing you want to build needs. i don't know which distribution you use, but the commons installers for these -devel packages and gcc are rpm on redhat linux (yum on fedora core) yast on suse linux (or opensuse) and installdrake (if i remember correctly) on mandrake (now known as mandriva) also remember that you can always look at the man pages of almost every commands you can type on linux using the 'man' command (some distributions also include a graphical software to do this) and there's also The Linux Documentation Project which can help you ! hope that helps ! --edit-- If anybody find errors in what i have written feel free to say it because i don't have that much experience with linux and don't want to induce people in error --edit2-- after more checking of the archive content, you can also read the README.html and INSTALL.html files inside the archive which will help you with specific options to this package
  14. Rotation problem

    From what i can see, the set_Rotation or set_3Dvector method doesn't care about previous rotations so you always get the latest rotation. I think there should be some adding or multiplying between the two vectors (in the two set_Rotation calls) hope that helps !
  15. looking for sample blend file

    If you want you can download Elephants Dream which his an open source movie all done in blender. You can download the sources (models, textures, .blend files, etc...) here Also if you like it, you can buy the DVD ! hope that helps !
  • Advertisement