34 Commits

Author SHA1 Message Date
Shlainn
6f86fc4e89 * Submeshes can now be switched on and off by GeoSet ID 2011-11-23 18:16:01 +01:00
Shlainn
e960db4cd8 * Fix bug in loading of 3.3.5 M2 files 2011-11-23 14:32:34 +01:00
Shlainn
73efbaf339 * Read .anim files for 3.3.5 2011-11-22 20:29:14 +01:00
shlainn
726faeff87 * Add support for WoTLK M2 files
This brought along some restructuring of the Loader code to make it more readable
2011-11-21 22:54:11 +01:00
Shlainn
873fc10c69 * Some cleanup in the M2 Loader 2011-11-08 15:24:15 +01:00
Shlainn
a532a6fae4 * 1.12.1 M2 files should be read correctly now 2011-11-01 22:15:55 +01:00
shlainn
efdf734ba4 * Better way for Alpha Transparency 2011-11-01 22:15:55 +01:00
shlainn
d58622352b * Temporary fix for the MemoryDataHolder 2011-10-28 00:39:29 +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
a0a33b74f0 * HackFix the CM2MeshFileLoader
At some point, when things like animations will get addressed, this will be fixed properly. Until then, this is sufficient
2011-09-28 21:59:21 +02:00
shlainn
f8adc3311a * Read 1.12.x M2 files
NOTE: Reading any other version of M2 is broken right now - needs readding later
2011-09-16 22:41:22 +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
5e7190551e * really use cached files (irrlicht uses full paths!)
* fixed vc71 non-debug builds
2009-04-20 10:02:18 +00:00
false_genesis
9b10e89b2c * updated VC71 proj files for irrlicht 1.5 - DO NOT USE the static lib compile setting!
* lots of bugfixes to MemoryDataHolder, finally made it work without crashes, for now
* prebuffer .skin files for much faster GUI loading (they are not yet deleted from memory!!)
* fixed a major bug in TypeStorage that caused values not to update
* removed log spam when loading M2 files
* fixed a bug where the character was not visible when switching from freefly to move mode and back
* preparations to use ZThread::Conditions for better thread locking

* NOTE: if you get crashes with this version when starting up the GUI, try setting DataLoaderThreads=0 in the conf file.
2009-04-15 22:53:03 +00:00
shlainn
32e4271361 * Major overhaul of linux build system
** Only openssl and bz2 (for stuffextract) left as external dependencies, zlib, zthread and irrlicht are compiled from dep folder
** Irrlicht upgraded to version 1.5
** Various fixes to make GCC not complain
** to compile: autoreconf -if && ./compile -prefix=full_path_to_bin_directory && make
** Only issue: rename dep/openssl otherwise compiler will complain - too late to figure out now.
2009-04-11 00:59:48 +00:00
false_genesis
8e35c285ce * fixed the problem that after a while of moving around or after few gui restarts no objects/textures were shown anymore 2009-04-04 01:14:29 +00:00
false_genesis
0522c2c786 * 2 opcode fixes by dave, thx
* correced movement packets, server will no longer drop connection when moving
* attempted to fix crash in openGL mode in m2 model loader
* fixed SCPDatabase::GetFieldByString(), thx dave
* added scp files for 3.0.9 client
2009-03-05 21:48:52 +00:00
shlainn
1c697b84c0 * fixed an compile error that suddendly showed up in StormLib Linux Port. WTF?
* included bLumas patch for 3.0.8 as it compiles fine and doesn't crash on startup on Linux
* testing required!
2009-02-05 19:33:58 +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
shlainn
ebc0ea6ee2 * Read animation data from M2 files. No actual animation, just reading the data
* Cleaned up some of the texture handling (Render flags, Texture lookup), thx to bLuma for the heads-up
* bounding boxes should now work as expected
2008-10-12 20:08:57 +00:00
bluma4862
14a2a04e94 * update to support client version 2.4.1 (build 8125) 2008-04-25 15:11:05 +00:00
false_genesis
170006b659 * updated ShTLTerrainSceneNode to official irr 1.4 version (with some changes)
* some renderer settings can now be modified via conf
* disabled irrlicht logger console spam
2008-04-20 21:34:01 +00:00
shlainn
8453f04d66 * Added a Login GUI. Not beautiful, but at least it works.
** Login GUI only appears when GUI is activated in conf and either Password or Accountname are not set
** Don't resize the Login Window
** Community Website button doesn't work yet, but Quit does
* Added a dynamic framerate limiter, though i think it's overkill. See comments in PseuGUI.cpp
* Changed std::cout to logdebug in the Image and MeshLoaders
2008-04-08 02:18:12 +00:00
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
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
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
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
ed316ab946 * irr upgrade PART 1: remove irrlicht 1.3 2008-04-03 16:58: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