1
0

md_defines.h 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /*
  2. LICENSE
  3. -------
  4. Copyright 2005-2013 Nullsoft, Inc.
  5. All rights reserved.
  6. Redistribution and use in source and binary forms, with or without modification,
  7. are permitted provided that the following conditions are met:
  8. * Redistributions of source code must retain the above copyright notice,
  9. this list of conditions and the following disclaimer.
  10. * Redistributions in binary form must reproduce the above copyright notice,
  11. this list of conditions and the following disclaimer in the documentation
  12. and/or other materials provided with the distribution.
  13. * Neither the name of Nullsoft nor the names of its contributors may be used to
  14. endorse or promote products derived from this software without specific prior written permission.
  15. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
  16. IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  17. FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  18. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  19. DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  20. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
  21. IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  22. OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  23. */
  24. #ifndef __MILKDROP_DEFINES_H__
  25. #define __MILKDROP_DEFINES_H__ 1
  26. // IDENTIFIERS
  27. /*
  28. #define CURRENT_VERSION 220
  29. #define CURRENT_SUBVERSION 0 // 0=first release, 1=a, 2=b, 3=c...
  30. #define MODULEDESC "MilkDrop 2.2" // used for module desc (from Winamp/Prefs) + window title for fullscreen mode
  31. #define DLLDESC "MilkDrop 2.2"
  32. #define NAME "MilkDrop"
  33. #define TITLE "MilkDrop"
  34. #define CLASSNAME "MilkDrop" // window class name
  35. */
  36. #define TEXT_WINDOW_CLASSNAME "MilkDrop Console [VJ Mode]"
  37. #define DEBUGFILE "c:\\m_debug.txt"
  38. //#define CONFIG_INIFILE "milkdrop_config.ini"
  39. //#define PRESET_INIFILE "milkdrop_presets.ini"
  40. #define DEBUGFILEHEADER "[milkdrop debug file]\n"
  41. // define this to disable expression evaluation:
  42. // (...for some reason, evallib kills the debugger)
  43. #ifdef _DEBUG
  44. #define _NO_EXPR_ //FIXME
  45. #endif
  46. #define MAX_GRID_X 192//128
  47. #define MAX_GRID_Y 144//96
  48. #define NUM_WAVES 8
  49. #define NUM_MODES 7
  50. #define LINEFEED_CONTROL_CHAR 1 // note: this char should be outside the ascii range from SPACE (32) to lowercase 'z' (122)
  51. #define MAX_CUSTOM_MESSAGE_FONTS 16 // 0-15
  52. #define MAX_CUSTOM_MESSAGES 100 // 00-99
  53. #define MAX_CUSTOM_WAVES 4
  54. #define MAX_CUSTOM_SHAPES 4
  55. // aspect ratio makes the motion in the UV field [0..1] cover the screen appropriately,
  56. //#define ASPECT_X 1.00
  57. //#define ASPECT_Y 0.75 // ~h/w
  58. //#define ASPECT_X ( (m_nTexSizeY > m_nTexSizeX) ? m_nTexSizeX/(float)m_nTexSizeY : 1.0f ) //0.75f
  59. //#define ASPECT_Y ( (m_nTexSizeX > m_nTexSizeY) ? m_nTexSizeY/(float)m_nTexSizeX : 1.0f ) //0.75f
  60. // --> now stored in m_fAspectX, m_fInvAspectY, etc. <--
  61. #define WM_MILKDROP_SYSTRAY_MSG WM_USER + 407
  62. #define IDC_MILKDROP_SYSTRAY_ICON 555
  63. #define ID_MILKDROP_SYSTRAY_CLOSE 556
  64. //#define ID_MILKDROP_SYSTRAY_RESUME 559
  65. //#define ID_MILKDROP_SYSTRAY_SUSPEND 560
  66. //#define ID_MILKDROP_SYSTRAY_HOTKEYS 561
  67. #define NUMERIC_INPUT_MODE_CUST_MSG 0
  68. #define NUMERIC_INPUT_MODE_SPRITE 1
  69. #define NUMERIC_INPUT_MODE_SPRITE_KILL 2
  70. #endif