1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

Code style: move or add licensing information on top of every file

This commit is contained in:
Arseniy Shestakov
2017-07-13 11:26:03 +03:00
parent 564cf05117
commit f1e5797834
335 changed files with 1881 additions and 1512 deletions

View File

@ -1,3 +1,12 @@
/*
* CGeneralTextHandler.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#include "StdInc.h"
#include "CGeneralTextHandler.h"
@ -9,16 +18,6 @@
#include "GameConstants.h"
#include "VCMI_Lib.h"
/*
* CGeneralTextHandler.cpp, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
size_t Unicode::getCharacterSize(char firstByte)
{
// length of utf-8 character can be determined from 1st byte by counting number of highest bits set to 1: