Replaced cpplib/ReadMe.txt with English text.

The previous content was automatically generated by VC's project
wizard, so it contained native language's placeholder.

git-svn-id: svn://localhost/projects/cpplib/trunk@222 c24b926b-5ef4-9a42-8c70-094e0699c819
Revived mistakenly deleted cpplib project file for VC2012.

git-svn-id: svn://localhost/projects/cpplib/trunk@224 c24b926b-5ef4-9a42-8c70-094e0699c819
Added Vec2 class to cpplib.

git-svn-id: svn://localhost/projects/cpplib/trunk@225 c24b926b-5ef4-9a42-8c70-094e0699c819
cpplib: Added Mat2 class template.

git-svn-id: svn://localhost/projects/cpplib/trunk@226 c24b926b-5ef4-9a42-8c70-094e0699c819
cpplib: Renamed Mat3::vp3() to Mat3::vp().

The reason is that it's obvious that the vector element count is 3.
Appending 3 to the tail makes the matrix class compatible with Mat4,
but it's not consistent with clib's MATVP() macro.
After all, we have decided that making mathematically natural naming
convention is better than treating augmented matrix
(http://en.wikipedia.org/wiki/Augmented_matrix)
a common thing, which is really special usage of 4-D matrix applied
to OpenGL graphics.

Also fixed some application codes that using the method.

git-svn-id: svn://localhost/projects/cpplib/trunk@227 c24b926b-5ef4-9a42-8c70-094e0699c819
Increase range of GLwindowSolarMap's orthogonal projection depth

The solar map window assumes the solar system's csrad parameter is
properly set to contain all celestial objects in that system.
There are no practical need to limit depth of the projection since
the window does not use depth buffer.

Alpha Centauri solar system in space_debug.ssd was revived and
adjusted to have proper coordsys radius for demonstration.

We also add a test mission script which starts from Alpha Centauri
system.
refactor: Encourage RAII in GLwindowSolarMap::drawMapCSOrbit()

The source is fairly old and not cleanly converted from C to C++.
There are many things we could improve about the source.
Tweak orbit line segment count in solarmap using scale-based LOD

Also deleted duplicate codes that tried to render the orbit since
we have already drawn the orbits in drawMapCSOrbit.
Distinguish color of orbit in solarmap for better direction indication

The solar map is orthogonally projected and doesn't use depth buffer,
which means the user have no clue whether the orbit ring is facing
toward or away from him.  Applying color difference to those cases
may help to interpret the direction.
Fix mouse highlight position of solar map window tip

Also refactored GLwindowSolarMap::drawSolarMap entirely.  Specifically,
added many comments.
cpplib: Add transposed vector accessor to Mat4

Although this version does not allow modification of the matrix via returned reference,
they are very handy.
Merge branch 'cpplib' into next2
Make use of new cpplib::Mat4::tvec3() in GLwindowSolarMap::drawMapCSOrbit
refactor: Erase ancient codes that will never be used even for reference
Add getter method for orbit center body of OrbitCS
Make OrbitCS::flags2 hidden inside the class and added accessors for it

OrbitCS::{get|set}ShowOrbit() provide access to the flag.
The flag is not necessarily a bit field since the implementation details
are hidden from the public.

Also enabled solar map to display orbit ring for binary system.
Fix delegation of unhandled stellar file event to a script

Previously, an unhandled stellar file directive is transferred to
a Squirrel function ::CoordSys.readFile[0], which itself looks confusing.
It also lead errors by unclear reason.

Now we define the scripted function simple and straightforward way;
it's named stellarReadFile.
Move hard-coded rstation processing logic for stellar file to init.nut

The Resource Station is one of a few classes that can be defined in the
stellar structure definition files.  The logic is hard-coded into
CoordSys::readFile(), but it's best implemented in a script for easy
customization.

The hard-coded logic is commented out anyway.
Separated RStation-draw.cpp from RStation.cpp

Also added Doxygen comments on top of each files.
Make RStation be rendered visible

The class have not had a model to show, because it has been stuck with
precompiled .bin files which are obsolete.