Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 07 Jun 2007
Offline Last Active Jan 13 2012 01:33 AM

Topics I've Started

is outsoucing a problem for USA graduates willing to join the game industry?

12 January 2012 - 07:29 AM

I am a Computer Engineer having a strong interests in game programming specially in Networks/Physics engine programming. Altought I have other passions like for harware and Chemistry. Call be a geek, I don't mind. Posted Image
I think I am ready to leave my amateur status and become a professional programmer and work for the gaming industry.
I am wondering if the gaming/game industry here in the States suffers from jobs oursourcing/offshoring in the present like many other IT jobs.

Thanks in advanced.

P.S Why the checking spelling feature of firefox does not work any more in this memo box?

a little help with tinycc, tinycc compiler.

15 December 2010 - 04:36 PM

I am using the tinycc mini compiler for generating dynamic code for a small project. The problem is that for a reason i can't pass FLOATS to functions, which are inside the main program. But if I change it to double it works. For a reason the literal 3.1416 is not interpreted as a float literal. I am using visual studio 2008 for compiling this code.
This is my code.

#include <iostream>

#include "libtcc.h"

using namespace std;

void local( float f )
printf ( "%f \n", f );

void main()
TCCState *s;
void (*main)();
void *mem;
int size=0;

// This is our code. For a reason the literal 3.1416 is not intrepeted
// as a float.
char code[] = " void main () { local( 3.1416 ); }" ;

s = tcc_new();

if (!s)
cout << "Error" << endl;

/* MUST BE CALLED before any compilation */
tcc_set_output_type(s, TCC_OUTPUT_MEMORY);

if ( tcc_compile_string(s, code) == -1)
cout << "Error" << endl;

tcc_add_symbol(s, "printf", printf);
tcc_add_symbol(s, "local", local);

size = tcc_relocate(s, NULL);
if (size == -1)
cout << "Error" << endl;

mem = malloc(size);
tcc_relocate(s, mem);

main =( void (*) (void) ) tcc_get_symbol(s, "main");

if (!main)
cout << "Error" << endl;

// call the main function

system ( "pause" );

[Edited by - becoolnike on December 15, 2010 11:25:38 PM]

What do you think about the core CS classes of this university?

03 August 2010 - 04:54 PM

This is WSU CS B.S

Computing/Programming in C
Formal Logic
Introduction to Digital Design
Engineering Economy
Data Structures and Algorithms I and II
Assembly Language Programming
Introduction to Computer Architecture
Programming Paradigms
Object-Oriented Programming
Algorithm Design Methods
Computer Networking
Programming Language Concepts
Operating Systems
Introduction to Database Systems
Introduction to Software Engineering
Design Projects I and II
Technical elective

66 core classes.

Is this bachelors degree missing important classes like ( c#, java)?

databases, Engineering Economy, and Computer Networking don't appear to belong to a CS Degree....

Is this a weak CS degree?

Do you prefer OOP scripting or procedural scripting?

29 July 2010 - 01:39 PM

I have created a c++ look scripting engine, and I am wondering of what do you guys think about this kind of syntax in a scripting engine.


BeginState( Standing )

dbprintf ( "standing_enter ");

dbprintf ( "standing_Exit");

dbprintf ( "standing_Execute");



BeginState ( Standing, Enter )
dbprintf ( "standing_enter ");

BeginState ( Standing, Exit)
dbprintf ( "standing_Exit");

BeginState ( Standing, Execute )
dbprintf ( "standing_Execute");

Which one is easier to read and efficient.

Sorting power of two textures inside a big 1024*1024 texture?

22 July 2010 - 04:44 AM

I am working on an algorithm that maps small power of two textures inside a big texture ( 1024*1024 or 2048*2048 ). And I am wondering if such algorithm already exists because I don't want to reinvent the wheel.

For examples these are my textures sizes that I want to map it into a 1024*1024 texture. What is the most efficient way to do it?

64 64
64 128
32 64
16 128
8 2
1 1

Thanks in advanced!