b2896dc7ff
Minna daisuki type safety.
Michael Bayne
2006-04-28 18:29:46 +00:00
ecee4e292e
Various tweaks, plus prune nodes with no geometry descendants that aren't used as bones in models.
Andrzej Kapolka
2006-04-28 04:21:30 +00:00
33ab4146c8
Misc. fixes, added random texture selection to models.
Andrzej Kapolka
2006-04-28 01:47:49 +00:00
d8f7e48cbf
Allow whirled.spot.data.Location to be extended so that games with 3d coordinate systems (or that track additional location information besides orientation) can just drop in their new Location class. Refactored Portal to contain a Location object rather than duplicate the fields, so that Portals can work unchanged with a 3d coordinate system.
Ray Greenwell
2006-04-28 01:34:02 +00:00
a3679b0bfd
Allow a custom root node to be created.
Michael Bayne
2006-04-27 22:47:01 +00:00
bb19beb053
Cope more gracefully when we can't access the sound device.
Michael Bayne
2006-04-27 22:24:38 +00:00
3cd66e17ad
If everyone leaves, but the game was in play, put the game into game over state, not cancelled.
Mark Johnson
2006-04-27 02:33:04 +00:00
461e109462
Fixed error in the SpeakHandler that mdb checked in: the service should not be propogated. If someone chooses crew chat but then enters a /speak command, it indicates that they want to break out of the crew chat channel.
Ray Greenwell
2006-04-27 01:53:40 +00:00
42622d73cd
Fixup.
Ray Greenwell
2006-04-27 01:26:56 +00:00
e20ec412f1
Fixes for cases where there's no texture, DisplaySystem.
Andrzej Kapolka
2006-04-26 22:38:46 +00:00
e1c9d4bc53
Better fix for parsing error.
Ray Greenwell
2006-04-26 21:37:28 +00:00
481722188d
Removed some unneeded casts now that the _entries array
Ray Greenwell
2006-04-26 21:32:09 +00:00
e6ac65fd11
Fixed texture wrapping, meshes as bones, wrap/cycle mixup.
Andrzej Kapolka
2006-04-26 21:06:03 +00:00
6436dc704c
If there is no message component then just leave it null instead of having substring throw an exception.
Mark Johnson
2006-04-26 20:46:02 +00:00
762e85dd44
Strip path information from textures in model files, recenter meshes about their bounding volume centers.
Andrzej Kapolka
2006-04-26 19:31:13 +00:00
0e27af2af4
Because we defined DSet as parameterized on <E extends DSet.Entry> it rewrites all generic references to E as DSet.Entry rather than Object which is what I was assuming. So when I write:
Michael Bayne
2006-04-26 02:13:10 +00:00
ad9a3e54e3
Updated some bits.
Ray Greenwell
2006-04-26 00:47:49 +00:00
8d87138d2a
JME's multAcross was multiplying by the transpose. Added a method to multiply normals by the rotation submatrix instead.
Andrzej Kapolka
2006-04-25 18:48:11 +00:00
d8c2645346
Added options for showing normals, bounds, and pivot axes.
Andrzej Kapolka
2006-04-25 03:23:43 +00:00
60591a85ee
Attach meshes under nodes so that they can be used as parents.
Andrzej Kapolka
2006-04-25 02:26:07 +00:00
918d38a3b1
Implement Iterable. Whee!
Michael Bayne
2006-04-25 02:07:32 +00:00
c313fb63b9
I'm about to commit a fix so that this doesn't happen anymore... but if it does, I want to see it in the logs...
Mike Thomas
2006-04-25 00:49:58 +00:00
2f1a10c911
Export back face culling flag, textures, and transparency flag.
Andrzej Kapolka
2006-04-24 22:07:47 +00:00
a4c7ecb5e3
Made DSet (sort of) type safe. To be really really typesafe DSet.Entry would have to be parameterized on the type of the Comparable that is returned by getKey(), but that turns out to be a twisty maze of generics that is not obvious to me how to express using Java's generics syntax and it opens up various cans of worms that I don't have time to solve right now. So we'll settle for the DSet itself being parameterized on the Entry class and the Entry class being non-type safe.
Michael Bayne
2006-04-24 22:02:48 +00:00
e5496065dc
Updates for emission handling.
Andrzej Kapolka
2006-04-24 18:08:44 +00:00
d2f61ad735
Revamped game cancellation handling a bit and modified handlePartialNoShow() to cancel rather than start a game if zero humans showed up.
Michael Bayne
2006-04-24 02:34:31 +00:00
6ddcb0c40e
Remove trailing blank line I added when I was fighting with svn.
Ray Greenwell
2006-04-21 23:45:59 +00:00
177f996427
Tidied up the tell handler a bit: - fixed quoted name parsing to not choke if the first token is just a quote. - also fixed to not choke if the user types the message using some non-space whitespace characters. - fixed history mistell erasing for multi-word usernames. - use quotes in the history line only if the user used quotes. - added hooks for easy subclassing
Ray Greenwell
2006-04-21 23:25:58 +00:00
f6608ea528
Merging the procedural animation controllers and emitters into Model functionality, so that they will be visible in the model viewer.
Andrzej Kapolka
2006-04-21 23:10:23 +00:00
7ce2b38ad5
Allow rendering and updating to be enabled or disabled separately.
Michael Bayne
2006-04-21 23:03:12 +00:00
429f11d7b7
Allow our target FPS to be set and for rendering to be disabled entirely. I'm either going to slow the target FPS to 1 (easy) when we're loading models or disable it entirely except when we want to update the loading marquee (pesky) once I determine for sure whether or not the 1 FPS method does the trick.
Michael Bayne
2006-04-21 21:54:08 +00:00
9e02d7a1ad
JORA refactor.
Michael Bayne
2006-04-21 21:27:31 +00:00
00a84fb80a
Mogrify broadcasts like other chat.
Michael Bayne
2006-04-21 08:11:30 +00:00
69e84fa9fb
Added broadcast handler. Fixed bug in tell handler. Wired both up.
Michael Bayne
2006-04-21 07:55:30 +00:00
11412c9602
Implemented a standard /tell handler.
Michael Bayne
2006-04-21 07:43:38 +00:00
6a56d42079
Use an LWJGL support function to cap our frame rate at 60 when we're not visible and can't rely on the vsync doing it for us.
Michael Bayne
2006-04-20 18:36:14 +00:00
d544f127a4
Added object offsets to exporters, converted tabs to spaces, added method to get model nodes anywhere in the hierarchy by name, update model bounds in SkinMesh after deforming mesh.
Andrzej Kapolka
2006-04-20 02:04:56 +00:00
6bf2506f50
Array.indexOf() turns out to be there, just not documented.
Ray Greenwell
2006-04-19 21:02:38 +00:00
e0395bc0fc
Removed extraneous whitespace.
Michael Bayne
2006-04-19 02:40:05 +00:00
f703f1aab3
Various fixes, added support for model instancing.
Andrzej Kapolka
2006-04-18 23:22:45 +00:00
ba72823bcc
I'm trying to fix the inconsistent line error so that this can be checked out elsewhere.
Ray Greenwell
2006-04-18 20:54:56 +00:00
4b384ce89e
re-add
Ray Greenwell
2006-04-18 20:43:37 +00:00
82488226d4
remove/re-add
Ray Greenwell
2006-04-18 20:43:03 +00:00
92f86774ba
Fixed integer overflow that caused incorrect quantization of large images, or an image with a lot of a particular color.
Ray Greenwell
2006-04-18 20:35:28 +00:00
f5161d833c
Run writeTransform on each node, not on the node set itself.
Andrzej Kapolka
2006-04-18 18:30:46 +00:00
efefdaa312
Updated method documentation.
Ray Greenwell
2006-04-18 02:04:06 +00:00
cd8f168452
Create controllers in the new way (actionscript wants to be all growed up just like uncle Java!).
Ray Greenwell
2006-04-18 01:58:44 +00:00
a0ff0d1457
Skinned animation now works, although there are still some optimizations to be made.
Andrzej Kapolka
2006-04-18 01:36:19 +00:00
fdf0fa27d3
Revamped PlaceConfig to instantiate the PlaceController directly instead of looking it up by name which creates PITA when we want to obfuscate and strip out unused code.
Michael Bayne
2006-04-18 01:32:41 +00:00
137cdfa8dd
Flush our log output after every line.
Michael Bayne
2006-04-18 01:31:54 +00:00
4bc2481662
Added serialVersionUID.
Ray Greenwell
2006-04-18 00:39:11 +00:00
67c42dda0b
Just fail to freak out, don't fail to load shadows at all.
Michael Bayne
2006-04-14 21:52:06 +00:00
40d78e44d3
Freak not out if we have no shadow frames to composite.
Michael Bayne
2006-04-14 21:49:11 +00:00
79be7ebd1b
Added support for observing sound resolution; type-safetified.
Michael Bayne
2006-04-14 18:34:08 +00:00
3c6ac7ac67
Further progress: texturing, compiling animations.
Andrzej Kapolka
2006-04-14 03:26:50 +00:00
fc2870f7e5
Moved to msoy area.
Ray Greenwell
2006-04-14 02:05:19 +00:00
6fb248e739
Removed import of nonexistant class.
Ray Greenwell
2006-04-14 02:04:56 +00:00
39ca0f4ed9
Further progress on model revamp. Now loading and viewing static models.
Andrzej Kapolka
2006-04-13 20:47:06 +00:00
fe8f95b15b
Let's do it the Greenwell way and save a compare.
Michael Bayne
2006-04-13 05:33:21 +00:00
6b9700bebc
Null pointer checking goodness
Mark Johnson
2006-04-13 00:48:25 +00:00
2fad609d6e
Allow shadows to be omitted without generating a warning.
Michael Bayne
2006-04-12 22:05:33 +00:00
bb32d03c66
Checkpoint checkin for new model exporting/loading/animating code.
Andrzej Kapolka
2006-04-12 03:34:10 +00:00
4aa1971f30
Typey typey.
Michael Bayne
2006-04-11 22:09:59 +00:00
1a705e2b55
Type safety.
Michael Bayne
2006-04-11 22:04:10 +00:00
ccfd3bdb7c
We need Retroweaver in here.
Michael Bayne
2006-04-10 22:59:27 +00:00
fdc77887f5
Use the Retroweaver verifier to ensure we're not calling unweavable 1.5 library methods.
Michael Bayne
2006-04-10 21:58:03 +00:00
ad49401543
Proguard fucks up if we use clone(). There's no apparent way to find out why it magically booches and causes an IncompatibleClassChangeError, so we're just going to work around it.
Michael Bayne
2006-04-10 20:16:44 +00:00
5a2583470c
Brought code in line with changes to Samskivert. I have not started to genericize Narya data structures, nor make the existing code type safe. That's going to be an extremely large project.
Michael Bayne
2006-04-10 08:59:30 +00:00
02b59f33c9
Target 1.5 and added Retroweaver directive.
Michael Bayne
2006-04-10 02:44:33 +00:00
efb3a6c54e
A properly parameterized StreamableHashMap. Yay!
Michael Bayne
2006-04-10 02:42:23 +00:00
8d91fa9e7f
Don't log a stack trace here.
Michael Bayne
2006-04-10 01:22:39 +00:00
3cef4b5cec
Prevent NPE when we process a pong that was destined for a different DeltaCalculator.
Ray Greenwell
2006-04-07 18:52:24 +00:00
127eebf9a6
Moved to msoy repository.
Ray Greenwell
2006-04-06 23:15:36 +00:00
64d7f32178
Lots of debug logging, some casting.
Ray Greenwell
2006-04-06 20:05:28 +00:00
f7f9056ed2
Fall back to resource files before falling back to the classpath.
Michael Bayne
2006-04-05 19:40:12 +00:00
8177c1d410
Initialize our resource directory in the constructor so that clients that use the resource_dir system property can start loading resources based on that before they call initBundles().
Michael Bayne
2006-04-04 19:22:43 +00:00
ead3a989b2
Use the new FileUtil method.
Michael Bayne
2006-04-04 18:46:42 +00:00
492bde538f
Added a note about singleton classes. I'm just whinging, really.
Ray Greenwell
2006-04-04 17:35:10 +00:00
aec7a1ece2
Allow the resource manager to be run in "don't unpack yer bundles" mode.
Michael Bayne
2006-04-04 03:22:24 +00:00
58bf16e804
Exclude test class files.
Michael Bayne
2006-04-04 02:51:42 +00:00
2cc2e5fd00
Made it possible to make extended use of the playerStatus array.
Michael Bayne
2006-04-02 18:39:25 +00:00
c696896f10
Allow the view to be restricted to a particular type of chat.
Michael Bayne
2006-03-31 18:15:32 +00:00
4911947a8e
Robustness++.
Michael Bayne
2006-03-30 23:53:52 +00:00
fb913a6bba
Go back to using the median value for our delta estimate.
Ray Greenwell
2006-03-30 19:06:40 +00:00
981deb3b6b
Fixed two bugs with delta calculation: - if a pong response took more than 5 seconds to receive, another ping would be sent. When the pong finally arrived the delta would be calculated using the most recently sent ping. Fix: don't send more pings while waiting on a pong. - After a pong is received, the _deltas array is mangled while calculating the server delta, making subsequent pongs possibly overwrite earlier calculated deltas. Fix: calculate using a copy.
Ray Greenwell
2006-03-30 01:08:32 +00:00
07bc269f59
Bugfix for something that may never be needed in the wild: when an AuthingConnection is replaced by a RunningConnection we need to transfer over any associated overflow queue to the new connection object.
Ray Greenwell
2006-03-30 00:09:55 +00:00
4dc5202558
Update camera before scene graph. That way, nodes (like the unit status display) can adjust to the camera position in their update methods without being a frame out of date.
Andrzej Kapolka
2006-03-29 19:42:58 +00:00
581242814c
Allow this chat view to be used with any speak service.
Michael Bayne
2006-03-29 01:01:59 +00:00
16a28de8bc
Report from brown team, engaged in Operation Slam Your Dick in a Door: "Still purple and bruised, sir!"
Ray Greenwell
2006-03-28 23:17:52 +00:00
90e4017801
A bit more, more streaming issues. I might need to rework some stuff.
Ray Greenwell
2006-03-28 02:02:22 +00:00
538803e1fb
Checkpoint. Closing in on getting a chat client up, but slogging through annoying streaming issues.
Ray Greenwell
2006-03-28 01:27:57 +00:00
d910fbb6f2
I changed a few things and suddenly the inaccessable method works again. Boy, fun.
Ray Greenwell
2006-03-27 19:27:03 +00:00
6c3bc1cb78
Use the pan constants in a few more places to improve readability.
Ray Greenwell
2006-03-25 22:46:00 +00:00
8298025a11
Added pan control for looping sounds
Mark Johnson
2006-03-25 20:55:55 +00:00
5690a38096
Looped sounds were not checking to see if that sound type was enabled
Mark Johnson
2006-03-25 20:49:22 +00:00
c00f76f141
Made the methods public and it still doesn't work. There's some awful bug in the compiler or runtime, I think.
Ray Greenwell
2006-03-25 00:35:05 +00:00
9a6ea2f7a6
Missed these two files in the last checkin.
Ray Greenwell
2006-03-24 23:50:47 +00:00
a91bf8b14c
Added some missing marshallers. Use Long instead of long. I had them both (it may be useful so that we know if we're streaming an object or just 8 bytes of value) but Windows couldn't fucking tell them apart (case insensitivity) so I nixed one. Reference some more marshallers in the client so that the classes will be compiled in.. gawd.
Ray Greenwell
2006-03-24 23:49:51 +00:00
b7e63c4b38
One more handy constant
Mark Johnson
2006-03-24 22:25:03 +00:00