Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-02-24 | Added const qualifier to various variable/argument pointers | Haru | 4 | -41/+64 | |
- This is necessary for compatibility with a const RP2PTR/RFIFO2PTR Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-24 | Removed several unnecessary RFIFOP typecasts | Haru | 4 | -96/+97 | |
- While this is arguable, those explicit typecasts are potentially dangerous/misleading (for example, a const specifier might get accidentally dropped without even generating a compiler warning, or a variable type might change during code changes, and any related warning would get silenced by the explicit typecast). - As a reminder Hercules is written in C, and not in C++ (and there's no such thing as "compiling in C++ mode" - they're two different languages.) As such, it is legal to let the compiler automatically promote void* from/to any non-const pointer type, as well as const void* from/to any const pointer type. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-24 | Changed RFIFOP and WFIFOP to return const void * and void * respectively | Haru | 1 | -1/+3 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-24 | Updated homunculus_recv_data() to work better with const data | Haru | 1 | -18/+29 | |
Now it no longer needs to memcpy data to a temporary buffer. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-24 | Added const qualifier to several variable/argument pointers | Haru | 20 | -176/+230 | |
- This is necessary for compatibility with a const RFIFOP. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-24 | Added const qualifier to the {RFIFO,RBUF}{B,W,L,Q} families | Haru | 1 | -1/+3 | |
A read FIFO/buffer should be, well, read-only. Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-24 | Fixed two minor typos in NPC-related error/warning messages | Haru | 1 | -2/+2 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-23 | Corrected some warnings in Visual Studio | Haru | 3 | -97/+101 | |
- Changed literal 1L values used in unit64 bit-shift operations to 1ULL. - Follow-up to f606519c3b611573ade246ec82db26437bf03668 (reported by zackdreaver) 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-21 | Changing Job field to 'int64' | Dastgir | 3 | -13/+13 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-21 | New format for Job field in job_db.conf | Dastgir | 2 | -12/+164 | |
2016-02-19 | Remove some unused macroses. Left macroses in socket.c | Andrei Karas | 1 | -4/+0 | |
2016-02-19 | Add noreturn attributes. | Andrei Karas | 1 | -1/+3 | |
Also add compiler flag for check for missing noreturn attributes. | |||||
2016-02-19 | Fix all known warnings from compiler flags -Wformat* | Andrei Karas | 20 | -149/+149 | |
Add all missing -Wformat flags into configure. | |||||
2016-02-19 | Fix some cast discards 'const' qualifier from pointer target type warnings. | Andrei Karas | 6 | -25/+26 | |
Add -Wcast-qual into configure comment. | |||||
2016-02-17 | Replaced some now unnecessary includes with forward declarations in header files | Haru | 7 | -5/+10 | |
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 | 18 | -141/+141 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-17 | Renamed config->read_file to config->load_file | Haru | 12 | -41/+39 | |
- 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-09 | Small tweaks to mob_drop_adjust | Haru | 1 | -7/+13 | |
Related to #1152 Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-06 | Changed PCRE to properly use the system-provided pcre.h | Haru | 2 | -5/+3 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-02-05 | Merge pull request #1081 from Jedzkie/PR_MAGNIFICAT | Dastgir | 1 | -0/+4 | |
PR_MAGNIFICAT Skill Fix. | |||||
2016-02-05 | Merge pull request #1087 from csnv/songs | Dastgir | 1 | -17/+62 | |
Revamped Aegis style songs behavior. Fixes #835 | |||||
2016-02-05 | Merge pull request #993 from HerculesWS/mobdb2sql | Andrei Karas | 7 | -367/+515 | |
Mob DB support for the db2sql plugin | |||||
2016-01-31 | Move P2PTR Macro to socket header and split the macro into two macros for ↵ | hemagx | 2 | -16/+14 | |
WFIFO/RFIFO. Change packet database enums to defines in mmo.h | |||||
2016-01-29 | Merge pull request #1108 from 4144/pcreconfigure | Haru | 8 | -48/+2 | |
Enable pcre by default in configure and show error if pcre missing. | |||||
2016-01-29 | Merge pull request #1105 from dastgir/20-SendFix | Haru | 1 | -7/+11 | |
Fixes crash with @send | |||||
2016-01-29 | Merge pull request #1100 from theultramage/gperm | Haru | 1 | -1/+1 | |
more meaningful names for fields of enum guild_permission | |||||
2016-01-29 | Re-added support for the JName field in the mob db | Haru | 1 | -0/+8 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-29 | Replaced several floating-point operations with integer operations | Haru | 5 | -100/+101 | |
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-29 | Modified Mob DB loader to behave like the Item DB loader | Haru | 3 | -271/+410 | |
- Separated load and validation logic. - The load/validation functions now return the loaded mob ID Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-25 | Added source support for special comments in the constdb | Haru | 2 | -7/+34 | |
- To be used by the constdb2doc plugin Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-25 | Fix packet id being sent encrypted to Hercules Plugin Manager. | hemagx | 2 | -11/+11 | |
Now packet id will be passed to Hercules Plugin Manager instead of let it figure it on itself | |||||
2016-01-21 | Remove unused PCRE_SUPPORT define. | Andrei Karas | 7 | -46/+0 | |
2016-01-21 | Enable pcre by default in configure and show error if pcre missing. | Andrei Karas | 1 | -2/+2 | |
2016-01-17 | Merge pull request #1077 from csnv/master | Haru | 1 | -1/+15 | |
Fixes monsters not taking rude attack when OFFICIAL_WALKPATH is used. | |||||
2016-01-16 | Removed Hard Coded data for SC_ALL_RIDING. | Jedzkie | 3 | -3/+6 | |
2016-01-16 | Merge pull request #1031 from dastgir/12-OneClickIdentify | Haru | 6 | -3/+42 | |
Added OneClickIdentify packet | |||||
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-16 | Added OneClickIdentify packet | Dastgir | 6 | -3/+42 | |
2016-01-16 | Fixes crash with @send | Dastgir | 1 | -7/+11 | |
2016-01-15 | Merge pull request #1086 from Jedzkie/GC_CLOAKINGEXCEED | Dastgir | 1 | -2/+2 | |
Fixes speed given by cloaking exceed | |||||
2016-01-14 | Apple of idun re-adjustment. Thanks @Kyeme | Jorge C | 1 | -33/+16 | |
2016-01-14 | Adjusted names in enum guild_permission to still make sense when additional ↵ | ultramage | 1 | -1/+1 | |
custom permissions are added. | |||||
2016-01-13 | Added support to mark constants in db/constants.conf as deprecated | Haru | 5 | -97/+112 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-13 | Converted const.txt to libconfig format | Haru | 2 | -23/+51 | |
- 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 | 11 | -89/+94 | |
Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-12 | Replaced 22-bit mask entry with a regular uint32 in the noviewid mapflag ↵ | Haru | 3 | -4/+4 | |
implementation As per ultramage's suggestion in #926 Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-10 | Fixed an accidental MAX_CART_DECORATION leftover | Haru | 1 | -4/+4 | |
Follow-up to a0f25125a6239894a86d51ae8dcf6a06a4d0a380 Signed-off-by: Haru <haru@dotalux.com> | |||||
2016-01-10 | Fixed a compiler warning (statement with no effect) | Haru | 1 | -6/+7 | |
Signed-off-by: Haru <haru@dotalux.com> |