From 09e154b0687a2ba69d5ce6f2456c61db86bc4dec Mon Sep 17 00:00:00 2001 From: zephyrus Date: Wed, 12 Aug 2009 21:44:02 +0000 Subject: - Optimization to instance system. * Removed the crc feature to generate instance npc names. The instance npc name will be "dup_" + instanceid + "_" + srcnpcid. * Removed the big array under map structure and coded in a different way. It was only used to generate map names, but i just used the instance_id + "origin map name". * Moved all instance features to separated files. * Moved the npc duplication for instances into npc.c as Ultramage says (removed npcname_db from npc.h). * Added recomendations for scripts commands by Saithis. - Testing required, i will prepare Endless Tower script soon. I hope this do almost anything in bugreport 3276. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14003 54d463be-8e91-2dee-dedb-b68131a5f0ec --- vcproj-6/map-server_sql.dsp | 8 ++++++++ vcproj-6/map-server_txt.dsp | 8 ++++++++ 2 files changed, 16 insertions(+) (limited to 'vcproj-6') diff --git a/vcproj-6/map-server_sql.dsp b/vcproj-6/map-server_sql.dsp index c6e278a85..397bf3956 100644 --- a/vcproj-6/map-server_sql.dsp +++ b/vcproj-6/map-server_sql.dsp @@ -327,6 +327,14 @@ SOURCE=..\src\map\homunculus.h # End Source File # Begin Source File +SOURCE=..\src\map\instance.c +# End Source File +# Begin Source File + +SOURCE=..\src\map\instance.h +# End Source File +# Begin Source File + SOURCE=..\src\map\mercenary.c # End Source File # Begin Source File diff --git a/vcproj-6/map-server_txt.dsp b/vcproj-6/map-server_txt.dsp index 32273e552..bbb84716d 100644 --- a/vcproj-6/map-server_txt.dsp +++ b/vcproj-6/map-server_txt.dsp @@ -255,6 +255,10 @@ SOURCE=..\src\map\homunculus.c # End Source File # Begin Source File +SOURCE=..\src\map\instance.c +# End Source File +# Begin Source File + SOURCE=..\src\map\mercenary.c # End Source File # Begin Source File @@ -383,6 +387,10 @@ SOURCE=..\src\map\homunculus.h # End Source File # Begin Source File +SOURCE=..\src\map\instance.h +# End Source File +# Begin Source File + SOURCE=..\src\map\mercenary.h # End Source File # Begin Source File -- cgit v1.2.3-70-g09d2