please add more fridge coolant!!!
Upgraded AVS Editor
46 posts
wee!!
I decided to have some fun and well heres my attempt at a better avs. pak-9 i borred your suggestions on the text box sizes. for compatibility reasons i decided not to change texer2 and GVM to match the sizes of my modded version.
this will be a 2 part installation.
unzip part1 and then unzip vis_avsBettered.zip in the same folder where you put the .z01 file.
I decided to have some fun and well heres my attempt at a better avs. pak-9 i borred your suggestions on the text box sizes. for compatibility reasons i decided not to change texer2 and GVM to match the sizes of my modded version.
this will be a 2 part installation.
unzip part1 and then unzip vis_avsBettered.zip in the same folder where you put the .z01 file.
part 2
heres the other part.
heres the other part.
Changed size and added scroll bars of almost all code-boxes (didn't change any APEs included with Winamp).
Configured for resolution >>> 1024 X 768
Extract the tow Zip files in a folder and run the vis_Merge.bat to get the dll file.
Configured for resolution >>> 1024 X 768
Extract the tow Zip files in a folder and run the vis_Merge.bat to get the dll file.
Contains the other half of the dll and the vis_Merge.bat file.
why in the world would you use a batch file. when in my method all you need is the one file and use winzips built in ability to split and recombine?
That's just a matter of taste and nothing else. 🙂
BTW, I forgot to mention on my previous post... take a look at your Dynamic Movement's Init code-box. The horizontal Scroll bar is messed up. 😁
BTW, I forgot to mention on my previous post... take a look at your Dynamic Movement's Init code-box. The horizontal Scroll bar is messed up. 😁
Tooblai i recently downloaded the souce for avs and i noticed while skimming the code i discovered the words
"Syntax Highlighting" i believe someone is trying to make your idea a reality.
"Syntax Highlighting" i believe someone is trying to make your idea a reality.
Yay!!! 😁
It's finally happening. 👍
It's finally happening. 👍
not sure how since no one's released any newer code that i've even been aware of (especially from nullsoft). wouldn't be surprised if that's been in there as comments for a few years of stuff to possibly do, heh
-daz
-daz
actualy it a part of the code.
I was interested and looked for the comment slashs but found none. i think there is a possibility.
i'll show the text when i return next week.
I was interested and looked for the comment slashs but found none. i think there is a possibility.
i'll show the text when i return next week.
Found it.
Heres what i believe to be the code for it.
=============================================
#if 0//syntax highlighting
HINSTANCE hRich;
#endif
static int init(struct winampVisModule *this_mod)
{
DWORD id;
FILETIME ft;
#if 0//syntax highlighting
if (!hRich) hRich=LoadLibrary("RICHED32.dll");
#endif
GetSystemTimeAsFileTime(&ft);
srand(ft.dwLowDateTime|ft.dwHighDateTime^GetCurrentThreadId());
g_hInstance=this_mod->hDllInstance;
#ifdef WA3_COMPONENT
GetModuleFileName(GetModuleHandle(NULL),g_path,MAX_PATH);
#else
GetModuleFileName(g_hInstance,g_path,MAX_PATH);
#endif
char *p=g_path+strlen(g_path);
while (p > g_path && *p != '\\') p--;
*p = 0;
#ifdef WA2_EMBED
if (SendMessage(this_mod->hwndParent,WM_USER,0,0) < 0x2900)
{
MessageBox(this_mod->hwndParent,"This version of AVS requires Winamp 2.9+","AVS ERROR",MB_OK|MB_ICONSTOP);
return 1;
}
#endif
Heres what i believe to be the code for it.
=============================================
#if 0//syntax highlighting
HINSTANCE hRich;
#endif
static int init(struct winampVisModule *this_mod)
{
DWORD id;
FILETIME ft;
#if 0//syntax highlighting
if (!hRich) hRich=LoadLibrary("RICHED32.dll");
#endif
GetSystemTimeAsFileTime(&ft);
srand(ft.dwLowDateTime|ft.dwHighDateTime^GetCurrentThreadId());
g_hInstance=this_mod->hDllInstance;
#ifdef WA3_COMPONENT
GetModuleFileName(GetModuleHandle(NULL),g_path,MAX_PATH);
#else
GetModuleFileName(g_hInstance,g_path,MAX_PATH);
#endif
char *p=g_path+strlen(g_path);
while (p > g_path && *p != '\\') p--;
*p = 0;
#ifdef WA2_EMBED
if (SendMessage(this_mod->hwndParent,WM_USER,0,0) < 0x2900)
{
MessageBox(this_mod->hwndParent,"This version of AVS requires Winamp 2.9+","AVS ERROR",MB_OK|MB_ICONSTOP);
return 1;
}
#endif
As I mentioned before you would need to replace text boxes with rich text controls for syntax highlighting and that is exactly what that code stub is for (great minds eh 😛).
However linking the rich edit dll and actually integrating syntax highlighting are very different things; you would need to see if there is any other relevant code or if (as I suspect) this is just the preliminary framework for later features.
However linking the rich edit dll and actually integrating syntax highlighting are very different things; you would need to see if there is any other relevant code or if (as I suspect) this is just the preliminary framework for later features.
btw you can use [c0de][/code]
scanned the main.cpp from the latest avs src download and there is nothing else except a piece of code after the big one i submitted.
//syntax highlighting
hRich=0
;
thats all that was left.
//syntax highlighting
hRich=0
;
thats all that was left.