322 Commits

Author SHA1 Message Date
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
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