summaryrefslogtreecommitdiff
path: root/src/net/worldinfo.h
AgeCommit message (Collapse)AuthorFilesLines
7 daysUse stdint.h instead of ifdefing tr1/cstdint, cstdint and stdint.hstdint.hFedja Beader1-10/+1
Rationale: By the standard, cstdint guarantees these basic types in std::, but *may* put them into the global namespace. By including stdint.h directly, we guarantee that these types are in the global namespace. stdint.h is also a C++ standard header guaranteed as part of the C compatibility support, thus toolchains should support this. The proper(tm) way of going about this would mean either prefixing [u]int[0-9]*_t with std:: everywhere where they are used (a chore) or having a proxy header that includes cstdint and around 50 using statements. The latter sounds to me like a good approach for toolchains that do not provide stdint.h and do not pollute global namespace. If such a toolchain exists in the wild. See discussion at https://stackoverflow.com/questions/13642827/cstdint-vs-stdint-h In practice, my toolchain's (gcc 14 on GNU) cstdint includes stdint.h then drags those types into std:: as well.
2024-02-09Update copyright headers up to 2023Jesusalva Jesusalva1-1/+2
2023-04-07added missing cstdint includejak11-0/+4
2019-01-01Update copyright year.Andrei Karas1-1/+1
2018-01-04Update copyrights year.Andrei Karas1-1/+1
2017-07-14Replace std::vector into macro STD_VECTOR.Andrei Karas1-1/+1
In most case it equal to std::vector except debug modes. Now it can be also mse::mstd::vector, but sadly this class not support all required features.
2017-07-13Add vector.h for use different vectors.Andrei Karas1-1/+2
Also replace <vector> include into "utils/vector.h"
2017-01-17Add missing A_DEFAULT_COPY / A_DELETE_COPY into net.Andrei Karas1-0/+2
2017-01-03Update copyright year.Andrei Karas1-1/+1
2016-06-14Remove some useless includes.Andrei Karas1-6/+2
2016-01-02Update copyrights year.Andrei Karas1-1/+1
2015-08-29Fix compilation with different compilation options.Andrei Karas1-0/+12
2015-01-01Update copyrights year.Andrei Karas1-1/+1
2014-01-01update copyright year in all sources.Andrei Karas1-1/+1
2013-05-28fix guard header part2.Andrei Karas1-3/+3
2013-04-21some other fixes from cpplint.Andrei Karas1-1/+1
2013-04-20fix style in net directory.Andrei Karas1-0/+9
2013-04-12first part of style fixed after cpplint checks.Andrei Karas1-1/+1
2013-01-16update copyrights year.Andrei Karas1-1/+1
2012-09-23Add missing final keywords to classes.Andrei Karas1-1/+1
2012-01-05Update copyrights year.Andrei Karas1-1/+1
2011-03-18Fix most conversions except manaserv net code and some other code.Andrei Karas1-1/+1
2011-02-19Update copyrights.Andrei Karas1-2/+3
2011-01-02Initial commit.Andrei Karas1-0/+39
This code based on mana client http://www.gitorious.org/mana/mana and my private repository.