Search found 34 matches

by jmcintyretech
Sat Nov 01, 2014 10:04 pm
Forum: Programming Discussion
Topic: Legendary worst code ever made
Replies: 8
Views: 6683

Re: Legendary worst code ever made

The fuck did I just read.

On a side note, I actually feel really bad. I mean I think we all wrote rediculous verbose shit when we started out.

Hope that guy learns how to code for real and doesn't end up quitting.
by jmcintyretech
Thu Oct 23, 2014 10:25 am
Forum: Programming Discussion
Topic: Problem calling free() from another function [SOLVED]
Replies: 5
Views: 2363

Re: Problem calling free() from another function

Got it! I asked a professor at school and she caught this as well. Here are the working functions: /* This function is the main entry point for the program */ int main() { Grid** grid; new_game(&grid); end_game(&grid); return 0; } /* This function allocates a 2d array */ void new_game(Grid**...
by jmcintyretech
Wed Oct 22, 2014 4:37 pm
Forum: Programming Discussion
Topic: Problem calling free() from another function [SOLVED]
Replies: 5
Views: 2363

Re: Problem calling free() from another function

So I'm still having trouble passing this Grid** in and out of functions. I asked one of my profs and she noticed this: grid = malloc(GRID_SIZE * sizeof(Grid)); should be grid = malloc(GRID_SIZE * sizeof(Grid*)); Which I originally missed. I do understand that I am creating a pointer to an array of p...
by jmcintyretech
Tue Oct 21, 2014 7:40 pm
Forum: Programming Discussion
Topic: Problem calling free() from another function [SOLVED]
Replies: 5
Views: 2363

Problem calling free() from another function [SOLVED]

I'm getting a segmentation fault when I try to free memory I allocate for a 2d array. The following causes a segmentation fault: /* This function is the main game loop */ void game_loop() { /* Store the user input for logic */ Input input = NONE; /* Create game variables */ Grid** grid; int score; i...
by jmcintyretech
Tue Jun 17, 2014 3:05 pm
Forum: Programming Discussion
Topic: Java gaming discussion
Replies: 7
Views: 3183

Re: Java gaming discussion

dandymcgee wrote: I think having a compiler would be a bit more important than a graphics lib. You'd be hard pressed to get your Fortran running natively on iOS. :roll:
...didn't even think of that, that's probably a bigger concern :lol: :lol:
by jmcintyretech
Sun Jun 15, 2014 1:37 pm
Forum: Programming Discussion
Topic: Java gaming discussion
Replies: 7
Views: 3183

Re: Java gaming discussion

If you're making a game with more complex grpahics needs, you can still use Java, but might choose a library like LWJGL (Lightweight Java Game Library). If you have a need for extreme performance or distribution on platforms without a JVM, you'd want to use C/C++ and something like SDL or OpenGL. He...
by jmcintyretech
Thu Jun 12, 2014 9:26 pm
Forum: Game Development
Topic: Well Guys, We're Doing It (I Think)
Replies: 2
Views: 2442

Well Guys, We're Doing It (I Think)

******
by jmcintyretech
Thu Oct 31, 2013 10:42 am
Forum: Game Development
Topic: What projects are you currently working on?
Replies: 500
Views: 150074

Re: What projects are you currently working on?

SomeAwesomeUsername wrote:I've been working on this rts game with the gameplay style of Command & Conquer
Nice looking work SomeAwesomeUsername! Can't wait to see the finished product.
by jmcintyretech
Wed Oct 02, 2013 8:01 pm
Forum: Game Development
Topic: Summer Project - "Terminal Fantasy"
Replies: 9
Views: 5076

Re: Summer Project - "Terminal Fantasy"

Awesome man! Glad you enjoyed it!!
by jmcintyretech
Tue Oct 01, 2013 3:51 pm
Forum: Game Development
Topic: Summer Project - "Terminal Fantasy"
Replies: 9
Views: 5076

Re: Summer Project - "Terminal Fantasy"

Hey all, the download script for Recoil and Retrieve on my website was pointing to the wrong directory. It is now fixed!
by jmcintyretech
Tue Oct 01, 2013 1:05 pm
Forum: Game Development
Topic: Summer Project - "Terminal Fantasy"
Replies: 9
Views: 5076

Re: Summer Project - "Terminal Fantasy"

Shit! That's not good. I'll fix that on my server when I get home from class today. Thanks for the heads up!

And yes, Recoil and Retrieve is finished. Not much of a game, but finished :)
by jmcintyretech
Sun Sep 29, 2013 9:06 pm
Forum: Game Development
Topic: Summer Project - "Terminal Fantasy"
Replies: 9
Views: 5076

Summer Project - "Terminal Fantasy"

*********