442 Commits

Author SHA1 Message Date
false_genesis
cc4283f18f * output text in .blp and .m2 loader only in debug mode
* remove doodads from unused map tiles (after teleport or so)
* some render speedups (enabled automatic culling, but thats not enough. more optimizations must be done)
2008-04-07 15:18:52 +00:00
shlainn
a05dfe613e *M2 loader now loads models Y-up
*Fixed DrawObject and SceneWorld to accommodate the change
2008-04-07 03:26:27 +00:00
shlainn
0bea841dd1 Fixes the mesh mirroring - not sure if it's right now, but looks better 2008-04-07 02:23:02 +00:00
shlainn
f84ad0539d Fixed object orientation as good as possible, what's left is to find the mirror bug in the M2-Loader
Lowered minimal camera height for a more WoW-ish perspective
2008-04-07 01:59:37 +00:00
false_genesis
4cef295bed * doodads are now displayed on the map
* commented out a line in the M2 loader, it was causing a crash (?!)
* added NormalizeFilename() in tools.cpp, please use this when formatting filenames for linux
* TODO: remove doodads that are too far away or if the map is changed. currently its using A LOT of graphics power
2008-04-06 21:00:19 +00:00
false_genesis
79a7f0dfae * fixed crashes with M2 loader 2008-04-06 15:53:32 +00:00
shlainn
3c236757ce * updated Code::Blocks project file
* fixed some gcc warnings (mainly newlines at EOF)
2008-04-06 13:29:24 +00:00
exosk
4c5c350e59 updated the project file 2008-04-06 13:17:21 +00:00
shlainn
e7e7c15fb7 Added the BLP-Loader to the source
Changed the basedir to be compatible with stuffextract
2008-04-06 12:35:36 +00:00
shlainn
50e83549ee Fixed crashes when loading character models (hopefully) 2008-04-06 12:19:43 +00:00
bluma4862
9d330665f3 * Fixed compile on VC9
* Updated stuffextract to extract textures from M2 models to correct directories (lowercased, spaces replaces with underline), models still in one directory
** Crash with new M2Mesh loader NOT fixed!
2008-04-06 11:53:39 +00:00
shlainn
1a79b45b99 M2MeshFile loader 0.2
-Texturing (one layer only)
-alpha transparency and backface culling flags handled
-various fixes
2008-04-06 02:25:24 +00:00
false_genesis
b4ece10cb1 * fixed linker error with Irrlicht7.1.vcproj in release mode
* added adt->maptile texture layers & alpha maps conversion
* added a compiled stuffextract.exe for linux users to use with wine
2008-04-06 00:58:05 +00:00
false_genesis
3f9686eaed * forgot to add files in prev. commit
* added BLP related files to vc71 project
2008-04-05 23:47:37 +00:00
false_genesis
0397d33989 * added custom mouse cursor handler
* stuffextract update (functional: extract CharSections and renamed some fields; visual: added progress bars)
2008-04-05 23:39:45 +00:00
bluma4862
24e62993df Fixed stuffextract crash for some maps with compilation under VC80 and newer 2008-04-05 14:47:59 +00:00
shlainn
5aeccb7a77 CImageLoaderBLP initial release 2008-04-05 14:34:09 +00:00
exosk
03f40ffefe added the vc 9.0 project files 2008-04-04 19:05:13 +00:00
false_genesis
1d00b8b6ea * updated shlainn's M2 mesh loader (crash fixes and some more)
* fixed terrain texturing & fog after irr 1.4
* fixed orientation<->rotation transformation, models now look into correct direction
* code cleanups
2008-04-03 23:11:23 +00:00
false_genesis
025e084b09 * irrlicht upgrade PART 2: upped irr 1.4
* someone please fix sln/vcproj for vc80
2008-04-03 18:20:11 +00:00
false_genesis
ed316ab946 * irr upgrade PART 1: remove irrlicht 1.3 2008-04-03 16:58:02 +00:00
false_genesis
85b1e1d3d7 * output md5 sums only if the particular file types are selected for extraction
* collect model names only if models should be extracted
2008-04-03 01:56:19 +00:00
false_genesis
1b8d4def46 * also update depleted objects if necessary. might fix a few quirks in future 2008-04-03 01:22:02 +00:00
false_genesis
91ce4aa4ce * added experimental M2 mesh loader, file by shlainn.
* updated stuffextract to extract creature model related files + new scp data
2008-04-03 00:59:45 +00:00
false_genesis
57fed6d6cc * disabled thread locking in DrawObjMgr (Object pointer corruption problem solved in [263])
* fixed setting MapMgr to loading state to fix problems with GUI thread trying to access not yet loaded maps
2008-04-02 18:40:39 +00:00
false_genesis
6d5b8de2d5 * corrected terrain placement
* corrected object placement
* corrected grid formulas
* update MyCharacter position when beeing teleported
* tested in dun morogh, stormwind, thrallmar and arathi basin, object placement on the map is just fine now ;)
* cleanups not yet done, old unused funcs are still there
2008-04-02 15:30:35 +00:00
false_genesis
cc5cf995fd * fixed crash when ObjMgr was adding an object with a guid already existing (instead of the old object the new one was deleted)
* correctly (hopefully) reversed xbase & ybase in MapChunk loading
2008-04-01 01:57:31 +00:00
false_genesis
cb3081aae9 * added Code::Blocks project file to compile under linux
- thx shlainn!
2008-03-31 17:02:32 +00:00
false_genesis
aa63fc56f4 * fixed many gui-related possible crashes
* the DrawObject system should be stable enough now to do more serious things with it.
* added some object drawing code (cute cubes) - thx shlainn!!
2008-03-31 16:57:28 +00:00
false_genesis
d7ea5fe553 * changed the way how objects are stored. they are now no longer deleted directly, but moved into a *depleted* state. this prevents crashes with already deleted objects accessed by other threads 2008-03-30 23:02:21 +00:00
false_genesis
e0a0b7d82d * fixed creature name assign at incoming query response 2008-03-30 21:43:55 +00:00
false_genesis
1288cd8f2a * fixed crappy min/max problems (hopefully)
* aaaand one more try to get std::ios_base::openmode in func_fopen() nulled...
2008-03-28 19:23:47 +00:00
false_genesis
b4a5cebc77 fixed typo in prev. commit 2008-03-28 18:57:32 +00:00
false_genesis
cb74a228dc * more fixes to make gcc happy. thx shlainn! 2008-03-28 18:19:54 +00:00
false_genesis
f57fd3aef3 * forgot something 2008-03-28 14:09:31 +00:00
false_genesis
de92dd9fc4 * fixed line-end problems in different platforms
* one more toNumber() -> toUint64() fix
* fixed logging from DefScript not only to console, but also to logfile (errors and such) - coloring included
* fixed: display correct image of currently used video driver on startup ;)
- thx shlainn for 1 & 4
2008-03-28 14:03:46 +00:00
false_genesis
fce0efcfc2 * updated+fixed object update. (still not working on ascent)
* added conf option "DumpPackets" to dump wrong packets for later analysis
2008-03-27 23:53:17 +00:00
false_genesis
df3927cbbf * added TrayPseuWoW.exe already known from the release packs. start this file and have the console minimized to tray. 2008-03-26 10:30:45 +00:00
false_genesis
44739d3952 * setting eol style to native 2008-03-24 16:43:51 +00:00
false_genesis
a8ad601dca * more fixes for gcc. thx shlainn! 2008-03-24 15:18:26 +00:00
false_genesis
12045179e4 * more fixes to make gcc happy
* replaced DefScriptTools::toString() with more generic template functions
2008-03-24 13:29:10 +00:00
false_genesis
0c0771ee72 * correctly load zone names from /data/scp/zone.scp
* updated some scp files to 2.3.3 client (no functional changes except #dbname tag)
2008-03-24 00:11:54 +00:00
false_genesis
f7598b6a31 * one more fix for gcc, replaced DelayedPacketQueue:queue with deque 2008-03-23 16:48:42 +00:00
false_genesis
46a855278e * first steps for gcc/mingw support, thx shlainn
* output & log platform+compiler+version on startup
* added early version of a movement mgr, its is not used yet and does NOT work yet!
2008-03-23 14:55:44 +00:00
false_genesis
16cf12da7c * restored build in vc80. thx bLuma! 2008-03-20 16:32:13 +00:00
false_genesis
513064638d * fixed MAJOR security problem with in-game commands ("-cmd") (scripts that had no #permission=... assigned could be executed by everyone)
* fixed possible endless loop in ObjMgr::RemoveAll() if already deleted objects were incorrectly removed (real problem source is somewhere else!)
* fixed MyCharacter::HasSpell() - returned false in almost all cases
* bump to version 13.51
2008-03-10 17:27:25 +00:00
false_genesis
1e39771e5f * more toNumber to toUint64 conversions, fixed ?{equal,X,ignore Y} - thx bLuma! 2008-03-09 20:26:42 +00:00
false_genesis
406f365ff7 * fixed endless loop in UnHook and UnHookOpcode funcs + some other quirks 2008-03-08 01:55:58 +00:00
false_genesis
4633ed64be * fixed object highguids. they are now correct MaNGOS highguids, not sure about other server software. should work anyway.
* output some warnings only in debug>=1 mode
* made spellcasting with no target possible
* fixed exception when the server sent an object_update packet for an object that just got deleted; the rest of this packet got skipped then. this is now fixed; PseuWoW guesses the original object type and can now handle these packets almost 100%.
* fixed possible crash when handling emotes. thx Sesk for pointing out the problem.
2008-02-28 21:51:15 +00:00
false_genesis
1d26aa8eb8 * fixed endless loop in ProcessChatAI script when no chat message handlers were added and a message came in. thx bLuma! 2008-02-23 23:11:42 +00:00