Welcome, Guest. Please login or register. Did you miss your activation email?

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.


Messages - Strelok

Pages: [1] 2 3 ... 10
1
General / Re: Re: AW: undefined refrences to
« on: December 07, 2014, 08:21:53 pm »
-DSMFL_STATIC

I don't any library that's called SMFL. ;)
I don't know what you mean by that cause in linker I set it up EXACTLY like it told me to.
It's SFML_STATIC. You wrote SMFL

2
General / Re: VM aborting when launching Android example
« on: November 29, 2014, 03:58:52 pm »
I read somewhere opengl es 2 works on 4.0+ emulated devices. Let me double check.
There we go post

3
Feature requests / Re: Interface for "loadFromFile" (and others)
« on: November 28, 2014, 03:48:57 pm »
You might want to have a look at Thor (sfml extension)

4
Window / Re: Bug with the keyboard ?
« on: November 06, 2014, 09:50:05 pm »
You're not pressing any new key so it generates only a key released event.

5
General / Re: Game Server Structure
« on: October 23, 2014, 01:00:08 pm »
Reallocating the vector (you can always reserve) is usually faster than having to read all the pointers to the back of the list (a lot of cache misses)

6
General / Re: NMake can't create the project solution for jpeg
« on: October 18, 2014, 07:29:51 pm »
I think there are better communities (e.g. the Microsoft one or StackOverflow) for none SFML issues like that.
jpeg and freetype are C libraries, they don't need rebuilding with newer compiler versions.
I posted here because I know the team might have been encounter similar issues when building those libraries. The non (although questionably so) SFML related problem had already been resolved when you posted so I don't see how your point would apply to this issue.
If they suddenly can't find "standard" symbols then it's a pure compiler issue.
This answer still refers to the old issue.

7
General / NMake can't create the project solution for jpeg
« on: October 18, 2014, 05:00:41 pm »
DISCLAIMER: I'm using bugged cutting edge software Windows 10 techical preview x64 + SFML master + CMake Nightly + Visual Studio 14 CTP 4

Visual studio 14 CTP seems to be working well with CMake nightlies but it looks like freetype and image need to be recompiled E.G:
Quote
7>jpeg.lib(jerror.obj) : error LNK2019: unresolved external symbol fprintf referenced in function output_message
7>jpeg.lib(jerror.obj) : error LNK2019: unresolved external symbol __iob_func referenced in function output_message
I've managed to rebuild freetype succesfully (thanks to CMake), but NMake gives me this error when I try to build the project for image.
Quote
C:\jpeg-6b>nmake /f makefile.vc

Microsoft (R) Program Maintenance Utility Version 14.00.22129.1
Copyright (C) Microsoft Corporation.  All rights reserved.

NMAKE : fatal error U1073: don't know how to make 'jconfig.h'
Stop.
This is what MSDN says  ???.
This might have a solution but I can't understand what has been written  ::).
I'm assuming Laurent (or whoever compiled the extlibs for windows) has a solution for my problem, unless my working environment is missing something.

EDIT: Apparently I had been using the wrong version of the sources. After updating from 6b to 9a nmake /f makefile.vc setup-v10 seems to be working.
EDIT 2: I still have linker issues about runtime libraries, can anyone confirm that I need to specify /MD on both the freetype and jpeg library?

8
write programs as if the most important communication they do is not to the computer that executes them but to the human beings who will read and maintain the source code
That is true for huge open source projects that don't have definite resource costraints. As Mike says, (when it comes to performance and USER EXPERIENCE) the code is just a tool.
Buying a small increase in performance with a large increase in the complexity and obscurity of your technique is a bad trade
Although we're not talking about "small increase in performance" but (ms to ns) I have to agree with you. I don't see how overcomplicating everything to have the most performance will help in most common cases, unless your team is made of 5+ assembly gurus, that is. Of course when you have to work with an nvidia G70 with GPU clock 550MHz and 256MB of GDDR3 RAM and 256MB xRAM you will need to squeeze out everything you can get.

9
All this talk about performance is wholeheartedly agreeable until you check their latest game which will run at piss poor 30fps. So much time spent optimizing code when the end user experience will be suboptimal anyway. I wonder how badly a normal c++ engine would fare on a "next gen" console.

10
Window / Re: Cursor position in title bar
« on: October 08, 2014, 06:47:03 pm »

11
Audio / Re: Pure virtual function call
« on: September 24, 2014, 12:42:18 am »
You should post a minimal example, not your entire class.
Do not use manual memory management, use a std::vector for the samples so that you can resize its size anytime and you can use a lot of utilities a STL container offers.
packets might save you the hassle of using that old style socket.receive overload.

12
Graphics / Re: OpenGL to Textures SFML
« on: September 19, 2014, 03:06:07 pm »
Whatever translator you're using isn't helping. We can't understand.

13
General / Re: How to only get one input per key press during a loop?
« on: September 18, 2014, 02:55:06 pm »
Have you read the Official documentation (not some documentation) thoroughly?
if (event.key.code == sf::Keyboard::Left) // event.key.CODE
And also note:
Quote
If a key is held, multiple KeyPressed events will be generated, at the default OS delay (ie. the same delay that applies when you hold a letter in a text editor). To disable repeated KeyPressed events, you can call window.setKeyRepeatEnabled(false). On the contrary, obviously, KeyReleased events can never be repeated.

15
General / Re: How to only get one input per key press during a loop?
« on: September 18, 2014, 02:30:35 pm »
Use the keypressevent instead of polling the os for the state of the key so that the key press will happen only once

Pages: [1] 2 3 ... 10
anything