Removed ugly switch statement
Merge branch 'master' of https://github.com/alphabernd/libdcled