555 Commits

Author SHA1 Message Date
Florian Nücke
cc1c262fa0 organized imports 2013-12-24 14:07:37 +01:00
Florian Nücke
b78bdef513 no longer using client side method for cable neighbor checking on server, fixes #23 2013-12-24 13:12:59 +01:00
Florian Nücke
22bcc5756e moved example whitelist entries to comment so we default to using the blacklist as suggested in #19; better message when http api fails parsing binary data (see #21) 2013-12-24 12:58:47 +01:00
Florian Nücke
28c504d342 added sneaky parameter to robot.swing, as discussed in #13 2013-12-23 19:17:01 +01:00
Florian Nücke
c0adb97603 making sure robot upgrade is properly sent to client on load in case TE is sent before first update (player triggered load) by sending it again in the first update 2013-12-23 14:25:08 +01:00
Florian Nücke
73999ff939 avoiding errors for upgrades that don't have a component and possibly timing issues (sending to client before it was initialized) 2013-12-22 22:18:51 +01:00
Florian Nücke
c260ac0c7e bump version number to 1.0.3; forgot to push before drafting the Github release - this is the actual version of the released ZIP file. 2013-12-21 20:18:39 +01:00
Florian Nücke
31cb37b8e8 added rendering for crafting upgrade v1.0.3 2013-12-21 19:55:57 +01:00
Florian Nücke
8a6b1e7cb9 sending fewer syncs to client from generator upgrade 2013-12-21 19:16:08 +01:00
Florian Nücke
5dae4cd20e added callback to robot context that allows forcing an upgrade to be saved and resent to clients, to allow upgrades to manually synchronize their data with clients for state specific rendering; using this to transmit generator state (running or not) and show a different texture accordingly; fixed a bug where remaining runtime wasn't saved for generators when no more items were in their internal inventory; implementing contexts in their respective tile entities, too, to allow external components to refer to their owners via the context interfaces 2013-12-21 19:06:52 +01:00
Florian Nücke
26b5d0543e synchronizing the upgrade installed on robots to clients and checking it in renderer, if present use the item's item renderer to render it in its "equipped" state, which for robot upgrades should take of rendering the upgrade appropriately on its robot; basic generator renderer, still needs syncing of whether its currently active or not to show the appropriate texture 2013-12-21 17:36:21 +01:00
Florian Nücke
60431cf4e0 fixed copy-paste error (grrr) that made wireless broadcasts skip the first passed parameter, fixes #16 2013-12-20 21:08:04 +01:00
Florian Nücke
a10d4fdce5 updated typesafe config (I should probably make this a sub-repo eventually) 2013-12-20 20:26:58 +01:00
Florian Nücke
3a87ecd6ce fixed default config failing to load on some systems (reported on Minecraft Forums, could not reproduce but this change reportedly did the trick) 2013-12-20 19:53:57 +01:00
Florian Nücke
eb28209f1b fixed invalid placement orientations for computer case and disk drive introduced in 30d9cc8 (why do I always find this stuff shortly *after* pushing a release?) 2013-12-20 16:19:58 +01:00
Florian Nücke
cb647e3f6e bump version for 1.0.2 hotfix v1.0.2 2013-12-20 15:03:06 +01:00
Florian Nücke
596a8da0e8 manually removing compatibility entries for 5.1 if present, should fix #14 (may break one last time if the compat entries were used while saving) 2013-12-20 12:32:10 +01:00
Florian Nücke
30d9cc8b0f explicitly marked SidedEnvironment.canConnect as client side; changed treatment of forge's Block.validRotations implementation to return what it actually should and adjusted a couple of things accordingly; no longer allowing to rotate keyboard since that could lead to invalid facings with no solid block beneath them; allowing to place keyboards anywhere, adding some special rules where to check for screens (in front of them, and when on the wall below them) to allow input on 2013-12-19 22:31:11 +01:00
Florian Nücke
07dee573c5 native libraries for (intel) Mac OS 2013-12-19 16:44:01 +01:00
Florian Nücke
9c465f02d8 fixed robots also being added to outer network, fixes #12, introduced in 407d251
fixed robots total buffer size not initializing correctly
2013-12-19 13:40:05 +01:00
Florian Nücke
9fdef1f4a8 bumping version number for 1.0.1 release v1.0.1 2013-12-18 17:22:58 +01:00
Florian Nücke
718077abaa also fixed AltGr in term.read, fixing special character input in shell and Lua interpreter 2013-12-18 00:15:10 +01:00
Florian Nücke
add557c914 overlay for up/down facing screens indicating their orientation to make it less confusing why screens won't connect 2013-12-17 23:57:36 +01:00
Johannes Lohrer
f9e6381635 fixed components not updated when inserted 2013-12-17 21:05:52 +01:00
Florian Nücke
7cd405361b centering text when setting lower resolution in robot; clearing screen when changing resolution to avoid dirty buffer space and cursor going out of scope 2013-12-17 14:01:56 +01:00
Florian Nücke
9a0ebf1bae casting some black regex magic to format the render output of the typesafe config to make it feasible to write it back to file. the order still gets jumbled, but whatever. 2013-12-17 13:38:02 +01:00
Florian Nücke
ea05e5a4d6 fixed right alt for certain keyboard layouts not working as a modifier to input characters (e.g. the German layout, where it's needed for a couple of chars mainly in the numbers row), since it's actually emitting Alt+Ctrl, and when ctrl was pressed everything was treated like a key-combo; not resending control keys that are usually held down, to avoid packet spam (ctrl, alt, shift, meta) 2013-12-16 21:32:31 +01:00
Florian Nücke
f72ade50d9 added Chinese translation to language list in pack.mcmeta 2013-12-16 18:44:38 +01:00
Florian Nücke
6bea879857 saving charger inversion state 2013-12-16 17:43:32 +01:00
Florian Nücke
8c14b0f637 chargers now indicate whether they're on or off by showing a different texture; ability to toggle the way chargers interpret signals using wrenches (inverse: on when no signal, off when max signal); checking if player holds a wrench when activating screens and computer cases; using BuildCraft API entry to check for availability instead of BuildCraft|Energy, to allow working with BC compatible systems even if BC is not available 2013-12-16 17:39:09 +01:00
lordjoda
5a617f5ab6 Merge pull request #1 from crafteverywhere/patch-1
Create zh_CN.lang
2013-12-16 00:23:05 -08:00
crafteverywhere
739480d274 Create zh_CN.lang 2013-12-16 15:51:44 +08:00
Florian Nücke
9ab4c5c6e0 more direct way of checking whether the game is paused (check server type, if it's not dedicated check if paused, no more timer workarounds); counting sleeps in ticks now, since that was the granularity anyway and this isn't influenced by game pauses 2013-12-15 16:18:16 +01:00
Florian Nücke
f93fc78a94 cp and mv programs will now accept a directory as the target location and append the original file name automatically in that case 2013-12-14 18:44:12 +01:00
Florian Nücke
d395db6d7c corrected comment on screen power use in config 2013-12-14 18:04:37 +01:00
Florian Nücke
88475bd4ca computer case as creative tab icon instead of the adapter block 2013-12-14 15:02:22 +01:00
Florian Nücke
4e388f2448 removed deprecated comment 2013-12-14 14:56:55 +01:00
Florian Nücke
9450a451b8 corrected some occurrences of "visibility" to "reachability" in component jdoc 2013-12-14 14:55:37 +01:00
Florian Nücke
fc72fe0d6d typos in api jdoc 2013-12-14 14:50:46 +01:00
Florian Nücke
e3d1156c85 minor adjustments to api package doc v1.0.0 2013-12-14 13:02:38 +01:00
Florian Nücke
b08f08d4ff cables no longer visually connect to robots 2013-12-13 16:07:46 +01:00
Florian Nücke
f1c94c29d3 fixed doc in config (user api stuff moved from os to computer) 2013-12-13 14:41:21 +01:00
Johannes Lohrer
4355252751 test for github 2013-12-13 13:58:07 +01:00
Florian Nücke
97b043efa7 fixed os detection for dedicated servers (if lwjgl isn't available to provide that information) 2013-12-13 13:15:23 +01:00
Florian Nücke
966b2e7f6e more stable signal pushing for carriage component; bump version for incoming first release 2013-12-13 12:43:58 +01:00
Florian Nücke
8d7d7ad93c Merge branch 'master' of cil.li:oc 2013-12-13 12:41:44 +01:00
Florian Nücke
d7c3513b23 render fixes under linux 2013-12-13 12:41:23 +01:00
Florian Nücke
0b1f4464d9 mouse scroll event for tier two and three screens and supporting it in the editor 2013-12-13 09:07:07 +01:00
Florian Nücke
cea0875795 renamed click signal to touch (since there are no mice in the mod, so this fits better with the idea of touch screens); naming additional touch signals drag now, to make that clearer 2013-12-13 08:21:16 +01:00
Florian Nücke
e921693a27 not swapping when asked to only move a partial stack in robot.transferTo 2013-12-12 20:58:48 +01:00