summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2016-04-23Removed the 'len' argument from clif_disp_onlyself() and clif->disp_message()Haru10-36/+38
- The argument was redundant, since the passed value is always the same as the passed string's length (it doesn't make sense otherwise). The argument is implicit now. Less typing and less errors. Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Corrected the type of the 'length' argument of various broadcast-related ↵Haru9-37/+48
functions - Variable types were changed to int - Corrects several warnings in VS2015 - Affected functions: `clif->broadcast()`, `clif->broadcast2()`, `intif->broadcast()`, `intif->broadcast2()` Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Corrected the type for several variables through the codeHaru2-74/+98
- Variable types were changed to int, where it makes sense to - Corrects several warnings in VS2015 Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Changed map_session_data::chatID to int (and renamed to chat_id)Haru8-35/+38
- Chat IDs are signed integers. - Resolves various warnings, depending on the compiler settings. Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Improved parsing of the server name/port in the irc bot configurationHaru1-28/+23
Fixes a VS2015 warning Signed-off-by: Haru <haru@dotalux.com>
2016-04-23HPM Hooks UpdateHaru4-17/+114
Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Removed some code duplication in chat processing functionsHaru3-72/+37
Moved non-clif code that handles chat delay, atcommand detection, idle timers to pc.c Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Refactored the chat message packet processing functionsHaru3-181/+253
- Split the processing of public chat messages and whisper messages in two functions, to make them more straightforward. Signed-off-by: Haru <haru@dotalux.com>
2016-04-23Split supernovice angel call message detection to its own functionHaru3-32/+57
Signed-off-by: Haru <haru@dotalux.com>
2016-04-22Fixed an issue that could prevent a mvp reward to be ignoredHaru1-45/+47
- During the randomization of the list, an entry could be overwritten under certain (rare) conditions. Signed-off-by: Haru <haru@dotalux.com>
2016-04-19Corrected type for sd->fontcolor_tidHaru1-1/+1
A timer ID should always be a signed int. Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru1-0/+1
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Moved packet_db to the private interface of lclifHaru2-9/+18
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Added missing documentationHaru5-46/+199
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru3-0/+352
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Added lclif packet handlers to the lclif interfaceHaru3-7/+31
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru5-13/+67
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 7)hemagx6-234/+278
Added private interface in lclif.p.h Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru6-235/+379
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 6)hemagx7-740/+843
Moved login clif code to lclif.c/lclif.h Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 5)hemagx2-16/+26
Renamed login->connection_problem() to login->connection_error() Split login->send_auth_failed() out of login->auth_failed() Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 4)hemagx1-3/+7
Changed login server packet processing so that no more than 3 packets are processed at once (same as the map server's clif processing) Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 3)hemagx2-215/+311
Rewritten login clif parser, using a packet db Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 2)hemagx1-159/+203
Split login packet-related code into functions Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Rewrite client interface for login server (part 1)hemagx4-177/+454
Rewritten incoming/outgoing packet handlers to use structs instead of manipulating the WFIFO buffer bytes directly Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru3-9/+9
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Added const qualifier to the input parameter of bin2hexHaru2-6/+5
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16Updated GNU Make build system to support private headersHaru7-46/+59
Signed-off-by: Haru <haru@dotalux.com>
2016-04-16HPM Hooks UpdateHaru6-216/+216
Signed-off-by: Haru <haru@dotalux.com>
2016-04-05Disabled some #pragma GCC diagnostic on versions that don't support themHaru2-3/+18
- Fixes compilation on gcc 4.4 for the brave ones who still want to use it (we recommend gcc 4.7 or newer) - Removes some warnings about unknown pragmas on MSVC Signed-off-by: Haru <haru@dotalux.com>
2016-04-04Add missing checks into npc.Andrei Karas1-13/+143
2016-04-04add missing checks into mob.cAndrei Karas1-7/+88
2016-04-04Add missing checks into mercenary.cAndrei Karas1-2/+15
2016-04-04Add missing checks into mapreg_sql.cAndrei Karas1-0/+7
2016-04-04Add missing checks into map.cAndrei Karas1-13/+101
2016-04-04HPM Hooks UpdateHercules.ws5-665/+697
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
2016-04-04Merge pull request #1210 from HerculesWS/wcast_qualAndrei Karas69-1182/+1307
Added -Wcast-qual compiler flag
2016-04-02Unittalk script cmd shouldn't display the hidden name of npcAngelmelody1-1/+5
Signed-off-by: Haru <haru@dotalux.com>
2016-03-25Fixed a call to clif->item_drop_announce with a NULL sd.Haru1-1/+3
Closes #1220 Signed-off-by: Haru <haru@dotalux.com>
2016-03-21Update Max Zeny to official value 2,147,483,647hemagx1-1/+1
closes #1213
2016-03-20Added separate char* and const char* data types to union DBKeyHaru2-9/+12
Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Dropped the remaining (private) typedef in db.cHaru1-62/+62
Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Dropped typedef from DBMapHaru31-224/+239
Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Dropped typedef from DBIteratorHaru17-133/+144
Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Dropped typedefs from union DBKey and struct DBDataHaru38-273/+293
Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Removed typedefs from db-related enumsHaru2-154/+167
Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Changed buffer argument of SQL->StmtBindParam() to constHaru6-49/+58
Parameters are supposed to be read-only Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Removed unnecessary typedefs from sql.hHaru28-148/+174
- Sql -> struct Sql - SqlStmt -> struct SqlStmt - SqlDataType -> enum SqlDataType This is expected to improve compile time, by removing #include cycles (and forward declaring instead) Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Added const qualifier to the value argument of script->setd_subHaru3-6/+6
Signed-off-by: Haru <haru@dotalux.com>
2016-03-20Added separate char* and const char* data types to struct script_dataHaru3-92/+116
Used, respectively, by C_STR and C_CONSTSTR Signed-off-by: Haru <haru@dotalux.com>