Commit graph

2684 commits

Author SHA1 Message Date
LemADEC
0dbe78e797 Adding OpenComputer support & API cleanup
Adding OpenComputer callbacks
Removed unused scanRay method in Radar API
Updated CloakingDeviceCore API:
- "enable" replaces enableCloakingField, disableCloakingField and
isEnabled
Updated Controller API:
- dim_positive replaces dim_getp and dim_setp
- dim_negative replaces dim_getn and dim_setn
- mode replaces set_mode
- distance replaces set_distance
- direction replaces set_direction
- getAttachedPlayers replaces get_attached_players with string and list
- summon now returns true on sucess instead of null, false on failure
instead of -1
- pos replaces get_x, get_y, get_z
- getEnergyLevel replaces get_energy_level and get_energy_max
- getEnergyRequired replaces get_energy_required
- jump replaces do_jump
- getShipSize replaces get_ship_size
- beaconFrequency replaces set_beacon_frequency
- getOrientation replaces get_dx and get_dz
- coreFrequency replaces set_core_frequency
- isInSpace replaces is_in_space
- isInHyperspace replaces is_in_hyperspace
- targetJumpgate replaces set_target_jumpgate
Renamed setFieldTier to tier in CloakingDeviceCore API
Renamed energy to getEnergyLevel in Lift and ShipScanner APIs
Updated all APIs to return current and max energy from getEnergyLevel
method
Added state to ShipScanner API
2014-10-05 17:46:44 +02:00
LemADEC
e01d4c9d05 Generic computer integration
Propagated generic computer to all tile entities
2014-10-05 14:21:57 +02:00
LemADEC
ad95505a1e Faster computer boot after jump
Boosted initial core detection
Prevented player message spam on invalid ship size
2014-10-05 11:14:01 +02:00
LemADEC
f1b589caed Merge remote-tracking branch 'origin/master' into TDK 2014-10-02 02:14:03 +02:00
LemADEC
3f8f8cb46c Generic computer integration
Refactored event sending for ComputerCraft
Integrated ComputerCraft support in generic class
Warning: OpenComputer is untested
2014-10-02 02:13:34 +02:00
LemADEC
6a4713dc45 Fixed radar ping script
Fixed radar ping script when scanning more than 999 blocks radius
2014-10-02 02:08:37 +02:00
LemADEC
6af07ba4d4 Fixed energy status formating
Removed scientific notation on energy status when right clicking
2014-10-02 02:06:52 +02:00
LemADEC
3944578635 Added overworld unlimited players 2014-09-30 01:01:52 +02:00
LemADEC
ae4a28e610 Merge remote-tracking branch 'origin/master' into TDK 2014-09-29 04:04:41 +02:00
LemADEC
f925800e3c Tentative support for OpenComputers
Added generic wrapper for computers
Updated Laser & LaserCam to support OpenComputers
2014-09-29 04:04:14 +02:00
LemADEC
8872057ce1 Code cleanup 2014-09-29 04:02:36 +02:00
LemADEC
d274db7651 Workaround for CC monitor crashes
Moved cloak packet sender in common handler
Added support for ship scanner to consume all energy (continuation)
2014-09-28 16:56:10 +02:00
LemADEC
ebe583f3c5 Merging jump fixes into ship scanner (partial)
Refactored block placement
Added Ship scanner configuration
Added support for Ship scanner consuming all energy stored
Added jump configuration for deployment speed
2014-09-28 16:19:33 +02:00
LemADEC
7ce537b41f Fixed dimensions save location
Warning: you need to move your existing folders from
WarpDrive/Space to WarpDriveSpace
WarpDrive/HyperSpace to WarpDriveHyperSpace
2014-09-28 14:49:25 +02:00
LemADEC
e2831e8dc1 Mining laser rob fixes
Improved mining laser to tolerate invalid or corrupted blocks instead of
crashing the server
2014-09-22 04:01:54 +02:00
LemADEC
b7526de4e8 Transition planes
Implemented transition planes (only overworld was supported so far)
Fixed atmosphere entry when center in space wasn't on a diagonal
2014-09-22 04:00:06 +02:00
LemADEC
a123ab45f7 Merge remote-tracking branch 'origin/master' into TDK 2014-09-19 02:11:40 +02:00
LemADEC
9e6987c842 Laser lift cleanup
Improved laser lift 'down' to ease movement
Updated laser lift top/bottom textures to reduce flickering
Updated laser lift texture animation to better see the current direction
2014-09-19 02:11:15 +02:00
LemADEC
ce1d4e2beb Merge remote-tracking branch 'origin/master' into TDK 2014-09-19 01:05:15 +02:00
LemADEC
68d4725aba Better laser beam
Improved laser beam to actually start from the block
2014-09-19 01:04:33 +02:00
LemADEC
df594ab0c8 Laser lift fixes
Fixed laser lift support for sign right above or below it
Fixed laser lift still working with only 1 air block below it
Fixed laser lift 'down' moving entity below target
Fixed laser lift not consuming energy
Fixed laser lift moving entities without beam
2014-09-19 01:01:37 +02:00
LemADEC
0f08cc7162 Fixing the laser refactorisation... 2014-09-19 00:12:31 +02:00
LemADEC
96ec9c2eda Merging... 2014-09-18 23:07:35 +02:00
LemADEC
7b99c34054 Merge remote-tracking branch 'origin/master' into TDK
Conflicts:
	src/cr0s/WarpDrive/WarpDrive.java
2014-09-15 12:06:25 +02:00
LemADEC
6940f8e402 Fixed warpcore energy % display 2014-09-15 03:36:28 +02:00
LemADEC
1605f3ec7c Refactored beam packet sender 2014-09-15 03:30:44 +02:00
LemADEC
40086835b1 Laser refactoring & fixes
Fixed laser tile entity properties to be private
Fixed laser accessing world object from CC thread
Updated laserSend event to include beam's frequency and energy
Updated laser beam color to be more varied
Updated laser emitBeam to return true/false
Updated laser camFreq to return null unless it's a Laser+cam block
2014-09-14 17:27:12 +02:00
LemADEC
7b54cc48dd Refactored LaserTargetting packet sender 2014-09-14 17:12:06 +02:00
LemADEC
bca3975ad2 Debug log cleanup
Removed a few debug logs no longer needed
2014-09-14 05:59:52 +02:00
LemADEC
d5db813508 Tentative fix for lasercam 'invalid' camera 2014-09-14 05:59:15 +02:00
LemADEC
848ec406da Laser lift minor tweaks
Updated laser beam to go up when laser lift is moving up
Code cleanup
2014-09-14 05:58:01 +02:00
LemADEC
687ced4225 Better laserSend event
Added bream frequency and energy to laserSend event
2014-09-14 05:56:46 +02:00
LemADEC
a423c6d180 Fix scanner not accepting power 2014-09-14 05:55:18 +02:00
LemADEC
55519c4eb1 Code cleanup 2014-09-11 02:49:15 +02:00
LemADEC
0aaf13be20 Mainframe Robustness fixes 2014-09-11 02:48:56 +02:00
LemADEC
d988bd61a5 Fix mainframe initial boot failing with monitors 2014-09-07 20:52:10 +02:00
LemADEC
5c49207bec Merge remote-tracking branch 'origin/master' into TDK 2014-09-07 20:29:30 +02:00
LemADEC
35e3f04e64 Fixed mainframe script
Fixed warpcore support in mainframe script
Finalized radar map in mainframe script
2014-09-07 20:29:04 +02:00
LemADEC
7689e3b68c Fixed controller script showing ratio instead of % 2014-09-07 18:17:23 +02:00
LemADEC
2f887cd8c5 Reformating 2014-09-07 18:10:38 +02:00
LemADEC
d053d6d0ce Reintegrated experimental blocks (continuated) 2014-09-07 18:08:02 +02:00
LemADEC
cbb42d46d5 Reintegrated experimental blocks 2014-09-07 18:03:16 +02:00
LemADEC
0a7ca1fdd9 Merge remote-tracking branch 'origin/master' into TDK
Conflicts:
	src/cr0s/WarpDrive/WarpDrive.java
2014-09-07 18:01:00 +02:00
LemADEC
95cbc782a4 Code cleanup
Removing dead code (remains from untested features or not wanted in main
branch)
2014-09-07 17:47:13 +02:00
LemADEC
3d1125175b Merge pull request #10 from Cr0s/beta
preparing next pull request
2014-09-07 17:34:47 +02:00
LemADEC
91f90f0526 Removed copy-paste mistake from mcmod.info 2014-09-07 17:26:08 +02:00
LemADEC
aadc23605b Merge remote-tracking branch 'origin/master' into TDK 2014-09-07 17:20:18 +02:00
LemADEC
8696fae011 Mainframe wip
Added dedicated monitor for radar in mainframe script
Integrated radar into mainframe
Fixed confirmation question blocking events handling in mainframe script
Refactored mainframe script
2014-09-07 17:19:20 +02:00
LemADEC
492fb6f18e Fixed protocol controller with invalid texture
Fixed protocol controller APIs to check parameters range
Updated protocol controller API to return current values instead of -1
when out of range (making easier LUA scripts)
2014-09-07 17:12:04 +02:00
LemADEC
c81e6ce89c Radar API fix
Fixed radar getResultsCountto return -1 while scanning so we can
actually poll for scan progression
2014-09-07 17:09:27 +02:00