Commit graph

3368 commits

Author SHA1 Message Date
Robert Seifert
0c6b9153ca Passed right clicks onto the tile 2013-06-09 06:13:39 -04:00
Robert Seifert
3c43f66dd6 Added to IHpTile 2013-06-09 06:13:13 -04:00
Robert Seifert
1ef0ea0be2 Made basic machine class have an inf power mode
This mode should only be triggered by players in creative mode. This way
a creative mode player can force the machine to run without power.
2013-06-09 05:35:26 -04:00
Robert Seifert
022a1a0d75 Add IHeatObject
This is too be used by objects mainly block to store heat.
2013-06-09 05:34:16 -04:00
Robert Seifert
a8d4560cba Worked on custom damage and damage entity 2013-06-09 05:33:55 -04:00
Robert Seifert
e33f0b98e3 Added custom damage code
As well i added a way to create a fake entity for tile to be attacked by
vinalla and other mobs.
2013-06-08 03:02:53 -04:00
Robert Seifert
dccf527020 Fixed a null crash for crates
unkown if this was common or rare how it should be fixed. As well i
removed some code since it was already handled again else where. This
should make the crates load from map faster.
2013-06-07 23:58:46 -04:00
Robert Seifert
e84b7aa28f Getting somewhere with Quaternions
I think i still have a bit to work on to make this work as i'm not
getting a perfect circle in testing. Rather i'm getting a star shaped
pattern from the points.
2013-06-06 22:35:41 -04:00
Robert Seifert
dab331f042 Testing use of Quaternions for rotation
This doesn't seem to be going well however i don't really understand how
to use them yet. Looking at them though i think OpenGl uses these for
model rotation. I might want to look into there code later...
2013-06-06 15:45:28 -04:00
Robert Seifert
2cd0cd9adc Cleanup 2013-06-06 02:59:28 -04:00
Robert Seifert
70d2105ddf Fixed Block Item renders 2013-06-06 02:19:08 -04:00
Robert Seifert
bc2de9f58c Fixed tank fill / drain
Tested with FM and BC pipes
2013-06-06 02:13:52 -04:00
Robert Seifert
8724a1023d Possible solution to orbit (untested)
I'll test this after i make a test frame for it. Though i think this
might be it as long as i got the ideal down. After i tried to go to
sleep my brain broke down the changes pre rotation. If Y axis changes
the XZ distance change. If Z Axis changes YX distance changes. If X Axis
changes YZ axis changes. After figuring that out now i can use sin cos
to get the radian angles and times that by radius to get the delta
change in position.... or at least that is what i think. Testing will
prove me right or wrong.
2013-06-05 05:16:41 -04:00
Robert Seifert
10788a58b2 Worked on using sphere cords for orbit calcs (untested) 2013-06-05 03:27:06 -04:00
Robert Seifert
c3684dc952 Added math for Spherical coordinates
ref for math http://en.wikipedia.org/wiki/Spherical_coordinates

Might be adding more math methods later as i need them
2013-06-05 03:03:09 -04:00
Robert Seifert
0fcb2a0a54 File rename and doc edits 2013-06-05 03:00:32 -04:00
Robert Seifert
9f60e32729 repackaging and orbit changes 2013-06-05 02:30:19 -04:00
Robert Seifert
1a4415779c Worked on orbit helper/network
This is going to need a ton of work and love to get right. Right now its
not even going to function.
2013-06-05 01:50:27 -04:00
Robert Seifert
5d9a51f6d4 Fixed odd code change
Some how two numbers got switched causing the entire render to fail. Not
sure how these numbers got changed as i have not messed with them since
i wrote them. As well the code worked before last commit...
2013-06-05 00:59:22 -04:00
Robert Seifert
eaf3138055 Finalized tank render 2013-06-04 22:31:06 -04:00
Robert Seifert
aa75c11daf cleanup and documentation on model 2013-06-04 19:44:38 -04:00
Robert Seifert
48aa0a82fc Fixed corner renders for face
Corner sides on the face were not rendering correctly and is not fixed.
2013-06-04 19:29:52 -04:00
Robert Seifert
7ab1c657f5 added left right tank renders
Still need to fix the top siding when left or right doesn't render for
the face of the tank. As well i need to change the collision box so
player's can float in the mix.
2013-06-04 19:18:11 -04:00
Robert Seifert
0b8822a0d2 updated subs 2013-06-03 23:18:53 -04:00
Robert Seifert
206b4bff65 updated stubs 2013-06-03 23:18:11 -04:00
Robert Seifert
1d146a3617 texture addition 2013-06-03 23:16:43 -04:00
Robert Seifert
59d4ca5e6f Render Adjustment and package change
Package change was actual in the Dark-Lib however it effected the
imports.

As well i adjusted the render of the Tank and still have more to do for
it. Right now it only changes for tanks above it and bellow it.
2013-06-03 23:16:05 -04:00
Robert Seifert
a2d4398419 package change for hydraulic api 2013-06-03 08:34:02 -04:00
Robert Seifert
6cfa463c2b changed balanceCollieveTank to better simulate tanks
Original this just spread out the liquid to all network parts. For the
ContainerNetwork which simulate tanks this fills the bottom tanks first.
2013-06-03 08:32:17 -04:00
Robert Seifert
24ed8116dc Fixed render crash if volume is greater than cap 2013-06-03 08:30:25 -04:00
Robert Seifert
561ecfea74 Almost done with part one of tank render
I have still yet to code the tank merging for the render which will be a
pain since either A) have to move around dozens of liquid block to
render a full rank, or B) render one large block which will take calcing
out the size and pos of the cube... B will also not work with odd
shapped cubes unless multi are used hmm...
2013-06-03 07:53:57 -04:00
Robert Seifert
ccf812758b Added render classes from BC
I'll need to edit these later just so i don't fill like i took code
freely from BC. Even though there license does allow taking code freely
:/
2013-06-03 07:11:14 -04:00
Robert Seifert
097e46a43e Working on new tank render 2013-06-03 07:09:55 -04:00
Robert Seifert
7239fbb58c updated subs 2013-06-03 05:27:41 -04:00
Robert Seifert
ad231f03a5 updated subs 2013-06-03 05:25:53 -04:00
Robert Seifert
260602f2e8 Fixed/Finished Networked Tanks
Still need to do more testing as well get a new render for the tanks,
but so far they seem to work rather nice.
2013-06-03 05:24:56 -04:00
Robert Seifert
dc4e34496e Network corrections
Fixed several issues with the network but there are still more to go.
2013-06-03 04:27:08 -04:00
Robert Seifert
64877994d4 Worked on tank and edits for network 2013-06-03 04:26:18 -04:00
Robert Seifert
5a08ed4b1c Changes for new network code (untested)(Broken)
Most likely i will have to do tons of bug fixes after this. As well the
code for the tank is unfinished so this will not even compile.
2013-06-03 02:24:42 -04:00
Robert Seifert
3de7ab0ca5 Massive Fluid Network changes
Got started on this and didn't stop to better document the changes.
First the man changes are to div out the network code to be more usable
in other way than fluids. As well to make a new network class for the
tanks which are now becoming a more like the pipes. I will later as well
make a mechanical network and a data network for later use.

On top of that there are some helper class that i didn't upload before i
started work. There is nothing too them as they were in the start of
development.
2013-06-03 02:22:29 -04:00
Robert Seifert
ab1d6a3a81 more package changes 2013-06-02 23:53:57 -04:00
Robert Seifert
9f44093d0c package rework and changes
renamed the main package to start with dark like my other mods. As well
split the fluid and mech content up to there own package roots. This
will later lead to them become two downloads... maybe.
2013-06-02 23:49:34 -04:00
Robert Seifert
a7dc361a8e add lang to load path 2013-06-02 03:45:21 -04:00
Robert WC Seifert
4cca8f565a Merge pull request #34 from PancakeCandy/patch-1
Created France Translation
2013-06-02 00:38:05 -07:00
PancakeCandy
a92bef70c7 Created France Translation
Now people from france can use Assembly line in their language!
2013-06-02 09:05:00 +02:00
Robert Seifert
45964b3723 Fixed Tab Name
turns out i mistakenly add the tab name localization to Greater
Securities English translation file
2013-06-01 13:51:50 -04:00
Robert Seifert
b9d17eeb84 ... 2013-06-01 01:52:19 -04:00
Robert Seifert
a7e8785cb8 prop name correction 2013-06-01 01:51:49 -04:00
Robert WC Seifert
e03f6de845 Merge pull request #31 from PancakeCandy/patch-1
Translated Encoder to Codeerder Fix
2013-05-29 12:48:06 -07:00
PancakeCandy
cfd1f82248 Translated Encoder to Codeerder Fix
Another translation
2013-05-29 16:10:17 +03:00