The Partridge Family were neither partridges nor a family. Discuss.
-
StarPirate
- Posts: 12
- Joined: June 29th, 2014, 11:58 am
Post
by StarPirate » December 13th, 2014, 11:08 pm
I just added font to my project ( from the beginner series ) and this line is giving me a linking error:
Code: Select all
gfx.LoadFont(&consolas, fontSurf, "Consolas13x24.bmp", 13, 24, 32);
If you comment it you can see everything works as intended(without the font ofc). You can find it in the Game.cpp file.
I've been trying to figure out what the linking error means but with no success.
-
Attachments
-
- Gravity Simulator.rar
- (92.63 KiB) Downloaded 158 times
-
albinopapa
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Post
by albinopapa » December 14th, 2014, 8:52 am
You forgot D3DGraphics:: before the function in the D3DGraphics.cpp file
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
-
StarPirate
- Posts: 12
- Joined: June 29th, 2014, 11:58 am
Post
by StarPirate » December 14th, 2014, 7:26 pm
Thanks albino. That was a rookie mistake
-
albinopapa
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Post
by albinopapa » December 14th, 2014, 10:46 pm
I like the simulation btw, it's pretty neat.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com