Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-04-23 | Removed the 'len' argument from clif_disp_onlyself() and clif->disp_message() | Haru | 1 | -1/+1 | |
- 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-23 | Corrected the type of the 'length' argument of various broadcast-related ↵ | Haru | 1 | -14/+25 | |
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-23 | Changed map_session_data::chatID to int (and renamed to chat_id) | Haru | 1 | -1/+1 | |
- Chat IDs are signed integers. - Resolves various warnings, depending on the compiler settings. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-04-04 | Merge pull request #1210 from HerculesWS/wcast_qual | Andrei Karas | 1 | -148/+178 | |
Added -Wcast-qual compiler flag | |||||
2016-04-02 | Unittalk script cmd shouldn't display the hidden name of npc | Angelmelody | 1 | -1/+5 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-03-20 | Dropped typedef from DBMap | Haru | 1 | -4/+6 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-03-20 | Dropped typedef from DBIterator | Haru | 1 | -11/+14 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-03-20 | Dropped typedefs from union DBKey and struct DBData | Haru | 1 | -4/+7 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-03-20 | Removed unnecessary typedefs from sql.h | Haru | 1 | -1/+2 | |
- 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-20 | Added const qualifier to the value argument of script->setd_sub | Haru | 1 | -4/+4 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-03-20 | Added separate char* and const char* data types to struct script_data | Haru | 1 | -69/+84 | |
Used, respectively, by C_STR and C_CONSTSTR Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-03-20 | Changed script->get_val to return a const pointer | Haru | 1 | -14/+17 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-03-20 | Added const qualifier to some typecasts | Haru | 1 | -41/+44 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-03-19 | Enable use of specialeffect 74,SELF,<npc>; | Victor | 1 | -12/+14 | |
Partly based on #1134 Closes #1134 as merged Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-03-19 | status_get_name returns NULL instead of Unknown, Changed all functions to ↵ | Dastgir | 1 | -3/+3 | |
use clif_get_bl_name | |||||
2016-03-11 | Hardcore Parameters from constant database to avoid synchronize issues with ↵ | hemagx | 1 | -0/+47 | |
source now defining new parameters in the constants.conf database is deprecated and should be defined in source instead | |||||
2016-02-28 | Changed mob mode field to 32 bit, for future expansion | Haru | 1 | -3/+4 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-27 | Corrected return value for some BUILDIN() functions | Haru | 1 | -4/+4 | |
- The functions were returning `(bool)-1` instead of `false` in case of error, or `(bool)0` instead of `true` in case of success. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-27 | Replaced various '-1' with the correct constant | Haru | 1 | -1/+1 | |
INFINITE_DURATION, INVALID_TIMER, SC_NONE, INDEX_NOT_FOUND, depending on context. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-24 | Removed unnecessary explicit casts of the value of WBUFP | Haru | 1 | -1/+1 | |
- WBUFP now returns a pointer to void, which automatically casts to any non-const or const pointer. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-22 | Fix crash on npc emote, if npc not found. | Andrei Karas | 1 | -1/+1 | |
Reported in http://herc.ws/board/topic/11994-map-crashed-on-friendly-poring-quest-novice-quest/ | |||||
2016-02-19 | Fix all known warnings from compiler flags -Wformat* | Andrei Karas | 1 | -62/+62 | |
Add all missing -Wformat flags into configure. | |||||
2016-02-19 | Fix some cast discards 'const' qualifier from pointer target type warnings. | Andrei Karas | 1 | -3/+3 | |
Add -Wcast-qual into configure comment. | |||||
2016-02-17 | Replaced some now unnecessary includes with forward declarations in header files | Haru | 1 | -0/+1 | |
Added some forgotten <stdio.h> and "common/conf.h" includes to .c files, that were previously masked by the above. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-17 | Removed unnecessary typedefs from libconfig | Haru | 1 | -5/+5 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-17 | Renamed config->read_file to config->load_file | Haru | 1 | -5/+6 | |
- The return value is now consistent with the libconfig standard (CONFIG_TRUE/CONFIG_FALSE). - Removed some redundant error messages. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-05 | Merge pull request #993 from HerculesWS/mobdb2sql | Andrei Karas | 1 | -18/+12 | |
Mob DB support for the db2sql plugin | |||||
2016-01-29 | Merge pull request #1108 from 4144/pcreconfigure | Haru | 1 | -12/+0 | |
Enable pcre by default in configure and show error if pcre missing. | |||||
2016-01-29 | Replaced several floating-point operations with integer operations | Haru | 1 | -18/+12 | |
This fixes several rounding errors happening in various places (i.e. the base exp for HORONG being calculated as 819 instead of 820 when the server rates are set to 1x) Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-25 | Added source support for special comments in the constdb | Haru | 1 | -7/+33 | |
- To be used by the constdb2doc plugin Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-21 | Remove unused PCRE_SUPPORT define. | Andrei Karas | 1 | -12/+0 | |
2016-01-16 | Removed Hard Coded data for SC_ALL_RIDING. | Jedzkie | 1 | -1/+1 | |
2016-01-16 | set_constant the LOOK_ constants | AnnieRuru | 1 | -0/+16 | |
2016-01-16 | Add EQP_ = Equipment Position constants | AnnieRuru | 1 | -0/+23 | |
2016-01-13 | Added support to mark constants in db/constants.conf as deprecated | Haru | 1 | -91/+106 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-13 | Converted const.txt to libconfig format | Haru | 1 | -22/+50 | |
- This is necessary for upcoming improvements Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-12 | Whitespace cleanup (removed alignment tabs or trailing whitespace at line end) | Haru | 1 | -2/+2 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-12 | Replaced 22-bit mask entry with a regular uint32 in the noviewid mapflag ↵ | Haru | 1 | -2/+2 | |
implementation As per ultramage's suggestion in #926 Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-06 | Replaced the remaining explicit casts with BL_CAST/BL_UCAST | Haru | 1 | -6/+14 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-06 | Replaced some explicit casts with BL_UCAST | Haru | 1 | -26/+32 | |
- Replaced safe casts (bl type already checked) Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-06 | Replaced some map->id2sd calls with the proper map->id2XX function | Haru | 1 | -98/+96 | |
- Also added new map->id2XX convenience functions for the other bl types. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-06 | Replaced some explicit casts with BL_UCAST/BL_UCCAST | Haru | 1 | -38/+97 | |
- Replaced casts in foreach callbacks. - Added assertions and nullpo checks where applicable. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-06 | Replaced some explicit casts with BL_UCAST/BL_UCCAST | Haru | 1 | -5/+6 | |
- Replaced the map-iterator related casts. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-06 | Change all TBL_NPC to struct npc_data as per style guidelines | hemagx | 1 | -37/+38 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-06 | Change all TBL_PET to struct pet_data as per style guidelines | hemagx | 1 | -3/+3 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-06 | Change all TBL_MER to struct mercenary_data as per style guidelines | hemagx | 1 | -2/+2 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-06 | Change all TBL_HOM to struct homun_data as per style guidelines | hemagx | 1 | -1/+1 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-06 | Change all TBL_MOB to struct mob_data as per strly guidelines | hemagx | 1 | -8/+9 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-06 | Change all TBL_PC to struct map_session_data as per style guidelines | hemagx | 1 | -483/+396 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-05 | Add *swap script command | AnnieRuru | 1 | -0/+71 | |
- extremely useful when writing algorithm functions Closes #1012 as merged Signed-off-by: Haru <haru@dotalux.com> |