25 Commits

Author SHA1 Message Date
Shlainn
8dd5fb940b * Die trailing whitespace, die, die die!!! 2011-11-29 12:36:59 +01:00
Shlainn
73efbaf339 * Read .anim files for 3.3.5 2011-11-22 20:29:14 +01:00
Shlainn
1fdcaa691b * Fix crash in case of missing databases 2011-11-09 12:49:48 +01:00
shlainn
bc09fcf3d2 * irrKlang -> IrrKlang. Damn you case-sensitive OS 2011-10-27 23:30:54 +02:00
shlainn
fedeb4d8fe * M2 Animations Part 1: Animations work for 2.4.3
the viewer got a new debug tab, which allows to play around with debug settings and animations
2011-10-27 23:23:22 +02:00
shlainn
3c9e8a817f * Add CMakeLists 2011-10-09 11:36:55 +02:00
shlainn
126978ff5e * Enable loading from MPQ files instead of extracting maps, textures, wmos and sounds
Actually, sounds don't work yet.
StormLib was moved to src/dep because it is now used by the main client, too.
MPQ-related helper files moved to shared.
2010-09-13 04:05:54 +02:00
false_genesis
905c08cf17 * show player corpse bones instead of cubes. requires re-extracting model data. patch by bLuma, thx
* return flags when returning files with MemoryDataHolder. this is a  preparation for better threading and less crashes with it.
* enable stuffextract build in vc90 solution
2009-07-21 21:32:55 +00:00
bluma4862
84e3c1d868 * use correct check for proper M2 version (hope there isn't any model with 8.1.0.0 version), fix this in stuffextract to allow extracting textures from new model files
* implement speed change opcodes
* fixed texturing of remaining gameobjects (requires reextracting of scp, models and textures)
* new defscript command "getobjectpos,guid <x/y/z/o>" (if guid is empty - use my guid)
2008-10-13 14:12:56 +00:00
false_genesis
3b47963c5d * the camera is now located behind the character's back and follows his movement; zoom in/out works too. original patch by sbp, thx!
** note: press POS1 key to toggle movement/freefly mode
* fixed character movement without initial turn (before it went into a random direction if not turned - now its fine)
* fixed: really (un-)load maps when moving a longer distance
* improved graphical debugging: show all SceneNode bounding boxes & bones (if there are any) - press backspace to toggle debugging
* ISceneNodes can now be accessed via their owner's guids [use DrawObjMgr::Get(guid) and DrawObject::GetSceneNode()]
* added one more ByteBuffer output variant (combined hex/text), thx nitrogrlie!
2008-08-11 23:52:42 +00:00
bluma4862
678aff60af * apply basic npc texture (in some cases wrong texture is applied, need find fix)
* prevent opcode spam with mouse (LMB&RMB) character move
2008-07-03 07:21:05 +00:00
bluma4862
926a7566c8 * fixed crashes without SCP databases
* minor fixes
2008-05-11 13:36:24 +00:00
bluma4862
a2bbc0c7d4 * correctly select model for gameobjects (no more cubes)
* updated stuffextract - added gameobjectdisplayinfo, for correct work needs reextracting models and scp files
2008-05-03 17:21:09 +00:00
false_genesis
76ebbe5cf3 * rewrote the SCP data storage. note that all database files must now be placed in a directory added with "AddDBPath <path>" and must contain a #dbname tag. the db now converts SCP (text) to SCC (binary) files, which increases access speed a lot. also less RAM used in most cases.
* replaced "LoadSCP" func with "LoadDB <dbname>" (different syntax!); removed all other scp db related funcs except "getscpvalue"
* the GUI can now show texts stored in databases
* added displaying status to SceneLogin
* misc fixes/cleanups
2008-04-19 23:45:37 +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
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
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
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
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
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
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
a8ad601dca * more fixes for gcc. thx shlainn! 2008-03-24 15:18:26 +00:00
False.Genesis
3100f68a30 last changes before 2.1.3:
* added script to support /me-like emotes (scriptname is "me")
* changed the permission system: now a script cant be used as game command f no permission is explicitly set
* implemented threadsafe CLI queue to solve crashes with short-intervalled events that ran on 2 threads
* fixed name return at "getitemprotovalue" script
* iplemented DrawObject class and a Mgr for those objects; they will ease object drawing once implemented. the Mgr works under control of the GUI thread and is threadsafe.
* implemented auto-loading of SCP files if a name-tag is present somewhere in the file ("#dbname=...") and no explicit db name was passed to "loadscp" script.
* changed internal ObjMgr storage to std::map (instead of list) for faster access
* fixed call of "_enterworld" script
* fixed handling of MyCharacter(), which could cause crashes after newly changes
* fixed GetFileList() func in tools.cpp (this fixes also related "lgetfiles" script func). now it will only parse files, not directories. might still need some fixing for linux.
2007-08-01 19:09:17 +00:00