Commit Graph

90 Commits (294a096f71f61d1c78273187ca431746513e012e)

Author SHA1 Message Date
Adam Frisby 497af009bd * Reduced effect of terraforming brushes by 1000%.
* Added new exportImage() function to BasicTerrain which will output a gradient-mapped image of the terrain which can be uploaded to the grid for things like world map images. (shiinnny), will update later with an improved version using the bilinear quad method employed in client terrain rendering.
* Rebuild project & build files for basicterrain with System.Drawing dependency. Prebuild updated.
2007-05-24 05:44:53 +00:00
MW eafd91ba80 More refactoring. 2007-05-22 11:25:34 +00:00
MW f96083a903 More work on adding Events to ClientView (and registering to handle those events in Avatar and World) 2007-05-21 19:12:18 +00:00
MW fe46b045f7 Start of a redesign of SimClient (now renamed ClientView)/World/Avatar/Prim , switching to a event based system (World/Avatar register as event handlers). It is possible that I've broke something with this commit but it doesn't matter as I'll just hide and no one will find me. 2007-05-21 16:06:58 +00:00
lbsa71 4d5c9499f8 * minor refactoring for readability (and to lessen greed) 2007-05-21 00:11:55 +00:00
MW 274ce6987e Border crossing back to mostly working, still seems a problem in that you need to stop walking just after you cross the border for it to work properly (else you will continue moving into a negative position in the first sim) 2007-05-19 18:32:01 +00:00
MW 9c6f28bd4e Attempt to fix trunk which someone broke <looks innocent> 2007-05-17 13:23:53 +00:00
MW bafe290c98 Check it builds before you commit 2007-05-17 11:02:17 +00:00
MW 0808b9470c Some work on the new SceneObject and primitive2 classes 2007-05-17 10:42:40 +00:00
MW aae0222f81 More OO and abstract goodness for Gareth to drool over. Cleaned up the World class a bit and added a WorldBase class (that World now inherits from) 2007-05-17 10:24:10 +00:00
lbsa71 3435e0cb3a * sing loud, sing proud, sing from the heart 2007-05-16 20:36:35 +00:00
lbsa71 7a11688857 * here goes nothing... 2007-05-16 20:08:55 +00:00
lbsa71 9984790fc3 * uncommented offending code 2007-05-16 19:49:10 +00:00
gareth 3a28e39816 FIXED THE BUILD! 2007-05-16 17:51:28 +00:00
lbsa71 6056247ac3 * removed unused new-login.dat
* cleared up verbose/noverbose/disableOutput douple negation confusion in ConsoleBase
* 2d chat radius is now 3d chat sphere
* removed unused fast 2d radius calc
* added chat type 0xFF : broadcast (no sphere checking)
* OpenSimMain now exposes its LocalWorld
2007-05-16 17:12:17 +00:00
MW 3d93d39048 started to refactor startup code and to move udp server code out to its own class (currently not being used though) so that a single instance can handle multiple regions (each will need to be listening on a separate udp port) 2007-05-16 12:44:58 +00:00
MW 7f2fdb8054 Added RemoveAvatar() method to physics plugins, should be called on log out (needs doing) and when downgrading a client to a child-avatar (should be working) 2007-05-15 21:26:10 +00:00
MW f41e5343c5 updated Build/project files to include the new projects and new files.
Improved the enable neighbours code (Simclient thread should no longer sleep for 3 seconds for each neighbour).
2007-05-15 14:54:53 +00:00
Adam Frisby 7659d67fdb Added some sanity checks to AddViewerAgent to prevent duplicate addition (now attempts update). 2007-05-14 19:31:05 +00:00
MW 98705e6211 Changed to slightly better textures for the map: a blue one for the sea and one that if you stand at least 10 feet away from the screen and strain your eyes a bit and have really bad vision could maybe look like a island. 2007-05-13 12:48:42 +00:00
MW 05d9593198 Added very basic support for maps (likely to only work in sandbox mode due to the non functioning remote asset server), also currently just uses textures that we already had added to the asset server (this is the first thing that needs fixing) 2007-05-13 12:25:08 +00:00
Adam Frisby bd05850be1 93 warnings in the compiler, 93 warnings appear, you fix one up, create two more, 94 warnings in the compiler... 2007-05-12 15:32:04 +00:00
MW d663dfa3bd Increased the flying speed 2007-05-12 10:12:34 +00:00
MW f016e8675b finally some time to do some more work on the primitive2 refactor/rewrite/bugfix. 2007-05-11 10:55:32 +00:00
Adam Frisby 5eacce71ad * Removed superfluous int to prevent warning
* Changed OGSServer on RegionServer to bind to <port> - 500 rather than a single fixed port
* Added support for the grid server to tell us who we are (optional)
2007-05-04 07:43:07 +00:00
MW a595881dc0 fixed the VS 2005 solution/ project files.
and a couple of other small changes
2007-04-30 15:38:51 +00:00
Adam Frisby 6ce5b6e439 Major ass commit
Added new "Datastore" parameter to simconfig.xml which is passed to storage engines via a new Initialise() function.
2007-04-27 21:11:02 +00:00
MW a7c374ac51 At last: avatar-template.dat is no more 2007-04-26 17:29:41 +00:00
MW c64039363d Mostly working again.
Updated to lastest libsl and handled the changes to the message templates (some byte fields are now ushort fields ).
Still seems to be a problem when logging on, in that I get the downloading clothing message at the end of the precaching (which I didn't before)
2007-04-26 12:56:14 +00:00
MW 9ed0a8dbad updated to use lastest version of libsl but is currently broke when using SL viewer 1.15.02, due to big changes in the message templates. 2007-04-25 18:12:06 +00:00
MW f7b51d63a8 Small clean up of files and directories 2007-04-25 13:03:48 +00:00
Adam Frisby d82466ec82 Added mutex instead of lock for update 2007-04-22 18:51:03 +00:00
Adam Frisby 2194b74473 Needs testing.
1. Fixed Update Lock (should now compile)
2. Added support for rescaling a primitive without it jerking to the side.
2007-04-22 18:48:45 +00:00
Adam Frisby 6103e06a34 Added lock around World.Update to prevent multiple updates occuring simultaneously (it happened!) 2007-04-22 18:00:01 +00:00
Adam Frisby 869b39c451 SimClient: Added Try/Catch over block of code which is triggering an exception that should not be triggerable. (Duplicate key after dictionary is locked, checked for key, then added) [!?!?]
AvatarUpdate: Added check for if the physics actor is null before attempting to access it.
2007-04-22 17:31:51 +00:00
Adam Frisby 77723fbda1 Removed last references to ancient LandMap[] array. 2007-04-22 03:28:58 +00:00
Adam Frisby cb2e495202 Commented first 50% of World.cs's functions with /// tags 2007-04-22 03:25:18 +00:00
Adam Frisby 0b54136042 Small fix 2007-04-22 03:16:26 +00:00
Adam Frisby c6b1dd0fac Added exception handling to each function in World.cs - code is assumed stable so MSVC debugging of this code should no longer be needed. If however, it is needed, put a breakpoint on the exception handler concerned. 2007-04-22 03:15:22 +00:00
Adam Frisby 2844c56ef4 Terrain / Physics / Storage:
* Added terrain "taint" - if terrain is tainted, the terrain is marked as needing to be saved.
* Added check for taint in the Backup() routine, if taint is found, terrain is saved and physics engine is notified.
2007-04-21 05:51:10 +00:00
MW 2180bdf64a Hopefully undid the murder I committed in the last commit 2007-04-17 12:25:20 +00:00
MW d5406fe773 A few fixes and stopped sim crossing being attempted in sandbox mode 2007-04-17 12:03:52 +00:00
gareth bbcb20e192 Sim crossing now works (except for broken co-ordinates, resets to 0,0 - to be fixed soon)
Fixed sandbox mode fully
Scrapped former XML-RPC expect_user call for sim crossings
Sim client thread can upgrade/downgrade between full and child agent dynamically
2007-04-17 01:38:20 +00:00
gareth f9b7cc53de W00t! multiple sims!
Misc bugfixes
Child agents!!!!!!
General sexy stuff
2007-04-15 02:31:34 +00:00
lbsa71 1a28ef6292 * Replaced GridHTTPServer and UserHTTPServer with BaseHttpServer
* Now dumping default value in config.
*
2007-04-11 20:07:58 +00:00
MW 2f3b6c4b10 small improvement to the jvm and test script 2007-04-11 12:49:00 +00:00
MW 5ad6d5a939 First basic test script now works in the jvm scripting engine.
For it to work you need to have a java sdk installed and the javac.exe somewhere in the environment Path variable.
Then To test, copy the text from bin/script1.text into a note card and then add that note to a prim.
2007-04-11 12:13:21 +00:00
MW ffd7a6b8c2 Changed so that a bin\ScriptEngines\ directory will be searched for scripting Engines.
Added the work in progress JVM scripting engine.
2007-04-11 09:45:48 +00:00
Adam Frisby adb56a46f4 Major ass changes to terrain (now uses libTerrain-BSD!) and all-round improvements to code quality. Terrain saving/loading may work now (running through setHeights1D and getHeights1D before DB4o) **WARNING: UNTESTED** 2007-04-11 05:19:27 +00:00
MW 03f5ff9dc2 2007-04-10 10:45:46 +00:00