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 - 1aam2am1

Pages: [1]
1
Graphics / Re: Font not loaded
« on: June 24, 2017, 10:48:41 pm »
I want oryginalny load textures and sound. In thread pool. And this happened due to testing buttons witch text in the main thread. The issue is can't the code in sf::Text ensure that event if the font is set but not loaded the m_geometryNeedUpdate will be false. This is very simple to code event is current api.

2
Graphics / Font not loaded
« on: June 22, 2017, 11:56:53 pm »
When I first create sf::Font object and then use this font for many sf::Text objects.
Next I draw them(main thread)
Next to main thread I launch (resource loading thread), where sf::Font is loaded.
The bug is if the text was first drawn. Then even when we load font, nothing is drawn.

3
Feature requests / Re: Add readCurrendReadPosition in sf::Packet
« on: February 27, 2016, 09:19:37 pm »
But, if I have:

Send:
sf::Packet packet;

packet << (int); //saved length
packet << string; //saved type of packet
packet.append(somedata, somelength);

//... sending packet
 


Recive:
sf::Packet packet;

//... reciving packet

packet >> (int);
packet >> string;

void* read = packet.getData();
 
From what position should read data added using append?

4
Feature requests / Re: Font more function load
« on: February 27, 2016, 09:14:47 pm »
sf::Font font;

font.loadFromFile(Path to the basic font of the operating system, eg. "C:/Windows/Fonts/ariblk.ttf");

fond.addFromFile(Path to my font); //loads the new font( not remove first loaded)

What I mean:
Font I: Load a,b,c,d,e,f...
Font II: Replace eg. a,b,c, //but not d becouse he hesn't got it

5
Feature requests / Add readCurrentReadPosition in sf::Packet
« on: February 27, 2016, 09:03:27 pm »
I have a header in my sf::Packt (saved). He has different length (depending of the type). I do other action depending of the header. I would read current position of reading Packet, because my functions use pointer to data (const void*getData()). I want know, where I should begin read data.

6
Feature requests / Font more function load
« on: February 27, 2016, 08:54:09 pm »
Add functions addFromFile, addFromMemory, addFromStream.
I have a font, he hasn't all utf-8 glyph.
I would load first any of basic operating system font. Later I wold load my font, he should replace glipth of old font.

7
General discussions / Re: Android Environment
« on: February 24, 2016, 06:14:40 pm »
Android studio and eclipse support NDK

8
Feature requests / Re: Ftp
« on: August 25, 2015, 04:18:11 pm »
FTP server is need me to send files to my other programs such as updated maps, textures, sounds.
Creat game server who would have unusual map.

This class should have functions such as:
virtual bool onLoging(Client&);
virtual bool onConnect(Client&);
virtual void onDisconnect(Client&);

virtual bool onChangingDirectory(Client& std::string name_of_directory);
virtual bool onSendingFile(Client&, std::string name_of_file);
virtual void onOtherMessage(Client&, Message);

And menu others functions.

9
Feature requests / Re: Ftp
« on: August 25, 2015, 12:33:36 am »
@up
This is a FTP client.
I told about the server.

10
Feature requests / Ftp
« on: August 25, 2015, 12:22:24 am »
Add a FTP server in SFML.

11
Window / Not freezing window on Windows 7
« on: August 19, 2015, 12:10:49 am »
Window is freeze when I moved id or resized id.

12
Graphics / Bug. In draw a Repeated teksture.
« on: June 15, 2015, 05:49:07 pm »
My friend has a problem with repeted teksture. In his console displays:

Warning: Detected "Microsoft Corporation GDI Generic" OpenGL implementation. The current OpenGL implementation is not hardware-accelerated ...

And a display part of the repeted sprite are away about 50px.


These black gaps between white textured should not be.

13
Feature requests / A close() function in sf::Thread
« on: June 15, 2015, 05:33:36 pm »
I would like to call the closing event for my thread. Not force close, without releasing resources.

Pages: [1]