[TL] Coders group

Archived discussions related to Transport Empire. Read-only access only.

Moderator: Transport Empire Moderators

Locked
Hellfire
Transport Empire Developer
Transport Empire Developer
Posts: 699
Joined: 03 Feb 2003 09:30
Location: Back at the office

[TL] Coders group

Post by Hellfire »

Current tasks for the Coders group:
  • Visual Studio Project. The code in the CVS was written in a MinGW/MSys environment. I used autoconf for simplifying the build process and GCC to compile the source files. Right now, it seems that the code doesn't compile under Visual Studio. Yet. I have Visual C++ Express Edition installed on my computer, but the install is quite crippled. Perhaps someone else with more in-depth knowledge of Visual Studio can make proper Solution and Project files.

    People assigned: none
  • Configuration. According to the Design Document, the game will be configured using tab-delimited text files. For this, a module has to be written, that can handle ASCII, UTF-8 and Unicode files.

    People assigned: none
  • Game core. Building the game's core, as described in the Design Document.

    People assigned: Hellfire
If you'd like to work on one of these tasks, please contact me. You can send me a PM Image or an e-mail [url=mailto://hellfire_ultd@hotmail.com]Image[/url].

If you don't have access to the Coders' forum, that's no problem: I can add you to the Coders' group, which will automagically give you access. :)
Last edited by Hellfire on 06 May 2006 19:51, edited 1 time in total.
Feel free to contact me over Email! My current timezone: Europe/Amsterdam (GMT+1 or GMT+2)

Code: Select all

+------------Oo.------+
| Transport Empire -> |
+---------------------+
[ General TE Discussion ] [ TE Development ] [ TE Coding ]
Under construction...
User avatar
Zuu
OpenTTD Developer
OpenTTD Developer
Posts: 4553
Joined: 09 Jun 2003 18:21
Location: /home/sweden

Post by Zuu »

For unicode, I think the Wesnoth project can be a good resource for tips. They did not had Unicode support form start. I don't know if they have added it now. However I think they have had some discussions in their forums about how to do "propper" unicode support.

http://www.wesnoth.org
My OpenTTD contributions (AIs, Game Scripts, patches, OpenTTD Auto Updater, and some sprites)
Junctioneer (a traffic intersection simulator)
Hellfire
Transport Empire Developer
Transport Empire Developer
Posts: 699
Joined: 03 Feb 2003 09:30
Location: Back at the office

Post by Hellfire »

I just got this in my PM box:
eis_os wrote:Hello

As I am not allowed to post in the codeing section:
Unicode support. I've been looking into the details of the STL library, but I can't find a simple way to do this:
Code:
wstring s = L"Hello World!";
std::cout << s << endl;

Perhaps I'm doing something wrong, but this approach works:
Code:
wstring s = L"Hello World!";
printf("%ls\n", s.c_str());
Maybe this link could be helpfull:

http://www.codeproject.com/vcpp/stl/upg ... nicode.asp

std::cout << s.c_str() << endl; should aswell work so atleast it looks like a stream :)

Best Regards
Oskar
Zuu and eis_os: thanks! :)
Feel free to contact me over Email! My current timezone: Europe/Amsterdam (GMT+1 or GMT+2)

Code: Select all

+------------Oo.------+
| Transport Empire -> |
+---------------------+
[ General TE Discussion ] [ TE Development ] [ TE Coding ]
Under construction...
User avatar
Hyronymus
Tycoon
Tycoon
Posts: 13233
Joined: 03 Dec 2002 10:36
Location: The Netherlands
Contact:

Post by Hyronymus »

Can't we just give Oskar permission to post here, he won't do harm 8) .
Hellfire
Transport Empire Developer
Transport Empire Developer
Posts: 699
Joined: 03 Feb 2003 09:30
Location: Back at the office

Post by Hellfire »

iLess wrote:Note, this is how I remember iLess' words. I can't find his exact words.

For your unicode problem, this will work:

Code: Select all

wstring ws = L"Hello World!";
std::wcout << ws << endl;
I tested this and it works. :D

So, Unicode support can be taken from the list. I also added a new task: "Visual Studio Project".
Feel free to contact me over Email! My current timezone: Europe/Amsterdam (GMT+1 or GMT+2)

Code: Select all

+------------Oo.------+
| Transport Empire -> |
+---------------------+
[ General TE Discussion ] [ TE Development ] [ TE Coding ]
Under construction...
Locked

Return to “Transport Empire Development Archive”

Who is online

Users browsing this forum: No registered users and 3 guests