FANDOM


(Created page with '{{Forumheader|Development}} <!-- Please put your content under this line. Be sure to sign your edits with four tildes ~~~~ --> Hello. I have some questions: 1. Why Freeciv i…')
 
(The source code is free...)
Line 14: Line 14:
   
 
3. The official client under Windows (GTK) unplayable. Screen redrawing is very slow. Can be it is necessary to replace the official client for platform Windows?
 
3. The official client under Windows (GTK) unplayable. Screen redrawing is very slow. Can be it is necessary to replace the official client for platform Windows?
  +
  +
''--unsigned post by [[Special:Contributions/Heretic13|Heretic13]]''
  +
  +
----
  +
  +
[[User:Kernigh|Kernigh]] writes: The source code is free. If you want, you can work to port Freeciv from C to C++, and to compile Freeciv with MSVC. You might have fun with your C++/MSVC variant of Freeciv.
  +
  +
I did read some small parts of the Freeciv source code. Over time, I might earn familiarity with parts like <tt>struct worklist</tt> and <tt>cid_decode</tt>. Other hackers already know these parts. Many hackers make [http://gna.org/patch/?group=freeciv patches for Freeciv], or make variants like [[warclient]] or [http://www.longturn.org/ltex-sources LTeX] ([[longturn]] experimental). If someone switches Freeciv from C to C++, then these hackers would lose their familiarity with Freeciv. Old patches would not work. Hackers, who know the old maze, would need to learn the new maze of overloaded operators, virtual functions, private members and template instantiations. --[[User:Kernigh|Kernigh]] 19:22, December 14, 2009 (UTC)

Revision as of 19:22, December 14, 2009

Forums: Index > Development > Recreate with C++


Hello.

I have some questions:

1. Why Freeciv is written on C instead of C++? This is desire of developers? C ++ projects are easier for supporting. And I do not understand why you not replace programming language.

2. Whether there will come sometime time when source codes Freeciv will be compatible with Microsoft Visual Studio 20 **? Do not forget that MSVC is the basic tool of development under Windows rather than MinGW.

3. The official client under Windows (GTK) unplayable. Screen redrawing is very slow. Can be it is necessary to replace the official client for platform Windows?

--unsigned post by Heretic13


Kernigh writes: The source code is free. If you want, you can work to port Freeciv from C to C++, and to compile Freeciv with MSVC. You might have fun with your C++/MSVC variant of Freeciv.

I did read some small parts of the Freeciv source code. Over time, I might earn familiarity with parts like struct worklist and cid_decode. Other hackers already know these parts. Many hackers make patches for Freeciv, or make variants like warclient or LTeX (longturn experimental). If someone switches Freeciv from C to C++, then these hackers would lose their familiarity with Freeciv. Old patches would not work. Hackers, who know the old maze, would need to learn the new maze of overloaded operators, virtual functions, private members and template instantiations. --Kernigh 19:22, December 14, 2009 (UTC)

Community content is available under CC-BY-SA unless otherwise noted.