Commit Graph

9288 Commits

Author SHA1 Message Date
azazel
39ab39f6cb Source code for the scripts converter.
NOTE: It is pretty straighforward and ugly, so make sure you check all the changes it does. :P

--HG--
branch : trunk
2010-08-09 00:01:35 +06: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
click
31160bcfce Buildsystem/Windows: Minor adjustment to use the correct "environment"-variable in both VS2008 and VS2010
--HG--
branch : trunk
2010-08-08 19:11:57 +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
click
8a69e50d6a Buildsystem/Windows: Put all finished products (compiled executables and external DLLs) in BUILDDIR/bin/<builddtype>/
(Some cleanups will be done to this later, this is just POC for developers)

--HG--
branch : trunk
2010-08-08 18:34:35 +02:00
XTZGZoReX
39c61157c5 Fixed *nix build.
--HG--
branch : trunk
2010-08-08 09:36:45 -05: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
2ea64ea173 Added #ifdef _WIN32 to Windows-specific files
--HG--
branch : trunk
2010-08-08 15:17:27 +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
XTZGZoReX
2974727ad4 * Useless declaration.
--HG--
branch : trunk
2010-08-08 05:39:59 +02:00
XTZGZoReX
87965e764e * Remove empty ScriptedSmartAI files.
--HG--
branch : trunk
2010-08-08 05:36:51 +02:00
XTZGZoReX
9083271a2f * Some singleton renames for consistency:
accmgr -> AccountMgr
objmgr -> ObjectMgr
auctionmgr -> sAuctionMgr
spellmgr -> sSpellMgr
CreatureEAI_Mgr -> sEventAIMgr
achievementmgr -> sAchievementMgr
gameeventmgr -> sGameEventMgr
sInstanceSaveManager -> sInstanceSaveMgr
poolhandler -> sPoolMgr

--HG--
branch : trunk
2010-08-08 05:25:45 +02:00
XTZGZoReX
93fc24ece9 * Remove lame ScriptedInstance define.
--HG--
branch : trunk
2010-08-08 05:09:27 +02:00
XTZGZoReX
e03c873bcf * Move weather management to new WeatherMgr (yes, I care that much about the weather - I really do).
--HG--
branch : trunk
2010-08-08 05:06:13 +02:00
XTZGZoReX
18dce8897f * Rename: Sha1Hash -> SHA1Hash.
--HG--
branch : trunk
2010-08-08 04:49:04 +02:00
XTZGZoReX
909e332579 * Rename: BattleGround -> Battleground.
--HG--
branch : trunk
2010-08-08 04:37:24 +02:00
click
3d1efa6ed7 Renaming a little bit more - this IS war!
--HG--
branch : trunk
rename : src/server/game/BattleGrounds/BattleGroundQueue.cpp => src/server/game/Battlegrounds/BattlegroundQueue.cpp
rename : src/server/game/BattleGrounds/BattleGroundQueue.h => src/server/game/Battlegrounds/BattlegroundQueue.h
2010-08-08 04:27:32 +02:00
click
4cb0f25b94 Some consistency-cleanups on the TC battleground (This means war?)
--HG--
branch : trunk
rename : src/server/game/BattleGrounds/ArenaTeam.cpp => src/server/game/Battlegrounds/ArenaTeam.cpp
rename : src/server/game/BattleGrounds/ArenaTeam.h => src/server/game/Battlegrounds/ArenaTeam.h
rename : src/server/game/BattleGrounds/BattleGround.cpp => src/server/game/Battlegrounds/Battleground.cpp
rename : src/server/game/BattleGrounds/BattleGround.h => src/server/game/Battlegrounds/Battleground.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundAA.cpp => src/server/game/Battlegrounds/Zones/BattlegroundAA.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundAA.h => src/server/game/Battlegrounds/Zones/BattlegroundAA.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundAB.cpp => src/server/game/Battlegrounds/Zones/BattlegroundAB.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundAB.h => src/server/game/Battlegrounds/Zones/BattlegroundAB.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundAV.cpp => src/server/game/Battlegrounds/Zones/BattlegroundAV.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundAV.h => src/server/game/Battlegrounds/Zones/BattlegroundAV.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundBE.cpp => src/server/game/Battlegrounds/Zones/BattlegroundBE.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundBE.h => src/server/game/Battlegrounds/Zones/BattlegroundBE.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundDS.cpp => src/server/game/Battlegrounds/Zones/BattlegroundDS.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundDS.h => src/server/game/Battlegrounds/Zones/BattlegroundDS.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundEY.cpp => src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundEY.h => src/server/game/Battlegrounds/Zones/BattlegroundEY.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundIC.cpp => src/server/game/Battlegrounds/Zones/BattlegroundIC.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundIC.h => src/server/game/Battlegrounds/Zones/BattlegroundIC.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundNA.cpp => src/server/game/Battlegrounds/Zones/BattlegroundNA.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundNA.h => src/server/game/Battlegrounds/Zones/BattlegroundNA.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundRB.cpp => src/server/game/Battlegrounds/Zones/BattlegroundRB.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundRB.h => src/server/game/Battlegrounds/Zones/BattlegroundRB.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundRL.cpp => src/server/game/Battlegrounds/Zones/BattlegroundRL.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundRL.h => src/server/game/Battlegrounds/Zones/BattlegroundRL.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundRV.cpp => src/server/game/Battlegrounds/Zones/BattlegroundRV.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundRV.h => src/server/game/Battlegrounds/Zones/BattlegroundRV.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundSA.cpp => src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundSA.h => src/server/game/Battlegrounds/Zones/BattlegroundSA.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundWS.cpp => src/server/game/Battlegrounds/Zones/BattlegroundWS.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundWS.h => src/server/game/Battlegrounds/Zones/BattlegroundWS.h
2010-08-08 04:12:18 +02:00
XTZGZoReX
bee3e7c681 * Some cleanups and fixes in cmakes.
--HG--
branch : trunk
2010-08-08 04:08:18 +02:00
XTZGZoReX
66f1ac04d5 * Rename SARC4 to ARC4.
--HG--
branch : trunk
2010-08-08 03:55:24 +02:00
XTZGZoReX
d15556589d * Move BattleGroundQueue to its own cpp/h.
--HG--
branch : trunk
2010-08-08 03:41:46 +02:00
click
9a8342abb7 Buildsystem: Make core buildable under Windows again
- changed OpenSSL detection of headers around slightly
- changed paths to MySQL-headers on Windows in a few files
- removed precompiled header for scripts being built when building game
- added requirement of building revision.h to be built before building shared
- added some generic buildfixes (thanks zor)
- use resource-files, allowing for icons to show up on windows

--HG--
branch : trunk
2010-08-08 03:33:21 +02: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
36fffd9550 Properly fix problems with applying/removing mods on disarmed items.
--HG--
branch : trunk
2010-08-07 16:40:33 -07:00
silinoron
5aa6bb2169 Fix an exploit allowing druids to gain substantial stat increases.
Fixes issue #3316

--HG--
branch : trunk
2010-08-07 16:19:52 -07: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
Shauren
d3712984c1 Fixed build errors in AchievementMgr
--HG--
branch : trunk
2010-08-07 23:46:00 +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
click
6baf3f9a59 Buildsystem/CMake: Adjust headerlocations on Windows so that they are correctly detected.
- Remove caching of OpenSSL info (for you, zor!)
- Adjust MySQL header-location in a DB-file (haha to Machiavelli, more work for you!)
- Add OpenSSL-header location to the shared-library (Fixes build)

--HG--
branch : trunk
2010-08-07 21:48:20 +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
XTZGZoReX
40db22ead0 * Update PackageList.txt.
--HG--
branch : trunk
2010-08-07 19:06:43 +02:00
click
ce435f6d4f BuildSystem/VS: Remove now defunct an unmaintained buildfiles - use CMake for generating solutionfiles
--HG--
branch : trunk
2010-08-07 19:01:57 +02:00
Shauren
3cc24e0971 Moved OutdoorPvP scripts from game to scripts in VS projects
--HG--
branch : trunk
2010-08-07 18:40:17 +02:00
Shauren
481c0cef3f Use proper WHERE query in 9240_world_achievement_criteria_data.sql
--HG--
branch : trunk
2010-08-07 18:37:20 +02:00
Shauren
8ada64e337 Missed this file
--HG--
branch : trunk
2010-08-07 18:32:41 +02:00
Shauren
b56cfe03d5 Implemented ACHIEVEMENT_CRITERIA_TYPE_BG_OBJECTIVE_CAPTURE
Added support for "in single battleground" and "without dying" requirement to battleground achievements
Add examples of scripting achievement (School of Hard Knocks, Storm Glory)

--HG--
branch : trunk
2010-08-07 18:31:06 +02:00
XTZGZoReX
9794e99d8a * Some fixes and cleanups.
--HG--
branch : trunk
2010-08-07 17:58:45 +02:00
XTZGZoReX
aff24e3598 * Some cleanups in world_scripts_full.sql.
* SQL updates for `battleground_template`.`Comment` (by Click), and `outdoorpvp_template` content.

--HG--
branch : trunk
2010-08-07 17:30:14 +02:00