439 Commits

Author SHA1 Message Date
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
shlainn
ba6b918a69 * Fixed Makefiles to reflect changes since the last time they were updated
* added linux libs for Irrklang to /dep/lib
2008-10-12 10:08:49 +00:00
false_genesis
8af84b8c87 * fixed delayed CMSG_CHANNEL_LIST opcode spam to server if a channel list contained some guids which names were not yet known. 2008-09-30 23:09:35 +00:00
false_genesis
aa0450df9e * fixed some threading problems (1 possible crash: SceneCharSelection window resized or reloaded while WorldSession is destroyed) 2008-08-30 12:18:49 +00:00
false_genesis
29f133c1e7 * login to world also on double click on char name in char list 2008-08-27 23:45:50 +00:00
false_genesis
d7d36c544e * implemented realm and character selection from the GUI
* added support for map tile sound emitters (MCSE-chunks) (needs more debugging)
* added MasterSoundVolume=0..1 conf option to /conf/gui.conf
* fixed window resize & added related functions to the scenes (OnResize()). TODO: fix SceneLogin resize.
* implemented "Community Site" button functionality on Win32
* misc stuff
* TODO: fix crypt error on realm change.
* moved linux configure.ac script to PseuWoW root dir instead of /src
2008-08-27 23:41:12 +00:00
Exosk
4ee4f6f5d4 temporary deleted the music stop, will be done in the next scene (but i like it now to to have music in the world) 2008-08-22 13:19:54 +00:00
Exosk
1c7474b32c if i got a chance i will do this, this fixes the resize problem 2008-08-22 09:39:11 +00:00
Exosk
98d0a6247f my mistake, i compressed it a bit now from 6 to 1 mb this will be in a other folder when more sounds are added 2008-08-21 22:24:39 +00:00
Exosk
56c943469b added the main wow music (yes its a legal version) 2008-08-21 22:20:05 +00:00
false_genesis
100125a093 * added irrKlang sound engine, as requested by exosk.
- to enable sound, set UseSound=1 in /conf/gui.conf
- For now, added a test music to the login screen.
* updated VC71/VC90 project files for windows. linux makefiles NOT yet updated!
2008-08-21 15:11:50 +00:00
false_genesis
2808ca7efe * fixed formula for right-click character turning, thx sbp!
* implemented MSG_SET_FACING sending if character is turned with right-click.
2008-08-17 16:05:20 +00:00
bluma4862
8e8242b34c * fixed CMSG_CAST_SPELL structure, actualized SpellCastTargetFlags enum 2008-08-15 13:59:29 +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
b56bc70f9a * fix linux build (hopefully) 2008-08-04 09:42:12 +00:00
bluma4862
e942ccde1d * forgot to upload new files in last commit 2008-07-25 12:46:56 +00:00
bluma4862
0586c46e2e * update to support 2.4.3 client version (build 8606) 2008-07-25 12:43:14 +00:00
bluma4862
76ed684573 * fixed few bugs reported by FG 2008-07-08 05:24:39 +00:00
bluma4862
3086c09146 * fixed ZCompressor for VS2008 release builds
* drop SCP db if occurs compacting problem
2008-07-07 15:36:54 +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
false_genesis
3934f0cbeb * implemented automatic detection of added SCP files (not only changed or deleted) which will trigger recompacting then.
* optimized the way SCP files are loaded and evaluated if they belong to a specific database or not (maybe little speedup too)
* added zlib compression for compacted SCP files. this will save a lot of space later when handling larger scp files (for ex. spell.scp)
* fixed memory leak in ZCompressor::Deflate()
* fixed crash/exit/stuck when too small data failed to compress
* fixed possible crash(?) in GetFileSize()
* fixed compiler warning
2008-06-30 02:16:33 +00:00
false_genesis
489c4c3b76 * fixed major bug in string->uint64 conversion 2008-06-26 21:07:24 +00:00
false_genesis
e52420ae52 * fixed problem with CHAT_MSG_WHISPER_INFORM in chatAI. thx cobalt for pointing out the problem!
* reconnect also if realm server gives unknown answer in AuthResponse
* deleted old linux binary
2008-06-17 20:56:59 +00:00
bluma4862
342bce125e * updated new opcode names from mangos, added few opcodes from 2.4.2
* fixed: not send heartbeat packet if only turning
2008-06-12 07:12:28 +00:00
false_genesis
7780f608da * added experimental character movement (jump/strafe not yet done). press POS1/Home key to toggle camera/character WASD movement. camera NOT yet linked to character!!
* conf supports now client 2.4.2. no code changes.
* packets can now be sent not only from the PseuInstance main thread
* added new conf option "softquit" to disable instant terminate (+data loss) on win32 systems if user [X]'ed console window.
* misc fixes & code changes

(personal note: exams are over, back to coding, yay)
2008-06-08 19:49:00 +00:00
bluma4862
926a7566c8 * fixed crashes without SCP databases
* minor fixes
2008-05-11 13:36:24 +00:00
shlainn
3fbca9faf8 * Basic Makefile support for Linux
** To build run : autoreconf --install, ./configure, make
* Minor typecasts and fixed typo to make GCC happy
2008-05-05 15:29:07 +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
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