Here is a list of things I had to do when fixing Crystal Core,
CrystalBlend and Blocks3D:

-------------------------------------------------------------------------------------------------------

If you use csBaseEventHandler you should add this after RequestPlugins:
  csBaseEventHandler::Initialize(GetObjectRegistry());

-------------------------------------------------------------------------------------------------------

OLD:
  if (!RegisterQueue (object_reg))
    return ReportError ("Can't setup event handler!");
NEW:
  if (!RegisterQueue(object_reg, csevAllEvents(object_reg)))
    return ReportError("Failed to set up event handler!");

-------------------------------------------------------------------------------------------------------

OLD:
  q->GetEventOutlet ()->Broadcast (cscmdQuit);
NEW:
  q->GetEventOutlet ()->Broadcast (csevQuit (object_reg));

-------------------------------------------------------------------------------------------------------

OLD:
  pctimer->WakeUpFrame ();
NEW:
  pctimer->WakeUpFrame (CEL_EVENT_PRE);

-------------------------------------------------------------------------------------------------------

OLD:
  pctimer->WakeUpFrame (csevPreProcess);
NEW:
  pctimer->WakeUpFrame (CEL_EVENT_PRE);

-------------------------------------------------------------------------------------------------------

OLD:
  pctimer->WakeUpFrame (csevProcess);
NEW:
  pctimer->WakeUpFrame (CEL_EVENT_VIEW);

-------------------------------------------------------------------------------------------------------

OLD:
  pctimer->WakeUpFrame (csevPostProcess);
NEW:
  pctimer->WakeUpFrame (CEL_EVENT_POST);

-------------------------------------------------------------------------------------------------------

OLD:
  pl->CallbackEveryFrame ((iCelTimerListener*)this, cscmdPreProcess);
NEW:
  pl->CallbackEveryFrame ((iCelTimerListener*)this, CEL_EVENT_PRE);

-------------------------------------------------------------------------------------------------------

OLD:
  if (ev.Type == csevBroadcast)
  {
    uint code = csCommandEventHelper::GetCode (&ev);
    if (code == cscmdProcess)
NEW:
  if (ev.Name == csevProcess (object_reg))

-------------------------------------------------------------------------------------------------------

OLD:
  switch (Event.Type)
  {
    case csevKeyboard:
      {
        uint32 type = csKeyEventHelper::GetEventType (&Event);
        if (type == csKeyEventTypeDown)
NEW:
    if (Event.Name == csevKeyboardDown (object_reg))

-------------------------------------------------------------------------------------------------------

OLD:
  iThingFactoryState* thing_fact_state = thing_state->GetFactory ();
NEW:
  csRef<iThingFactoryState> thing_fact_state = SCF_QUERY_INTERFACE (
        mesh->GetMeshObject ()->GetFactory (), iThingFactoryState);

-------------------------------------------------------------------------------------------------------


On 12/12/05, Jorrit Tyberghein <[EMAIL PROTECTED]> wrote:
> Crystal Space and CEL seem to be working fine again at this moment.
> Remember that after you cvs update your own project will most likely
> not work. Read the appendix C.1 in the CS manual with information on
> how to fix your projects.
>
> Greetings,
>
>
> --
> Project Manager of Crystal Space (http://www.crystalspace3d.org)
> and CEL (http://cel.crystalspace3d.org)
> Support Crystal Space. Donate at
> https://sourceforge.net/donate/index.php?group_id=649
>


--
Project Manager of Crystal Space (http://www.crystalspace3d.org)
and CEL (http://cel.crystalspace3d.org)
Support Crystal Space. Donate at
https://sourceforge.net/donate/index.php?group_id=649


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to