Commit Graph
100 Commits
Author SHA1 Message Date
Flamefire 7188208b6b Add documentation 2014-10-30 19:21:28 +01:00
Flamefire a318ce12fa Replace remaining usages of CXmlSerializer
(Old theme loading remaining)
2014-10-30 17:54:59 +01:00
Flamefire 12e48d0446 Split serializer/deserializer 2014-10-30 16:49:14 +01:00
Flamefire 3928fee041 Remove old CXmlDeserializer class 2014-10-30 16:35:07 +01:00
Flamefire 0c5dcd9c74 More options to serialize dictionaries 2014-10-30 16:32:39 +01:00
Flamefire 61a0d4fdf1 Serialize Profiles
All writings now done through new serializer
2014-10-29 01:29:02 +01:00
Flamefire f563bae495 Allow unordered xml nodes, Ignore *Specified fields, Convert byte[] to base64 2014-10-29 01:27:48 +01:00
Flamefire 93a415205e Remove Profiles.FileName and use FilePath correctly 2014-10-27 20:02:06 +01:00
Flamefire af88bb2161 Serialize properties 2014-10-27 19:44:23 +01:00
Flamefire 1698c1b027 Serialize playlists 2014-10-27 18:40:47 +01:00
Flamefire 206a6cda35 Cleanup to remove warnings 2014-10-27 18:04:23 +01:00
Flamefire f9e85d8168 Add unit test for serializer 2014-10-27 17:54:31 +01:00
Flamefire e982d7ee6f Serialize to/from string 2014-10-27 17:51:06 +01:00
Flamefire acaf4eadb2 Serialize Themes 2014-10-27 11:10:29 +01:00
Flamefire 092f8df8f5 Put a constraint on fade time 2014-10-27 11:10:15 +01:00
Flamefire 6f873c9785 Include Dictionaries in serializer 2014-10-27 11:09:41 +01:00
Flamefire ebe531e5eb Fix wrong numberformat 2014-10-27 11:08:43 +01:00
Flamefire 7ce9a10126 Make config serializable 2014-10-26 14:03:12 +01:00
Flamefire 99b7989c48 Make Serializer non-static to allow other underlying classes (e.g. for linux)
Allow also arrays and comments
2014-10-26 14:02:48 +01:00
Flamefire 527841b940 Implement serialization 2014-10-25 13:42:46 +02:00
Flamefire 5e789d27a6 Replace Tabs with spaces 2014-10-25 13:42:14 +02:00
Flamefire 4904144ccb Fix indents of /Text tags 2014-10-25 13:21:29 +02:00
Flamefire 3ff7540693 Rename class 2014-10-25 12:13:58 +02:00
Flamefire 9aa9ff9291 Implement caching and extension methods 2014-10-25 00:45:34 +02:00
Flamefire 2452306e6c Add benchmark 2014-10-25 00:37:09 +02:00
Flamefire b044efe50e Add normalized attribute
Allow empty embedded lists
2014-10-24 23:46:45 +02:00
Flamefire c3affed9b1 Fix handling of nullables
Improve error handling
2014-10-24 23:08:15 +02:00
Flamefire d7d6cba5ae Remove enabled attribute from reflection 2014-10-24 23:07:56 +02:00
Flamefire 8ed9f56d30 Make SelText a nullable 2014-10-24 23:00:29 +02:00
Flamefire eca0dd68ca Make SReflection a nullable 2014-10-24 22:54:11 +02:00
Flamefire ad3f01aded Refactoring and fixes for some special cases (mostly lists) 2014-10-24 22:48:47 +02:00
Flamefire 8dda647619 Move Tag 2014-10-24 22:47:54 +02:00
Flamefire dfc4a2c1cc Implement new class for deserialization 2014-10-24 13:58:59 +02:00
Flamefire 31a9ac6afa Change struct of cover file 2014-10-24 13:52:18 +02:00
Flamefire 6001f2f47d Fix exception on shutdown 2014-10-24 13:51:29 +02:00
Flamefire 8ac2ab9a03 Use attributes 2014-10-23 17:30:56 +02:00
Flamefire e01bd5da81 Remove not required covers 2014-10-23 17:14:49 +02:00
Flamefire 8ae1ff3e57 Move enum to enums 2014-10-23 17:06:44 +02:00
Flamefire fe07a2f926 Generate Covers for songs 2014-10-23 17:05:57 +02:00
Flamefire 0a48c6b74b Rename CoverGenerator 2014-10-23 17:05:42 +02:00
Flamefire a51e7c5698 Rename Lyric.SelColor to Lyric.ProcessedColor 2014-10-23 00:48:52 +02:00
Flamefire 10c456cbff Unify name of selected color to SelColor 2014-10-23 00:39:57 +02:00
Flamefire 714b28294f Remove unnecessary tags from themes 2014-10-23 00:30:44 +02:00
Flamefire 2f99cd2560 Make CSingNotes also implement Draw()
Also a bit refactoring
2014-10-22 22:00:25 +02:00
Flamefire 6bf8a5d64c Draw highlighted element 2014-10-22 13:49:41 +02:00
Flamefire 67d081d1c1 Draw background like all other elements
Few fixes
2014-10-22 13:47:26 +02:00
Flamefire 8c3a50c18f More improvements for objectinteractions
Also removes highlight textures and colors
2014-10-22 13:46:34 +02:00
Flamefire d910b944ea Add error check on prescan of gstreamer audio 2014-10-19 18:51:39 +02:00
Flamefire d208f9d7b9 Reformatting
Also adds license headers
2014-10-19 18:51:14 +02:00
Flamefire 4c7013836b Move non-drawing stuff out of Draw methods 2014-10-19 18:37:16 +02:00
Flamefire 432ff4f4f3 Use basic Draw method in ScreenCredits and fix error when shown multiple times 2014-10-19 18:18:50 +02:00
Flamefire 60962e382b Deny changing anything by mouse in songmenu if the options dialog is shown 2014-10-19 17:40:57 +02:00
Flamefire e7d1febe4b Fix Drag&Drop 2014-10-19 17:32:03 +02:00
Flamefire ae7a7fd390 Implement a common Interface for all MenuElements
Also remove CSongMenu and replace it with a factory class
2014-10-19 17:17:39 +02:00
Flamefire 9479f3b3ff Re-add staticScore 2014-10-19 13:32:32 +02:00
Flamefire 63fc406735 More unification of menuelements and fix for screensing theme 2014-10-18 20:46:51 +02:00
Flamefire 1b4f3ced7d Fix theme issues 2014-10-18 18:46:23 +02:00
Flamefire b07d31f697 Unify object interactions 2014-10-18 18:46:13 +02:00
Flamefire d8cce13211 Rename LoadTextures to LoadSkin
(Its also Colors, not only textures!)
2014-10-18 10:42:35 +02:00
Flamefire 9a699f4cb5 Remove PlayerNDimM 2014-10-17 00:17:49 +02:00
Flamefire 38a19b6adb Allow incomplete colors 2014-10-16 23:57:23 +02:00
Flamefire 13fa20a517 Cancel auto cover creation on shutdown 2014-10-16 23:55:55 +02:00
Flamefire 8109d77ab1 Fix wrong theme stuff 2014-10-16 23:47:52 +02:00
Flamefire 3f76d039b6 Change color representation
Allow missing ARGB values (defaults to 1)
Allow Name+ARGB to easily overwrite some values
2014-10-16 22:40:18 +02:00
Flamefire 87f3271046 Remove copy constructors for structs 2014-10-16 21:38:22 +02:00
Flamefire e04480171e Merge branch 'develop' of git://github.com/flokuep/Vocaluxe into develop 2014-10-16 21:28:14 +02:00
Flamefire 86fb73ca48 Cleanup not required XML attributes 2014-10-16 21:27:09 +02:00
Flamefire f01005ea60 Add changelog for skinsystem 2014-10-16 21:05:31 +02:00
Flamefire b8bd9bf87b Fix exception on shutdown
Improve error handling during shutdown
2014-10-16 19:08:20 +02:00
Flamefire 2371eb4344 Refactor theme system 2014-10-16 19:00:41 +02:00
Flamefire c45b18d133 Fix missing avatar 2014-10-15 18:05:50 +02:00
Flamefire 98601bd7b1 Partially revert commit and fix wrong partymode table for good 2014-10-15 17:57:15 +02:00
Flamefire b988d5f0fe Remove invisible skin 2014-10-15 17:52:03 +02:00
Flamefire aa0579a4f1 Make partymodes reload their themes
Move PartyModeIds into Partymodes
Fix bug where wrong text size is used (CalculatedFont is now used)
Fix bug where text of the main table in partymodes is displayed wrong
2014-10-15 17:25:37 +02:00
Flamefire 5d28b19066 Add partymode path as constructor param 2014-10-15 15:43:48 +02:00
Flamefire e119e46c5a Improve partymode loading (return bool instead of incomplete PM) 2014-10-15 15:32:16 +02:00
Flamefire c1866c0ad5 Add checking for required elements 2014-10-10 02:03:07 +02:00
Flamefire 4efd670747 Move and Rename reading of SColorF 2014-10-09 23:27:32 +02:00
Flamefire a2720c2108 Rename Partymode themes to fit new default style 2014-10-08 22:47:48 +02:00
Flamefire b7ca304322 Fix Color description in Theme
Fix typo
Allow loading themes from file multiple times (e.g. for party modes)
2014-10-08 22:39:48 +02:00
Flamefire ae8a3c61d5 Fix disposed exception on disposing a texture 2014-10-08 22:29:22 +02:00
Flamefire defb2ca6c7 Rewrite Theme Engine 2014-10-08 22:29:02 +02:00
Flamefire 9e5011374f Rename CTheme to CThemes 2014-10-05 17:27:45 +02:00
Flamefire 355d7b4b5f Merge branch 'develop' into Better_Graphics_Handling
Conflicts:
	VocaluxeLib/Menu/CNameSelection.cs
	VocaluxeLib/Menu/CPlaylist.cs
	VocaluxeLib/Menu/CText.cs
	VocaluxeLib/Menu/SongMenu/CSongMenuFramework.cs
	VocaluxeLib/Structs.cs
	VocaluxeLib/VocaluxeLib.csproj
	VocaluxeLib/Xml/CXMLReader.cs
2014-10-05 15:09:52 +02:00
Flamefire 6a3bf7b2c0 Introduce CVideoStream for easier video handling (already includes a texture, important for common usage of streams) 2014-10-05 14:20:57 +02:00
Flamefire 89e528c2a6 Factor out CSkin class
Replace usages of GetColor and remove GetColor(..., skinIndex,...)
2014-10-05 13:36:11 +02:00
Flamefire 1c884f3acb Rename Unload to Close to match Init-Close pattern 2014-10-04 11:17:56 +02:00
Flamefire 31863a7788 Speed up slideshow loading 2014-10-04 11:15:37 +02:00
Flamefire 54f97a4928 Fix artifacts on NPOT textures in OGL
Fix reuse check of textures
Introduce Size field for textures (replacing W2, H2)
2014-10-04 10:44:48 +02:00
Flamefire 719c73e6d3 Remove regions
Fix MatrixUsage for rectReflection in OGL
2014-10-04 09:08:36 +02:00
Flamefire 4e17745be0 Fix wrong centering of window 2014-10-04 08:59:53 +02:00
Flamefire 2d99bbd2ed Move Texture handling to new base class 2014-10-04 08:51:25 +02:00
Flamefire 2e25bf6610 Merge branch 'Better_Graphics_Handling' into develop
Conflicts:
	Vocaluxe/Base/Fonts/CFontStyle.cs
2014-10-02 20:46:04 +02:00
Flamefire f1c89b9a8e Merge branch 'Automatic_Covers' into develop
Conflicts:
	Vocaluxe/Base/CBackgroundMusic.cs
	VocaluxeLib/Menu/SongMenu/CSongMenuFramework.cs
2014-10-02 20:43:17 +02:00
Flamefire 6ebbf7df6f Introduce example for a more flexible deserialization
Also make the CoverGenerator themes serializeable
Rest is automatic reformatting.
2014-10-01 00:54:04 +02:00
Flamefire 94d3bed471 Move same methods to base class 2014-09-27 16:56:37 +02:00
Flamefire 158117ce31 Use texture alignment to reduce artifacts 2014-09-27 16:50:00 +02:00
Flamefire b48cfa8e77 Handle drawing with bounds in one place
Also reduces drawing code a lot...
2014-09-27 14:09:36 +02:00
Flamefire 19f81943d6 Introduce RenderRect for easy access to the full screen rect 2014-09-26 15:05:19 +02:00
Flamefire 25653ee55f Revert "Remove bounds from DrawTextureReflection because it was never used"
This reverts commit f5f1a91481.

Conflicts:
	Vocaluxe/Base/CMain.cs
	Vocaluxe/Screens/CScreenSing.cs
	VocaluxeLib/IBasic.cs
	VocaluxeLib/Menu/CStatic.cs
	VocaluxeLib/Menu/SongMenu/CSongMenuTileBoard.cs
2014-09-26 15:04:08 +02:00