311 Commits

Author SHA1 Message Date
false_genesis
ffb12014af * temp. fixed compile error (accidently added unfinished stuff in prev. commit), thx JPhix
* fixed endless loop when using cmd "help list"
2008-04-30 21:02:50 +00:00
false_genesis
b5834846f0 * added support for gameobjects. in the GUI they are still visible as cubes, but that will be fixed soon.
* fixed crash when a script's #onload block was explicitly loading another script file that also had an #onload block.
* some cleanups in realm code
* fixed bug in SCP database loader that didnt strip comments (//) properly.
2008-04-29 20:23:49 +00:00
false_genesis
65a8ab523a * added "help" script with some basic information (as suggested by Visagalis). detailed help about specific commands not yet written.
* fixed major bug in the DefScript interpreter that could cause a DefReturnResult to return from the calling function too early and terminate the whole call stack. this could lead to scripts beeing executed only to half and then suddenly aborting execution without any sign that something went wrong.
* "ljoin"-func does now accept start and end list index to join
2008-04-25 23:25:58 +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
false_genesis
d2dc2b82a2 * forgot to remove debug 2008-04-20 01:30:00 +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
bluma4862
f484de89a9 * fixed BLPloader - do not try to load over end of mip block
* fixed scale factor of doodads
2008-04-13 14:52:35 +00:00
shlainn
66ec320724 *Added Linux Binary (Rev 302) to bin, for those who cannot compile 2008-04-10 15:30:26 +00:00
false_genesis
5d418facbe * fixed problems with too early deleted DrawObjects and one crash with GetSceneState() accessing just deleted _scene. both related to reconnect after connection closed. 2008-04-09 18:11:01 +00:00
bluma4862
e06eb019d0 * fixed stuffextract generation of file charsections.scp
* added to stuffextract extraction of texture files referenced by CreatureDisplayInfo
* fixed project file for VC9
2008-04-09 14:59:44 +00:00
false_genesis
23cb869665 * fixed crash when disconnected from server (WorldSession got deleted while SceneWorld still accessing WorldSession members) 2008-04-08 20:58:54 +00:00
false_genesis
beb24440ea * fixed up logon GUI, works now
* show logon gui when using "gui" command and not connected
* create realmsession only after pressing Login button on gui and not before
* cleaned up some parts of code that creates RealmSessions
* added some code (but not yet used) to exchange status messages between core & gui (threadsafe)
2008-04-08 20:25:07 +00:00
exosk
c9b2217039 updated project file (loginscreen) 2008-04-08 15:47:06 +00:00
shlainn
8b8d34902f *Added an background Image to GUI. maybe we should try some Render to texture here
*Fixed zero-sized textbox for Account and correct names for the Fields
2008-04-08 14:26:47 +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
5f3751fe13 * finetuned farclip & fog distance (FPS increase, yay!)
* removed skydome (turned out to be shitty with new farclip)
* little code speedup (removed unnecessary ifs)
2008-04-07 17:35:52 +00:00
bluma4862
8afbb6de47 * fixed stuffextract for textures with dot in directory name
* fixed Shared project file under VC9
2008-04-07 17:29:43 +00:00
false_genesis
efe5a1428b * fixed: really use fullscreen if windowed=0 2008-04-07 15:28:00 +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
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