Posted 27-Jan-10 19:29 by samiam
Ban certain technologies
: If i understood you right, samiam, your hack does increase the research time for all technologies available? (I wasn't able to test it, because i have no idea what to do with a *.c-file. I guess i have to implement it into an allready existing file?)
You know, it reminds me of how old I'm getting to see someone who doesn't know what a .c file is.
C is a programming language which has defined a good deal of modern computing today. It is the language which UNIX was built with, the language the Linux kernel is written in; its derivatives include C++, C# (the standard language for .NET machines), and Java (which got its syntax from C from its structure from something you've never heard of called "Smalltalk").
It is a compiling language; you use a compiler to take a .c file and make an .exe file from it. The most commonly used free C compiler is GCC: there are Windows versions of GCC included with "MINGW" and "Cygwin". This isn't the only free C compiler; there is also the very small Tiny C compiler.
Freeciv is written in C; C-evo is written in another compiling programming language called "Pascal" or "Delphi", which was in the 1980s a serious contender to C but was overshadowed by C++ and C in the 1990s; I believe this is because GCC was free while Delphi cost money.
: Thanks for the tip regarding freeciv. To be honest, i always liked c-evo more. Mostly because it runs so smoothly on my tiny netbook, while freeciv does not.
Yes, exactly. C-evo is a lot more smaller and tightly integrated for older and slower hardware.
: On a related note: What does your netbook-fix actually do, samiam?
Hit F9 while playing C-evo on a Netbook and the top of the resulting window is above the top of the screen and is nay-to-impossible to use. The netbook fix resolves this by moving the entire resulting window so it fits on your Netbook screen.
The program is run in the same directory as cevo.exe and makes a cevo-netbook.exe with the bug fixed.
: Once again: thanks! I appreciate the time and effort you guys invest in order to increase the fun of total strangers!
Also, I have made a C-evo-samiam.7z package (which you will need 7-zip to open) with a version of C-evo with the netbook bug fixed, the default map sizes changed, and my tutorial and HOWTO included:
http://samiam.org/cevo/
As an aside, C-evo-stuff.7z has some small .exe files to make versions of C-evo with slower tech/city growth and faster tech/city growth; run these .exe in the same folder as cevo.exe. Note that hacked versions of C-evo with different tech and city growth speeds make saved games which are not compatible with an unmodified C-evo (different map sizes, however, do not break saved games).
