summaryrefslogtreecommitdiff
path: root/src/const
AgeCommit message (Collapse)AuthorFilesLines
4 daysUse stdint.h instead of ifdefing tr1/cstdint, cstdint and stdint.hstdint.hFedja Beader2-19/+3
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 Jesusalva23-23/+46
2023-04-07added missing cstdint includejak12-0/+8
2020-04-24switch: add escape button (+)cpasjuste1-0/+5
switch: change default screen size
2019-05-15Fix special card constants for clients with item id with size 4Andrei Karas1-1/+1
Also drop support for 65535 item id on old packet versions.
2019-01-01Update copyright year.Andrei Karas23-23/+23
2018-09-09Fix code style.Andrei Karas1-3/+3
2018-09-08Apply fps limiter after state logic.Andrei Karas1-0/+1
2018-09-07Add basic performance counters.Andrei Karas1-0/+29
Add in debug window new tab with this counters.
2018-05-28Fix include guard headers in currency.h and clanwindowtabs.hAndrei Karas1-3/+3
2018-03-01Add separate configurable sound for new chat message in party and clan tabs.Andrei Karas1-0/+2
2018-01-04Update copyrights year.Andrei Karas22-22/+22
2017-11-01Add shuffle packets for packet version 20171101.Andrei Karas1-1/+1
2017-10-28Add packets for packet version 20171025.Andrei Karas1-1/+1
2017-10-18Set max allowed packet version in servers to 20171011.Andrei Karas1-1/+1
2017-09-23Fix max packet version limit in server editor.Andrei Karas1-1/+1
2017-08-08Move constants from itemshortcut.h into const directory.Andrei Karas1-0/+30
2017-06-08Remove useless string initialisations.Andrei Karas2-2/+2
2017-06-08Replace depricated headers.Andrei Karas1-1/+1
2017-04-21Add item options into item and get it from server.Andrei Karas1-0/+26
2017-02-01Set currency to buy dialog based on selected npc type id.Andrei Karas1-0/+28
For now this type never set.
2017-01-20Move utf8 constant into separate file.Andrei Karas1-0/+28
2017-01-03Update copyright year.Andrei Karas18-18/+18
2016-09-23Add missing comments into defines.Andrei Karas2-7/+7
2016-05-13Fix old cast style.Andrei Karas1-1/+1
2016-05-13Add check asserts in ItemDB. Also fix new asserts from log.Andrei Karas1-0/+4
2016-05-08Add packets for packet version 20151001.Andrei Karas1-1/+1
2016-05-07Move max packet version constant into separate file.Andrei Karas1-0/+32
2016-03-09Add include again.Andrei Karas1-9/+1
2016-03-09Add missing include into header.Andrei Karas1-0/+10
2016-03-08Move setStat from ea namespace into eathena and tmwa.Andrei Karas1-0/+26
2016-02-14Fix crash in setup input page with name gui.Andrei Karas1-0/+30
2016-01-29Fix code style.Andrei Karas1-5/+5
2016-01-17Move cards constants into separate file.Andrei Karas1-0/+27
2016-01-02Update copyrights year.Andrei Karas14-14/+14
2015-12-20Move spriteaction.h into const directory.Andrei Karas1-0/+74
2015-12-18Fix code style.Andrei Karas2-6/+6
2015-12-18Move inventory index related constants into separate file.Andrei Karas1-0/+29
2015-12-14Move soundconsts.h into const directory.Andrei Karas1-0/+37
2015-12-14Move mapconsts.h into const directory.Andrei Karas1-0/+28
2015-12-14Move netconsts.h into const directory.Andrei Karas1-0/+36
2015-12-14Move chatconsts into const directory.Andrei Karas1-0/+32
2015-12-14Move emoteshortcutconsts.h into const directory.Andrei Karas1-0/+26
2015-12-14Move skillconsts from resources int consts directory.Andrei Karas1-0/+27
2015-12-14Move skill error defines into separate file.Andrei Karas1-0/+57
2015-12-13Move theme related constants into separate file.Andrei Karas1-0/+32
2015-12-13Move equipment related constants into separate file.Andrei Karas1-0/+30
2015-12-13Move timer constants into separate file.Andrei Karas1-0/+31
2015-12-13Move spells and graphics related constants into separate files.Andrei Karas2-0/+63