Commit Graph
100 Commits
Author SHA1 Message Date
Tiger Wang 3c2e7f1aad Fixed Visual Studio Files 2013-11-24 17:30:42 +00:00
Tiger Wang 78f45e0bd1 Fixed piston sound effect (when unable to extend) 2013-11-19 20:40:07 +00:00
Tiger Wang f06d686f63 Possible compile fix
Also removed unneeded variables.
2013-11-19 07:49:02 +00:00
Tiger Wang bc1e236d54 Redstone Megacommit [SEE DESC]
+ Updated BlockID - look for yourself
* Improved button, repeater, lever, and comparator code ->
simplification and splitting of some stuff from the redstone simulator
file
* Fixed buttons not breaking when in an invalid game state
* Fixed QueueSetBlock -> improved (AGAIN) piston code
+ Rewrote redstone simulator

Fixes: #57, #58, #205, and part of #131.
Fixes FS issues: 281, 116, and 102
2013-11-18 22:30:34 +00:00
Tiger Wang 6ff6929ca6 General fixes [SEE DESC]
* Fixed faulty block face enumeration and functions
+ Added fireworks and exp bottle spawning
* Fixed arrows again
2013-11-16 20:58:17 +00:00
Tiger Wang 7a0d2033b6 Switchified If, ElseIf statement
Also updated comments
2013-11-15 22:47:57 +00:00
Tiger Wang 15c330664a Fixed arrow bugs
* Fixed arrows hitting blocks wrong
2013-11-14 22:39:14 +00:00
Tiger Wang 347162a82f Bundled fixes [SEE DESC]
* BoundingBox now returns FACE_NONE
+ Arrows can be picked up
* Arrows dug up resume physics simulations
* Added sound effects for bows, lava to stone, and arrows
* Fixed SoundParticleEffect on <1.7 protocols
2013-11-12 21:43:20 +00:00
Tiger Wang f713780db3 Bundled fixes [SEE DESC]
* Fixed compiler warning in Monster.cpp
* Future proofed particle effects
* Improved pickups, made less jittery
2013-11-10 22:20:25 +00:00
Tiger Wang 71abbb2f56 Bundled fixes [SEE DESC]
* Fixed pickups spawning in an incorrect position from a JukeBox
* Pickups make a popping sound in Prtcl1.7
* Arrows make a *what sort of sound does an arrow make anyway‽* when
hitting a block, and a popping sound when fired
* Mobs again have metadata
* Fixed Prtcl1.7 not using valid JSON to kick a client
* Minecarts and arrows again have metadata
2013-11-10 20:48:12 +00:00
Tiger Wang 41451100c1 Added hardcore client effect
Also fixed multiple world comments issue.
2013-11-07 22:33:46 +00:00
Tiger Wang 21d835b594 Fix for entity spawning in general 2013-11-07 20:58:47 +00:00
Tiger Wang 4722a90a0b Possible fix for 1.7 pickup spawning 2013-11-07 18:49:48 +00:00
Tiger Wang a263dc8e83 Implemented suggestions
- Reverted changes to WebAdmin.cpp IPv6 ports and Server.cpp server
description
+ Added default value explicitly for HardCore value
* Split PluginManager plugin defaults write to new function
- Removed a commented block from BlockTorch and...
+ Added g_BlockIsTorchPlaceable to Defines.h
2013-11-05 21:15:39 +00:00
Tiger Wang 0c2c803a16 Removed settings/webadmin.example.ini files
Additionally, added some default plugins to autogeneration. Also moved
nbt examples to docs/NBT Examples.
2013-11-04 22:06:23 +00:00
Tiger Wang e832736e0b Autogeneration of settings.ini and webadmin.ini
Fixes issue #75
2013-11-04 21:51:24 +00:00
Tiger Wang 5bd9eb6a1f Flipped some variables in Portals
To make them work on the X axis.
2013-11-02 19:04:38 +00:00
Tiger Wang f38375a2ec Fixed bow damage in creative
Also reverted indenting change
2013-11-02 16:01:40 +00:00
Tiger Wang 96cd7d65a3 Fixed dropspensing speed and position 2013-11-02 14:09:07 +00:00
Tiger Wang 77b3db7e25 Multiple fixes
* Fixed #282
* Fixed bow not taking damage
* Enhanced Player.cpp code
2013-11-02 14:08:00 +00:00
Tiger Wang b731dd0635 Split border finder into separate function 2013-11-02 13:50:30 +00:00
Tiger Wang 585f01c3f6 Implement suggestions
- Removed unneeded parameter
* Changed 0 -  1 to -1
2013-11-02 12:29:26 +00:00
Tiger Wang 72ec10f26d Readded BlockPortal.h (portals) 2013-11-02 00:50:03 +00:00
Tiger Wang 7913a2dcdb Fixed compile error (portals)
WITH A FULL REFORK
2013-11-02 00:44:09 +00:00
Tiger Wang 4d2c810c64 Pickups now have collection delay when vomited
Implements FS#394.
2013-10-24 00:30:20 +01:00
Tiger Wang 442c428f5b TNT Spawns Pickups
Fixes FS#397.
2013-10-23 23:40:59 +01:00
Tiger Wang cb9ccb36ac Merge remote-tracking branch 'upstream/master' 2013-10-15 21:14:47 +01:00
Tiger Wang 9faf4ef178 Merge submodule changes 2013-10-13 17:36:57 +01:00
Tiger Wang d8d2f35e9d Eight round of fixes
* Changed IsA() to *long if statement*
- Removed deprecated values in Entity.h - to blazes with the plugins!
* Renamed villager type enumerations to be LESS SHOUTY and more vt-y
+ Use vtMax for World.cpp testificate spawning
2013-10-13 12:47:55 +01:00
Tiger Wang d0acb37aed Seventh round of fixes
* Fixed arrows not critical-effecting because they were in MOBS! (derp)
* Used cMonster::mtXX as per xoft's suggestions
2013-10-12 23:05:15 +01:00
Tiger Wang 327abdd10d Sixth round of fixes
* Made horse rearing time fixed instead of random
2013-10-11 21:33:56 +01:00
Tiger Wang e2aaf202ab Fifth round of fixes
* Enumerated Villager spawning
2013-10-11 20:57:22 +01:00
Tiger Wang ee2df34d03 Fourth round of fixes
* Switchified WriteMobMetadata
* Renamed Horse functions to be better
2013-10-11 01:00:16 +01:00
Tiger Wang d7b2c534fd Third round of fixes
* Split WriteMetadata into three functions for common, entity, and mob
* Edited a few mob sizes to Vanilla values
2013-10-11 00:41:54 +01:00
Tiger Wang fe6fa23a97 Second round of fixes
* Implemented suggestions
2013-10-09 21:02:59 +01:00
Tiger Wang 7401fc000d Initial round of fixes
* Fixed intentional misspelling of baby! :D
* Better chested horse bool name
* Fixed some weird continuity issues with my recent changes not being
pushed up initially
* Fixed derpy hexadecimal values
2013-10-08 22:21:55 +01:00
Tiger Wang 110c633c5f Some additional changes
* Revert to Core:Call()
- Removed variable
2013-10-08 20:53:37 +01:00
Tiger Wang 5db6213f34 Initial Metadata Commit [SEE DESC]
+ Pigs, Minecarts, Sheep, Skeletons, Slimes, Villagers, Wolves, and
Horses have metadata
+ Base code on taming wolves, shearing sheep, and taming horses
+ Sheep and horses have different colours when spawned
2013-10-08 19:20:49 +01:00
Tiger Wang 914a318b8e Made MagicCarpet more magical! 2013-10-04 22:22:01 +01:00
Tiger Wang 55e6963107 Fixed discrepancy 2013-10-02 22:05:26 +01:00
Tiger Wang a171757f1a MagicCarpet Fixes [SEE DESC]
+ Version 2!
* Fixed loading plugin
+ Now uses Core messaging functions
2013-10-02 22:01:01 +01:00
Tiger Wang 20902e125c Removed unneeded statement
Also LOGINFO'd "Starting WebAdmin"
2013-09-30 21:17:52 +01:00
Tiger Wang c4750ef003 Fixed issues 2013-09-30 21:15:48 +01:00
Tiger Wang ab34da78e7 Fixed a fire simulator bug
Fire now doesn't stay when it isn't on a flammable block.

Fixes the "fire creates chandeliers" bug in report #131
2013-09-29 23:39:58 +01:00
Tiger Wang 9c7cfd29ad Improvements to startup timer
As suggested by xoft. Also reverted changes of displayed protocol
version.
2013-09-29 21:37:50 +01:00
Tiger Wang ebae946f1c Updated README
See for yourself :)
2013-09-28 20:41:26 +01:00
Tiger Wang cc5c56d545 Minor startup streamlining
* LOGD'd unneeded debugging messages, streamlining startup
+ Added a basic timer for how long in seconds it took to start up
+ Added two checks for plural (plugin/s, second/s)
2013-09-28 20:36:01 +01:00
Tiger Wang 21b23ff1e7 Merge pull request #2 from tigerw/bugfixes
Bugfixes
2013-09-24 02:31:57 -07:00
Tiger Wang dad3648102 Removed some unneeded includes 2013-09-22 19:48:59 +01:00
Tiger Wang 0fcbaca0ed Changed a comment
Was a remnant of my TypeType minecarts :D
2013-09-22 19:35:35 +01:00
Tiger Wang a8a45a4afc Added button placement handler
Also removed an unneeded variable in the stair handler
2013-09-22 19:34:42 +01:00
Tiger Wang 5c22a9f5f0 Removed OnDigging for Redstone devices 2013-09-22 19:16:56 +01:00
Tiger Wang 5d2831ddb9 Increase piston delay to a second
Another fix for #57
2013-09-22 18:19:51 +01:00
Tiger Wang 9d46fa6ae9 Changed to SetBlockMeta 2013-09-22 18:18:04 +01:00
Tiger Wang 0c58adb2b4 Fixed pickup block spawning 2013-09-19 21:46:39 +01:00
Tiger Wang 57dfdd3205 Implemented xoft's suggestions 2013-09-19 21:21:56 +01:00
Tiger Wang ecf40e2893 Fixed new monster aggressiveness issue 2013-09-19 21:20:21 +01:00
Tiger Wang 198ac1892c Fixed pickups 2013-09-18 22:20:08 +01:00
Tiger Wang 3e698d7b72 Added moar mobs!
+ Added dragons
+ Added golems
+ Added giants
+ Added horses
+ Added some missing items
+ Added missing spawn egg metas
2013-09-18 22:17:43 +01:00
Tiger Wang 846f1223f4 Implemented redstone comparators
They can be placed and toggled, but stills needs proper redstone support
2013-09-18 18:27:21 +01:00
Tiger Wang 480991d1ac Multiple fixes [SEE DESC]
- Removed two random block handling files in the item handling section
that didn't do anything. (One was an attempt at making slabs work, but
failed to realise that the coords would have to be the block CLICKED,
and another was just a random empty file for handling wooden planks.)
* Fixed placing repeater blocks not directioning properly
* Fixed wood directions breaking plank metadata
2013-09-18 00:01:20 +01:00
Tiger Wang ab696c37c3 Snow now supports meta values
Fixes #98
2013-09-17 21:22:26 +01:00
Tiger Wang a3a3a6ebe6 Added wood directions
+ Added wood directions
2013-09-17 20:59:36 +01:00
Tiger Wang f2b7b220a4 Fixed undead burning
(c'mon xoft, test ya code :P)
2013-09-17 20:57:35 +01:00
Tiger Wang 558cc1bf26 Merge pull request #1 from tigerw/bugfixes
Bugfixes branch merge
2013-09-17 12:19:12 -07:00
Tiger Wang efe520727d Fixed derpy comparison 2013-09-16 21:07:25 +01:00
Tiger Wang 9711fd7970 Fixed friction for entities
Due to a misplaced else, other entities weren't getting friction
2013-09-16 19:19:25 +01:00
Tiger Wang 506a693339 Torch fixes [SEE DESC]
* Torches snap to neighbour when placed on bottom
* CanBeAt takes into account cobblestone walls
+ Used more BLOCK_FACEs instead of numbers
2013-09-16 19:18:36 +01:00
Tiger Wang 526c769b6a Possible Linux compile fix 2013-09-15 16:42:23 +01:00
Tiger Wang 91a13c8e87 Fixed pistons pulling un-pullables 2013-09-15 16:40:09 +01:00
Tiger Wang 30b8300ad3 Mycelium now has correct placement sound 2013-09-15 15:56:02 +01:00
Tiger Wang fc3d5ff5a6 Torches work properly
Also fixed a naming inconsistency concerning quartz stairs.
2013-09-15 15:55:35 +01:00
Tiger Wang a8cb2bd90e Removed leftover CanBePlacedOnSide 2013-09-15 12:20:13 +01:00
Tiger Wang 411f0b5fa4 Removed leftover DoesAllowBlockOnTop 2013-09-15 12:18:14 +01:00
Tiger Wang 11bbfbc98a Added break 2013-09-15 12:15:27 +01:00
Tiger Wang 4cdf776759 Removed torch top placement prevention 2013-09-13 21:08:36 +01:00
Tiger Wang 1cbb38fb02 Removed place on top and side preventions 2013-09-13 20:17:39 +01:00
Tiger Wang 47119b3027 Even better pickup physics 2013-09-13 19:54:50 +01:00
Tiger Wang 22b8f3a2e0 Even more fixes [SEE DESC]
* Fixed minecarts breaking completely due to stuff
* Rails are now non solid again
+ Added IsRail inline bool
- Removed Herobrine
2013-09-12 23:57:02 +01:00
Tiger Wang a39564a46a Fixed water speed issues 2013-09-12 23:31:26 +01:00
Tiger Wang 8163ca9549 Implemented xoft's suggestions again 2013-09-12 10:25:13 +01:00
Tiger Wang a1d5d25525 Implemented xoft's suggestions
I totally didn't copy this from the fire simulator...

(I did, but I changed it quite a bit :P)
2013-09-11 22:10:29 +01:00
Tiger Wang 3a1def2c90 More changes [SEE DESC]
* Improved (again) pumpkin direction handling
* Fixed spacing in Entity.cpp
2013-09-11 20:07:51 +01:00
Tiger Wang 8ef91817e9 Pumpkins 2013-09-11 19:02:09 +01:00
Tiger Wang e9321bc715 Better player gamemode detection 2013-09-11 18:56:03 +01:00
Tiger Wang 277b26b4c2 Fixed two bugs 2013-09-11 18:51:27 +01:00
Tiger Wang cb167f78e3 Added player void damage 2013-09-10 23:02:35 +01:00
Tiger Wang c8f8597774 Added void damage 2013-09-10 23:01:02 +01:00
Tiger Wang 010bc94a34 Entities now maintain speed outside of world 2013-09-10 22:51:07 +01:00
Tiger Wang 3d7813fdb2 Pumpkin and JackOLantern support
Fixes #99
2013-09-10 22:09:31 +01:00
Tiger Wang e0c649dcc4 Fixed DropSpensers not rotating properly 2013-09-09 19:36:53 +01:00
Tiger Wang 30ac3f5838 Added a few changes [SEE DESC]
* Revised pickup comments
* SlotArea pickup tossing now reflects Player.cpp
* Removed unneeded ItemShears comment (was working already)
* Sand and gravel pickups spawn with correct speed
2013-09-09 19:28:50 +01:00
Tiger Wang 57c17a02db A few Minecart fixes
* Removed unneeded flatrail setpos
* Fixed health checking
2013-09-09 18:55:42 +01:00
Tiger Wang 50e24fb75f Fixed a bunch of stuff
* Fixed compilation
* Made it less obvious I COPIED ALL THE CODE from Minecarts
* Fixed alignment spaces to make xoft happy
2013-09-08 16:56:16 +01:00
Tiger Wang c789a8ddf5 Initial boat support
+ Boats are saved
+ Boats have physics
+ Boats spawn
2013-09-08 00:14:57 +01:00
Tiger Wang 35efe9c727 Fixed formatting and removed gravity thing 2013-09-07 21:42:33 +01:00
Tiger Wang 178b5884fc Further physics improvements [SEE DESC]
This was mainly focused on pickups, but it works for other things too.

* Entities no longer clip through blocks positive-vertically (this fixes
pickup issues as well).
* Entities lie flat against a block when they hit it.
* Reduced entity (mainly pickup) block clipping in non vertical
directions.
2013-09-05 21:41:47 +01:00
Tiger Wang ad89a0d460 Pickups spawn with correct speed and position
Added a comment-space as well.
2013-09-04 18:26:00 +01:00
Tiger Wang 6059c44dcb Players toss a little further 2013-09-04 18:15:20 +01:00
Tiger Wang fd35f6d707 Pickups are a little less jittery
They also spawn closer to player mouth.
2013-09-04 18:13:46 +01:00