click
b4bef54b7a
Fix Windows-build (YES, IT COMPILES!) - partial revert of revision a9386a2655
...
- Use minihack on ACE to avoid using config.h on Windows platforms
- Put include-locations for ACE in AFTER everything else (for later use)
An insane thanks to paradox for being patient with testing changes and swapouts
--HG--
branch : trunk
2010-08-16 09:51:37 +02:00
Machiavelli
075a4525d7
This should be the last of the malfunctioning AI scripts, thanks to click for the list
...
--HG--
branch : trunk
2010-08-14 10:28:45 +02:00
Machiavelli
3cf6af1779
Also fix npc_scarlet_miner
...
--HG--
branch : trunk
2010-08-14 05:51:29 +02:00
Machiavelli
cc351c7f1c
Fix script (and crash in) npc_scarlet_miner_cart
...
--HG--
branch : trunk
2010-08-14 05:47:51 +02:00
Shauren
30468a106f
Moved battleground achievement scripted checks into scripts
...
Call ACHIEVEMENT_CRITERIA_TYPE_SPECIAL_PVP_KILL updates in code
Implemented achievements: Save the Day, Quick Cap, Warsong Expedience
--HG--
branch : trunk
2010-08-13 13:48:59 +02:00
azazel
ed08bedc6e
* Modify PlayerScript::OnChat hook. Now it takes one optional parameter of type void *. Value of this parameter depends on chat type.
...
* Modify chat and emote hook in PlayerScript to take Player parameter insted on WorldSession (this is player script, isn't it?)
* Move calls of OnChat hooks after validation of parameters and before actual call to chat methods. It's more logical because otherwise it will be necessary to repeat validation inside hooks.
* Make use of new PlayeScript hooks. Move chat logging logic into separate script.
* Add one path to scripts CMakeLists to make ChatLogScript happy.
--HG--
branch : trunk
2010-08-12 22:33:45 +06:00
Machiavelli
bd1f9ceaf9
Fix Emalon + adds AI initialization
...
--HG--
branch : trunk
2010-08-12 03:38:34 +02:00
Machiavelli
5a2b6cc0fb
This is why we need to be consistent in the code, so we can find and replace globally without having to check out every individual file.
...
Fixes build.
--HG--
branch : trunk
2010-08-11 22:07:01 +02:00
Machiavelli
d5270f9e0d
Globally find & replace InstanceScript* GetInstanceData_InstanceMapScript(Map* pMap) -> InstanceScript* GetInstanceScript(InstanceMap* pMap) const, this makes sure instance scripts get initialized properly and prevents crashes in scripts.
...
NOTE: this either breaks or fixes crlf, have no time to check now.
--HG--
branch : trunk
2010-08-11 21:52:44 +02:00
John Holiver
231a1bfe45
Small fix for the Flame Tsunami DoT debuff.
...
It isnt perfect yet, correct factions for Lava Blaze and Flame Tsunami NPCs are needed to remove hack.
* SQL needed
--HG--
branch : trunk
2010-08-09 19:05:53 -03:00
click
816acb11a4
BuilSystem: Clean up some small but annoying things from my earlier commits:
...
- return to using default CMake buildconfiguration (release, relwithdebinfo, debug, minsizerel
Note: These are not yet populated as buildmodes : relwithdebinfo / minsizerel (will be created later)
- change it so that genrev creates revision.h properly (after genrev has been compiled successfully)
- split scripts/game PCH creation depending on which part a user wants to compile (default on) (thanks shauren)
--HG--
branch : trunk
2010-08-09 23:14:16 +02:00
click
4b5c9552cb
BuildSystem/Windows: Add RelWithDebInfo configuration-type (reverts previous commit for fixups with RelWithDebInfo buildtype)
...
+ Stuff revision.h in under genrev project (yay, another project removed from projectlist)
--HG--
branch : trunk
2010-08-09 21:36:03 +02:00
Shauren
c132b5d08d
Fixed script name for announcer in Trial of the Champion
...
--HG--
branch : trunk
2010-08-09 20:56:40 +02:00
XTZGZoReX
70fc93da7b
* Get rid of virtual function calls completely, seeing as they weren't necessary. Thanks to Ge0rG and Derex for enlightening me about this.....
...
* Also add map ID for EoE instance script (thanks Silinoron).
--HG--
branch : trunk
2010-08-09 19:53:21 +02:00
silinoron
a094d3e281
Properly initialize instance scripts with the appropriate map id to avoid loadup errors.
...
--HG--
branch : trunk
2010-08-09 10:37:28 -07:00
click
72d27a34fd
Clean up some doubledefined ScriptPCH.h includes
...
--HG--
branch : trunk
2010-08-09 16:24:13 +02:00
click
abd261b1a1
Replace (CR) character from all converted scripts and replace it with it's proper (LF) counterpart
...
- should fix the "linking scripts" failure (not tested)
--HG--
branch : trunk
2010-08-09 01:52:26 +02:00
Supabad
ebc0821e88
set correct script in class instance the eye,
...
remove line endings in g3dlite\g3d\ray.h
--HG--
branch : trunk
2010-08-08 22:49:20 +02:00
XTZGZoReX
936e641b84
Fix.
...
--HG--
branch : trunk
2010-08-08 14:37:58 -05:00
azazel
e5c797cef6
* Fix remaining errors in scripts project
...
* Remove now obsolete ScriptedInstance.h file
--HG--
branch : trunk
2010-08-09 00:56:10 +06:00
XTZGZoReX
48c4d4551c
Fix.
...
--HG--
branch : trunk
2010-08-08 13:06:17 -05:00
click
1f80c7b3c0
Sourcefile sleanups -> tabs to spaces, remove whitespace - also update the cleanupscripts very slightly
...
--HG--
branch : trunk
2010-08-08 19:45:53 +02:00
azazel
590199d8e1
* Rename InstanceData to InstanceScript
...
* Rename *mgr to their new names in scripts project
* Mass convert all the scripts (NEEDS THOROUGH TESTING, because it was done automatically) Please, report bugs on issue tracker.
--HG--
branch : trunk
rename : src/server/game/Instances/InstanceData.cpp => src/server/game/Instances/InstanceScript.cpp
rename : src/server/game/Instances/InstanceData.h => src/server/game/Instances/InstanceScript.h
2010-08-08 22:54:58 +06:00
Shauren
bd926de31c
Correct include dirs in scripts and achievement_scripts build errors (because of Battleground renames)
...
--HG--
branch : trunk
2010-08-08 15:37:42 +02:00
Shauren
68d24581aa
PCH for scripts is now fixed
...
--HG--
branch : trunk
2010-08-08 15:07:35 +02:00
Shauren
03a7683ef2
Fix PCH for scripts
...
--HG--
branch : trunk
2010-08-08 14:12:11 +02:00
XTZGZoReX
eddeef5431
* Convert Ashenvale scripts.
...
--HG--
branch : trunk
2010-08-08 14:03:22 +02:00
XTZGZoReX
02121a026e
* Convert npc_professor_phizzlethorpe.
...
--HG--
branch : trunk
extra : rebase_source : 55c18bea7f25634a86c028cff3bbf2a2c10420d3
2010-08-08 13:48:01 +02:00
Shauren
0758e9f78a
More cleaning for CMakeLists
...
Moved ScriptPCH from game directory to scripts
--HG--
branch : trunk
rename : src/server/game/PrecompiledHeaders/ScriptPCH.cpp => src/server/scripts/PrecompiledHeaders/ScriptPCH.cpp
rename : src/server/game/PrecompiledHeaders/ScriptPCH.h => src/server/scripts/PrecompiledHeaders/ScriptPCH.h
2010-08-08 12:41:22 +02:00
John Holiver
99a054bfd2
Converting EasternKingdoms/ZulAman and EasternKingdoms/ZulGurub.
...
Need to recheck tomorrow. :)
--HG--
branch : trunk
2010-08-08 05:01:17 -03:00
John Holiver
0ce01cdb63
Missed a new file from EasternKingdoms/Uldaman
...
--HG--
branch : trunk
2010-08-08 03:41:36 -03:00
silinoron
8082363fc1
merge
...
--HG--
branch : trunk
2010-08-07 16:41:27 -07:00
John Holiver
af15ba29d1
Converting EasternKingdoms/Uldaman
...
--HG--
branch : trunk
2010-08-07 20:42:50 -03:00
silinoron
1bc8730b33
Convert Ahnkahet, Azjol-Nerub, Drak'tharon Keep, and Forge of Souls to the new format.
...
--HG--
branch : trunk
2010-08-07 16:03:37 -07:00
Supabad
c260b3f778
convert Magtheridons Lair and Shattered Halls to new format
...
--HG--
branch : trunk
2010-08-08 00:49:40 +02:00
Supabad
7ce0a6cf69
convert Blood Furnace to new format
...
--HG--
branch : trunk
2010-08-07 23:17:11 +02:00
Supabad
79b0567a74
convert Hellfire Ramparts to new format
...
--HG--
branch : trunk
2010-08-07 22:45:09 +02:00
silinoron
9e1695a9c5
Convert outdoors northrend scripts to the new format.
...
--HG--
branch : trunk
2010-08-07 13:11:55 -07:00
Supabad
c787f11de1
convert Botanica to new format
...
--HG--
branch : trunk
2010-08-07 22:06:31 +02:00
Supabad
f8fe880982
convert Tempest Keep The Eye to new format
...
--HG--
branch : trunk
2010-08-07 21:12:35 +02:00
Shauren
b3e6a6c5ab
Remove useless hack for Leeeeeeeeeeeeeroy! achievement
...
--HG--
branch : trunk
2010-08-07 20:28:23 +02:00
Shauren
8ada64e337
Missed this file
...
--HG--
branch : trunk
2010-08-07 18:32:41 +02:00
XTZGZoReX
ed4e49a4e7
* OutdoorPvP implementations now reside in the script library.
...
--HG--
branch : trunk
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPEP.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPEP.h => src/server/scripts/OutdoorPvP/OutdoorPvPEP.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPHP.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPHP.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPHP.h => src/server/scripts/OutdoorPvP/OutdoorPvPHP.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPNA.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPNA.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPNA.h => src/server/scripts/OutdoorPvP/OutdoorPvPNA.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPSI.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPSI.h => src/server/scripts/OutdoorPvP/OutdoorPvPSI.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPTF.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPTF.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPTF.h => src/server/scripts/OutdoorPvP/OutdoorPvPTF.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPZM.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPZM.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPZM.h => src/server/scripts/OutdoorPvP/OutdoorPvPZM.h
2010-08-07 16:38:22 +02:00
Supabad
31887e6417
convert Arcatraz to new format
...
--HG--
branch : trunk
extra : rebase_source : 9c77e524badeccac0c2adbe68110f741b5a3549b
2010-08-07 14:17:07 +02:00
XTZGZoReX
bcfc58a72d
* Script-side changes for my last commit.
...
--HG--
branch : trunk
2010-08-07 13:46:08 +02:00
Supabad
9a592f44af
convert Mechanar to new format
...
--HG--
branch : trunk
2010-08-07 13:06:10 +02:00
azazel
10c4ef697c
* Add call to OnAuctionAdd() into code (thanks Paradox). Closes issue #3313
...
* Converted Zangarmash to new script system (I think I'm going to write a tool for converting)
--HG--
branch : trunk
2010-08-07 13:04:00 +06:00
silinoron
38402fa55b
A couple of forgotten changes.
...
--HG--
branch : trunk
2010-08-06 18:51:00 -07:00
silinoron
c69bb618f5
Convert Alterac Valley to new format.
...
--HG--
branch : trunk
2010-08-06 18:48:08 -07:00
silinoron
66ff6cda25
Convert go_scripts to the new format.
...
--HG--
branch : trunk
2010-08-06 18:42:35 -07:00